arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17542cs.CLcs.CY
收藏

利用LLMs在开放性编程问题中进行知识组件级正确性标注

Using LLMs for Knowledge Component-level Correctness Labeling in Open-ended Coding Problems

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Zhangqi Duan, Arnav Kankaria, Dhruv Kartik, Andrew Lan

AI总结:

本文提出利用大语言模型直接标注开放性编程问题中知识组件的正确性,通过引入时间上下文感知的代码-知识组件映射机制,提升学习曲线拟合度和预测性能。

摘要:

细粒度技能表示,通常称为知识组件(KCs),是学生建模和学习分析中许多方法的基础。然而,在现实世界的数据集中,KCs级别的正确性标签很少,尤其是在需要同时使用多个KCs的开放性编程任务中。简单地将问题级正确性传播到所有相关KCs会掩盖部分掌握情况,往往导致不匹配的学习曲线。为了解决这一挑战,我们提出一个自动化框架,利用大语言模型(LLMs)直接从学生编写的代码中标注KCs级别的正确性。我们的方法评估每个KCs是否被正确应用,并进一步引入时间上下文感知的Code-KC映射机制,以更好地将KCs与个体学生代码对齐。我们通过幂律实践和加法因子模型评估所得到的KCs级别正确性标签在学习曲线拟合和预测性能方面。实验结果表明,我们的框架生成的学习曲线更符合认知理论,并且与基线相比提高了预测性能。人工评估进一步显示LLM和专家标注之间有显著的一致性。

英文摘要:

Fine-grained skill representations, commonly referred to as knowledge components (KCs), are fundamental to many approaches in student modeling and learning analytics. However, KC-level correctness labels are rarely available in real-world datasets, especially for open-ended programming tasks where solutions typically involve multiple KCs simultaneously. Simply propagating problem-level correctness to all associated KCs obscures partial mastery and often leads to poorly fitted learning curves. To address this challenge, we propose an automated framework that leverages large language models (LLMs) to label KC-level correctness directly from student-written code. Our method assesses whether each KC is correctly applied and further introduces a temporal context-aware Code-KC mapping mechanism to better align KCs with individual student code. We evaluate the resulting KC-level correctness labels in terms of learning curve fit and predictive performance using the power law of practice and the Additive Factors Model. Experimental results show that our framework leads to learning curves that are more consistent with cognitive theory and improves predictive performance, compared to baselines. Human evaluation further demonstrates substantial agreement between LLM and expert annotations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