IJCAI 2024poster8 citations

Enhancing Length Generalization for Attention Based Knowledge Tracing Models with Linear Biases

Xueyi Li, Youheng Bai, Teng Guo, Zitao Liu, Yaying Huang, Xiangyu Zhao, Feng Xia, Weiqi Luo

Abstract

Knowledge tracing (KT) is the task of predicting students' future performance based on their historical learning interaction data. With the rapid advancement of attention mechanisms, many attention based KT models are developed. However, existing attention based KT models exhibit performance drops as the number of student interactions increases beyond the number of interactions on which the KT models are trained. We refer to this as the length generalization of KT model. In this paper, we propose stableKT to enhance length generalization that is able to learn from short sequences and maintain high prediction performance when generalizing on long sequences. Furthermore, we design a multi-head aggregation module to capture the complex relationships between questions and the corresponding knowledge components (KCs) by combining dot-product attention and hyperbolic attention. Experimental results on three public educational datasets show that our model exhibits robust capability of length generalization and outperforms all baseline models in terms of AUC. To encourage reproducible research, we make our data and code publicly available at https://pykt.org.

Multidisciplinary Topics and Applications: MTA: EducationHumans and AI: HAI: Computer-aided education
BibTeX
@inproceedings{ijcai2024p654,
  title     = {Enhancing Length Generalization for Attention Based Knowledge Tracing Models with Linear Biases},
  author    = {Li, Xueyi and Bai, Youheng and Guo, Teng and Liu, Zitao and Huang, Yaying and Zhao, Xiangyu and Xia, Feng and Luo, Weiqi and Weng, Jian},
  booktitle = {Proceedings of the Thirty-Third International Joint Conference on
               Artificial Intelligence, {IJCAI-24}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Kate Larson},
  pages     = {5918--5926},
  year      = {2024},
  month     = {8},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2024/654},
  url       = {https://doi.org/10.24963/ijcai.2024/654},
}
Enhancing Length Generalization for Attention Based Knowledge Tracing Models with Linear Biases · IJCAI 2024