Enhancing Deep Knowledge Tracing with Auxiliary Tasks

Zitao Liu, Qiongqiong Liu, Jiahao Chen, Shuyan Huang, Boyu Gao, Weiqi Luo, Jian Weng

Abstract

Knowledge Tracing (KT) is a fundamental task in personalized education, aiming to model student mastery of concepts over time. This paper introduces AT-DKT, a framework that enhances standard Deep Knowledge Tracing (DKT) by incorporating two auxiliary learning tasks: predicting question-concept relationships and estimating a student's unique prior knowledge. By explicitly modeling these hidden factors, the proposed model significantly improves the accuracy of student performance prediction across major educational benchmarks.

Introduction

The "holy grail" of personalized learning is accurately modeling a student's mastery of various Knowledge Components (KCs) to predict future performance. While Deep Knowledge Tracing (DKT) using Long Short-Term Memory (LSTM) networks has become a standard approach, it faces two primary challenges:

  1. Loose Question-Concept Integration: Existing models often treat the relationship between questions and concepts as static inputs, failing to capture the noisy, intrinsic relations within the prediction task.
  2. Lack of Individualization: Standard models struggle with student-level variability, often treating students with similar recent histories identically despite differences in overall historical performance and learning speeds.

Methodology: The AT-DKT Framework

The authors propose AT-DKT (Auxiliary Task-enhanced Deep Knowledge Tracing), which augments the standard LSTM-based DKT architecture with a multi-task learning objective.

The AT-DKT architecture incorporates auxiliary tasks for Question Tagging (QT) and Individualized Prior Knowledge (IK) prediction alongside the primary Knowledge Tracing (KT) task.

The framework introduces two key auxiliary tasks:

  • Question Tagging (QT) Task: Instead of using static KC tags, a Transformer encoder analyzes interaction history to predict associated KCs for a given question. This forces the model to learn rich embeddings that capture latent connections between curriculum items.
  • Individualized Prior Knowledge (IK) Task: To account for individual ability, a "student ability network" progressively predicts a student's global historical scoring rate. This forces the model to encode overall proficiency into its hidden states.

The final model is trained using a joint optimization strategy, balancing the primary performance prediction loss with the losses from these two auxiliary tasks.

Datasets and Experimental Setup

The model was evaluated on three real-world educational datasets:

  • AL2005 (Algebra 2005-2006): A large-scale dataset from the KDD Cup 2010 EDM Challenge.
  • BD2006 (Bridge to Algebra 2006-2007): Focused on step-level mathematical problem-solving.
  • NIPS34 (NeurIPS 2020 Education Challenge): A massive dataset from the Eedi platform featuring millions of interactions with multiple-choice math questions.

Results and Discussion

AT-DKT demonstrated superior accuracy, outperforming sequential KT models like DKT+ and DKT-F across all datasets with an AUC improvement of at least 0.9%.

Comparison of AUC performance across three datasets (AL2005, BD2006, NIPS34) as a function of student history percentage. AT-DKT consistently outperforms baseline models.

Key insights from the results include:

  • Targets over Inputs: Turning metadata into prediction targets ensures internal representations align with the knowledge structure.
  • Global Context: Incorporating "global" history via the IK task stabilizes the model's assessment of student ability against "local" noise.
  • Sequential Model Competitiveness: The results show that LSTMs, when enhanced with appropriate auxiliary tasks, remain highly competitive with modern attention-only models.

Ablation studies confirmed that both auxiliary tasks are vital. Removing the QT task led to the most significant performance drop (up to 1.2% AUC), while the IK task provided essential handling of student-level differences.

Conclusion and Future Work

While AT-DKT shows significant promise, it still relies on existing KC labels, which may be missing or poorly defined in some contexts. Additionally, the frequency-based scoring rate in the IK task can be unreliable for very short interaction histories. Future work will explore applying these auxiliary tasks to attention-based models and investigating more complex methods for modeling student ability.

Summary updated

BibTeX
@inproceedings{liu2023enhancing,
  author = {Zitao Liu and Qiongqiong Liu and Jiahao Chen and Shuyan Huang and Boyu Gao and Weiqi Luo and Jian Weng},
  title = {{Enhancing Deep Knowledge Tracing with Auxiliary Tasks}},
  booktitle = {The Web Conference},
  year = {2023},
}
Figure