KT4EQG: Personalized Exercise Question Generation via Knowledge Tracing

Xinyi Gao, Qiucheng Wu, Lu Ding, Q.Vera Liao, Kaizhi Qian, Ying Xu, Shiyu Chang, Yang Zhang

TL;DR

KT4EQG is a novel framework that personalizes educational question generation by integrating Knowledge Tracing (KT) to model a student's evolving mastery. By selecting the most beneficial knowledge concept for a specific learner and using reinforcement learning to ensure the generated question accurately targets that concept, the system significantly improves simulated learning outcomes compared to non-personalized LLM baselines.

What Problem Does This Paper Address?

Educational Question Generation (EQG) aims to automate the creation of high-quality practice problems. However, most current systems focus on the surface-level quality of the text—making sure the question is fluent or follows a specific format—while ignoring the pedagogical value for the individual student.

A question that helps one student might be trivial for another or frustratingly difficult for a third. To be truly effective, a system needs to understand a student’s "knowledge state." While Knowledge Tracing (KT) has long been used to recommend existing questions from a fixed database, using it to generate new, tailored questions from scratch remains a significant challenge. The authors identify a gap: how do we bridge the gap between abstract student modeling and the concrete generation of new learning materials?

Methods

The authors propose KT4EQG, which treats personalized generation as a two-step optimization problem:

  1. Concept Selection (The "What"): The system uses a tree-based KT model ($KT^2$) to estimate a student's current mastery across various Knowledge Concepts (KCs). It performs an exhaustive search to find the KC that, if mastered, would provide the highest "educational value" (the greatest predicted boost to the student's overall knowledge state).
  2. Question Generation (The "How"): Once a target KC is selected, an LLM (Qwen3-8B) generates the question. To ensure the question actually tests the intended concept, the authors use a two-phase training approach:
  3. Supervised Fine-Tuning (SFT): Training the model on existing (concept, question) pairs.
  4. Reinforcement Learning (RL): Using Group Relative Policy Optimization (GRPO) with a reward signal from a Question-Concept Verifier. This verifier is a separate model trained to measure how well a generated question aligns with its target KC in an embedding space.
The KT4EQG pipeline includes a training phase for the generator and verifier, and an evaluation phase that simulates a student's learning journey.

Datasets

The framework was evaluated on two major educational benchmarks:

  • XES3G5M: A large-scale dataset for math knowledge tracing featuring expert-annotated hierarchical knowledge concepts.
  • MOOCRADAR: A dataset derived from Massive Open Online Courses. Since this dataset lacks a natural hierarchy, the authors used an LLM to construct the KC trees, demonstrating that their method works even without human-annotated structures.

Key Insights and Ideas

  • Concept Selection is the Bottleneck: The researchers found that even powerful LLMs struggle to pick the "right" thing to teach. When baselines were given the "Oracle" (the perfect concept to target), their performance jumped significantly.
  • Alignment Prevents "Concept Drift": Without specific alignment training (the RL phase), LLMs often generate generic questions. For example, when asked to generate a complex "Chicken-Rabbit" logic problem, a standard LLM might collapse the task into a simple subtraction problem. The alignment reward forces the model to maintain the intended reasoning structure.
  • Natural Adaptivity: The system naturally exhibits an adaptive policy. For struggling students, it selects concepts they have a higher chance of mastering to build confidence; for advanced students, it aggressively targets their least-mastered, high-impact concepts.

Key Results

In simulations where a "virtual student" practiced with generated questions, KT4EQG consistently outperformed all baselines, including zero-shot LLMs and specialized math question generators like ScaleQuest.

  • Exam Score Improvement: On the XES3G5M "Application Module," KT4EQG achieved an exam score of 0.8036, significantly higher than the base Qwen3-8B (0.6669) and approaching the theoretical Oracle upper bound (0.8274).
  • High Answerability: Despite the heavy focus on personalization, the questions remained logically sound and solvable, with answerability scores typically exceeding 95%.
Quantitative results across multiple modules show KT4EQG (bottom row) consistently achieving the highest exam scores.

Limitations and Future Work

  • Simulation vs. Reality: The primary limitation is that the evaluation is conducted via KT-based simulation. While the authors tested against multiple different KT models to ensure robustness, real-world validation with actual students is the necessary next step.
  • Beyond Concepts: The current model focuses on what concept to teach but doesn't explicitly model other pedagogical dimensions like Bloom's taxonomy levels (e.g., recall vs. synthesis) or specific linguistic difficulty.
  • Missing Components: A complete tutoring system would also need to generate reference answers and scoring rubrics, which are currently outside the scope of this framework.

Summary updated

BibTeX
@inproceedings{gao2026kt,
  author = {Xinyi Gao and Qiucheng Wu and Lu Ding and Q.Vera Liao and Kaizhi Qian and Ying Xu and Shiyu Chang and Yang Zhang},
  title = {{KT4EQG: Personalized Exercise Question Generation via Knowledge Tracing}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=CfVsFmfUft},
}
Figure