NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMs

Alexander Scarlatos, Ryan Shaun Baker, Andrew S. LanLAK 2025

TL;DR

This paper introduces "dialogue knowledge tracing" (dialogueKT), a new task that adapts knowledge tracing to open-ended tutor-student dialogues. They propose LLMKT, a novel method that leverages large language models (LLMs) to analyze the rich textual content of these dialogues, significantly outperforming existing knowledge tracing methods.

What Problem Does This Paper Address?

Traditional knowledge tracing (KT) methods, widely used in educational technology, focus on modeling student mastery of specific skills based on their responses to discrete questions. However, these methods struggle with the nuances of open-ended, conversational tutoring dialogues. Analyzing student knowledge in these dialogues is challenging because student responses can be less structured, contain errors, and require understanding complex contextual information. Existing KT methods often rely on discrete question-KC mappings and lack the ability to interpret the rich, natural language interactions that characterize modern AI-powered tutoring systems. This paper aims to bridge this gap by developing KT methods that can effectively leverage the textual content of dialogues to understand student learning.

Methods

The authors propose a two-stage approach for dialogueKT:

  1. Automated Dialogue Annotation: They use GPT-4o to automatically annotate dialogue turns with:
  2. Correctness Labels: Whether the student's response is correct or incorrect.
  3. Knowledge Component (KC) Tags: Identifying the specific skills or concepts involved, using Common Core math standards. This annotation is performed using zero-shot chain-of-thought prompting, with separate prompts for correctness and KC tagging to improve accuracy.

  4. LLM-based Knowledge Tracing (LLMKT): They introduce LLMKT, a novel KT method that fine-tunes the Llama-3.1-8B-Instruct LLM. LLMKT leverages the entire dialogue history and textual KC descriptions to predict student mastery. Key aspects include:

  5. Multi-KC Handling: LLMKT models student mastery of multiple KCs in a turn as an average of individual KC masteries, a crucial adaptation for dialogueKT.
  6. Textual Feature Integration: Unlike traditional KT methods that rely on learned embeddings, LLMKT directly uses the LLM's understanding of text.
  7. Efficient Fine-tuning: They use LoRA (Low-Rank Adaptation) for efficient fine-tuning of the LLM.

They also propose DKT-Sem as a strong baseline, which modifies a standard Deep Knowledge Tracing (DKT) model to incorporate semantic embeddings of dialogue text.

Datasets

The experiments were conducted on two datasets:

  • CoMTA: 153 dialogues between human students and Khan Academy's Khanmigo (a GPT-4 powered tutor). This dataset is recent and reflects prevalent AI-student dialogues.
  • MathDial: 2,848 dialogues between simulated students (GPT-3.5) and crowd-worker tutors. This dataset is larger-scale.

Key Insights and Ideas

  • LLMs are Crucial for Dialogue KT: The rich textual nature of dialogues necessitates LLMs to effectively capture student knowledge, going beyond simple correctness labels or KC mappings.
  • Multi-KC Handling is Essential: A significant portion of dialogue turns involve multiple KCs, requiring KT methods to adapt beyond single-KC assumptions. LLMKT's average-based approach proves effective.
  • LLMKT Learns Meaningful Representations: LLMKT's ability to leverage textual context allows it to infer finer-grained student understanding, even when KCs are similar but questions differ in difficulty.
  • DialogueKT is Inherently Challenging: The open-endedness, potential for irrelevant turns, and often short dialogue lengths make dialogueKT more difficult than traditional KT tasks.

Key Results

  • LLMKT Dominates: LLMKT significantly outperforms all other evaluated KT methods (including DKT-Sem and traditional methods like BKT, DKT, DKVMN, AKT, SAINT, simpleKT) on both CoMTA and MathDial datasets across accuracy, AUC, and F1 metrics.
  • CoMTA Performance: On the smaller CoMTA dataset, traditional KT methods "almost completely fail," while LLMKT achieves a respectable accuracy of 65.79%.
  • MathDial Performance: On the larger MathDial dataset, LLMKT still maintains a significant advantage, achieving 68.41% accuracy.
  • GPT-4o Annotation Accuracy: Human evaluation shows GPT-40's correctness and KC annotations are largely accurate, with expert annotators giving high scores.
  • Learning Curve Trends: Analysis of knowledge change curves suggests that LLMKT can capture trends resembling the power law of practice, with mastery increasing as dialogues progress, especially for common KCs.

Limitations and Future Work

  • Data Scarcity: DialogueKT is data-hungry, and current datasets are often short or truncated, limiting the ability of traditional KT methods. LLMKT's advantage is more pronounced with limited data.
  • Subject Specificity: The current work focuses on math dialogues and Common Core standards. Generalizing to other subjects will require adapting KC definitions.
  • Real-time Annotation: The current annotation process uses the full dialogue, making real-time KT impossible. Future work could explore turn-by-turn annotation.
  • Future Directions:
    • Jointly modeling tutor moves and student knowledge.
  • Incorporating student affect dynamics.
  • Expanding dialogueKT to other subjects and multi-student dialogues.
  • Exploring applications like personalization, teacher support, and training AI tutors via simulated agents.

Summary updated

BibTeX
@inproceedings{scarlatos2025exploring,
  author = {Alexander Scarlatos and Ryan Shaun Baker and Andrew S. Lan},
  title = {{Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMs}},
  booktitle = {LAK},
  year = {2025},
  url = {https://openreview.net/forum?id=ZxFaxJLg4p},
}
Figure