arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.08273cs.PLcs.AI
收藏

程序设计知识追踪:一个综合数据集和一个新模型

Programming Knowledge Tracing: A Comprehensive Dataset and A New Model

East China Normal University(华东师范大学);Zhejiang University(浙江大学)

Renyu Zhu, Dongxiang Zhang, Chengcheng Han, Ming Gao, Xuesong Lu, Weining Qian, Aoying Zhou

摘要:

在本文中,我们研究了知识追踪领域的程序设计教育,并作出了两个重要贡献。首先,我们收集并发布了迄今为止最全面的数据集,即BePKT,它涵盖了OJ系统中的各种在线行为,包括编程文本问题,知识注释,用户提交的代码和系统记录的事件。其次,我们提出了一个新的模型PDKT,利用丰富的上下文准确的学生行为预测。更具体地说,我们构建了一个二分图的编程问题嵌入,并设计了一个改进的预训练模型PLCodeBERT的代码嵌入,以及一个双序列的RNN模型与指数衰减的注意力有效的特征融合。在新数据集BePKT上的实验结果表明,我们提出的模型在编程知识跟踪方面具有最先进的性能。此外,我们验证了我们的基于PLCodeBERT的代码嵌入策略是对现有知识跟踪模型的补充,以进一步提高其准确性。作为副产品,PLCodeBERT还可以在其他与编程相关的任务(如代码克隆检测)中获得更好的性能。

英文摘要:

In this paper, we study knowledge tracing in the domain of programming education and make two important contributions. First, we harvest and publish so far the most comprehensive dataset, namely BePKT, which covers various online behaviors in an OJ system, including programming text problems, knowledge annotations, user-submitted code and system-logged events. Second, we propose a new model PDKT to exploit the enriched context for accurate student behavior prediction. More specifically, we construct a bipartite graph for programming problem embedding, and design an improved pre-training model PLCodeBERT for code embedding, as well as a double-sequence RNN model with exponential decay attention for effective feature fusion. Experimental results on the new dataset BePKT show that our proposed model establishes state-of-the-art performance in programming knowledge tracing. In addition, we verify that our code embedding strategy based on PLCodeBERT is complementary to existing knowledge tracing models to further enhance their accuracy. As a side product, PLCodeBERT also results in better performance in other programming-related tasks such as code clone detection.

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

↑