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

Exploring Knowledge Tracing in Tutor-Student Dialogues

Alexander Scarlatos, Andrew S. LanarXiv 2024 · OpenReview

Abstract

Recent advances in large language models (LLMs) have led to the development of artificial intelligence (AI)-powered tutoring chatbots, showing promise in providing broad access to high-quality personalized education. Existing works have primarily studied how to make LLMs follow tutoring principles but not how to model student behavior in dialogues. However, analyzing student dialogue turns can serve as a formative assessment, since open-ended student discourse may indicate their knowledge levels and reveal specific misconceptions. In this work, we present a first attempt at performing knowledge tracing (KT) in tutor-student dialogues. We propose LLM prompting methods to identify the knowledge components/skills involved in each dialogue turn and diagnose whether the student responds correctly to the tutor, and verify the LLM's effectiveness via an expert human evaluation. We then apply a range of KT methods on the resulting labeled data to track student knowledge levels over an entire dialogue. We conduct experiments on two tutoring dialogue datasets, and show that a novel yet simple LLM-based method, LLMKT, significantly outperforms existing KT methods in predicting student response correctness in dialogues. We perform extensive qualitative analyses to highlight the challenges in dialogue KT and outline multiple avenues for future work.

Introduction

Knowledge Tracing (KT) is a cornerstone of personalized learning, enabling educational systems to model a student’s mastery of specific skills—Knowledge Components (KCs)—over time. Traditionally, KT has been applied to structured, discrete interactions such as multiple-choice questions. However, naturalistic learning often occurs through unstructured tutor-student dialogues. These interactions present unique challenges: a single turn may involve multiple KCs, student responses can be ambiguous, and the context of the tutor's prompt significantly influences the expected answer. This paper introduces dialogueKT, a framework designed to bridge the gap between unstructured dialogue and formal knowledge modeling.

Methodology

We propose a two-step pipeline to enable KT in conversational settings. The first stage involves Automated Annotation, where GPT-4o is utilized to process dialogue transcripts. The model identifies the KCs involved in each interaction based on Common Core math standards and labels student responses as correct or incorrect. To ensure high-quality labeling, we employ a "Chain-of-Thought" prompting strategy and a recursive tagging algorithm.

Overview of the dialogueKT framework and the LLMKT model pipeline for predicting mastery and correctness.

The second stage introduces LLMKT, a novel KT method built upon the Llama-3.1-8B architecture. Unlike traditional KT models that rely on abstract question IDs, LLMKT directly processes the textual content of the dialogue and the definitions of the KCs. It employs a compensatory model, estimating mastery for each KC involved in a turn and averaging these scores to predict the probability of a correct response. We also developed DKT-Sem, a baseline that augments the standard Deep Knowledge Tracing (DKT) architecture with S-BERT textual embeddings to evaluate the impact of semantic information on traditional models.

Experimental Setup

We evaluated our approach using two distinct tutoring dialogue datasets:

  • CoMTA: 153 dialogues between human students and Khanmigo (Khan Academy’s AI tutor), representing a small but highly realistic dataset.
  • MathDial: 2,823 dialogues featuring simulated students interacting with human tutors, providing a larger-scale benchmark.

These datasets are notably smaller than traditional KT benchmarks, emphasizing the need for data-efficient modeling techniques.

Results and Analysis

Experimental results demonstrate that LLMKT significantly outperforms all baseline methods across both datasets. On the MathDial dataset, LLMKT achieved an AUC of 76.71, a substantial improvement over the best traditional model, BKT (64.19 AUC).

Quantitative performance comparison of LLMKT against various traditional and semantic-augmented KT baselines.

Key findings include:

  • Robustness in Data Scarcity: In the low-data CoMTA environment, traditional models performed near chance (AUC ~50-52%). In contrast, LLMKT maintained a respectable 65.79 AUC, leveraging its pre-trained linguistic knowledge to compensate for the lack of student performance data.
  • Contextual Awareness: By parsing the tutor's utterance, LLMKT can account for question difficulty and nuance that traditional models ignore.
  • Annotation Quality: Expert human evaluation by math teachers confirmed the reliability of the automated labels, with GPT-4o achieving a correctness labeling accuracy of 0.93.

Conclusion and Future Work

This work establishes the feasibility of performing Knowledge Tracing in unstructured tutoring dialogues. LLMKT demonstrates superior performance and data efficiency by integrating textual context into the mastery prediction process. Future research will focus on enabling real-time, turn-by-turn annotation, extending the framework to non-mathematical domains, and incorporating student affect and engagement into the modeling process to provide a more holistic view of the learning experience.

Summary updated

BibTeX
@misc{scarlatos2024exploring,
  author = {Alexander Scarlatos and Andrew S. Lan},
  title = {{Exploring Knowledge Tracing in Tutor-Student Dialogues}},
  year = {2024},
  eprint = {2409.16490},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.16490},
}
Figure