Let's Ask AI About Their Programs : Exploring ChatGPT's Answers To Program Comprehension Questions

Tutkimustuotos: Artikkeli kirjassa/konferenssijulkaisussaConference article in proceedingsScientificvertaisarvioitu

1 Sitaatiot (Scopus)
32 Lataukset (Pure)

Abstrakti

Recent research has explored the creation of questions from code submitted by students. These Questions about Learners' Code (QLCs) are created through program analysis, exploring execution paths, and then creating code comprehension questions from these paths and the broader code structure. Responding to the questions requires reading and tracing the code, which is known to support students' learning. At the same time, computing education researchers have witnessed the emergence of Large Language Models (LLMs) that have taken the community by storm. Researchers have demonstrated the applicability of these models especially in the introductory programming context, outlining their performance in solving introductory programming problems and their utility in creating new learning resources. In this work, we explore the capability of the state-of-the-art LLMs (GPT-3.5 and GPT-4) in answering QLCs that are generated from code that the LLMs have created. Our results show that although the state-of-the-art LLMs can create programs and trace program execution when prompted, they easily succumb to similar errors that have previously been recorded for novice programmers. These results demonstrate the fallibility of these models and perhaps dampen the expectations fueled by the recent LLM hype. At the same time, we also highlight future research possibilities such as using LLMs to mimic students as their behavior can indeed be similar for some specific tasks.
AlkuperäiskieliEnglanti
OtsikkoProceedings of the 46th International Conference on Software Engineering: Software Engineering Education and Training
KustantajaACM
Sivut221-232
Sivumäärä12
ISBN (elektroninen)979-8-4007-0498-7
DOI - pysyväislinkit
TilaJulkaistu - 24 toukok. 2024
OKM-julkaisutyyppiA4 Artikkeli konferenssijulkaisussa
TapahtumaInternational Conference on Software Engineering - Centro Cultural de Bélem, Lisbon, Portugali
Kesto: 14 huhtik. 202420 huhtik. 2024
Konferenssinumero: 46

Conference

ConferenceInternational Conference on Software Engineering
LyhennettäICSE-SEET
Maa/AluePortugali
KaupunkiLisbon
Ajanjakso14/04/202420/04/2024

Sormenjälki

Sukella tutkimusaiheisiin 'Let's Ask AI About Their Programs : Exploring ChatGPT's Answers To Program Comprehension Questions'. Ne muodostavat yhdessä ainutlaatuisen sormenjäljen.

Siteeraa tätä