ACL Findings2026
Automated Knowledge Component Generation and Interpretable Knowledge Tracing in Coding Problems
Zhangqi Duan, Nigel Fernandez, Arun Balajiee Lekshmi Narayanan, Mohammad Hassany, Rafaella Sampaio de Alencar, Peter Brusilovsky, Bita Akram, Andrew Lan
Abstract
Knowledge components (KCs) are key to assessing student knowledge levels on finegrained skills and driving personalization and feedback. However, crafting KCs and tagging them for problems, traditionally performed by human domain experts, is highly laborintensive. Prior work has studied automated KC generation only for multiple-choice questions but not open-ended ones. We bridge this gap and present an automated, large language model (LLM)-based pipeline for KC generation and tagging for open-ended programming problems. We also develop an LLM-based knowledge tracing (KT) framework to leverage these LLM-generated KCs. We conduct extensive quantitative and qualitative evaluations on two real-world student code submission datasets. Results show that our KT method outperforms existing ones and LLM-generated KCs outperform human-written KCs on future student response prediction. We also investigate how these KCs enable us to analyze student learning curves and conduct human evaluation with course instructors to further verify the quality of KC-problem tagging.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on5
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan et al.EMNLP Findings 2020 · 2,828 citations
- Interpretable Knowledge Tracing with Multiscale State RepresentationJianwen Sun, Fenghua Yu, Qian Wan, Qing Li et al.WWW 2024 · 41 citations
- Open-ended Knowledge Tracing for Computer Science EducationNaiming Liu, Zichao Wang, Richard G. Baraniuk, Andrew S. LanEMNLP 2022 · 33 citations
- DiVERT: Distractor Generation with Variational Errors Represented as Text for Math Multiple-choice QuestionsNigel Fernandez, Alexander Scarlatos, Wanyong Feng, Simon Woodhead et al.EMNLP 2024 · 10 citations
Related papers
- Leveraging LLM and Multiscale Knowledge States to Improve Knowledge Tracing in Programming TasksMingxing Shao, Tiancheng Zhang, Yifang Yin, Wenhui Wu et al.WWW 2026
- Exploring the Potential of Large Language Models in Generating Code-Tracing Questions for Introductory Programming CoursesAysa Xuemo Fan, Haoran Zhang, Luc Paquette, Rui ZhangEMNLP Findings 2023 · 6 citations
- CIKT: A Collaborative and Iterative Knowledge Tracing Framework with Large Language ModelsRunze Li, Siyu Wu, Jun Wang, Wei ZhangEMNLP 2025 · 1 citation
- LLM-KT: Enhancing Large Language Models with Knowledge Tracing via Multi-Level Plug-and-Play AlignmentZiwei Wang, Jie Zhou, Qin Chen, Bo Jiang et al.ACL Findings 2026 · 1 citation
- Knowledge Tracing in Programming Education Integrating Students' QuestionsDoyoun Kim, Suin Kim, Yohan JoACL 2025
