Introduction
Knowledge Tracing (KT) is a fundamental task in personalized education, aimed at predicting a student's future performance based on their historical interaction data. Traditional KT models often simplify exercises into coarse-grained knowledge concepts (e.g., "Addition"), which overlooks the semantic richness of the exercise text and the specific problem-solving strategies required. This "exercise representation loss" limits the model's predictive accuracy and its ability to provide granular diagnostic feedback to educators.
The Hierarchical Exercise Graph (HEG)
To address these limitations, the authors propose the Hierarchical Exercise Graph (HEG), which structures educational data into two distinct layers to capture both direct performance dependencies and semantic similarities.
Bottom Layer: Direct Support
The bottom layer of the HEG connects individual exercises based on data-driven "support" relations. Using Bayesian statistical inference on large-scale student logs, the model identifies directed edges between exercises. For instance, if failing Exercise A strongly correlates with failing Exercise B, a direct support link is established, capturing the inherent difficulty and prerequisite relationships between specific questions.
Top Layer: Indirect Support and Problem Schemas
The top layer introduces "Problem Schemas"—groups of exercises that share the same underlying solution logic, even if their surface contexts differ. By applying BERT to generate semantic embeddings of exercise text followed by hierarchical clustering, the model identifies these schemas. This allows the model to recognize that two different "Pythagorean Theorem" problems might require different "tricks" or schemas, providing a more nuanced understanding of student mastery.
Model Architecture: HGKT
The HGKT model leverages the HEG through a Hierarchical Graph Neural Network (HGNN). The HGNN fuses information from the exercise level up to the schema level, creating refined embeddings that represent distinct problem types.
The temporal dynamics of student learning are tracked using an LSTM with a dual attention mechanism:
- Sequence Attention: Focuses on the most relevant recent historical interactions (the authors found a window of the last 20 exercises to be optimal).
- Schema Attention: Specifically attends to the student's past performance on similar problem schemas.
Experimental Results and Diagnosis
The model was evaluated on a massive dataset from the Aixuexi online education system, comprising over 9.1 million response logs from 132,179 learners. HGKT achieved a state-of-the-art AUC of 0.828, significantly outperforming traditional models like DKT (0.78) and exercise-aware models like EKTA (0.80).
A key innovation of HGKT is the K&S Diagnosis Matrix, which tracks student mastery across both Knowledge concepts (K) and Problem Schemas (S) simultaneously. As shown in the figure above, this matrix provides a high-resolution view of a student's cognitive state. For example, a student might show high mastery of the "Coordinates" concept generally but struggle with a specific "Distance between two points" schema, allowing for highly targeted pedagogical interventions.
Conclusion
HGKT represents a significant step forward in Knowledge Tracing by moving beyond simple concept tags. By incorporating hierarchical graph structures and semantic problem schemas, the model achieves superior predictive performance and offers interpretable, multi-dimensional diagnoses of student learning. Future work will explore multi-concept exercises and further optimize the computational efficiency of the hierarchical graph updates.
Summary updated