Cited 1 time in
Improving LLM Classification of Logical Errors by Integrating Error Relationship into Prompts
| DC Field | Value | Language |
|---|---|---|
| dc.contributor.author | Lee, Yanggyu | - |
| dc.contributor.author | Jeong, Suchae | - |
| dc.contributor.author | Kim, Jihie | - |
| dc.date.accessioned | 2024-08-08T12:31:46Z | - |
| dc.date.available | 2024-08-08T12:31:46Z | - |
| dc.date.issued | 2024-06 | - |
| dc.identifier.issn | 0302-9743 | - |
| dc.identifier.issn | 1611-3349 | - |
| dc.identifier.uri | https://scholarworks.dongguk.edu/handle/sw.dongguk/22215 | - |
| dc.description.abstract | LLMs trained in the understanding of programming syntax are now providing effective assistance to developers and are being used in programming education such as in generation of coding problem examples or providing code explanations. A key aspect of programming education is understanding and dealing with error message. However, ‘logical errors’ in which the program operates against the programmer’s intentions do not receive error messages from the compiler. In this study, building on existing research on programming errors, we first define the types of logical errors that can occur in programming in general. Based on the definition, we propose an effective approach for detecting logical errors with LLMs that makes use of relations among error types in the Chain-of-Thought and Tree-of-Thought prompts. The experimental results indicate that when such logical error descriptions in the prompt are used, the average classification performance is about 21% higher than the ones without them. We also conducted an experiment for exploiting the relations among errors in generating a new logical error dataset using LLMs. As there is very limited dataset for logical errors such benchmark dataset can be very useful for various programming related applications. We expect that our work can assist novice programmers in identifying the causes of code errors and correct them more effectively. © The Author(s), under exclusive license to Springer Nature Switzerland AG 2024. | - |
| dc.format.extent | 13 | - |
| dc.language | 영어 | - |
| dc.language.iso | ENG | - |
| dc.publisher | Springer Verlag | - |
| dc.title | Improving LLM Classification of Logical Errors by Integrating Error Relationship into Prompts | - |
| dc.type | Article | - |
| dc.publisher.location | 미국 | - |
| dc.identifier.doi | 10.1007/978-3-031-63028-6_8 | - |
| dc.identifier.scopusid | 2-s2.0-85195845148 | - |
| dc.identifier.wosid | 001285483900008 | - |
| dc.identifier.bibliographicCitation | Lecture Notes in Computer Science, v.14798, pp 91 - 103 | - |
| dc.citation.title | Lecture Notes in Computer Science | - |
| dc.citation.volume | 14798 | - |
| dc.citation.startPage | 91 | - |
| dc.citation.endPage | 103 | - |
| dc.type.docType | Proceedings Paper | - |
| dc.description.isOpenAccess | N | - |
| dc.description.journalRegisteredClass | scopus | - |
| dc.relation.journalResearchArea | Computer Science | - |
| dc.relation.journalResearchArea | Education & Educational Research | - |
| dc.relation.journalWebOfScienceCategory | Computer Science, Artificial Intelligence | - |
| dc.relation.journalWebOfScienceCategory | Computer Science, Interdisciplinary Applications | - |
| dc.relation.journalWebOfScienceCategory | Education & Educational Research | - |
| dc.subject.keywordAuthor | LLMs | - |
| dc.subject.keywordAuthor | Logical Error | - |
| dc.subject.keywordAuthor | Programming Education | - |
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.
30, Pildong-ro 1-gil, Jung-gu, Seoul, 04620, Republic of Korea+82-2-2260-3114
Copyright(c) 2023 DONGGUK UNIVERSITY. ALL RIGHTS RESERVED.
Certain data included herein are derived from the © Web of Science of Clarivate Analytics. All rights reserved.
You may not copy or re-distribute this material in whole or in part without the prior written consent of Clarivate Analytics.
