LLM-KT: Enhancing Large Language Models with Knowledge Tracing via Multi-Level Plug-and-Play Alignment
Paper · 2026 · Ziwei Wang, Jie Zhou, Qin Chen et al.
Summary
Knowledge Tracing (KT) estimates whether a learner will solve the next exercise from their earlier answers. Classic KT models handle sequences of question and concept IDs well but have no grasp of meaning. LLMs bring world knowledge and reasoning, but they treat IDs as arbitrary numbers and struggle with long textual histories. The authors propose LLM-KT, which combines the two through multi-level plug-and-play alignment.
At the task level, KT becomes a Yes/No generation problem. An instruction template contains special question and concept tokens, and their embeddings are swapped for learned vectors. At the modality level, two components feed those vectors:
- a Semantic History Projector, which compresses question and concept texts into compact embeddings via a context adapter;
- a Behavioral Dynamics Projector, which maps interaction representations from traditional KT models (DKT, AKT) into the LLM's space.
The two signals are fused for each token. With a LoRA-tuned LLaMA2 backbone, the framework sets a new state of the art on four public benchmarks against more than 20 baselines. This shows a practical way to merge LLMs with established educational sequence models.
Key points
- The authors motivate the projectors with two observations: student histories can exceed 200 questions at roughly 77 tokens each, and plain fine-tuning of LLaMA (or prompting GPT-4o) gives limited gains.
- Initializing the special tokens with DKT or AKT embeddings far outperforms randomly initialized fine-tuned token IDs (LLM-FT TokenID), with AKT gaining over 15 ACC points on Nips2020. DKT and AKT perform almost the same (average ACC 0.8295 vs 0.8302).
- Among context encoders (BERT, all-mpnet-base-v2 / MPNET, LLaMA2), LLaMA2 is best on Assist2009 and Nips2020 (average AUC 0.8581, ACC 0.7865 vs BERT's 0.7659 ACC). The authors still recommend MPNET as a cost-effective choice of BERT size.
- The way context and sequence vectors are fused (concatenation, averaging, addition) matters little; addition scores slightly highest.
- Stated limitations include higher compute cost and latency than lightweight KT models, reliance on good question texts, noise in very long sequences, and weaker handling of unseen questions.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksInformation Systems · 1,437 worksComputer Science Applications · 102 works
🧭 Topics 1Research subjects and languages the work is about.Language models & pretraining · 3,320 works
Cite
Cite as Ziwei Wang, Jie Zhou, Qin Chen, Bo Jiang, Qingchun Bai, Liang Dou and Liang He. 2026. LLM-KT: Enhancing Large Language Models with Knowledge Tracing via Multi-Level Plug-and-Play Alignment. Findings of the Association for Computational Linguistics: ACL 2026.
@inproceedings{wang2026llm,
title = {{LLM-KT: Enhancing Large Language Models with Knowledge Tracing via Multi-Level Plug-and-Play Alignment}},
author = {Ziwei Wang, Jie Zhou, Qin Chen, Bo Jiang, Qingchun Bai, Liang Dou and Liang He},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2026},
year = {2026},
doi = {10.18653/v1/2026.findings-acl.1781},
url = {https://doi.org/10.18653/v1/2026.findings-acl.1781}
}References
- Ghodai Abdelrahman, Qing Wang, and Bernardo Nunes. 2023. Knowledge tracing: A survey. ACM Computing Surveys, 55(11):1–37. bigdata ustc. 2021. Edudata. https://github.com/ bigdata-ustc/EduData. ↗
- Jiahui Cen, Jianghao Lin, Weixuan Zhong, Dong Zhou, Jin Chen, Aimin Yang, and Yongmei Zhou. 2025. Llm-driven effective knowledge tracing by integrating dual-channel difficulty. Preprint, arXiv:2502.19915. — [arXiv:2502.19915](https://arxiv.org/abs/2502.19915) find
- Song Cheng, Qi Liu, Enhong Chen, Kai Zhang, Zhenya Huang, Yu Yin, Xiaoqing Huang, and Yu Su. 2022. Adaptkt: A domain adaptable method for knowledge tracing. In Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining, pages 123–131. find
- Weihua Cheng, Hanwen Du, Chunxiao Li, Ersheng Ni, Liangdi Tan, Tianqi Xu, and Yongxin Ni. 2025. Uncertainty-aware knowledge tracing. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence and Thirty-Seventh Conference on Innovative Applications of Artificial Intelligence and F… find
- Albert T. Corbett and John R. Anderson. 1995. Knowledge tracing: Modeling the acquisition of procedural knowledge. User Modelling and User-Adapted Interaction, page 253–278. find
- Chaoran Cui, Yumo Yao, Chunyun Zhang, Hebo Ma, Yuling Ma, Zhaochun Ren, Chen Zhang, and James Ko. 2024. Dgekt: A dual graph ensemble learning method for knowledge tracing. ACM Trans. Inf. Syst., 42(3). find
- Jiajun Cui, Zeyuan Chen, Aimin Zhou, Jianyong Wang, and Wei Zhang. 2023. Fine-grained interaction modeling with multi-relational transformer for knowledge tracing. ACM Transactions on Information Systems, 41(4):1–26. find
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In North American Chapter of the Association for Computational Linguistics.
- Jeffrey L Elman. 1990. Finding structure in time. Cognitive science, 14(2):179–211. find
- Aritra Ghosh, Neil Heffernan, and Andrew S Lan. 2020. Context-aware attentive knowledge tracing. In Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining, pages 2330–2339. find
- Bert F. Green. A general solution for the latent class model of latent structure analysis. Psychometrika, 16(2):151–166. find
- S Hochreiter. 1997. Long short-term memory. Neural Computation MIT-Press. find
- HuEdward J., Yulong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, and Weizhu Chen. 2021. Lora: Low-rank adaptation of large language models. arXiv: Computation and Language,arXiv: Computation and Language.
- Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, and 1 others. 2023. Mistral 7b. arXiv preprint arXiv:2310.06825. find
- Heeseok Jung, Jaesang Yoo, Yohaan Yoon, Yeonju Jang, and 1 others. 2025. Clst: Cold-start mitigation in knowledge tracing by aligning a generative language model as a students’ knowledge tracer. Journal of Educational Data Mining, 17(2):86–117. find
- Unggi Lee, Jiyeong Bae, Dohee Kim, Sookbun Lee, Jaekwon Park, Taekyung Ahn, Gunho Lee, Damji Stratton, and Hyeoncheol Kim. 2024a. Language model can do knowledge tracing: Simple but effective method to integrate language model and knowledge tracing task. arXiv preprint arXiv:2406.02893. — [arXiv:2406.02893](https://arxiv.org/abs/2406.02893) find
- Unggi Lee, Sungjun Yoon, Joon Seo Yun, Kyoungsoo Park, Younghoon Jung, Damji Stratton, and Hyeoncheol Kim. 2024b. Difficulty-focused contrastive learning for knowledge tracing with a large language model-based difficulty prediction. In Proceedings of the 2024 Joint International Conference on Comput… find
- Haoxuan Li, Jifan Yu, Yuanxin Ouyang, Zhuang Liu, Wenge Rong, Huiqin Liu, Juanzi Li, and Zhang Xiong. 2025. Explainable few-shot knowledge tracing. Frontiers of Digital Education, 2(4):34. find
- Zhaoxing Li, Mark Jacobsen, Lei Shi, Yunzhan Zhou, and Jindi Wang. 2023. Broader and deeper: A multi-features with latent relations bert knowledge tracing model. In Responsive and Sustainable Educational Futures, pages 183–197, Cham. Springer Nature Switzerland. find
- Zhaoxing Li, Jujie Yang, Jindi Wang, Lei Shi, and Sebastian Stein. 2024. Integrating lstm and bert for long-sequence data analysis in intelligent tutoring systems. arXiv preprint arXiv:2405.05136. — [arXiv:2405.05136](https://arxiv.org/abs/2405.05136) find
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019b. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692.
- Yunfei Liu, Yang Yang, Xianyu Chen, Jian Shen, Haifeng Zhang, and Yong Yu. 2021. Improving knowledge tracing via pre-training question embeddings. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pages 1577–1583. find
- Koki Nagatani, Qian Zhang, Masahiro Sato, Yan-Ying Chen, Francine Chen, and Tomoko Ohkuma. 2019. Augmenting knowledge tracing by considering forgetting behavior. In The world wide web conference, pages 3101–3107. find
- Hiromi Nakagawa, Yusuke Iwasawa, and Yutaka Matsuo. 2019. Graph-based knowledge tracing: Modeling student proficiency using graph neural network. In IEEE/WIC/ACM International Conference on Web Intelligence. find
- Seyed Parsa Neshaei, Richard Lee Davis, Adam Hazimeh, Bojan Lazarevski, Pierre Dillenbourg, and Tanja Käser. 2024. Towards modeling learner performance with large language models. arXiv preprint arXiv:2403.14661. — [arXiv:2403.14661](https://arxiv.org/abs/2403.14661) find
- Lin Ni, Sijie Wang, Zeyu Zhang, Xiaoxuan Li, Xianda Zheng, Paul Denny, and Jiamou Liu. 2024. Enhancing student performance prediction on learnersourced questions with sgnn-llm synergy. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 23232–23240. find
- Shalini Pandey and George Karypis. 2019. A self-attentive model for knowledge tracing. arXiv preprint arXiv:1907.06837. find
- Shalini Pandey and Jaideep Srivastava. 2020. Rkt: Relation-aware self-attention for knowledge tracing. Proceedings of the 29th ACM International Conference on Information & Knowledge Management. find
- Chris Piech, Jonathan Bassen, Jonathan Huang, Surya Ganguli, Mehran Sahami, Leonidas J Guibas, and Jascha Sohl-Dickstein. 2015. Deep knowledge tracing. Advances in neural information processing systems, 28. find
- Zhenwen Liang, Wenhao Yu, Tanmay Rajpurohit, Peter Clark, Xiangliang Zhang, and Ashwin Kaylan. 2023. Let gpt be a math tutor: Teaching math word problem solvers with customized exercise generation. Preprint, arXiv:2305.14386. find
- Shuanghong Shen, Qi Liu, Enhong Chen, Zhenya Huang, Wei Huang, Yu Yin, Yu Su, and Shijin Wang. 2021. Learning process-consistent knowledge tracing. In Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining, pages 1452–1460. find
- Qi Liu, Zhenya Huang, Yu Yin, Enhong Chen, Hui Xiong, Yu Su, and Guoping Hu. 2019a. Ekt: Exercise-aware knowledge tracing for student performance prediction. IEEE Transactions on Knowledge and Data Engineering, 33(1):100–115. find
- Shuanghong Shen, Qi Liu, Zhenya Huang, Yonghe Zheng, Minghao Yin, Minjuan Wang, and Enhong Chen. 2024. A survey of knowledge tracing: Models, variants, and applications. IEEE Transactions on Learning Technologies. find
- Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2020. Mpnet: Masked and permuted pre-training for language understanding. Advances in neural information processing systems, 33:16857– 16867.
- Xiangyu Song, Jianxin Li, Qi Lei, Wei Zhao, Yunliang Chen, and Ajmal Mian. 2022. Bi-clkt: Bigraph contrastive learning based knowledge tracing. Knowledge-Based Systems, 241:108274. find
- Yu Su, Qingwen Liu, Qi Liu, Zhenya Huang, Yu Yin, Enhong Chen, Chris Ding, Si Wei, and Guoping Hu. 2018. Exercise-enhanced sequential modeling for student performance prediction. In Proceedings of the AAAI conference on artificial intelligence, volume 32. find
- Jianwen Sun, Mengqi Wei, Jintian Feng, Fenghua Yu, Qing Li, and Rui Zou. 2024. Progressive knowledge tracing: Modeling learning process from abstract to concrete. Expert Systems with Applications, 238:122280. find
- Weicong Tan, Yuan Jin, Ming Liu, and He Zhang. 2022. Bidkt: Deep knowledge tracing with bert. In Ad Hoc Networks and Tools for IT, pages 260–278, Cham. Springer International Publishing. find
- Zejie Tiana, Guangcong Zhengc, Brendan Flanaganb, Jiazhi Mic, and Hiroaki Ogatab. 2021. Bekt: deep knowledge tracing with bidirectional encoder representations from transformers. In Proceedings of the 29th International Conference on Computers in Education, volume 2, pages 6–2. find
- Hanshuang Tong, Yun Zhou, and Zhen Wang. 2020. Exercise hierarchical feature enhanced knowledge tracing. In Artificial Intelligence in Education: 21st International Conference, AIED 2020, Ifrane, Morocco, July 6–10, 2020, Proceedings, Part II 21, pages 324– 328. Springer. find
- Hugo Touvron, Louis Martin, Kevin R. Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Daniel M. Bikel, Lukas Blecher, Cristian Cantón Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, and… — Llama 2: Open Foundation and Fine-Tuned Chat Models
- Ashish Vaswani. 2017. Attention is all you need. arXiv preprint arXiv:1706.03762.
- Chenyang Wang, Weizhi Ma, Min Zhang, Chuancheng Lv, Fengyuan Wan, Huijie Lin, Taoran Tang, Yiqun Liu, and Shaoping Ma. 2021. Temporal cross-effects in knowledge tracing. In Proceedings of the 14th ACM International Conference on Web Search and Data Mining, pages 517–525. find
- Zichao Wang, Angus Lamb, Evgeny Saveliev, Pashmina Cameron, Yordan Zaykov, José Miguel Hernández-Lobato, Richard E Turner, Richard G Baraniuk, Craig Barton, Simon Peyton Jones, Simon Woodhead, and Cheng Zhang. 2020. Diagnostic questions: The neurips 2020 education challenge. arXiv preprint arXiv:200… — [arXiv:2007.12061](https://arxiv.org/abs/2007.12061) find
- Jianghua Xia, Han Wang, Qingfeng Zhuge, and Edwin Hsing-Mean Sha. 2023. Knowledge tracing model and student profile based on clustering-neural-network. Applied Sciences, 13(9):5220. find
- Bihan Xu, Zhenya Huang, Jiayu Liu, Shuanghong Shen, Qi Liu, Enhong Chen, Jinze Wu, and Shijin Wang. 2023. Learning behavior-oriented knowledge tracing. In Proceedings of the 29th ACM SIGKDD conference on knowledge discovery and data mining, pages 2789– 2800. find
- Andrea Zanellati, Daniele Di Mitri, Maurizio Gabbrielli, and Olivia Levrini. 2024. Hybrid models for knowledge tracing: A systematic literature review. IEEE Transactions on Learning Technologies. find
- Jiani Zhang, Xingjian Shi, Irwin King, and Dit-Yan Yeung. 2017. Dynamic key-value memory networks for knowledge tracing. In Proceedings of the 26th International Conference on World Wide Web. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/wang-2026-llm-kt-enhancing-large-language/