ISSN 0439-755X
CN 11-1911/B
主办:中国心理学会
   中国科学院心理研究所
出版:科学出版社

心理学报 ›› 2026, Vol. 58 ›› Issue (4): 755-772.doi: 10.3724/SP.J.1041.2026.0755 cstr: 32110.14.2026.0755

• 研究报告 • 上一篇    下一篇

基于迁移学习与Q矩阵约束的神经网络认知诊断方法

陶金洪1, 赵蔚1, 程诺1, 乔丽方2, 姜强1   

  1. 1东北师范大学信息科学与技术学院, 长春 130117;
    2河北师范大学教育学院, 石家庄 050000
  • 收稿日期:2024-03-11 发布日期:2026-01-16
  • 通讯作者: 赵蔚, E-mail: zhaow577@nenu.edu.cn
  • 基金资助:
    国家自然科学基金面上项目(62577018)

Cognitive diagnosis method via neural networks with transfer learning and Q-matrix constraints

TAO Jinhong1, ZHAO Wei1, CHENG Nuo1, QIAO Lifang2, JIANG Qiang1   

  1. 1School of Information Science and Technology, Northeast Normal University, Changchun 130117, China;
    2College of Education, Hebei Normal University, Shijiazhuang 050000, China
  • Received:2024-03-11 Online:2026-01-16

摘要: 神经网络作为最重要的机器学习方法已被广泛地用于认知诊断, 但目前仍没有一种简单通用的神经网络认知诊断方法。因此, 提出一种Q矩阵约束的神经网络认知诊断方法(Bi-QNN), 并基于迁移学习进行训练。新模型的优势在于:(1)使用人员无需专门设计网络结构, 新模型可以根据Q矩阵与交互式Q矩阵自适应任意数据集; (2)网络结构的设计原理源于GDINA模型, 使其能够较好地表达属性的主效应与交互效应; (3)基于迁移学习的模型训练方案能有效地解决标记数据稀缺问题, 提高模型的易用性与适用范围。实验结果表明:Bi-QNN在模拟数据集上的预测误差整体上比参数化方法GDINA与DINA的表现更好; 在一定的范围内, 模型对属性数量敏感性相对较低, 当属性数量增加时在一定程度上仍能保持较好的分类准确率; 基于迁移学习训练的Bi-QNN方法能更好地适应不同样本量的数据集, 在模拟数据与实证数据的多种条件下保持对其它模型的领先; 模型性能的进一步提升受到基于参数模型的模拟数据的限制, 对试题质量仍有一定的敏感性。

关键词: 认知诊断, Q矩阵, 人工神经网络, 迁移学习

Abstract: Cognitive diagnostic assessment (CDA) is an important educational assessment method that identifies the strengths and weaknesses of students in specific cognitive skills or attributes. Artificial neural networks (ANNs) can learn complex, nonlinear relationships from data and have become one of the most widely used machine learning methods in CDA. However, most existing ANN-based CDA methods require users to design the network structure manually, which is a challenging task for education professionals without AI expertise. Moreover, neural network training often encounters scarce labeled data, which limits their usability and applicability in cognitive diagnostic practice. Therefore, a simple and easy-to-use general neural network cognitive diagnosis method that can automatically adapt to different datasets and learning tasks is still lacking.
In this paper, we propose a neural network cognitive diagnosis method (Bi-QNN) that is constrained by the Q-matrix and an attribute interaction matrix and uses transfer learning for training. Our method has the following advantages: (1) Its network structure can be automatically constructed according to the Q-matrix and interaction matrix corresponding to any dataset, eliminating the need for manual design of the neural network. (2) The network structure design of the new model is inspired by the GDINA model, which can better express and capture the main and interaction effects of attributes. (3) The model training scheme based on transfer learning helps address the scarcity of labeled data, thereby improving the usability and wider applicability of the model.
To evaluate the performance of Bi-QNN, we conduct extensive experiments on simulated and real datasets covering various scenarios of CDA. Experimental results show that Bi-QNN has lower prediction errors on the simulated datasets than the parametric methods GDINA and DINA, indicating a better fit to the data. Our model is robust to the number of attributes and maintains high classification accuracy as this number increases, demonstrating that Bi-QNN can handle complex problems with more attributes in CDA. The training method based on transfer learning enables Bi-QNN to adapt effectively to datasets with varying sample sizes, maintaining superior performance compared with other models across multiple conditions in simulated and empirical datasets. Bi-QNN generally outperforms other models, suggesting that it can benefit from knowledge transfer and can generalize to new domains.
Bi-QNN is a simple, easy-to-use general neural network cognitive diagnosis method with good expressiveness and adaptability. It can provide more accurate and reliable diagnostic feedback for students and teachers and facilitate personalized and adaptive learning. The improvement in model performance is limited by the reliance on simulated data, and the model remains slightly sensitive to the quality of the test items. These issues need to be verified and improved on more datasets.

Key words: cognitive diagnostic assessment, Q-matrix, artificial neural network, transfer learning