Computer Science ›› 2026, Vol. 53 ›› Issue (2): 31-38.doi: 10.11896/jsjkx.250700196

• Educational Data Mining Based on Graph Machine Learning • Previous Articles     Next Articles

Robust Knowledge Tracing Model Based on Two-level Contrastive Learning

CHEN Xiaolan1,6, MAO Shun2, LI Weisheng3, LIN Ronghua4, TANG Yong4,5   

  1. 1 School of Information Technology in Education,South China Normal University,Guangzhou 510631,China
    2 School of Artificial Intelligence,Guangzhou Maritime University,Guangzhou 510725,China
    3 School of Artificial Intelligence,Guangdong Open University,Guangzhou 510091,China
    4 School of Computer Science,South China Normal University,Guangzhou 510631,China
    5 Institute of Data Intelligence,Guangdong University of Science and Technology,Dongguan,Guangdong 523083,China
    6 Liyuan Primary School,Huangpu District,Guangzhou 510700,China
  • Received:2025-07-31 Revised:2025-10-29 Published:2026-02-10
  • About author:CHEN Xiaolan,born in 1997,postgra-duate.Her main research interests include knowledge tracing,educational data analysis and applications,and AI-empowered primary education.
    LIN Ronghua,born in 1994,Ph.D,associate research fellow,is a member of CCF(No.C5693M).His main research interests include educational data mi-ning,recommender system and social network analysis.
  • Supported by:
    National Natural Science Foundation of China(62407016).

Abstract: Knowledge tracing is key to adaptive learning,aiming to assess students’ knowledge states and predict their future performance.Currently,data sparsity limits existing knowledge tracing models in both question embedding learning and student knowledge state modeling.To address this,some studies have introduced contrastive learning.However,existing contrastive learning methods rely on random perturbations of graph structures(for question embedding) or modifications of learning interaction sequences(for knowledge state modeling) to generate contrastive views,introducing noise and erroneous self-supervised signals.This results in question embeddings that are poorly suited for downstream tasks in learning systems.To overcome these li-mitations,this study proposes an innovative Dual-level Contrastive Learning Framework(DCLF) to simultaneously enhance question embedding learning and student knowledge state modeling in knowledge tracing.DCLF adopts a more effective contrastive paradigm that avoids altering the original data information.Instead,it generates contrastive views through relational transformations of the original data or by leveraging outputs from different neural networks on the same data.Specifically,for embedding learning,the proposed method obtains contrastive views through relational transformations of the data.For student knowledge state modeling,it encodes learning interactions using different neural networks to obtain knowledge states under various encoders.This method extracts rich self-supervised signals from multiple contrastive views,preserving the intrinsic semantic information of the data and effectively avoiding noise introduction.Experiments conducted on three commonly used datasets demonstrate that DCLF outperforms selected existing knowledge tracing models in terms of performance.

Key words: Knowledge tracing, Adaptive learning, Contrastive learning, Contrastive paradigm, Self supervised learning

CLC Number: 

  • TP181
