Sun Xinjie, Liu Qi, Zhang Kai, Shen Shuanghong, Zhuang Yan, Guo Yuxiang
School of Computer Science, Liupanshui Normal University, Liupanshui, China; School of Computer Science and Technology, University of Science and Technology of China, Hefei, China; State Key Laboratory of Cognitive Intelligence, Hefei, China.
School of Artificial Intelligence and Data Science, University of Science and Technology of China, Hefei, China; State Key Laboratory of Cognitive Intelligence, Hefei, China.
Neural Netw. 2025 May;185:107164. doi: 10.1016/j.neunet.2025.107164. Epub 2025 Jan 18.
Knowledge tracing (KT) estimates students' mastery of knowledge concepts or skills by analyzing their historical interactions. Although general KT methods have effectively assessed students' knowledge states, specific measurements of students' programming skills remain insufficient. Existing studies mainly rely on exercise outcomes and do not fully utilize behavioral data during the programming process. Therefore, we integrate a Logical and Grammar Skills Knowledge Tracing (LGS-KT) model to enhance programming education. This model integrates static analysis and dynamic monitoring (such as CPU and memory consumption) to evaluate code elements, providing a thorough assessment of code quality. By analyzing students' multiple iterations on the same programming problem, we constructed a reweighted logical skill evolution graph to assess the development of students' logical skills. Additionally, to enhance the interactions among representations with similar grammatical skills, we developed a grammatical skills interaction graph based on the similarity of knowledge concepts. This approach significantly improves the accuracy of inferring students' programming grammatical skill states. The LGS-KT model has demonstrated superior performance in predicting student outcomes. Our research highlights the potential application of a KT model that integrates logical and grammatical skills in programming exercises. To support reproducible research, we have published the data and code at https://github.com/xinjiesun-ustc/LGS-KT, encouraging further innovation in this field.
知识追踪(KT)通过分析学生的历史交互来估计他们对知识概念或技能的掌握程度。尽管通用的KT方法有效地评估了学生的知识状态,但对学生编程技能的具体衡量仍显不足。现有研究主要依赖练习结果,未充分利用编程过程中的行为数据。因此,我们集成了一个逻辑与语法技能知识追踪(LGS-KT)模型来加强编程教育。该模型整合了静态分析和动态监测(如CPU和内存消耗)来评估代码元素,对代码质量进行全面评估。通过分析学生在同一编程问题上的多次迭代,我们构建了一个重新加权的逻辑技能演化图来评估学生逻辑技能的发展。此外,为了增强具有相似语法技能的表征之间的交互,我们基于知识概念的相似性开发了一个语法技能交互图。这种方法显著提高了推断学生编程语法技能状态的准确性。LGS-KT模型在预测学生成绩方面表现出卓越性能。我们的研究突出了在编程练习中集成逻辑和语法技能的KT模型的潜在应用。为支持可重复研究,我们已将数据和代码发布在https://github.com/xinjiesun-ustc/LGS-KT,鼓励该领域的进一步创新。