Interpretable Difficulty-Aware Knowledge Tracing in Tutor-Student Dialogues

Shuyan Huang, Alexander Scarlatos, Jaewook Lee, Andrew Lan

TL;DR

This paper introduces a novel conversational Knowledge Tracing (KT) framework that combines the natural language capabilities of Large Language Models (LLMs) with classical psychometric theory. By explicitly modeling both student ability and tutor-turn difficulty using Item Response Theory (IRT), the framework delivers more accurate and cognitively interpretable predictions of student performance during interactive tutoring dialogues.

What Problem Does This Paper Address?

AI-powered tutoring systems (like Khanmigo or LiveHint) engage students in multi-turn dialogues to scaffold complex problems. To personalize this support, the system must track the student's evolving mastery of concepts over time—a task known as Knowledge Tracing (KT).

However, existing dialogue-based KT methods suffer from two major flaws:

  1. Ignoring Task Difficulty: They assume a student's response correctness is driven entirely by their underlying knowledge state. In reality, a student with high mastery might still fail an exceptionally difficult question. Without accounting for difficulty, a model might incorrectly infer that a student's knowledge has suddenly dropped just because they missed a hard question.
  2. Lack of Interpretability: Most current approaches rely on high-dimensional, opaque latent representations from LLMs, making it impossible for human educators to understand why a model predicts a student will succeed or fail.
An example dialogue illustrating a student’s learning trajectory as the tutor adapts difficulty while scaffolding the math problem.

Methods

The authors propose a difficulty-aware conversational KT framework consisting of three main modules:

  1. Knowledge Estimator: This module takes the original question text and the dialogue history up to the current turn, prompting an LLM to evaluate the student's ability. Instead of generating text, it extracts the output logits for the tokens "GOOD" and "BAD" to compute a continuous scalar ability estimate ($\theta_{j+1}$).
  2. Difficulty Estimator: Similarly, this module prompts the LLM with the original question, dialogue history, the upcoming tutor-posed task, and the associated Knowledge Components (KCs). It extracts the logits for "HARD" and "EASY" to compute a scalar task difficulty estimate ($d_{j+1}$).
  3. IRT-based Predictor: To bridge the gap between deep learning and cognitive science, the scalar ability and difficulty estimates are fed into a standard One-Parameter Logistic (1PL) Item Response Theory model (also known as the Rasch model). The probability that a student answers correctly is defined as: $$\hat{r}_{j+1} = \frac{1}{1 + \exp(-\alpha(\theta_{j+1} - d_{j+1}))}$$ where $\alpha$ is a learnable scaling parameter. The entire framework is fine-tuned end-to-end by minimizing binary cross-entropy loss against ground-truth student correctness.
Overview of our framework with three modules: a knowledge estimator, a difficulty estimator, and an IRT-based predictor

Datasets

The framework was evaluated on two distinct tutor-student dialogue datasets:

  • QATD2k: The largest open-source real-world tutoring dialogue dataset, collected from one-on-one mathematics conversations on the Eedi platform (1,573 training, 393 test dialogues).
  • MathDial: A tutoring dataset featuring multi-step math reasoning problems between GPT-3.5-simulated students and crowd-sourced human tutors (2,235 training, 588 test dialogues).

Key Insights and Ideas

  • Decoupling Ability from Correctness: By separating the student's internal ability from the external task difficulty, the model produces much smoother, more monotonic "learning curves" that align with cognitive theories of gradual learning. Traditional models (like LLMKT) exhibit erratic oscillations because they conflate performance drops on hard questions with a loss of knowledge.
  • Psychometrics Meets LLMs: Embedding a mathematically rigorous cognitive model (IRT) directly into the output layer of an LLM provides a transparent window into the model's reasoning. Tutors can see exactly whether a predicted failure is due to low student ability or high task difficulty.
Learning trajectories for the three most frequent KCs in the QATD2k dataset.

Key Results

The proposed framework consistently outperformed both traditional deep learning KT baselines (such as DKT, DKVMN, SAINT, and AKT) and the previous state-of-the-art LLM-based model (LLMKT).

Quantitative Performance

  • QATD2k: Achieved an AUC of 65.25 and Accuracy of 64.29, outperforming LLMKT (AUC 64.89).
  • MathDial: Achieved an AUC of 76.59 and Accuracy of 68.82, outperforming LLMKT (AUC 75.99).

Qualitative Validation

  • Difficulty Calibration: The difficulty parameters learned by the model showed a moderate positive correlation ($r = 0.368, p < 0.001$) with empirical "ground-truth" difficulties calculated using classical test theory.
  • Scaffolding Awareness: Case studies demonstrated that when a student answers incorrectly, the model successfully captures the tutor's strategy of lowering task difficulty (e.g., breaking a problem into simpler sub-tasks) while showing that the student's underlying ability steadily improves.

Limitations and Future Work

  • Domain Specificity: The framework was only evaluated on mathematics dialogues. Its generalizability to other domains like language learning or computer science remains untested.
  • Lack of Baselines: Because this is the first work to explicitly predict tutor-turn difficulty in a dialogue setting, there were no existing difficulty-prediction baselines to compare against.
  • Computational Efficiency: Like most LLM-based approaches, the framework is computationally expensive compared to lightweight deep learning models, posing a challenge for real-time deployment.

Future directions include exploring multi-step reasoning to ensure consistency across dialogue turns and integrating misconception tracking into the conversational framework.

Summary updated

BibTeX
@inproceedings{huang2026interpretable,
  author = {Shuyan Huang and Alexander Scarlatos and Jaewook Lee and Andrew Lan},
  title = {{Interpretable Difficulty-Aware Knowledge Tracing in Tutor-Student Dialogues}},
  booktitle = {BEA},
  year = {2026},
  doi = {10.18653/v1/2026.bea-1.43},
}
Figure