Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Next we'll be talking about the paper "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos".
Jane: The paper was written by S M Masrur Ahmed and Jaspal Subhlok from University of Houston.
Tom: Stay tuned as we take you through the paper and discuss its implications.
The Core Mechanism: Tom: So, Jane, let’s talk about the core mechanism of this chatbot. It's not just a standard RAG system; they added some clever layers to make it more reliable.
Jane: The key is how they use chapter summaries as an anchor, which helps guide the retrieval process when we ask a question about a specific topic in the lecture video.
Lu: They’re using these LLM-generated summaries—which were created using GPT-four point one Mini—to act as a "soft prior" to boost the relevance of chunks from chapters that seem most related to our query.
Meng: From an implementation perspective, this soft prior is much more efficient than forcing a hard filter because it allows the entire corpus to be checked while simply boosting the ranking of relevant segments.
Lalam: I see how this significantly improves the user experience, Lalam feels; instead of dumping a huge pile of irrelevant video chunks on us, we get a cleaner list that matches what we are looking for in our notes.
Tom: And while they use these summaries to guide the search, the system still pulls chunks from all-MiniLM-L6-v2 embeddings and applies BM25 to make sure it' gets a comprehensive view of the information.
Jane: It’s a brilliant blend of semantic understanding and traditional lexical search, making sure that "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos" can handle both conceptual questions and direct keyword searches.
Lu: This whole process allows the system to generate timestamped citations, which is critical because it tells the student exactly where in the video they need to look.
Meng: The efficiency of having both a summary-guided approach and a traditional retrieval method means that "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos" is very much designed to operate at scale for real classroom use.
Improvements over Existing Systems: Tom: Now, Jane, the paper points out some real gaps in current systems, and this chatbot seems to address them specifically by enforcing course isolation.
Jane: That's a huge improvement; previous systems often lacked this strict grounding, meaning they could answer questions based on general knowledge instead of the specific context of "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos."
Lu: They didn're not just assuming the system works; they are rigorously testing it against a public benchmark called EduVidQA, which is a very smart way to prove performance.
Meng: The results from that benchmark are quite strong, showing that their design improved correct-lecture retrieval by six point three percentage points over dense-only retrieval methods.
Lalam: I think this shows the practical impact of structure; when we allow the system to look outside of its assigned course content, it degrades quickly, so enforcing those boundaries is key to creating a reliable educational tool.
Tom: It’s not just about performance on the real-world data either; they are also doing a diagnostic audit on two hundred twenty-four unique messages to check if the citations actually support the answer.
Jane: That's important because, as they found, having a citation present doesn't guarantee that citation is relevant or that it supports what’s written in the response from "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos."
Lu: The fact that they are measuring this "citation support" separately from the overall usage rate gives us a much clearer picture of where the system is actually succeeding and where it’s struggling.
Meng: From an operational standpoint, this means the instructor can trust that "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos" is delivering answers that are traceable to the materials provided.
Student Perceptions and Needs: Tom: We have a lot of data on how students used this system, which is really interesting, especially seeing how they interacted with it.
Jane: The survey results show that students perceived the timestamped citations as highly useful, rating them around four point five five out of five for usefulness and helpful for exams in "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos."
Lu: It’s fascinating that they observed that students often interacted with the chatbot using keyword fragments rather than full questions, which is a behavioral pattern we should pay attention to.
Meng: The fact that students clicked on those citations three hundred thirteen times suggests they are actively engaging with the video content, even if the logs don't show how much of the video they actually watched.
Lalam: But one thing that really stands out is what students felt was missing—they rated practice-question generation as a major unmet need, which "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos" didn's designed to do.
Tom: It seems like the system works great for specific knowledge lookups and exam review, but it falls short when students want the AI to take on an agentic role like grading a quiz.
Jane: The data also shows that "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos" is performing best when the student asks a direct question, rather than issuing an imperative command.
Lu: This contrast really suggests that our current retrieval-based RAG approach is excellent for recall but may not be powerful enough to handle complex task management.
Meng: We need to make sure that we’re clear about what this AI can do and what it cannot do, and this finding is a very important reminder for developers implementing these systems.
Wrap-up: Tom: Well, Jane, as we wrap up our discussion of "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos," it’s clear that this was a major step forward in making AI a reliable partner for academic study.
Jane: The system successfully enforced strict course grounding while providing high citation coverage—seventy point five percent of the messages had citations—which builds huge trust with users.
Lu: I think the implication is that we have moved past just asking "can an AI answer this?" to "can an AI answer this *correctly and within these specific constraints*?"
Meng: And from a practical standpoint, it’s showing us exactly where our current RAG architectures need refinement, especially regarding task-oriented requests.
Lalam: Lalam feels that the future needs to see how we bridge the gap between grounded Q andA and the student's desire for instructor-controlled generative activities.
Tom: Thank you all for sharing your insights on "Cite or Decline: A Strict Course-Grounded Chatbot for STEM Lecture Videos."
Jane: It’s been a great discussion, everyone. We hope this provides some practical inspiration for future AI tools to build better education.
S M Masrur Ahmed, Jaspal Subhlok
University of Houston
cs.CL, cs.CY, cs.IR
Submitted: 2026-09-01
Updated: 2026-09-01
Comments: To appear in the Proceedings of the 2026 Conference on EMNLP 2026, Industry Track
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
Importance score: 81/100
The gist: This paper details an evaluation of a course-grounded chatbot designed for STEM lecture videos, emphasizing strict adherence to provided source material.
Key concepts
- Soft Prior
- The chatbot uses LLM-generated chapter summaries as a 'soft prior' to guide retrieval. This method boosts the ranking of relevant video segments from chapters that relate to a specific query, allowing for efficient searching across the entire corpus.
- Strict Course Grounding
- This feature enforces course isolation, preventing systems from answering questions based on general knowledge. It ensures the chatbot only provides answers strictly within the context of the provided lecture materials, addressing gaps in previous systems.
- Citation Support
- The system generates timestamped citations, which is critical because it tells students exactly where in the video they need to look. This allows users to verify if a citation actually supports the answer provided by the chatbot.
Terminology
Summary
This paper details an evaluation of a course-grounded chatbot designed for STEM lecture videos, emphasizing strict adherence to provided source material. The methodology involves rigorous offline retrieval benchmarking and diagnostic audits to assess the system's ability to answer questions using only cited evidence. This work is crucial because it establishes quantitative proof of concept for grounding large language models in specific educational content, addressing the critical need for factual accuracy in academic AI tools.
Diagnostic Audit Findings and Failure Analysis
The evaluation included a separate diagnostic audit of 50 uncited messages. The results indicated that 54% of the queries clearly unanswerable from the available course evidence and 46% unclear.
Regarding the chatbot's refusals, auditors rated 58% of the refusals appropriate, 38% unclear, and 4% inappropriate.
The analysis identified consistent failure patterns: The dominant labeled failure reasons were insufficient evidence to judge and missing course content, at 40% each.
A key limitation noted across both audits is that the judge’s inventory was assembled only from passages cited elsewhere in the same course; consequently, material that retrieval never surfaced was invisible to the judge,
preventing an estimate of answerable-but-missed populations.
Offline Retrieval Benchmarking Setup
Because production courses lack gold retrieval labels, an offline benchmark utilizing EduVidQA was necessary. This evaluation corpus comprises 10 courses, 139 videos, and 5,924 chunks. Four distinct retrieval arms were compared: dense-only cosine retrieval; dense plus BM25 without the summary prior; the complete system adding the chaptersummary soft prior; and a control arm scoring all chunks without course isolation. All arms maintained standardized parameters, including 250-word chunks with 50-word overlap,
using all-MiniLM-L6-v2 embeddings, a seven-chunk retrieval budget, and a 12,000-character context budget.
Performance Comparison of Retrieval Arms
The comparison between the dense-only retrieval and the complete system demonstrated significant performance gains across multiple metrics when tested over 269 real-world questions. Specifically:
-
Timestamp hit improved from 0.4015 to 0.4572.
-
Video hit improved from 0.6840 to 0.7472.
-
MRR increased from 0.2504 to 0.2934.
-
nDCG@5 increased from 0.2826 to 0.3299.
These improvements were statistically significant, with the complete system showing strong advantages in all measured metrics compared to the baseline retrieval method. Furthermore, removing course isolation was found to be detrimental, with significance noted for both video hit (p 0.0005) and timestamp hit (p 0.034).
Sensitivity and Stability Analysis
The system's performance was tested for sensitivity by varying the prior weight (gamma) while keeping the dense-to-BM25 ratio constant. The results indicated that Performance was strongest at gamma = 0.1 and generally declined as the chapter-summary prior received more weight.
This suggests that the prior acts as a modest refinement rather than the load-bearing component.
On the synthetic split, the complete system improved video hit from 0.834 to 0.860. The evaluation was also rigorously tested for reproducibility, running two separate processes across 807 query-arm comparisons; these runs produced zero mismatches in retrieved chunk identities, scores, per-query metrics, aggregate metrics, and significance inputs within a tolerance of 10-12.
Improvements for AI systems
1. Implement Multi-Stage, Weighted Prior Mechanisms (Inference Time Optimization)
-
Improvement: Do not rely on a single retrieval method. Architect the system to use a weighted ensemble of retrieval priors:
-
P dense: Standard dense vector cosine similarity (MiniLM-L6-v2).
-
P keyword: BM25/Sparse matching (for term frequency and exact keyword hits).
-
P contextual: A dedicated prior source (e.g.,
chapter summary,
or metadata summaries) that is explicitly weighted (gamma) and combined with the dense/sparse results. -
Mechanism: The final retrieval score for a chunk C should be calculated as Score(C) = alpha times Score dense(C) + (1-alpha-beta) times (beta times Score BM25(C) + (gamma - 1) times Score contextual(C)). Crucially, alpha, beta, and gamma must be optimized per query type or domain, rather than fixed globally.
-
System Capability: The system can dynamically select the optimal retrieval path (e.g., prioritizing P contextual for high-level concept questions, and P dense for specific factual recall) leading to significantly higher MRR and nDCG@5 scores across diverse query types, surpassing single-source baselines.
2. Incorporate Granular, Timestamp-Aware Retrieval (Precision & Recall)
-
Improvement: The retrieval module must be trained and evaluated not just on chunk relevance (binary), but on temporal coverage. Each retrieved chunk should output a confidence score tied to its source video's timestamp range.
-
Mechanism: Implement a specialized loss function during fine-tuning that penalizes missed gold timestamps (Loss TS) based on the distance and duration of the gap between the start of the query and the start/end times of retrieved chunks. The system must prioritize retrieving chunks that cover a continuous time segment around the expected answer point (the
gold timestamp
). -
System Capability: The AI can pinpoint answers with high temporal accuracy, directly citing not just what was said, but when it was said (e.g.,
According to the video at 12:34–12:50...
), drastically improving verifiability and user trust.
3. Develop a Structured Missed Evidence
Diagnostic Module (Self-Correction/Refusal)
-
Improvement: Augment the refusal mechanism beyond simple confidence scoring. The system must maintain an internal
Course Content Inventory
(the judge's inventory) that tracks material available to the model but not retrieved. -
Mechanism: When retrieval fails, the module should perform a secondary diagnostic query against its known, but unsourced, curriculum knowledge base. If the failure is due to
missing course content
(a major labeled failure reason), instead of issuing a generic refusal, it should signal a Curriculum Gap Warning. -
System Capability: The AI system can differentiate between three types of failures: 1) Insufficient Evidence (the query is unanswerable given the source); 2) Retrieval Failure (the evidence exists but was missed); and 3) Curriculum Gap (the evidence exists but was not included in the initial corpus). This provides actionable feedback to the user/developer.
4. Implement Robust Stability and Reproducibility Controls (Engineering Best Practice)
-
Improvement: Mandate strict, deterministic operational protocols for all scoring and retrieval passes.
-
Mechanism: The entire pipeline must be run with a fixed random seed, pinned hardware configurations (e.g., CPU/GPU memory allocation), and defined tie-breaking rules based on immutable chunk identifiers. All core metric calculations (McNemar test, Wilcoxon signed-rank test) must be implemented as self-contained, verifiable functions that accept the full set of paired inputs.
-
System Capability: The system guarantees perfect reproducibility of all performance metrics across separate processes and hardware environments, fulfilling the highest standards required for scientific publication and high-stakes deployment.
5. Enhance Behavioral Analysis for Course Design (Curriculum Optimization)
-
Improvement: Integrate the findings from course-level behavioral contrasts (Table 11) into the curriculum design phase itself.
-
Mechanism: The system should analyze input logs to correlate low
Cited
percentages with highRefusal Rate
or highHomework-Paste Rate.
If a specific course module has a low citation rate but a high failure rate, it suggests the material is either poorly understood or the source evidence is too sparse/difficult to retrieve. -
System Capability: The AI can guide instructional designers to revise course structure—for example, flagging that Course X needs more explicit textual markers or foundational review sections because students are failing questions where the provided evidence is scattered (low citation density).
Abstract
Recorded lecture videos, often enhanced with search and summarization features, are a standard study resource. However, students cannot easily ask course specific questions or verify answers against an instructor's lecture. We report a semester-long deployment of VideoPoints platform with a retrieval-augmented chatbot that answers from course lecture materials and returns timestamped citations. The chatbot retrieves only from the active course, uses chapter summaries to guide transcript ranking, and returns clickable timestamped citations. Students used it for quick lookups and exam review. Across 833 messages, 70.5% included citations, none crossed a course boundary, and when no lecture evidence matched, the chatbot usually declined rather than answering. Among the users, citations were the most consistently useful feature, while practice-question generation was the strongest unmet request. We also evaluated the design on the real-world test split of EduVidQA, a public multimodal benchmark for lecture-video question answering. Our design improved correct-lecture retrieval by 6.3 percentage points over dense-only retrieval. Together, the results show that effective deployment depends on course isolation, supported citations, and alignment with students' study practices.
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering