Automated Identification of Logical Errors in Programs: Advancing Scalable Analysis of Student Misconceptions
Not on the map. Why?
Abstract (arXiv)
In Computer Science (CS) education, understanding factors contributing to students' programming difficulties is crucial for effective learning support. By identifying specific issues students face, educators can provide targeted assistance to help them overcome obstacles and improve learning outcomes. While identifying sources of struggle, such as misconceptions, in real-time can be challenging in current educational practices, analyzing logical errors in students' code can offer valuable insights. This paper presents a scalable framework for automatically detecting logical errors in students' programming solutions. Our framework is based on an explainable Abstract Syntax Tree (AST) embedding model, the Subtree-based Attention Neural Network (SANN), that identifies the structural components of programs containing logical errors. We conducted a series of experiments to evaluate its effectiveness, and the results suggest that our framework can accurately capture students' logical errors and, more importantly, provide us with deeper insights into their learning processes, offering a valuable tool for enhancing programming education.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 12 of its 70 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
12 of 70 references.
References · 12
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 461
- 2024Hallucination is Inevitable: An Innate Limitation of Large Language Modelscited by 329
- 2015Deep Knowledge Tracingcited by 328
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2019EdNet: A Large-Scale Hierarchical Dataset in Educationcited by 106
- 2022Code-DKT: A Code-based Knowledge Tracing Model for Programming Taskscited by 16
- 2021Toward Semi-Automatic Misconception Discovery Using Code Embeddingscited by 8
- 2024Improving LLM Classification of Logical Errors by Integrating Error Relationship into Promptscited by 5
- 2023Attentive Q-Matrix Learning for Knowledge Tracingcited by 1
- 2024Temporal and Between-Group Variability in College Dropout Predictioncited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learningcited by 4
- 2026Personalized Worked Example Generation from Student Code Submissions Using Pattern-based Knowledge Componentscited by 2
- 2025McMining: Automated Discovery of Misconceptions in Student Codecited by 1
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaborationcited by 0
- 2026Automated Recommendation of Programming Learning Content Using Pattern-based Knowledge Componentscited by 0
- 2026Automated Recommendation of Programming Learning Content Using Pattern-based Knowledge Components9 Jun 2026
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaboration12 May 2026
- 2026Personalized Worked Example Generation from Student Code Submissions Using Pattern-based Knowledge Components27 Apr 2026
- 2025McMining: Automated Discovery of Misconceptions in Student Code9 Oct 2025
- 2025Pattern-based Knowledge Component Extraction from Student Code Using Representation Learning12 Aug 2025