paperbot · PL 论文追踪

全部论文 待读 收藏

P2 VidTutorAssistant: Automating Responses to Programming Tutorial Questions

VidTutorAssistant:自动化回答编程教程中的问题
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 1/10 · 该论文将检索增强生成用于编程教学视频评论问答,属于 LLM 在教育/开发者问答场景的应用,与用户核心方向(静态分析、Agentic 程序分析、浮点/贝叶斯程序分析与 LLM 交叉)几乎没有交集。引用 0 inbox
Ahmad Tayeb, Sonia Haiduc, Mohammad D. Alahmadi
crossref: 2026-10-09

AI 速览

一句话:提出 VidTutorAssistant,用检索增强生成自动回答编程教学视频评论中的提问,答案质量优于原视频作者。

YouTube 上的编程教程视频评论区已成为学习者追问的重要空间,但提问数量常超出创作者可回复的规模,导致学习者得不到澄清。本文提出 VidTutorAssistant,一个自动回答编程视频教程观众提问的 Web 平台。其核心是检索增强生成(RAG)流水线:先抽取视频字幕并分段、嵌入;再将每条评论分类为问题或非问题;对识别出的问题,用余弦相似度检索最相关的字幕片段;最后以这些片段为上下文,用 GPT-4 生成答案。作者从 7,522 个 Python 和 Java 教程的 105,553 条评论中选取 440 条进行研究评估。结果显示:视频编程语言识别准确率 0.99,问题/非问题分类准确率 0.96,生成答案的正确率为 98%、完整率为 99.5%,均优于原视频作者的 89% 和 90%。

问题
编程教程视频评论区提问量大,创作者难以逐一回答,学习者缺少及时澄清;如何自动生成有依据的答案?
方法
构建 RAG 流水线:抽取并分段嵌入视频字幕,分类评论是否为问题,用余弦相似度检索相关字幕片段,并以检索片段为上下文让 GPT-4 生成回答。
评估
从 7,522 个 Python/Java 教程的 105,553 条评论中抽取 440 条,评估语言识别、问题分类及答案正确性与完整性,并与原创作者回答对比。
原文摘要(Abstract)

Programming tutorial videos on YouTube are an important information resource for software developers and students, and their comment sections have evolved into active spaces where viewers ask follow-up questions. The volume of these questions, however, often exceeds what content creators can address, leaving learners without the clarifications they need. We present VidTutorAssistant, a web platform that automates responses to viewer questions on programming video tutorials. VidTutorAssistant implements a retrieval-augmented generation pipeline that extracts a video’s transcript, then segments it and embeds it. It then classifies each viewer comment as being a question or non-question, retrieves the most relevant transcript segments to each identified question via cosine similarity, and then generates an answer to the question using an LLM (GPT-4), while grounding the response using the retrieved transcript segments as context. We validate VidTutorAssistant through a study on a subset of 440 user comments selected from a larger dataset of 105,553 comments extracted from 7,522 Python and Java tutorials. VidTutorAssistant is evaluated on various criteria: a) its ability to identify the programming language in a video, achieving a 0.99 accuracy; b) its ability to classify comments into questions and non-questions, reaching a 0.96 accuracy; and c) its ability to produce correct and complete answers to questions, producing 98% correct and 99.5% complete responses, compared with 89% and 90% for the original creators’ answers.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12283,
  title = {VidTutorAssistant: Automating Responses to Programming Tutorial Questions},
  author = {Ahmad Tayeb and Sonia Haiduc and Mohammad D. Alahmadi},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834599}
}