CIKT: A Collaborative and Iterative Knowledge Tracing Framework with Large Language Models

Runze Li, Siyu Wu, Jun Wang, Wei Zhang

TL;DR

This paper introduces CIKT, a novel framework that leverages Large Language Models (LLMs) to improve knowledge tracing (KT) systems. CIKT uses a collaborative, iterative approach where an "Analyst" generates dynamic student profiles, and a "Predictor" uses these profiles to forecast performance. This synergy significantly boosts prediction accuracy and provides explainable insights into student learning.

What Problem Does This Paper Address?

Knowledge Tracing (KT) is a crucial task in educational data mining, aiming to model a student's evolving knowledge state to predict their future performance. Traditional KT methods, while improving over time, often struggle with explainability, scalability, and capturing complex knowledge dependencies. While LLMs offer immense potential, directly applying them to KT faces challenges in generating structured, interpretable student representations and lacks mechanisms for continuous refinement. This paper addresses these limitations by proposing a framework that harnesses LLMs in a collaborative and iterative manner to enhance both predictive accuracy and explainability in KT.

Methods

CIKT employs a dual-component architecture:

  • Analyst: This component, built on an LLM backbone, generates dynamic, explainable student profiles from historical interaction data.
  • Predictor: Also based on an LLM backbone, this component uses the Analyst-generated profiles and historical interactions to forecast future student performance.

The core innovation lies in the collaborative iterative optimization loop:

  1. Distillation: The Analyst is initially trained using curated annotations from a large teacher model (like GPT-40) to learn foundational profiling capabilities.
  2. Profiling: The trained Analyst generates textual user profiles for students based on their historical responses.
  3. Reasoning: The Predictor is trained to forecast student performance using these profiles and historical data.
  4. Iteration: This is the key refinement stage. The Predictor's performance provides feedback to the Analyst via a reinforcement-style mechanism (Kahneman-Tversky Optimization - KTO). This feedback loop iteratively refines both the Analyst's profile generation and the Predictor's forecasting accuracy, leading to mutual improvement.

Datasets

The framework was evaluated on four datasets:

  • ASSIST09: A widely used dataset from an online mathematics tutoring system.
  • ASSIST12: Another dataset from the ASSISTments platform.
  • Eedi: A dataset from the Eedi mathematics platform, using leaf nodes of its concept tree.
  • BePKT: A dataset from an online programming judge platform, targeting programming knowledge tracing.

These datasets cover both mathematics and programming domains, allowing for assessment of cross-domain generalizability.

Key Insights and Ideas

  • Synergistic Improvement: The iterative feedback loop between the Analyst and Predictor is crucial. The Predictor's accuracy guides the Analyst to generate better profiles, which in turn improve the Predictor's accuracy. This creates a virtuous cycle.
  • Explainability through Dynamic Profiles: CIKT moves beyond opaque models by generating rich, textual student profiles. These profiles are not static but evolve with iterations, offering more nuanced and actionable insights into student strengths, weaknesses, and learning patterns.
  • LLMs as Building Blocks: By using LLMs as the backbone for both Analyst and Predictor, CIKT benefits from their powerful representation learning capabilities while specializing them for the KT task through the proposed framework.
  • Iterative Refinement is Key: Ablation studies show that removing the iterative refinement process significantly degrades performance, highlighting its importance for achieving high accuracy and robust profiles.

Key Results

  • Superior Predictive Accuracy: CIKT consistently outperformed traditional KT methods and general-purpose LLMs applied directly to the KT task across all four datasets. For instance, the CIKT-Qwen2.5-7B variant showed significant gains in Accuracy (ACC) and F1-score.
  • Enhanced Performance on Longer Sequences: CIKT's advantage was often more pronounced on longer interaction sequences, demonstrating its ability to effectively model long-range dependencies.
  • Explainability Validation: A blind human evaluation showed that refined profiles generated by CIKT were preferred by annotators over initial profiles, with substantial inter-annotator reliability, indicating improved informativeness and understandability.
  • Impact of Iterations: Performance generally stabilized or reached a strong point around three iteration rounds. Sensitivity analysis showed that while larger iteration sample sizes generally improved metrics, gains diminished at the higher end.

Limitations and Future Work

  • Binarized Judgments: The framework primarily generates binarized judgments for student responses, leading to a focus on metrics like ACC and F1-score, rather than ranking-sensitive metrics like AUC.
  • Context Window Constraints: Due to LLM context window limitations, the textual content of question stems was not incorporated, limiting the potential for more fine-grained, content-aware modeling.
  • Future Work: The authors suggest exploring more advanced LLM architectures and incorporating richer contextual information (like question stems) to further enhance the model's capabilities.

Summary updated

BibTeX
@inproceedings{li2025cikt,
  author = {Runze Li and Siyu Wu and Jun Wang and Wei Zhang},
  title = {{CIKT: A Collaborative and Iterative Knowledge Tracing Framework with Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure