Hostname: page-component-89b8bd64d-sd5qd Total loading time: 0 Render date: 2026-05-07T20:41:37.154Z Has data issue: false hasContentIssue false

Efficient and Effective Variational Bayesian Inference Method for Log-Linear Cognitive Diagnostic Model

Published online by Cambridge University Press:  03 January 2025

Xue Wang
Affiliation:
Key Laboratory of Applied Statistics of MOE, Key Laboratory of Big Data Analysis of Jilin Province, School of Mathematics and Statistics, Northeast Normal University, Changchun, Jilin, China
Jiwei Zhang*
Affiliation:
Faculty of Education, Key Laboratory of Applied Statistics of MOE, Northeast Normal University, Changchun, Jilin, China
Jing Lu*
Affiliation:
Key Laboratory of Applied Statistics of MOE, Key Laboratory of Big Data Analysis of Jilin Province, School of Mathematics and Statistics, Northeast Normal University, Changchun, Jilin, China
*
Corresponding authors: Jiwei Zhang and Jing Lu; Email: zhangjw713@nenu.edu.cn, luj282@nenu.edu.cn
Corresponding authors: Jiwei Zhang and Jing Lu; Email: zhangjw713@nenu.edu.cn, luj282@nenu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

In this paper, we propose a novel and highly effective variational Bayesian expectation maximization-maximization (VBEM-M) inference method for log-linear cognitive diagnostic model (CDM). In the implementation of the variational Bayesian approach for the saturated log-linear CDM, the conditional variational posteriors of the parameters that need to be derived are in the same distributional family as the priors, the VBEM-M algorithm overcomes this problem. Our algorithm can directly estimate the item parameters and the latent attribute-mastery pattern simultaneously. In contrast, Yamaguchi and Okada’s (2020a) variational Bayesian algorithm requires a transformation step to obtain the item parameters for the log-linear cognitive diagnostic model (LCDM). We conducted multiple simulation studies to assess the performance of the VBEM-M algorithm in terms of parameter recovery, execution time, and convergence rate. Furthermore, we conducted a series of comparative studies on the accuracy of parameter estimation for the DINA model and the saturated LCDM, focusing on the VBEM-M, VB, expectation-maximization, and Markov chain Monte Carlo algorithms. The results indicated that our method can obtain more stable and accurate estimates, especially for the small sample sizes. Finally, we demonstrated the utility of the proposed algorithm using two real datasets.

Information

Type
Theory and Methods
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike licence (http://creativecommons.org/licenses/by-nc-sa/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Psychometric Society
Figure 0

Table 1 Estimation procedure of the VBEM-M algorithm

Figure 1

Figure 1 Graphical illustration of the VBEM-M algorithm implementation process. Let $\Theta ^{*(t)}=(\boldsymbol {\pi }^{(t)}, \boldsymbol {\lambda }^{*(t)}, \boldsymbol {\lambda }_0^{*(t)})$. the variational density of the latent variable $\boldsymbol {z}^{(t+1)}$ is updated in the VBE-step. In VBM-step, the variational densities for model parameters and hyperparameters $\Theta ^{*(t+1)}$ are updated. In M-step, we update $\boldsymbol {\xi }^{*(t+1)}$ by maximizing $\text {L}(q(\boldsymbol {z}^{(t+1)},\Theta ^{*(t+1)}),\boldsymbol {\xi }^{*(t)})$.

Figure 2

Table 2 The accuracy of item parameters and class membership probability parameters using the VBEM-M algorithm in simulation study 1

Figure 3

Table 3 The accuracy of attribute profile parameters using the VBEM-M algorithm in simulation study 1

Figure 4

Figure 2 The bias and RMSE of $\eta $ and $\lambda $ for each item in the simulation study 1. The $\text {Q}$-Matrix denotes the skills required for each item along the x axis, where the black square =“1” and white square =“0”.

Figure 5

Figure 3 The boxplots of bias and RMSE for $\eta $, $\lambda $ and $\pi $ estimated by the VBEM-M, VB, MCMC-dina, MCMC-R2jags, EM-GDINA and EM-CDM with $\sigma =0.3$ under the LNL condition in simulaion study 2.

Figure 6

Table 4 The accuracy of item parameters and class membership probability parameters using the VBEM-M, VB, MCMC-dina, MCMC-R2jags, EM-GDINA, and EM-CDM algorithms for the DINA model under the $\sigma =0.3$ condition in simulation study 2

Figure 7

Table 5 The accuracy of attribute profile parameters using the VBEM-M, VB, MCMC-dina, MCMC-R2jags, EM-GDINA, and EM-CDM algorithms for the DINA model under the $\sigma =0.3$ condition in simulation study 2

Figure 8

Table 6 The computational time (in seconds) for the VBEM-M, VB, MCMC-dina, MCMC-R2jags, EM-GDINA, and EM-CDM algorithms with the $\sigma =0.3$ condition based on DINA in simulation study 2

Figure 9

Table 7 True values of $\boldsymbol {\lambda }^*$ for the saturated LCDM in simulation study 3

Figure 10

Table 8 The accuracy of item parameters and class membership probability parameters using the VBEM-M, VB, MCMC-R2jags, and EM-GDINA algorithms for the LCDM model under the $\sigma =0.3$ condition in simulation study 3

Figure 11

Table 9 Evaluation of the accuracy of attribute profile parameters using the VBEM-M, VB, MCMC-R2jags and EM-GDINA Algorithms for the saturated LCDM under the $\sigma =0.3$ condition in simulation study 3

Figure 12

Table 10 The computational time (in seconds) for the VBEM-M, VB, MCMC-R2jags and EM-GDINA algorithms based on LCDM with the $\sigma =0.3$ condition in simulation study 3

Figure 13

Table 11 The $\text {Q}$-matrix and the estimation results of the parameters $\eta $ and $\lambda $ using the VBEM-M algorithm in the empirical example 1

Figure 14

Table 12 The estimation results of the parameters $\boldsymbol {\eta }$ and $\boldsymbol {\lambda } $ using the VBEM-M algorithm in the empirical example 2

Figure 15

Table 13 The estimation results of the class membership parameters $\boldsymbol {\pi }$ using the VBEM-M algorithm in the empirical example 2

Supplementary material: File

Wang et al. supplementary material

Wang et al. supplementary material
Download Wang et al. supplementary material(File)
File 483.6 KB