paper-with-me

Papers

Comparing Code Explanations Created by Students and Large Language Models

2023-04-08 · Juho Leinonen, Paul Denny, Stephen MacNeil, Sami Sarsa, Seth Bernstein, Joanne Kim, Andrew Tran, Arto Hellas

Reasoning about code and explaining its purpose are fundamental skills for computer scientists. There has been extensive research in the field of computing education on the relationship between a student's ability to explain code and other skills such as writing and tracing code. In particular, the ability to describe at a high-level of abstraction how code will behave over all possible inputs correlates strongly with code writing skills. However, developing the expertise to comprehend and explain code accurately and succinctly is a challenge for many students. Existing pedagogical approaches that scaffold the ability to explain code, such as producing exemplar code explanations on demand, do not currently scale well to large classrooms. The recent emergence of powerful large language models (LLMs) may offer a solution. In this paper, we explore the potential of LLMs in generating explanations that can serve as examples to scaffold students' ability to understand and explain code. To evaluate LLM-created explanations, we compare them with explanations created by students in a large course ($n \approx 1000$) with respect to accuracy, understandability and length. We find that LLM-created explanations, which can be produced automatically on demand, are rated as being significantly easier to understand and more accurate summaries of code than student-created explanations. We discuss the significance of this finding, and suggest how such models can be incorporated into introductory programming education.

📄 PDF Abstract BibTeX arXiv:2304.03938

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Human-AI Co-Creation of Worked Examples for Programming Classes

2024-02-26 · Mohammad Hassany, Peter Brusilovsky, Jiaze Ke, Kamil Akhuseyinoglu 외

Worked examples (solutions to typical programming problems presented as a source code in a certain language and are used to explain the topics from a programming class) are among the most popular types of learning conten…

Authoring Worked Examples for Java Programming with Human-AI Collaboration

2023-12-04 · Mohammad Hassany, Peter Brusilovsky, Jiaze Ke, Kamil Akhuseyinoglu 외

Worked examples (solutions to typical programming problems presented as a source code in a certain language and are used to explain the topics from a programming class) are among the most popular types of learning conten…

Assertion Enhanced Few-Shot Learning: Instructive Technique for Large Language Models to Generate Educational Explanations

2023-12-05 · Tasmia Shahriar, Kelly Ramos, Noboru Matsuda

Human educators possess an intrinsic ability to anticipate and seek educational explanations from students, which drives them to pose thought-provoking questions when students cannot articulate these explanations indepen…

Explanation GenerationFew-Shot Learning

Exploring the Effectiveness of Using LLMs for Automated Assessment of Student Self Explanations in Programming Education

2026-05-20 · Arun-Balajiee Lekshmi-Narayanan, Mohammad Hassany, Peter Brusilovsky arxiv

Worked examples are step-by-step solutions to problems in a specific domain, offered to students to acquire domain-specific problem-solving skills. The effectiveness of worked examples could be enhanced by combining them…

Binary ClassificationSemantic Similarity

Automated Assessment of Students' Code Comprehension using LLMs

2023-12-19 · Priti Oli, Rabin Banjade, Jeevan Chapagain, Vasile Rus

Assessing student's answers and in particular natural language answers is a crucial challenge in the field of education. Advances in machine learning, including transformer-based models such as Large Language Models(LLMs…

Semantic Textual SimilaritySTS