Skip to main content
QUICK REVIEW

[論文レビュー] Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutors

Tung Phung, Victor-Alexandru Pădurean|arXiv (Cornell University)|Jun 29, 2023
Online Learning and AnalyticsComputer Science被引用数 14
ひとこと要約

GPT-4はGPT-3.5 ChatGPTを大幅に上回り、いくつかのプログラミング教育シナリオで人間のチューターに近づくが、評価フィードバックやタスク合成といった課題ではまだ遅れている。

ABSTRACT

Generative AI and large language models hold great promise in enhancing computing education by powering next-generation educational technologies for introductory programming. Recent works have studied these models for different scenarios relevant to programming education; however, these works are limited for several reasons, as they typically consider already outdated models or only specific scenario(s). Consequently, there is a lack of a systematic study that benchmarks state-of-the-art models for a comprehensive set of programming education scenarios. In our work, we systematically evaluate two models, ChatGPT (based on GPT-3.5) and GPT-4, and compare their performance with human tutors for a variety of scenarios. We evaluate using five introductory Python programming problems and real-world buggy programs from an online platform, and assess performance using expert-based annotations. Our results show that GPT-4 drastically outperforms ChatGPT (based on GPT-3.5) and comes close to human tutors' performance for several scenarios. These results also highlight settings where GPT-4 still struggles, providing exciting future directions on developing techniques to improve the performance of these models.

研究の動機と目的

  • 最先端のLLM(ChatGPTとGPT-4)を、チューター・アシスタント・ピアなど多様な役割にわたる初等プログラミング教育のために評価する。
  • 現実的なバグを含むプログラムに対する専門家ベースのアノテーションを用いて、LLMのパフォーマンスを人間のチューターと比較する。
  • GPT-4が優れているシナリオと、今なお改善の余地がある点を特定して今後の改良に情報を提供する。

提案手法

  • 6つのプログラミング教育シナリオを定義する:プログラム修正、ヒント生成、採点フィードバック、ペアプログラミング、文脈化された説明、タスク合成。
  • geeksforgeeks.org の実世界のバグを含む5つの入門用Python問題を使用し、多様なバグを網羅する。
  • webプラットフォームを介してChatGPT(GPT-3.5)とGPT-4と対話し、出力を生成する。比較には2人の人間チューターを使用する。
  • 専門家ベースのアノテーション(2名の評価者)を用いて、1シナリオあたり25件のインスタンス(5問題×5バグのあるプログラム)を評価する。
  • シナリオ固有の指標(2値の正確性、編集距離など)を報告し、平均と標準誤差で集計結果を示す。

実験結果

リサーチクエスチョン

  • RQ1六つのプログラミング教育シナリオにおいて、ChatGPT(GPT-3.5)とGPT-4は人間のチューターと比べてどのようにパフォーマンスを示すか?
  • RQ2プログラム修正、ヒント、採点、ペアプログラミング、文脈化された説明、タスク合成において、GPT-4の長所と弱点はGPT-3.5および人間のチューターと比べてどうか?
  • RQ3LLMsは5つのベンチマーク問題をどの程度解き、専門家チューターのパフォーマンスにどれくらい近いか?

主な発見

  • GPT-4はほとんどのシナリオでGPT-3.5を大幅に上回り、いくつかの設定で人間のチューターに近づく。
  • GPT-4は5つのベンチマーク問題のすべてを解くが、ChatGPTは4問を解く(FibonacciはChatGPTには依然として難しい)。
  • プログラム修正では、GPT-4はCorrect指標でTutorに接近する(88.0 vs 100.0)が、より多くの編集を行う(EditTokens 36.6 vs Tutorの19.0)。
  • ヒント生成では、GPT-4はChatGPTを上回るが、Tutorには及ばず、Overallスコアはおおむね66.0対Tutorの92.0。
  • 採点フィードバックでは、GPT-4はTutorとの差をある程度縮めるが、エッジケースの採点(D-CorrectEdge)と全体の正確性でより大きな差を示す。
  • ペアプログラミングでは、GPT-4はChatGPTを大幅に改善するが、OverallおよびContextKept指標でまだTutorを下回る。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。