Exploring Heterogeneity and Uncertainty for Graph-based Cognitive Diagnosis Models in Intelligent Education

Pengyang Shao, Yonghui Yang, Chen Gao, Lei Chen, Kun Zhang, Chenyi Zhuang, Le Wu, Yong Li, Meng Wang

TL;DR

The authors propose ISG-CD, a novel graph-based cognitive diagnosis model that significantly improves student proficiency estimation by accounting for two real-world messy realities: heterogeneity (correct vs. incorrect answers) and uncertainty (lucky guesses vs. careless mistakes). By applying the Information Bottleneck principle in an unsupervised way, the model filters out noisy interactions to build a more reliable "diagnostic graph."

What Problem Does This Paper Address?

Cognitive Diagnosis (CD) is the backbone of personalized learning; it’s the process of figuring out exactly which concepts a student has mastered (e.g., "Gravity") and where they struggle (e.g., "Wave-Particle Duality"). Modern approaches use Graph Neural Networks (GNNs) to model the complex relationships between students and exercises.

However, the authors identify two major gaps in current graph-based CD models:

  1. Edge Heterogeneity: Standard GNNs often treat all student-exercise interactions the same. In reality, a correct answer and an incorrect answer have fundamentally opposite semantic meanings. Treating them as identical "edges" leads to poor information propagation.
  2. Edge Uncertainty: Student data is noisy. A student might get a hard question right by guessing (a "fortunate guess") or get an easy one wrong due to a typo (a "careless mistake"). These interactions are "uncertain" and can mislead a model if it treats them as ground truth for a student's ability.
Figure 1: (a) The process of educational CD. These CD models take students’ responses logs on exercises, and exercise-concept relations as input, and output students’ proficiency levels on all knowledge concepts. (b) GNN between two students (John and Mark). Their interactions with exercises have extensively overlapped, however, they are not similar from a graph view due to heterogeneity. Further, there are uncertain edges, e.g., according to interactions between John and exercises 𝑒3,𝑒4, John has already grasped concept 𝑘2. John’s performance on exercise 𝑒5 cannot reflect his ability on concept 𝑘2.

Methods

The proposed ISG-CD (Informative Semantic-aware Graph-based Cognitive Diagnosis) model tackles these issues through two primary components:

1. Semantic-aware GNN (S-GNN)

To handle heterogeneity, the model splits the interaction graph into two distinct subgraphs: one for correct responses and one for incorrect ones. The GNN passes messages through these subgraphs separately before aggregating them. This ensures that the model learns different representations for "success" and "failure" patterns.

Figure 2: Semantic-aware GNN (S-GNN) based CD model.

2. Informative Edge Differentiation (IE-Diff) Layer

To handle uncertainty, the authors introduce a layer based on the Information Bottleneck (IB) principle. The goal is to transform the original noisy graph into a "reliable graph" that is:

  • Minimal: It discards as much irrelevant information (noise/uncertainty) from the original graph as possible.
  • Sufficient: It retains enough information to accurately predict student response logs.
Figure 3: Informative Edge Differentiation (IE-Diff) Layer.

Technically, they maximize the mutual information between the reliable graph and response logs (using a standard Binary Cross Entropy loss) while minimizing the mutual information between the reliable graph and the original graph (using the Hilbert-Schmidt Independence Criterion (HSIC) as a differentiable proxy). The model uses an alternating training strategy to refine both the diagnostic parameters and the edge-filtering parameters.

Datasets

The model was evaluated on three diverse, real-world datasets:

  • ASSIST (2009-2010 "skill builder"): A large, widely-used public benchmark for educational data mining.
  • Junyi Academy: A dataset characterized by a unique one-to-one mapping between exercises and knowledge concepts.
  • MOOC-Radar: A recent dataset derived from massive open online course learning records, containing nearly 900,000 response logs.

Key Insights and Ideas

  • Unsupervised Noise Filtering: The most elegant part of this work is using the Information Bottleneck to detect "guesses" and "slips" without needing explicit labels for those events. The model learns to "distrust" certain edges simply because they don't align with the overall patterns of student ability and exercise difficulty.
  • Graph Splitting is Essential: The ablation studies show that simply distinguishing between correct and incorrect edges (S-GNN) provides a massive boost in diagnostic accuracy, proving that heterogeneity is a first-order problem in educational GNNs.
  • Stability through Pre-training: The authors found that an "alternating training" strategy—where they pre-train the diagnosis model before starting the edge-differentiation process—is crucial for stability. This provides a solid "baseline" of student abilities before the model starts deciding which edges to ignore.

Key Results

ISG-CD consistently outperformed state-of-the-art baselines (like RCD, SCD, and KaNCD) across all datasets:

  • Accuracy & AUC: ISG-CD achieved the highest scores in predicting student responses. For example, on the ASSIST dataset, it reached an AUC of 0.7604, significantly higher than the backbone KaNCD (0.7404).
  • Diagnostic Quality: On the DOA (Degree of Agreement) metric, which measures how well the model's proficiency estimates match observed student patterns, ISG-CD showed improvements of up to 1.5% over the next best models.
  • Robustness: In synthetic noise tests, the model maintained a detection probability of nearly 80% for uncertain edges, even when 30% of the total edges were corrupted.

Limitations and Future Work

While ISG-CD is powerful, the authors note a few areas for growth:

  • Computational Complexity: Although they use sparse tensor operations to keep the GNN efficient, calculating HSIC for mutual information minimization adds some overhead compared to simpler models.
  • Concept Relationships: The current model focuses on the student-exercise bipartite graph. Future work could integrate more complex concept-to-concept relationships (like prerequisites) to further refine the diagnosis.
  • Alternative Uncertainty Models: The authors suggest exploring other ways to alleviate the effects of uncertain edges beyond the Information Bottleneck approach.

Summary updated

BibTeX
@inproceedings{shao2024exploring,
  author = {Pengyang Shao and Yonghui Yang and Chen Gao and Lei Chen and Kun Zhang and Chenyi Zhuang and Le Wu and Yong Li and Meng Wang},
  title = {{Exploring Heterogeneity and Uncertainty for Graph-based Cognitive Diagnosis Models in Intelligent Education}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
}
Figure