RAG-KT: Cross-platform Explainable Knowledge Tracing with Multi-view Fusion Retrieval Generation
Organizations: Inner Mongolia University, Hohhot, China
Abstract
Knowledge Tracing (KT) infers a student's knowledge state from past interactions to predict future performance. Conventional Deep Learning (DL)-based KT models are typically tied to platform-specific identifiers and latent representations, making them hard to transfer and interpret. Large Language Model (LLM)-based methods can be either ungrounded under prompting or overly domain-dependent under fine-tuning. In addition, most existing KT methods are developed and evaluated under a same-distribution assumption. In real deployments, educational data often arise from heterogeneous platforms with substantial distribution shift, which often degrades generalization. To this end, we propose RAG-KT, a retrieval-augmented paradigm that frames cross-platform KT as reliable context constrained inference with LLMs. It builds a unified multi-source structured context with cross-source alignment via Question Group abstractions and retrieves complementary rich and reliable context for each prediction, enabling grounded prediction and interpretable diagnosis. Experiments on three public KT benchmarks demonstrate consistent gains in accuracy and robustness, including strong performance under cross-platform conditions.
Figures & tables
| Type | Baselines | ASSIST09 | ASSIST12 | DBE-KT22 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ACC | AUC | F1 | ACC | AUC | F1 | ACC | AUC | F1 | ||
| DL-based Methods | DKT | 72.18 | 81.82 | 78.12 | 70.86 | 69.12 | 74.98 | 71.08 | 72.26 | 74.52 |
| DKT+ | 72.64 | 82.47 | 78.65 | 71.34 | 70.16 | 75.42 | 71.76 | 73.42 | 75.06 | |
| AT-DKT | 72.62 | 82.96 | 79.16 | 71.58 | 71.28 | 75.84 | 72.32 | 74.18 | 75.48 | |
| DKVMN | 71.32 | 81.28 | 77.92 | 70.51 | 68.73 | 74.76 | 71.47 | 72.03 | 74.65 | |
| Deep-IRT | 71.96 | 80.98 | 77.84 | 71.02 | 69.19 | 75.03 | 72.04 | 72.81 | 75.09 | |
| Methods | ASSIST09 | ASSIST12 | DBE-KT22 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ACC | AUC | F1 | ACC | AUC | F1 | ACC | AUC | F1 | |
| Full | 80.00 | 85.74 | 85.75 | 74.80 | 73.89 | 82.60 | 78.89 | 76.32 | 86.80 |
| w/o Similar Students | 77.28 | 81.07 | 83.60 | 69.53 | 71.47 | 78.13 | 77.40 | 73.98 | 84.17 |
| w/o Question Groups | 76.73 | 84.25 | 83.32 | 70.01 | 72.33 | 78.67 | 77.94 | 75.50 | 85.16 |
| w/o KC Interest Subgraph | 77.46 | 85.49 | 84.23 | 70.01 | 73.06 | 78.54 | 77.40 | 75.23 | 85.08 |
| w/o Structural Path Subgraph | 78.50 | 84.16 | 84.89 | 72.40 | 71.54 | 80.67 | 76.71 | 75.98 | 85.32 |
| Type | Baselines | Eedi | ||
|---|---|---|---|---|
| ACC | AUC | F1 | ||
| DL-based Methods | DKT | 49.54 | 50.23 | 49.61 |
| DKT+ | 49.98 | 50.62 | 49.84 | |
| DKVMN | 51.58 | 51.20 | 52.64 | |
| AKT | 53.55 | 49.69 | 47.68 | |
| LLM-based Methods (Cold-start) | LOKT | 6 5.88 | 6 5.52 | 5 7.90 |
| Baselines | Len. | Exp. | Read. | Edu. | Rig. | Total |
|---|---|---|---|---|---|---|
| CIKT | 690 | 4.22 | 4.68 | 4.50 | 3.83 | 17.23 |
| EFKT | 82 | 2.70 | 2.69 | 2.40 | 2.26 | 10.05 |
| HISE-KT | 350 | 4.72 | 4.48 | 4.35 | 4.53 | 18.08 |
| 297 | 4.90 | 4.56 | 4.88 | 4.90 | 19.24 |
| Methods | Trainging hours (h) | Inference latency (s) | AUC |
| EFKT | / | 5 | 61.10 |
| HISE-KT | / | 19 | 84.31 |
| CIKT | 24 | 3 | 82.27 |
| EPLF | 4 | 1 | 81.27 |
| LLM-KT | 10 | 3 | 83.55 |
| 2T-KT | 20 | 2.5 | 82.27 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Source | Target | Accuracy |
|---|---|---|
| ASSIST09 | ASSIST12 | 96.33 |
| ASSIST09 | DBE-KT22 | 92.67 |
| ASSIST12 | DBE-KT22 | 96.50 |
| HyperParams | Value | ASSIST09 | ASSIST12 | DBE-KT22 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ACC | AUC | F1 | ACC | AUC | F1 | ACC | AUC | F1 | ||
| seq_len | 5 | 76.77 | 82.03 | 83.62 | 69.34 | 68.54 | 78.52 | 76.68 | 74.59 | 84.58 |
| 10 | 78.48 | 8 3.78 | 85.15 | 70.37 | 72.55 | 78.32 | 78.19 | 75.62 | 85.81 | |
| 25 | 80.00 | 85.74 | 85.75 | 70.37 | 70.86 | 79.28 | 78.89 | 76.32 | 86.80 | |
| 50 | 78.28 | 82.82 | 85.14 | 7 4.80 | 7 3.89 | 8 2.6 | 7 7.98 | 7 6.84 | 85.59 | |
| 100 | 7 9.90 | 83.04 | 8 6.04 | 75.83 | 75.75 | 82.76 | 78.89 | 78.72 | 8 6.60 | |
| Dimension | Score | Description |
|---|---|---|
| Explainability | 1 | Lacks any reasoning or presents a chaotic causal chain. |
| 2 | Vague causal logic that is difficult to understand. | |
| 3 | Partially valid reasoning but lacks overall coherence. | |
| 4 | The reasoning chain is largely complete and causal relationships are clear. | |
| 5 | Fully reveals the reasoning process, accurately explaining why a prediction was made. | |
| Readability | 1 | Chaotic, obscure, or incomprehensible language. |
Knowledge Tracing
Knowledge tracing models how learners’ mastery of skills changes over time from their interactions with educational tasks.
See all 31 papers