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)|2023. 06. 29.
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.

연구 동기 및 목표

  • 최신 대형 언어 모델(ChatGPT 및 GPT-4)을 도입부 프로그래밍 교육에서 다양한 역할(튜터, 어시스턴트, 또래)으로 평가한다.
  • 실제 버그가 있는 프로그램에 대한 전문가 기반 주석을 사용하여 LLM 성능과 인간 튜터를 비교한다.
  • GPT-4가 뛰어난 시나리오와 여전히 어려움을 겪는 시나리오를 식별하여 향후 개선에 정보를 제공한다.

제안 방법

  • 여섯 가지 프로그래밍-교육 시나리오를 정의한다: program repair, hint generation, grading feedback, pair programming, contextualized explanation, and task synthesis.
  • geeksforgeeks.org의 실제 버그가 있는 다섯 가지 초급 Python 문제를 사용하여 다양한 버그를 다룬다.
  • 웹 플랫폼을 통해 ChatGPT (GPT-3.5)와 GPT-4와 상호작용하여 출력을 생성하고; 비교를 위해 두 명의 인간 튜터를 사용한다.
  • 전문가 기반 주석(두 평가자)으로 각 시나리오당 25개 인스턴스(5개 문제 × 5개 버그가 있는 프로그램)에 대해 평가한다.
  • 시나리오별 지표(이진 정답 여부, 편집 거리 등)를 보고하고 평균과 표준오차로 집계된 결과를 제시한다.

실험 결과

연구 질문

  • RQ1ChatGPT (GPT-3.5)와 GPT-4가 여섯 가지 프로그래밍-교육 시나리오에서 인간 튜터에 비해 어떤 성과를 보이는가?
  • RQ2프로그램 리페어, 힌트, 채점, 페어 프로그래밍, 맥락화된 설명, 작업 합성에서 GPT-4의 강점과 약점은 GPT-3.5 및 인간 튜터와 비교했을 때 무엇인가?
  • RQ3대형 언어 모델이 다섯 개 벤치마크 문제를 해결하는 정도와 전문가 수준의 튜터 성능에 얼마나 근접했는가?

주요 결과

  • GPT-4는 대부분의 시나리오에서 GPT-3.5를 크게 능가하고 여러 설정에서 인간 튜터에 근접한다.
  • GPT-4는 다섯 벤치마크 문제를 모두 해결하는 반면, ChatGPT는 네 문제를 해결한다(피보나치 문제는 ChatGPT에 여전히 도전적이다).
  • In program repair, GPT-4는 Correct 지표에서 Tutor에 가까워진다(88.0 vs 100.0) 하지만 더 많은 편집을 수행한다(EditTokens 36.6 vs 19.0 for Tutor).
  • In hint generation, GPT-4는 ChatGPT보다 개선되었지만 Tutor에 뒤처져, Overall 점수는 대략 66.0 대 Tutor의 92.0.
  • In grading feedback에서 GPT-4는 Tutor와의 차이를 어느 정도 줄이지만 edge-case 평가(D-CorrectEdge) 및 전반적 정확도에서 더 큰 차이를 보인다.
  • In pair programming에서 GPT-4는 ChatGPT보다 크게 향상되지만 Overall 및 ContextKept 지표에서 여전히 Tutor를 앞지르지 못한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.