Computer Science ›› 2026, Vol. 53 ›› Issue (2): 99-106.doi: 10.11896/jsjkx.250600002

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

DCL-FKT:Personalized Knowledge Tracing via Dual Contrastive Learning and ForgettingMechanism

LI Chunying1,2, TANG Zhikang1, ZHUANG Zhiwei1, LI Wenbo1, GUO Yanxi1, ZHANG Xiaowei3   

  1. 1 School of Computer Science,Guangdong Polytechnic Normal University,Guangzhou 510665,China
    2 Guangdong Provincial Key Laboratory of Intellectual Property & Big Data,Guangdong Polytechnic Normal University,Guangzhou 510665,China
    3 School of Electronics and Information,Guangdong Polytechnic Normal University,Guangzhou 510665,China
  • Received:2025-06-03 Revised:2025-09-24 Published:2026-02-10
  • About author:LI Chunying,born in 1978,Ph.D,professor,is a distinguished member of CCF(No.19159S).Her main research interests include social networks and human-centered computing,educational big data analysis and mining,andrela-ted areas.
    TANG Zhikang,born in 1978,Ph.D,lecture.His main research interests include knowledge tracing recommender systems and related areas.
  • Supported by:
    National Natural Science Foundation of China(61807009),Key Areas Special Project of Guangdong Provincial Universities(2023ZDZX1009),Talent Training Program for Large Language Model Technology and Application Innovation(Yuejiao Han [2024] No. 9) and Joint Laboratory Project of Intelligent Education,Guangdong Polytechnic Normal University(GSZLGC2023004).

Abstract: In the context of educational digitalization,accurately tracking students’ knowledge mastery has become one of the key approaches to improving teaching quality.Knowledge tracing seeks to analyze various types of student behavior data-such as responses to questions and online study duration-to evaluate their mastery of specific knowledge points.Although existing approaches have demonstrated good performance in predicting personalized learning behaviors,they still face two major challenges:1) the widespread issue of data sparsity in educational settings;2) the neglect of the complex and dynamic nature of students’ knowledge acquisition,resulting in an inability to effectively capture changes in knowledge and forgetting patterns.To address these challenges,this paper proposes a personalized knowledge tracing model,DCL-FKT,which integrates dual contrastive lear-ning with a forgetting mechanism.The model alleviates data sparsity through question masking and substitution,building upon the traditional contrastive learning framework,it introduces a feature-level contrastive learning module to eliminate redundant representations and enhance modeling efficiency.In addition,by incorporating a forgetting gate mechanism,the model dynamically simulates the human forgetting curve,allowing it to accurately capture the nonlinear decay of students’ knowledge over time and enabling dynamic modeling of the learning process.Experiments conducted on real-world datasets demonstrate that the proposed model achieves significant improvements in core metrics,such as prediction accuracy.It provides a more accurate reflection of students’ actual knowledge levels and offers reliable support for personalized online learning.

Key words: Intelligent education, Knowledge tracing, Dual contrastive learning, Forgetting mechanism, Performance prediction

CLC Number: 

  • G434
