[論文レビュー] Can We Improve Educational Diagram Generation with In-Context Examples? Not if a Hallucination Spoils the Bunch
要約: 本論文は、RSTガイド付きのインカンテキスト学習を用いてLLMで教育用図表を生成する方法を提案し、図表の質と誤情報への影響を評価し、文脈の複雑さが性能に与える影響を分析します。誤情報や文脈の不整合の潜在的な低減を示唆する一方、LLMの確率的性質と受け継がれる誤情報のリスクにより大きなばらつきがある点にも注意します。
Generative artificial intelligence (AI) has found a widespread use in computing education; at the same time, quality of generated materials raises concerns among educators and students. This study addresses this issue by introducing a novel method for diagram code generation with in-context examples based on the Rhetorical Structure Theory (RST), which aims to improve diagram generation by aligning models' output with user expectations. Our approach is evaluated by computer science educators, who assessed 150 diagrams generated with large language models (LLMs) for logical organization, connectivity, layout aesthetic, and AI hallucination. The assessment dataset is additionally investigated for its utility in automated diagram evaluation. The preliminary results suggest that our method decreases the rate of factual hallucination and improves diagram faithfulness to provided context; however, due to LLMs' stochasticity, the quality of the generated diagrams varies. Additionally, we present an in-depth analysis and discussion on the connection between AI hallucination and the quality of generated diagrams, which reveals that text contexts of higher complexity lead to higher rates of hallucination and LLMs often fail to detect mistakes in their output.
研究の動機と目的
- AI生成の教育用図表の信頼性を、LLM出力における誤情報の出現とともに動機づけ、対処する。
- 図表生成を誘導するためのRSTベースのインコンテキストデモンストレーション選択手法を導入する。
- 図表の品質(論理的組織、結線性、レイアウト)と誤情報を評価するルーブリックと評価フレームワークを開発する。
- 専門家評価と自動指標を用いたゼロショット生成と比較するRSTベースICLの変種を経験的に比較する。
提案手法
- 図表コード生成のためのRST情報に基づくICLパイプラインを定義する。
- RST1およびRST2の2つのRSTガイド付き変種を実装し、ゼロショット生成と比較する。
- RST構造に基づいてデモンストレーションを選択する類似性検索ステップを使用する。
- EDUの逐次解析とRSTガイド指示を組み合わせてGraphvizのdotコードを生成するようLLMsを促す。
- レンダリング可能な図を確保するための反復修正・改良ステップを適用する。
- 論理的組織、結線性、レイアウトの5段階ルーブリックと誤情報検出(事実性と信頼性)で図を評価する。
- 自動評価アプローチ(暗黙的/明示的学習と反省プロンプト)の検討と、人間の判断との比較を行う。

実験結果
リサーチクエスチョン
- RQ1RQ1:RSTベースのインコンテキスト例はゼロショット生成と比較して論理的組織、結線性、レイアウトの品質を向上させるか?
- RQ2RQ2:図のLLM評価は人間の専門家評価と一致するか?
- RQ3RQ3:誤情報は、異なるパイプラインのステップと文脈で図の品質にどのように影響するか?
- RQ4RQ4:自動評価法は、図の品質と誤情報検出において人間判断を信頼性高く模倣できるか?
主な発見
- RST1(o3モデル)では、いくつかの評価基準で質の高い図表が得られ、RSTベースのアプローチは一部のベースラインと比較して文脈不整合と事実誤認を低減した。
- GPT-4oは文脈の複雑さに対してより敏感で、高度なテキストで誤情報の発生が多い傾向がある一方、o3はさまざまな文脈でより堅牢な性能を示した。
- RST2では特に前段のステップからの受け継ぎ誤情報(H_inh)が最終図表の品質を低下させることが多かった。
- 自動評価の明示的・反省的プロンプト(E2、E3)は、暗黙的評価(E1)より人間の判断とより近い一致を示した。
- 図は提供された文脈に存在しない情報を頻繁に含んでおり、LLMの文脈統合の課題が示唆される。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。