Learning data teaching strategies via knowledge tracing

Ghodai Abdelrahman, Qing WangKnowledge-Based Systems 2021

Abstract

This paper introduces Knowledge Augmented Data Teaching (KADT), a reinforcement learning framework designed to optimize the training process of machine learning models. By integrating Knowledge Tracing—a method traditionally used in educational technology—KADT enables a "teacher" model to dynamically assess a "student" model's mastery of specific latent concepts and select training samples accordingly. Experimental results across diverse datasets, including CIFAR-100 and ASSISTments2009, demonstrate that KADT leads to faster convergence, higher final accuracy, and improved robustness compared to traditional data selection methods.

1. Introduction

In traditional machine learning, training data is typically presented to a model in a random order or via fixed heuristics like curriculum learning. However, these methods are often "concept-blind," ignoring the fact that a model may master certain sub-tasks (e.g., identifying specific image classes) faster than others. Existing machine teaching methods that attempt to address this often rely on sparse rewards or overall loss metrics, failing to capture the nuanced state of the learner's knowledge.

Comparison of traditional machine teaching versus the proposed KADT approach, which incorporates knowledge tracing and training loss data.

KADT addresses these limitations by treating machine learning as a pedagogical process. By tracking concept-level proficiency, the teacher can identify specific "blind spots" in the student model and prioritize data that will most effectively advance its learning.

2. The KADT Framework

The KADT architecture consists of three primary components: a Knowledge Tracing (KT) Model, a Teaching Agent, and the Student Model being trained.

2.1 Memory-Augmented Knowledge Tracing

The teacher maintains a key-value memory structure where "keys" represent latent learning concepts (such as genres in recommendation systems or super-classes in image datasets) and "values" track the student's current proficiency. This allows the teacher to maintain a persistent state of the student's progress over time.

2.2 Gated Attentive Pooling

To decide which data to present next, the teacher utilizes a gated attention mechanism. This mechanism distills the student's knowledge representations across different class labels, allowing the agent to prioritize samples that target the student's current weaknesses.

Detailed architecture of the KADT framework, illustrating the interaction between the Knowledge Tracing Model, the Teaching Agent (Actor-Critic), and the Student Model.

2.3 Reinforcement Learning with Dense Rewards

The teacher is trained using the Deep Deterministic Policy Gradient (DDPG) algorithm. Unlike traditional methods that use sparse rewards based on final performance, KADT employs a "dense" reward system based on the change in student performance. This provides a more stable and informative signal for the teacher to refine its strategy.

3. Experimental Evaluation

The authors evaluated KADT across four distinct domains:

  • Education: ASSISTments2009 (math proficiency prediction).
  • Sentiment Analysis: IMDB (binary classification).
  • Recommendation Systems: MovieLens (genre-based click prediction).
  • Computer Vision: CIFAR-100 (100-class image classification).

3.1 Key Results

KADT consistently outperformed state-of-the-art baselines such as Learning to Teach (L2T) and Self-Paced Learning (SPL). On the CIFAR-100 task, KADT achieved an accuracy of 68.75%, significantly higher than L2T (65.33%) and Random Sampling (62.18%). Furthermore, training curves indicate that KADT-taught students reach higher accuracy levels much earlier in the training process.

4. Discussion and Insights

  • Concept Universality: A major finding is that Knowledge Tracing is highly effective for general AI tasks, not just human education. Treating categories or sentiment types as "concepts" allows for more granular training control.
  • Robustness and Generalization: Teachers trained to instruct simple models (e.g., MLPs) successfully generalized to teaching complex models (e.g., CNNs), suggesting that the learned teaching strategies capture fundamental aspects of the data itself.
  • Mitigating Catastrophic Forgetting: Heatmap analysis revealed that KADT-taught students are less likely to forget previously learned concepts, as the teacher monitors and reinforces mastery levels dynamically.

5. Conclusion

KADT represents a significant step forward in automated machine teaching. While it introduces some computational overhead due to the RL agent and KT memory, the gains in accuracy and training speed are substantial. Future work may expand this framework to optimize not just data selection, but also the student's loss functions and hyperparameters in real-time.

Summary updated

BibTeX
@misc{abdelrahman2021learning,
  author = {Ghodai Abdelrahman and Qing Wang},
  title = {{Learning data teaching strategies via knowledge tracing}},
  year = {2021},
  eprint = {2111.07083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.07083},
}
Figure