arXiv論文メモ
新着一覧
cs.SE · 査読状況未確認

プログラミング動画の質問に根拠を示して回答する仕組み

VidTutorAssistant: Automating Responses to Programming Tutorial Questions

Ahmad Tayeb, Sonia Haiduc, Mohammad D. Alahmadi

この論文をやさしく読む

ひとことで言うと

プログラミング解説動画のコメントから質問を見つけ、動画の書き起こしを根拠に回答する仕組みです。

何に役立つ?

解説動画に寄せられる多数の質問へ、動画内容に沿って回答する支援に使える可能性があります。

この研究の面白いところ

言語識別、質問判定、書き起こし検索、回答生成をつなぎ、440件のコメントで回答の正しさと完全さを比較しています。

どこまで分かった?

評価はPythonとJavaの動画から選んだ440件のコメントです。ほかの言語や動画群で同じ成績になるとは要旨からは分かりません。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

YouTubeのプログラミング解説動画は開発者や学習者にとって重要な情報源であり、コメント欄は視聴者が追加の質問をする場所にもなっている。しかし質問の数は制作者が対応できる量を超えがちで、学習者は必要な説明を得られない。そこで、プログラミング解説動画に対する視聴者の質問への回答を自動化するウェブ基盤VidTutorAssistantを提示する。この基盤は検索拡張生成の処理を使い、動画の書き起こしを抽出し、分割して埋め込み表現に変える。次に各コメントを質問か否かに分類し、質問と判定したものについて余弦類似度で最も関係の深い書き起こし部分を取得する。その内容を根拠として、大規模言語モデルGPT-4で回答を生成する。PythonとJavaの解説動画7522本から抽出した10万5553件のコメントという大きなデータ集合から選んだ440件を対象に調査し、VidTutorAssistantを検証した。動画で使われるプログラミング言語の識別精度は0.99、コメントが質問か否かの分類精度は0.96だった。質問への回答は98%が正しく、99.5%が完全であり、制作者による元の回答の89%と90%をそれぞれ上回った。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-24(UTC)
最新改訂
2026-09-24 · v1
査読・掲載
査読状況未確認
arXivで読むPDFDOI

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

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.

著者のコメント

5 pages, 4 figures, 1 table. Accepted at ASE 2026, Tools and Datasets Track. Author's accepted manuscript

arXiv ID: 2609.29129 / 要約の誤りについて