Skip to main navigation Skip to search Skip to main content

LECTRA: Bridging Video Lectures and Student Queries via a RAG-Based Chatbot for Timestamped and Semantic Responses

  • Mahidol University
  • National Chengchi University
  • Tamkang University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

In higher education, recorded lecture videos are indispensable resources, yet students often face challenges when trying to extract specific information from these lengthy materials. Whether due to complex subject matter, fast-paced delivery, or insufficient navigation tools, learners frequently struggle to revisit precise moments that would aid their understanding. This results in increased cognitive load, reduced study efficiency, and declining academic confidence. Existing solutions such as keyword-based search or playback controls lack contextual awareness, provide no timestamp linkage, and are ineffective in addressing student queries with semantic precision. Furthermore, current AI-based educational tools predominantly focus on short-form content and overlook the needs of long-form academic lectures. To address these limitations, we introduce LECTRA, a Scene-Aware Retrieval-Augmented Generation (RAG) chatbot framework designed for timestamped question answering from lecture videos. LECTRA integrates automatic speech recognition (ASR), optical character recognition (OCR), and scene detection to extract multimodal information from video lectures. The system embeds this content into a vector database and, upon receiving a student query, performs semantic similarity search to retrieve relevant segments. A large language model (LLM) then generates an answer grounded in the retrieved scene, complete with timestamp and scene reference. We evaluate LECTRA using both time-based metrics and semantic-based metrics. Experimental results on long-form lecture videos show that GPT-4o achieves the highest balance between semantic and temporal accuracy, while Gemini Flash 2.0 demonstrates the greatest faithfulness to source content. Compared to manual review, LECTRA significantly reduces information retrieval time and improves students’ ability to learn independently. By combining multimodal content extraction with generative AI and timestamped grounding, LECTRA advances the state of AI-enhanced educational tools, offering a scalable and interpretable solution that meaningfully supports student learning from video lectures.

Original languageEnglish
Title of host publicationUbi-Media Computing, Pervasive Systems, Algorithms and Networks - 14th International Conference on Ubi-Media Computing, Ubi-Media 2026, Proceedings
EditorsLin Hui, Ching-Hsien Hsu, Ranjit Singh Sarban Singh
PublisherSpringer Science and Business Media Deutschland GmbH
Pages28-43
Number of pages16
ISBN (Print)9789819598427
DOIs
Publication statusPublished - 2026
Event14th International Conference on Ubi-Media Computing and Workshops, Ubi-Media 2026 - Penang, Malaysia
Duration: 18 Jan 2026 → 22 Jan 2026

Publication series

NameCommunications in Computer and Information Science
Volume2940 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference14th International Conference on Ubi-Media Computing and Workshops, Ubi-Media 2026
Country/TerritoryMalaysia
CityPenang
Period18/01/26 → 22/01/26

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 4 - Quality Education
    SDG 4 Quality Education

Keywords

  • AI in Education
  • Educational Chatbot
  • Large Language Models
  • Prompt Engineering
  • Retrieval-Augmented Generation

Fingerprint

Dive into the research topics of 'LECTRA: Bridging Video Lectures and Student Queries via a RAG-Based Chatbot for Timestamped and Semantic Responses'. Together they form a unique fingerprint.

Cite this