DAGKT: Difficulty and Attempts Boosted Graph-Based Knowledge Tracing

Rui Luo, Fei Liu, Wenhao Liang, Yuhong Zhang, Chenyang Bu, Xuegang Hu

TL;DR

DAGKT (Difficulty and Attempts Boosted Graph-based Knowledge Tracing) improves how AI tracks student learning by factoring in two overlooked variables: how hard a question is and how many tries a student took to get it right. By combining these features with a novel graph-based similarity metric, the model achieves state-of-the-art accuracy in predicting student performance.

What Problem Does This Paper Address?

Knowledge Tracing (KT) is the backbone of personalized education; it’s the tech that allows a system to say, "You’ve mastered addition, let's move to multiplication." While modern models use Graph Neural Networks (GNNs) to map the relationships between questions and knowledge concepts (KCs), they often treat all interactions as equal.

The authors identify two major "blind spots" in current models:

  1. Ignoring Context: Most models don't distinguish between a student who nails a difficult calculus problem on their first try and one who gets a simple arithmetic problem right after ten attempts.
  2. Static Graphs: Existing models often rely on simple bipartite graphs (Question $\leftrightarrow$ Knowledge Concept) but ignore how questions relate to each other based on actual student behavior.

Methods

The authors propose DAGKT, which builds upon the GIKT (Graph-based Interaction model for KT) framework but adds three critical components:

  • Relationship-building Module: Instead of just looking at question text, the model calculates a "similarity score" between questions based on student performance. If students who get Question A right usually get Question B right (and vice versa), the model creates a link between them. This is calculated using a metric inspired by the F1 score, treating one question's result as a "prediction" of the other.
  • Difficulty and Attempts Encoder: The model calculates a question's difficulty based on its global success rate and tracks individual student attempt counts. These are passed through nonlinear layers to create dense embeddings.
  • Fusion Module: This is the "mixer." It takes four distinct inputs—Question, Answer, Difficulty, and Attempts—and fuses them into a single "Exercise Embedding." This rich representation is then fed into an LSTM (Long Short-Term Memory) network to track the student's evolving knowledge state over time.

Datasets

The model was evaluated on three diverse, real-world datasets:

  • ASSIST09: A classic math dataset featuring both single and multiple knowledge concepts per question.
  • JUNYI: A large-scale math dataset where each question is mapped to exactly one KC.
  • CSEDM: A programming dataset (Python/Java) where questions often involve complex, overlapping concepts.

Key Insights and Ideas

  • Performance as a Proxy for Similarity: One of the most clever ideas here is using the F1 score to build the graph. It assumes that student behavior is the ultimate ground truth for question similarity—more so than just sharing a tag or having similar text.
  • The "Effort" Factor: By explicitly encoding "attempts," the model can finally distinguish between "fluency" (getting it right immediately) and "persistence" (getting it right eventually).
  • Graph Enrichment: Moving from a simple bipartite graph to a more complex graph with question-to-question edges allows the GNN to capture higher-order relationships that simpler models miss.

Key Results

DAGKT consistently outperformed baselines like DKT, DKVMN, and GIKT across all datasets.

  • Accuracy (AUC): On the CSEDM (programming) dataset, DAGKT showed a significant jump to 0.7719, compared to GIKT's 0.7378.
  • Stability: Boxplots in the paper indicate that DAGKT’s performance is more concentrated and stable than its predecessors, meaning it's less likely to make wild miscalculations about a student's ability.
  • Ablation Success: The authors proved that adding both difficulty and attempts is better than adding either one alone. The "Fusion" of these features is what drives the performance gain.

Limitations and Future Work

While the paper demonstrates strong results, a few areas remain for exploration:

  • Cold Start Problem: The relationship-building module relies on existing student records to calculate similarity. It’s unclear how the model handles brand-new questions that have no history.
  • Computational Complexity: Adding question-to-question edges increases the density of the graph, which could lead to higher computational costs as the number of questions scales into the tens of thousands.
  • Interpretability: While the model predicts if a student will get a question right, it doesn't explicitly explain why (e.g., "The student is struggling specifically with loops, not syntax"). Future work could focus on making these graph-based insights more "human-readable" for teachers.

Summary updated

BibTeX
@inproceedings{luo2022dagkt,
  author = {Rui Luo and Fei Liu and Wenhao Liang and Yuhong Zhang and Chenyang Bu and Xuegang Hu},
  title = {{DAGKT: Difficulty and Attempts Boosted Graph-Based Knowledge Tracing}},
  booktitle = {ICONIP},
  year = {2022},
  url = {https://openreview.net/forum?id=XwOqfIulyl},
}

Loading related content...

Figure