[1]ABDELRAHMAN G,WANG Q,NUNES B.Knowledge tra-cing:A survey[J].ACM Computing Surveys,2023,55(11):1-37.
[2]CORBETT A T,ANDERSON J R.Knowledge tracing:Mode-ling the acquisition of procedural knowledge[J].User Modeling and User-Adapted Interaction,1994,4(4):253-278.
[3]ZAKARIA S,MEDHAT M G,ABDELSAMEA M M.AUQantO:Actionable Uncertainty Quantification Optimization in deep learning architectures for medical image classification[J].Applied Soft Computing,2023,146:110666.
[4]RINALDI A M,RUSSO C,TOMMASINO C.Automatic image captioning combining natural language processing and deep neural networks[J].Results in Engineering,2023,18:101107.
[5]PIECH C,BASSEN J,HUANG J,et al.Deep knowledge tracing[C]//Proceedings of the 29th Annual Conference on Neural Information Processing Systems(NeurIPS).2015:505-513.
[6]WANG F,LIU Q,CHEN E,et al.Neural cognitive diagnosis for intelligent education systems[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2020:6153-6161.
[7]ZHANG J,SHI X,KING I,et al.Dynamic key-value memorynetworks for knowledge tracing[C]//Proceedings of the 26th International Conference on World Wide Web(WWW).2017:765-774.
[8]SU Y,LIU Q W,LIU Q,et al.Exercise-enhanced sequential modeling for student performance prediction[C]//Proceedings of the 32nd AAAI Conference on Artificial Intelligence.2018.
[9]SUN J W,ZHOU J P,LIU S Y Y,et al.Interpretable cognitive tracing based on multi-layer attention networks[J].Journal of Computer Research and Development,2021,58(12):2630-2644.
[10]ABDELRAHMAN G,WANG Q.Knowledge tracing with se-quential key-value memory networks[C]//Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval.New York:ACM,2019:175-184.
[11]ZHANG L,XIONG X L,ZHAO S Y,et al.Incorporating rich features into deep knowledge tracing[C]//Proceedings of the 4th ACM Conference on Learning @ Scale.New York:ACM,2017:169-172.
[12]VASWANI A,SHAZEER N,PARMAR N,et al.Attention isall you need[C]//Proceedings of the 31st International Confe-rence on Neural Information Processing Systems(NeurIPS).2017:6000-6010.
[13]CHOI Y,LEE Y,CHO J,et al.Towards an appropriate query,key,and value computation for knowledge tracing[C]//Procee-dings of the Seventh ACM Conference on Learning@Scale.2020:341-344.
[14]GHOSH A,HEFFERNAN N,LAN A S.Context-aware at-tentive knowledge tracing[C]//Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining.2020:2330-2339.
[15]PANDEY S,KARYPIS G.A self-attentive model for knowledge tracing[C]//Proceedings of the International Conference on Educational Data Mining(EDM).2019.
[16]PELÁNEK R.Modeling students’ memory for application inadaptive educational systems[C]//Proceedings of the International Conference on Educational Data Mining(EDM 2015).Madrid,Spain:International Educational Data Mining Society,2015:480-483.
[17]NAGATANI K,ZHANG Q,SATO M,et al.Augmentingknowledge tracing by considering forgetting behavior[C]//Proceedings of The World Wide Web Conference(WWW 2019).New York:ACM,2019:3101-3107.
[18]BAI Y,WANG H,HE J.Blin:A multi-task sequence recommendation based on bidirectional KL-divergence and linear attention[J].Mathematics,2024,12(15):2391.
[19] LIU Y,YANG Y,CHEN X,et al.Improving knowledge tracing via pre-training question embeddings[C]//Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence(IJCAI 2020).2020:1577-1583.
[20] LEE S W,CHOI Y D,PARK J Y,et al.Consistency and Monotonicity Regularization for Neural Knowledge Tracing[J].ar-Xiv:2105.00607,2021.
[21]LEE W,CHUN J,LEE Y,et al.Contrastive learning for know-ledge tracing[C]//Proceedings of the ACM Web Conference 2022.2022.
[22]CHENG K,PENG L,WANG P,et al.DyGKT:Dynamic graph learning for knowledge tracing[C]//Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining.2024.
[23]WU Z,XIONG Y,YU S X,et al.Unsupervised feature learning via non-parametric instance discrimination[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition(CVPR).2018.
[24]CHEN T,KORNBLITH S,NOROUZI M,et al.A simpleframework for contrastive learning of visual representations[C]//Proceedings of the International Conference on Machine Learning(ICML).PMLR,2020:1597-1607.
[25]HE K,FAN H,WU Y,et al.Momentum contrast for unsupervised visual representation learning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR).2020:9729-9738.
[26]GAO T,YAO X,CHEN D.SimCSE:Simple contrastive learning of sentence embeddings[J].arXiv:2104.08821,2021.
[27]CLARK K,LUONG M T,LE Q V,et al.ELECTRA:Pre-trai-ning text encoders as discriminators rather than generators[J].arXiv:2003.10555,2020.
[28]ZHANG D,GENG Y,GONG W,et al.RecDCL:Dual contrastive learning for recommendation[C]//Proceedings of the ACM Web Conference 2024.2024:3655-3666.
[29]CHENG W,DU H,LI C,et al.Uncertainty-aware knowledge tracin[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2025:27905-27913.
[30]DOIGNON J P,FALMAGNE J C.Knowledge spaces[M].Berlin:Springer Science & Business Media,2012.
[31]CHEN T,KORNBLITH S,NOROUZI M,et al.A simpleframework for contrastive learning of visual representations[C]//Proceedings of the International Conference on Machine Learning(ICML).PMLR,2020:1597-1607.
[32]ZBONTAR J,JING L,MISRA I,et al.Barlow Twins:Self-supervised learning via redundancy reduction[C]//Proceedings of the International Conference on Machine Learning(ICML).PMLR,2021:12310-12320.
[33]BARDES A,PONCE J,LECUN Y.VICReg:Variance-invari-ance-covariance regularization for self-supervised learning[J].arXiv:2105.04906,2021.
[1] ZHAI Jie, CHEN Lexuan, PANG Zhiyu. Survey on Graph Neural Network-based Methods for Academic Performance Prediction [J]. Computer Science, 2026, 53(2): 16-30.
[2] CHEN Xiaolan, MAO Shun, LI Weisheng, LIN Ronghua, TANG Yong. Robust Knowledge Tracing Model Based on Two-level Contrastive Learning [J]. Computer Science, 2026, 53(2): 31-38.
[3] 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.
[4] XIE Peizhong, LI Guanjin, LI Ting. Knowledge Tracing Model Based on Exercise-Knowledge Point Heterogeneous Graph andMulti-feature Fusion [J]. Computer Science, 2025, 52(3): 197-205.
[5] DUAN Chao, WANG Yiqing, WANG Jie, ZHANG Mingyan. Research on Hybrid Methods for Predicting Students’ Online Learning Performance Based on Generative Model [J]. Computer Science, 2025, 52(11A): 250200029-9.
[6] YAN Qiuyan, SUN Hao, SI Yuqing, YUAN Guan. Multimodality and Forgetting Mechanisms Model for Knowledge Tracing [J]. Computer Science, 2024, 51(7): 133-139.
[7] LIU Feng, LIU Yaxuan, CHAI Xinyu, JI Haohan, ZHENG Zhixing. Computational Perception Technologies in Intelligent Education:Systematic Review [J]. Computer Science, 2024, 51(10): 10-16.
[8] FENG Jun, LI Kaixuan, GAO Zhizezhang, HUANG Li, SUN Xia. Survey of Research on Automated Grading Algorithms for Subjective Questions [J]. Computer Science, 2024, 51(10): 33-39.
[9] CUI Jiajun, KANG Lu, MA Miao. Survey on Intelligent Analysis Techniques for Classroom Teacher-Student Interaction Research [J]. Computer Science, 2024, 51(10): 40-49.
[10] CHENG Yan, ZHOU Ziwei, MA Mingyu, LIN Qinglong, ZHAN Yongxin, WAN Lingfeng. Speed-Accuracy Tradeoff-based Deep Cognitive Diagnostic Model [J]. Computer Science, 2024, 51(10): 170-177.
[11] JIN Tiancheng, DOU Liang, ZHANG Wei, XIAO Chunyun, LIU Feng, ZHOU Aimin. OJ Exercise Recommendation Model Based on Deep Reinforcement Learning and Program Analysis [J]. Computer Science, 2023, 50(8): 58-67.
[12] ZHOU Fengfan, LING Hefei, ZHANG Jinyuan, XIA Ziwei, SHI Yuxuan, LI Ping. Facial Physical Adversarial Example Performance Prediction Algorithm Based on Multi-modal Feature Fusion [J]. Computer Science, 2023, 50(8): 280-285.
[13] WANG Han, LIU Wanping, LU Ling. Rumor Propagation Model of Microblog Network with Attenuation Effect and Forgetting Mechanism [J]. Computer Science, 2023, 50(6A): 220100189-7.
[14] DONG Yongfeng, HUANG Gang, XUE Wanruo, LI Linhao. Graph Attention Deep Knowledge Tracing Model Integrated with IRT [J]. Computer Science, 2023, 50(3): 173-180.
[15] WANG Run-an, ZOU Zhao-nian. Query Performance Prediction Based on Physical Operation-level Models [J]. Computer Science, 2022, 49(8): 49-55.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!