Generating Diverse Code Explanations using the GPT-3 Large Language Model

184Citations
Citations of this article
138Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Good explanations are essential to efficiently learning introductory programming concepts [10]. To provide high-quality explanations at scale, numerous systems automate the process by tracing the execution of code [8, 12], defining terms [9], giving hints [16], and providing error-specific feedback [10, 16]. However, these approaches often require manual effort to configure and only explain a single aspect of a given code segment. Large language models (LLMs) are also changing how students interact with code [7]. For example, Github's Copilot can generate code for programmers [4], leading researchers to raise concerns about cheating [7]. Instead, our work focuses on LLMs' potential to support learning by explaining numerous aspects of a given code snippet. This poster features a systematic analysis of the diverse natural language explanations that GPT-3 can generate automatically for a given code snippet.We present a subset of three use cases from our evolving design space of AI Explanations of Code.

Cite

CITATION STYLE

APA

MacNeil, S., Tran, A., Mogil, D., Bernstein, S., Ross, E., & Huang, Z. (2022). Generating Diverse Code Explanations using the GPT-3 Large Language Model. In ICER 2022 - Proceedings of the 2022 ACM Conference on International Computing Education Research (Vol. 2, pp. 37–39). Association for Computing Machinery, Inc. https://doi.org/10.1145/3501709.3544280

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free