Neural Cognitive Diagnosis for Intelligent Education Systems

Fei Wang, Qi Liu, Enhong Chen, Zhenya Huang, Yuying Chen, Yu Yin, Zai Huang, Shijin Wang · DOI

Abstract

Cognitive diagnosis is a fundamental issue in intelligent education, which aims to discover the proficiency level of students on specific knowledge concepts. Existing approaches usually mine linear interactions of student exercising process by manual-designed function (e.g., logistic function), which is not sufficient for capturing complex relations between students and exercises. In this paper, we propose a general Neural Cognitive Diagnosis (NeuralCD) framework, which incorporates neural networks to learn the complex exercising interactions, for getting both accurate and interpretable diagnosis results. Specifically, we project students and exercises to factor vectors and leverage multi neural layers for modeling their interactions, where the monotonicity assumption is applied to ensure the interpretability of both factors. Furthermore, we propose two implementations of NeuralCD by specializing the required concepts of each exercise, i.e., the NeuralCDM with traditional Q-matrix and the improved NeuralCDM+ exploring the rich text content. Extensive experimental results on real-world datasets show the effectiveness of NeuralCD framework with both accuracy and interpretability.

Introduction: The Challenge of Cognitive Diagnosis

In Intelligent Tutoring Systems (ITS), the "holy grail" is Cognitive Diagnosis: accurately identifying exactly which concepts a student has mastered and where they require further instruction. For decades, this task was performed using psychometric models such as Item Response Theory (IRT) or Deterministic Input, Noisy "And" gate (DINA) models. These traditional approaches rely on manually designed, linear functions to estimate the probability of a student answering a question correctly.

However, the relationship between a student’s cognitive state and a complex exercise is rarely linear. While modern deep learning could model these complex interactions, neural networks are often criticized as "black boxes." In an educational context, transparency is critical; a student needs to know why they received a specific score and which specific concepts, such as "Trigonometric Functions," they need to study.

The workflow of cognitive diagnosis, mapping student exercise responses to a multi-dimensional proficiency report.

Methodology: The NeuralCD Framework

To address these challenges, we propose the Neural Cognitive Diagnosis (NeuralCD) framework. This framework replaces handcrafted functions with neural networks while maintaining interpretability through specific architectural constraints.

1. Factor Vectors and Neural Interaction

Students are represented by a proficiency vector (representing their mastery level), while exercises are represented by a knowledge relevancy vector (identifying the concepts tested) and a difficulty vector. Instead of simple multiplication, these vectors are processed through a multi-layer perceptron (MLP) to predict performance.

2. The Monotonicity Constraint

To ensure the model remains interpretable, we apply a monotonicity assumption. By restricting the weights of the neural layers to be positive, the model ensures that as a student’s proficiency in a concept increases, their predicted probability of success on a related exercise must also increase. This prevents the model from generating counter-intuitive results common in unconstrained deep learning models.

3. NeuralCDM+: Integrating Textual Content

An advanced implementation, NeuralCDM+, utilizes a Convolutional Neural Network (CNN) to analyze the actual text of exercises. This allows the model to "read" questions and identify relevant knowledge concepts that may have been missed or mislabeled in traditional human-curated Q-matrices.

The NeuralCDM+ architecture, integrating text-based Q-matrix refining with neural interaction modeling.

Experimental Results and Key Insights

Performance and Accuracy

NeuralCD was evaluated on two large-scale datasets: a high school math dataset from iFLYTEK’s Zhixue system (1 million logs) and the public ASSISTments 2009-2010 dataset. NeuralCDM+ consistently outperformed all baselines. On the math dataset, it achieved an AUC of 0.835, significantly surpassing traditional DINA (0.686) and multidimensional IRT (0.813).

Diagnostic Quality and Interpretability

Beyond prediction accuracy, we measured the Degree of Agreement (DOA) to evaluate how well the model's proficiency rankings matched actual student performance. NeuralCD models scored significantly higher than traditional approaches. Furthermore, the framework successfully generates visual "radar charts" (as seen in Figure 1), providing students and teachers with a clear breakdown of mastery across subjects like "Statistics," "Equations," and "Absolute Value."

Conclusion and Future Directions

The NeuralCD framework demonstrates that deep learning can be both powerful and transparent in educational settings. By baking educational theory—specifically the monotonicity assumption—directly into the neural architecture, we achieve state-of-the-art accuracy without sacrificing the interpretability required for effective pedagogy.

Future work will explore dynamic modeling, as the current framework assumes a student's knowledge is static during assessment. Integrating temporal dynamics (similar to Deep Knowledge Tracing) would allow the model to track how students learn while they practice. Additionally, we plan to investigate more advanced NLP architectures, such as Transformers, to further refine the extraction of knowledge concepts from exercise text.

Summary updated

Abstract

Cognitive diagnosis is a fundamental issue in intelligent education, which aims to discover the proficiency level of students on specific knowledge concepts. Existing approaches usually mine linear interactions of student exercising process by manual-designed function (e.g., logistic function), which is not sufficient for capturing complex relations between students and exercises. In this paper, we propose a general Neural Cognitive Diagnosis (NeuralCD) framework, which incorporates neural networks to learn the complex exercising interactions, for getting both accurate and interpretable diagnosis results. Specifically, we project students and exercises to factor vectors and leverage multi neural layers for modeling their interactions, where the monotonicity assumption is applied to ensure the interpretability of both factors. Furthermore, we propose two implementations of NeuralCD by specializing the required concepts of each exercise, i.e., the NeuralCDM with traditional Q-matrix and the improved NeuralCDM+ exploring the rich text content. Extensive experimental results on real-world datasets show the effectiveness of NeuralCD framework with both accuracy and interpretability.
BibTeX
@inproceedings{wang2020neural,
  author = {Fei Wang and Qi Liu and Enhong Chen and Zhenya Huang and Yuying Chen and Yu Yin and Zai Huang and Shijin Wang},
  title = {{Neural Cognitive Diagnosis for Intelligent Education Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.6080},
}
Figure