TL;DR
AdvKT introduces an adversarial training framework to bridge the critical gap between single-step training and multi-step inference in Knowledge Tracing (KT). By framing KT as a generator-discriminator game paired with tailored data augmentation, it successfully mitigates long-term error accumulation and data sparsity when using KT models as student simulators.
What Problem Does This Paper Address?
Knowledge Tracing (KT) models track a student's mastery of concepts over time to predict whether they will answer future questions correctly. In modern Intelligent Tutoring Systems (ITS), these models are frequently deployed as student simulators to train and optimize recommendation algorithms.
However, a massive mismatch exists between how these models are trained and how they are used:
- The Training-Inference Gap: Standard KT models are trained using a "single-step" paradigm—given a student's actual past answers, they predict the very next answer. But as simulators, they must perform "multi-step inference," predicting an entire sequence of future answers based on their own previous predicted answers. This mismatch causes errors to cascade and accumulate rapidly over long sequences.
- Data Sparsity: Real-world educational interaction data is notoriously sparse and unevenly distributed, making it difficult for deep learning models to precisely capture generalized student learning patterns.
Methods
To solve these challenges, the authors propose AdvKT (Adversarial Multi-Step Knowledge Tracing), an adversarial learning framework consisting of two main components:
- The Generator ($G$): A GRU-based network equipped with an attention layer that simulates student responses step-by-step. Crucially, during training, it feeds its own past predictions back into the next step to mimic real-world multi-step inference. It is optimized using a joint objective function: standard supervised binary cross-entropy (BCE) loss, an autoregressive loss (predicting the next question ID to learn robust representations), and a policy gradient reward from the discriminator.
- The Discriminator ($D$): A multi-head attention-based architecture that evaluates an entire question-response sequence and outputs a score indicating how realistic the sequence is.
To combat data sparsity, the authors design specialized data augmentation techniques to train a more robust discriminator:
- Positive Augmentation: Masking specific questions, cropping subsequences, randomly permuting question order, or replacing questions with others of similar difficulty.
- Negative Augmentation: Generating entirely synthetic question sequences using a heuristic transition probability matrix, which are then labeled by the generator, alongside selective label-reversal of real datasets.
Datasets
The framework was evaluated by simulating limited-data scenarios across four diverse, real-world public educational datasets:
- ASSIST09: A widely used mathematics dataset (sampled to 500 students for training).
- EdNet: A large-scale English language learning dataset (sampled to 500 students).
- Slepemapy: A geography dataset tracking student inputs (6,000 students).
- Junyi: A mathematics dataset from the Junyi Academy platform (6,000 students).
Key Insights and Ideas
- Sequence-Wise vs. Step-Wise Rewards: Standard KT models fail in multi-step scenarios because they are only optimized to look one step ahead. By introducing an adversarial discriminator, the generator receives holistic, sequence-level feedback. This forces it to maintain logical consistency across an entire simulated learning path.
- Filling the Gaps in Data Space: Using t-SNE visualizations, the authors show that real student interaction data contains massive "holes" and uneven boundaries due to data sparsity. The synthetic sequences generated by AdvKT effectively fill these empty regions in the problem sequence subspace, stabilizing discriminator training and drastically improving the model's ability to generalize.
Key Results
AdvKT was benchmarked against 15 frequently used KT models (including AKT, SAINT, and simpleKT) under a strict multi-step inference setting.
- State-of-the-Art Performance: AdvKT consistently outperformed all baselines across all datasets. On average, it achieved a 1.79% improvement in Accuracy (ACC) and a 3.98% improvement in Area Under Curve (AUC) over the strongest baseline (AKT).
- Mitigating Error Accumulation: As sequence lengths scaled up to 200 steps, models trained purely on BCE loss suffered dramatic performance degradation. In contrast, AdvKT maintained highly stable AUC scores, proving its resilience against cascading errors.
Limitations and Future Work
The authors note a structural limitation regarding the data augmentation: the augmented and label-reversed sequences cannot be directly used to train the GRU-based generator, as their sequence properties remain highly similar to the vanilla training set. Instead, they are strictly leveraged to make the discriminator more robust.
Future work could explore alternative generator architectures (such as Transformers or state-space models like Mamba) that might directly benefit from augmented sequence training, or expand the framework to handle multi-modal student interaction data (e.g., text-based question content).
Summary updated