Automated Video-to-QA Pipeline: End-to-End Question Generation and Verification Using Large Language Models
Jaival Chauhan, Vikram Singh, Pruthwik Mishra
Key points
From the paper's conclusion- We utilize meta-llama/Llama-3.1-8BInstruct to generate candidate QA pairs from transcript chunks, which are then fed back into the model to rigorously assess their relevance and importance.
Abstract
The exponential growth of educational and informational video content on platforms like YouTube presents a challenge for efficient knowledge retrieval and assessment. This paper proposes an end-to-end automated pipeline for extracting structured summaries and generating high-fidelity Question-Answer (QA) pairs from video streams. The framework integrates a cascade of state-of-the-art models: audio extraction is handled via FFmpeg, followed by automatic speech recognition (ASR) using Whisper (A library in Python) to generate accurate transcripts. Due to the token constraints of Large Language Models (LLMs), transcripts are segmented and summarized using Facebook's BART. A key innovation of this work is a Self-Verification and Fine-Tuning Loop. We utilize meta-llama/Llama-3.1-8BInstruct to generate candidate QA pairs from transcript chunks, which are then fed back into the model to rigorously assess their relevance and importance. Only verified, high-quality pairs are retained to construct a synthetic dataset. This dataset is subsequently used to fine-tune the Llama model using Low-Rank Adaptation (LoRA), resulting in a specialized model capable of generating domain-aligned assessment questions. This approach demonstrates a scalable method for creating self-improving educational tools without the need for manual data annotation. The proposed model can be downloaded from Kaggle with all the codes from GitHub.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- StreamAhead: Real-Time Streaming Video Question Answering via Adaptive PrecomputationarXiv · 2026
- On-Policy Self-Training: Data-Free Self-Improvement in Large Language ModelsarXiv · 2026
- VeriMath: Human-in-the-Loop Generation and Verification of Curriculum-Aligned Mathematics Assessment ItemsarXiv · 2026
- StreamClarify: Proactive Clarification for Grounded Streaming Video Question AnsweringarXiv · 2026
- QuizTools: Question Generation with ExplanationsAlgorithms · 2026
- Ask to Distill: Learning to Synthesize Data for On-Policy DistillationarXiv · 2026