Domain Generalizable Knowledge Tracing via Concept Aggregation and Relation-Based Attention

Yuquan Xie, Wanqi Yang, Jinyu Wei, Ming Yang, Yang GaoarXiv 2024 · DOI

Abstract

Knowledge Tracing (KT) is essential for personalized education but suffers from the "cold-start" problem when applied to new platforms with sparse data. We present DGKT, a framework designed for multi-source domain generalization. By clustering diverse subject concepts into universal "concept prototypes" and employing a novel temporal normalization strategy (SeqIN), DGKT enables the transfer of pedagogical meta-knowledge across domains. Our proposed model, DGrKT, achieves a 4.16% AUC improvement in cold-start scenarios compared to state-of-the-art baselines.

Introduction

Personalized learning systems rely on Knowledge Tracing (KT) to model student mastery and predict future performance. While deep learning models have significantly improved KT accuracy, they are notoriously data-hungry. New educational platforms often face a "cold-start" challenge: they lack the millions of interactions required to train robust models.

Overview of the DGKT framework transferring meta-knowledge from existing systems to new ones.

Directly applying models trained on existing platforms (e.g., Algebra) to new ones (e.g., Geometry) is difficult due to "domain discrepancy"—differences in question types, concept tags, and student populations. This research addresses Multi-source Domain Adaptation, aiming to extract universal learning patterns from mature sources to benefit data-scarce target domains.

Methodology: The DGKT Framework

The DGKT framework introduces three core innovations to bridge the domain gap:

1. Concept Aggregation

Instead of treating concepts in different datasets as isolated entities, DGKT uses $k$-means clustering to map embeddings into shared concept prototypes. These prototypes represent underlying pedagogical features—such as difficulty or cognitive complexity—that remain consistent across subjects like Algebra and Geometry.

2. Sequence Instance Normalization (SeqIN)

Standard normalization techniques like Batch Norm can "leak" future information into the past in time-series tasks. SeqIN addresses this by normalizing feature embeddings using only the statistics of a student's previous interactions. This reduces domain-specific variance while preserving the temporal integrity necessary for causal prediction.

3. Relation-Aware Attention Encoder (RA-Encoder)

The authors developed DGrKT, which incorporates a modified attention mechanism. It weights past interactions based on a relevance matrix that identifies whether a current question is identical to a previous one, shares a concept, or is unrelated.

Detailed architecture of the DGKT framework, including concept aggregation and the RA-Encoder.

Experimental Setup

The framework was evaluated using five benchmark datasets: ASSISTment (2009, 2015, 2017), Algebra 2005, and Junyi. To simulate cold-start conditions, the model was trained on four datasets and tested on a fifth, with fewer than 300 labeled samples available from the target domain.

Key Results and Insights

  • Performance Gains: DGrKT outperformed state-of-the-art models like AKT and SAINT by 4.16% in AUC in cold-start settings.
  • Model Agnosticism: The DGKT framework can enhance existing models; integrating it with DKT and SAINT yielded an average AUC boost of 1.98%.
  • Domain Alignment: t-SNE visualizations confirmed that SeqIN effectively aligned student interaction data from disparate domains, reducing the A-distance (a domain discrepancy metric) from 1.82 to 0.03.
  • Pedagogical Consistency: The success of concept prototypes suggests that human learning patterns are remarkably stable across different academic subjects.

Conclusion and Future Work

DGKT provides a robust solution for deploying personalized learning in new educational environments. While currently focused on interaction sequences, future work aims to integrate Natural Language Processing (NLP) to leverage question text and hierarchical knowledge graphs. This will move the framework beyond performance prediction toward automated difficulty adjustment and personalized learning path recommendations.

Summary updated

BibTeX
@misc{xie2024domain,
  author = {Yuquan Xie and Wanqi Yang and Jinyu Wei and Ming Yang and Yang Gao},
  title = {{Domain Generalizable Knowledge Tracing via Concept Aggregation and Relation-Based Attention}},
  year = {2024},
  eprint = {2407.02547},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.02547},
}
Figure