[1]ABDELRAHMAN G,WANG Q,NUNES B.Knowledge Tra-cing:A Survey[J].ACM Computing Surveys,2023,55(11):1-37.
[2]PIECH C,BASSEN J,HUANG J,et al.Deep Knowledge Tra-cing[C]//Proceedings of Advances in Neural Information Processing Systems.Curran Associates Inc.,2015.
[3]ZHANG J,SHI X,KING I,et al.Dynamic Key-Value Memory Networks for Knowledge Tracing[C]//Proceedings of the 26th International Conference on World Wide Web.New York:ACM,2017:765-774.
[4]PANDEY S,KARYPIS G.A Self-Attentive Model for Know-ledge Tracing[J].arXiv:1907.06837,2019.
[5]NAKAGAWA H,IWAWA Y,MATSUO Y.Graph-BasedKnowledge Tracing:Modeling Student Proficiency Using Graph Neural Network[C]//Proceedings of IEEE/WIC/ACM International Conference on Web Intelligence.New York:ACM,2019:156-163.
[6]KHOSLA P,TETERWAK P,WANG C,et al.Supervised Contrastive Learning[C]//Proceedings of Advances in Neural Information Processing Systems.Curran Associates Inc.,2020:18661-18673.
[7]PENG W,LI S,ZHANG W.Investigation and Analysis onE-Learning Behavior of Spare-Time Students[C]//Proceedings of 2011 International Conference on Internet Computing and Information Services.New York:IEEE,2011:381-384.
[8]SONG X,LI J,LEI Q,et al.Bi-CLKT:Bi-Graph ContrastiveLearning-Based Knowledge Tracing[J].Knowledge-Based Systems,2022,241:108274.
[9]WU T,LING Q.Self-Supervised Heterogeneous HypergraphNetwork for Knowledge Tracing[J].Information Sciences,2023,624:200-216.
[10]SUN X,YIN H,LIU B,et al.Heterogeneous Hypergraph Embedding for Graph Classification[C]//Proceedings of the 14th ACM International Conference on Web Search and Data Mi-ning.New York:ACM,2021:725-733.
[11]SHEN S,LIU Q,HUANG Z,et al.A Survey of KnowledgeTracing:Models,Variants,and Applications[J].IEEE Transactions on Learning Technologies,2024,17:1858-1879.
[12]LIU Z,GUO T,LIANG Q,et al.Deep Learning Based Know-ledge Tracing:A Review,A Tool and Empirical Studies[J].IEEE Transactions on Knowledge and Data Engineering,2025,37(8):4512-4536.
[13]NAGATANI K,ZHANG Q,SATO M,et al.AugmentingKnowledge Tracing by Considering Forgetting Behavior[C]//Proceedings of The World Wide Web Conference.New York:ACM,2019:3101-3107.
[14]GHOSH A,HEFFERNAN N,LAN A S.Context-Aware Attentive Knowledge Tracing[C]//Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining.New York:ACM,2020:2330-2339.
[15]YANG Y,SHEN J,QU Y,et al.GIKT:A Graph-Based Interaction Model for Knowledge Tracing[C]//Proceedings of Joint European Conference on Machine Learning and Knowledge Discovery in Databases.Cham:Springer,2020:299-315.
[16]TSUTSUMI E,KINOSHITA R,UENO M.Deep-IRT with Independent Student and Item Networks[C]//Proceedings of the International Educational Data Mining Society Conference.ERIC,2021:510-517.
[17]ZHOU N,DONG Y Q,YAN L K,et al.Investigation on Exercise Recommendation Integrating Student Knowledge State and Chaos Firefly Algorithm[J].Journal of Frontiers of Computer Science & Technology,2025,19(6):1620-1631.
[18]ZHAO Y J,MENG F J,XU X J.A Review of KnowledgeTracking for Online Education Learners[J].Journal of Computer Applications,2024,44(6):1683-1698.
[19]ZHAO Y,MA H,WANG J,et al.Question-Response Representation with Dual-Level Contrastive Learning for Improving Knowledge Tracing[J].Information Sciences,2024,658:120032.
[20]ZHANG H,LIU Z,SHANG C,et al.A Question-Centric Multi-Experts Contrastive Learning Framework for Improving the Accuracy and Interpretability of Deep Sequential Knowledge Tra-cing Models[J].ACM Transactions on Knowledge Discovery from Data,2025,19(2):1-25.
[21]LEE W,CHUN J,LEE Y,et al.Contrastive Learning forKnowledge Tracing[C]//Proceedings of the ACM Web Confe-rence 2022.New York:ACM,2022:2330-2338.
[22]ZHENG N,SHAN Z.Co-Attention and Contrastive LearningDriven Knowledge Tracing[C]//Proceedings of Joint European Conference on Machine Learning and Knowledge Discovery in Databases.Cham:Springer,2024:177-194.
[23]DAI H,YUN Y,ZHANG Y,et al.Self-Paced ContrastiveLearning for Knowledge Tracing[J].Neurocomputing,2024,609:128366.
[24]YAO L,MAO C,LUO Y.Graph Convolutional Networks for Text Classification[C]//Proceedings of the AAAI Conference on Artificial Intelligence.AAAI,2019:7370-7377.
[25]HOCHREITER S,SCHMIDHUBER J.Long Short-TermMe-mory[J].Neural Computation,1997,9(8):1735-1780.
[26]ZHAO Y,TUO J,SHAN K,et al.Overview of KnowledgeTracking Models in the Field of Intelligent Education[J].Journal of Computer System & Applications,2025,34(6):1-11.
[27]YEUNG C K,YEUNG D Y.Addressing Two Problems in Deep Knowledge Tracing via Prediction-Consistent Regularization[C]//Proceedings of the Fifth Annual ACM Conference on Learning at Scale.New York:ACM,2018:1-10.
[28]LI Q,HUANG Z,SUN J,et al.HKT:Hierarchical Structure-based Knowledge Tracing[J].Information Processing & Ma-nagement,2025,62(5):104206.
[29]XIE P Z,LI G J,LI T.Knowledge Tracing Model Based onExercise-Knowledge Point Heterogeneous Graph and Multi-feature Fusion[J].Computer Science,2025,52(3):197-205.
[30]ZHANG W,LUO P H,GONG Z W,et al.Multi Relationshipand Time Enhanced Knowledge Tracking Model[J].Application Research of Computers,2025,42(3):728-734.
[31]WU Z,HUANG L,HUANG Q,et al.SGKT:Session Graph-Based Knowledge Tracing for Student Performance Prediction[J].Expert Systems with Applications,2022,206:117681.
[32]TONG H,WANG Z,ZHOU Y,et al.Introducing Problem Schema with Hierarchical Exercise Graph for Knowledge Tracing[C]//Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval.New York:ACM,2022:405-415.
[1] YANG Ming, HE Chaobo, YANG Jiaqi. Direction-aware Siamese Network for Knowledge Concept Prerequisite Relation Prediction [J]. Computer Science, 2026, 53(2): 39-47.
[2] LI Jiahao, JING Junchang, XU Qian, LIU Dong. GTKT:Knowledge Tracing Model Integrating Connectivism Learning and Multi-layer TemporalGraph Transformer [J]. Computer Science, 2026, 53(2): 78-88.
[3] LI Chunying, TANG Zhikang, ZHUANG Zhiwei, LI Wenbo, GUO Yanxi, ZHANG Xiaowei. DCL-FKT:Personalized Knowledge Tracing via Dual Contrastive Learning and ForgettingMechanism [J]. Computer Science, 2026, 53(2): 99-106.
[4] WANG Xinyu, SONG Xiaomin, ZHENG Huiming, PENG Dezhong, CHEN Jie. Contrastive Learning-based Masked Graph Autoencoder [J]. Computer Science, 2026, 53(2): 145-151.
[5] WEI Jinsheng, ZHOU Su, LU Guanming , DING Jiawei. News Recommendation Algorithm Based on User Static and Dynamic Interests and DenoisedImplicit Negative Feedback [J]. Computer Science, 2026, 53(2): 152-160.
[6] HUANG Chao, CHENG Chunling, WANG Youkang. Source-free Domain Adaptation Method Based on Pseudo Label Uncertainty Estimation [J]. Computer Science, 2025, 52(9): 212-219.
[7] ZHANG Shiju, GUO Chaoyang, WU Chengliang, WU Lingjun, YANG Fengyu. Text Clustering Approach Based on Key Semantic Driven and Contrastive Learning [J]. Computer Science, 2025, 52(8): 171-179.
[8] ZHANG Taotao, XIE Jun, QIAO Pingjuan. Specific Emitter Identification Based on Progressive Self-training Open Set Domain Adaptation [J]. Computer Science, 2025, 52(7): 279-286.
[9] YE Jiale, PU Yuanyuan, ZHAO Zhengpeng, FENG Jue, ZHOU Lianmin, GU Jinjing. Multi-view CLIP and Hybrid Contrastive Learning for Multimodal Image-Text Sentiment Analysis [J]. Computer Science, 2025, 52(6A): 240700060-7.
[10] FU Shufan, WANG Zhongqing, JIANG Xiaotong. Zero-shot Stance Detection in Chinese by Fusion of Emotion Lexicon and Graph ContrastiveLearning [J]. Computer Science, 2025, 52(6A): 240500051-7.
[11] LI Jianghui, DING Haiyan, LI Weihua. Prediction of Influenza A Antigenicity Based on Few-shot Contrastive Learning [J]. Computer Science, 2025, 52(6A): 240800053-6.
[12] LIU Huayong, ZHU Ting. Semi-supervised Cross-modal Hashing Method for Semantic Alignment Networks Basedon GAN [J]. Computer Science, 2025, 52(6): 159-166.
[13] LIU Yufei, XIAO Yanhui, TIAN Huawei. PRNU Fingerprint Purification Algorithm for Open Environment [J]. Computer Science, 2025, 52(6): 187-199.
[14] CHEN Yadang, GAO Yuxuan, LU Chuhan, CHE Xun. Saliency Mask Mixup for Few-shot Image Classification [J]. Computer Science, 2025, 52(6): 256-263.
[15] WU Pengyuan, FANG Wei. Study on Graph Collaborative Filtering Model Based on FeatureNet Contrastive Learning [J]. Computer Science, 2025, 52(5): 139-148.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!