Cal Poly
Multimodal Retrieval-Augmented Generation for Question Answering over Educational Lecture Videos
Abstract
dc:description.abstractLecture videos are one of the most widely used forms of academic instruction. However, building effective question-answering (Q/A) systems remains challenging because relevant information is spread across speech and slides. Advances in Automatic Speech Recognition (ASR) and Optical Character Recognition (OCR) make it possible to transform both modalities into textual representations, enabling Retrieval-Augmented Generation (RAG) over lecture video. This thesis presents a multimodal RAG system that independently retrieves and reranks chunks of ASR transcripts and OCR-extracted slide text, combining both at generation time to answer natural language queries. This thesis compares 14 configurations across three retrieval-indexing strategies: fixed-token chunking, speech-boundary-aware packing of natural utterances into chunks, and hierarchical topic segmentation adapted from TreeSeg. To evaluate this system, this thesis introduces TinyLPM-QA, a 150-question benchmark built from 11 lectures of the existing Lecture Presentations Multimodal (LPM) dataset across 6 academic domains, with each answer grounded in annotated timestamp spans. Across all configurations, the system retrieves relevant lecture content with a Recall@5 above 0.91 and produces grounded (Faithfulness: 0.967--0.997), largely correct answers (Answer Correctness: 0.654--0.725). The two TreeSeg configurations, which retrieve fine-grained leaf segments (TreeSeg-Leaf) or LLM-generated summaries of broader segments (TreeSeg-SumTree), scored below all fixed-size and utterance-packed configurations on mean Answer Correctness. In pairwise Wilcoxon signed-rank tests with Holm correction on Answer Correctness, TreeSeg-SumTree remained significantly worse than three baselines, while no TreeSeg-Leaf comparison was significant. Utterance-packed chunking at 256 tokens with 0% overlap scored highest overall (0.725) but was not significantly better than the other baselines. Across all fixed-size and utterance-packed configurations, adding 10% token overlap did not have a significant effect on Answer Correctness. These results suggest that multimodal RAG can produce grounded, largely correct answers over lecture videos, and that simpler chunking strategies perform as well as or better than hierarchical topic segmentation on this benchmark.
Degree
thesis:*- Name thesis:degree_name
- MS in Computer Science
- Discipline thesis:degree_discipline
- Computer Science
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ranade, Arjun
- Contributors dc:contributor
-
- Fahim Khan
- Computer Science
- College of Engineering
Subjects
dc:subject × 6Identifiers
dc:identifier.*- Repository record dc:identifier
- https://digitalcommons.calpoly.edu/theses/3458