Open-ended Knowledge Tracing for Computer Science Education
Naiming Liu, Zichao Wang, Richard G. Baraniuk, Andrew S. Lan
Abstract
In educational applications, knowledge tracing refers to the problem of estimating students' time-varying concept/skill mastery level from their past responses to questions and predicting their future performance.One key limitation of most existing knowledge tracing methods is that they treat student responses to questions as binary-valued, i.e., whether they are correct or incorrect. Response correctness analysis/prediction is straightforward, but it ignores important information regarding mastery, especially for open-ended questions.In contrast, exact student responses can provide much more information.In this paper, we conduct the first exploration int open-ended knowledge tracing (OKT) by studying the new task of predicting students' exact open-ended responses to questions.Our work is grounded in the domain of computer science education with programming questions. We develop an initial solution to the OKT problem, a student knowledge-guided code generation approach, that combines program synthesis methods using language models with student knowledge tracing methods. We also conduct a series of quantitative and qualitative experiments on a real-world student code dataset to validate and demonstrate the promise of OKT.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Tree-Based Representation and Generation of Natural and Mathematical LanguageAlexander Scarlatos, Andrew S. LanACL 2023 · 13 citations
- KASER: Knowledge-Aligned Student Error Simulator for Open-Ended Coding TasksZhangqi Duan, Nigel Fernandez, Andrew LanACL 2026 · 5 citations
- SMART: Simulated Students Aligned with Item Response Theory for Question Difficulty PredictionAlexander Scarlatos, Nigel Fernandez, Christopher Ormerod, Susan Lottridge et al.EMNLP 2025
- A Good Plan is Hard to Find: Aligning Models with Preferences is Misaligned with What Helps UsersNishant Balepur, Matthew Shu, Yoo Yeon Sung, Seraphina Goldfarb-Tarrant et al.EMNLP 2025
- CSG: Cognitive Structure Generation for Intelligent EducationHengnian Gu, Zhifu Chen, Yuxin Chen, Jin Zhou et al.ICML 2026
Builds on2
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- No Task Left Behind: Multi-Task Learning of Knowledge Tracing and Option Tracing for Better Student AssessmentSuyeong An, Junghoon Kim, Minsam Kim, Juneyoung ParkAAAI 2022 · 22 citations
Related papers
- Knowledge Tracing in Programming Education Integrating Students' QuestionsDoyoun Kim, Suin Kim, Yohan JoACL 2025
- Interpretable Knowledge Tracing with Multiscale State RepresentationJianwen Sun, Fenghua Yu, Qian Wan, Qing Li et al.WWW 2024 · 41 citations
- Tracing Knowledge State with Individual Cognition and Acquisition EstimationTing Long, Yunfei Liu, Jian Shen, Weinan Zhang et al.SIGIR 2021 · 105 citations
- Leveraging LLM and Multiscale Knowledge States to Improve Knowledge Tracing in Programming TasksMingxing Shao, Tiancheng Zhang, Yifang Yin, Wenhui Wu et al.WWW 2026
- Question Difficulty Consistent Knowledge TracingGuimei Liu, Huijing Zhan, Jung-Jae KimWWW 2024 · 23 citations
