Generative Cognitive Diagnosis

Jiatong Li, Qi Liu, Mengxiao ZhuarXiv 2025 · DOI

Abstract

Traditional cognitive diagnosis models (CDMs) are often hindered by the 'efficiency wall' and 'reliability gap,' requiring computationally expensive retraining for new learners and producing inconsistent results. This paper introduces the Generative Cognitive Diagnosis paradigm, which utilizes a Generative Diagnosis Function (GDF) to map learner response patterns directly to latent traits. By decoupling diagnosis from score prediction, the proposed G-IRT and G-NCDM models achieve a 100x speedup in real-time diagnosis for new learners while ensuring perfect identifiability and superior accuracy on real-world benchmarks.

Introduction

In educational technology, Cognitive Diagnosis (CD) is the task of uncovering a learner's hidden 'cognitive state'—such as their mastery of specific math concepts—by analyzing their test answers. This process is crucial for providing personalized learning experiences. However, existing models face significant challenges in scalability and consistency.

The Challenge of Transductive Diagnosis

Existing models typically follow a 'transductive' approach, treating a student's ability as a parameter to be optimized. This creates two major headaches:

  1. The Efficiency Wall: When a new student arrives, the entire model often needs to be retrained to estimate their ability, which is a non-starter for real-time applications.
  2. The Reliability Gap: Because these models rely on random initialization and optimization, the 'ability' scores they produce can be inconsistent (non-identifiable), making them difficult for educators to trust.

The Generative Diagnosis Paradigm

The authors propose a fundamental paradigm shift: Generative Diagnosis. Instead of optimizing parameters to fit data, they learn a Generative Diagnosis Function (GDF) that maps a student's response patterns directly to their latent traits.

The shift from transductive prediction to generative diagnosis.

The framework consists of two stages:

  1. Feature Generation: A learned function (GDF) takes sparse response data and generates learner traits and item attributes.
  2. Score Reconstruction: An Item Response Function (IRF) uses those generated traits to 'reconstruct' the original test scores, ensuring the generated traits are accurate.

Implementation: G-IRT and G-NCDM

The authors implemented this framework via two new models:

  • G-IRT (Generative Item Response Theory): A generative version of the classic IRT model that uses 'proxy parameters' to mathematically invert the relationship between scores and ability.
  • G-NCDM (Generative Neural Cognitive Diagnosis Model): A deep learning approach that uses constrained neural networks (with non-negative weights) to ensure monotonicity—meaning that as a student's score increases, their diagnosed mastery level also increases.
Architectures of G-IRT and G-NCDM.

Key Results and Insights

The models were evaluated on two real-world benchmarks: ASSIST (a massive, sparse dataset) and Math1 (a dense math test dataset).

  • Massive Speedup: The generative models achieved a 100x speedup in diagnosing new learners compared to traditional transductive methods.
  • Superior Accuracy: G-NCDM outperformed the best traditional models on the ASSIST dataset, improving accuracy by 1.4% and F1-Score by 1.9%.
  • Perfect Reliability: In tests of 'Identifiability,' both G-IRT and G-NCDM achieved a perfect score of 1.000, whereas traditional models scored as low as 0.041, indicating high inconsistency.
  • Inductive Power: By treating diagnosis as a function rather than an optimization problem, the model learns the rule for diagnosis, allowing it to handle unseen students instantly.

Conclusion and Future Work

Generative Cognitive Diagnosis offers a scalable and reliable solution for real-time educational assessment. While currently focused on binary response data, future work could incorporate multi-modal data, such as response times or question text, to provide deeper insights. This paradigm also shows promise for the automated evaluation of Large Language Models (LLMs).

Summary updated

BibTeX
@misc{li2025generative,
  author = {Jiatong Li and Qi Liu and Mengxiao Zhu},
  title = {{Generative Cognitive Diagnosis}},
  year = {2025},
  eprint = {2507.09831},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.09831},
}
Figure