Educational Assessment · Psychometrics

Understanding Cognitive Diagnostic Models

Moving toward more meaningful assessment: seeing what lies beneath the surface of traditional test scores.

Dr. I Nyoman Indhi Wiradika
Dr. I Nyoman Indhi Wiradika
Published February 13, 2026 · Updated May 2026
10 min read

Imagine two students who both score 70% on a digital competency exam. On the surface, they look identical: same total, same grade. But what if we looked closer? One student might have aced the technical pedagogy items while stumbling on data privacy. The other might show the exact opposite pattern. Even with the same final number, their actual learning needs are worlds apart.

This is the puzzle that Cognitive Diagnostic Models (CDMs) were built to solve. Instead of trying to squeeze a student's entire ability into a single number, CDMs ask a much more useful question: which specific skills has this learner mastered, and where are they still struggling?

The problem with "one number"

Traditional assessment often treats ability as a single, continuous line. A student is simply "high" or "low" on that scale. Most assessments in Indonesian education today still operate this way. While this is helpful for ranking or sorting students, it leaves us blind when it comes to diagnosis. We know a student is struggling, but we don't always know where the gap is.

Classical Test Theory
  • One score, one ability dimension
  • Norm-referenced: compares students
  • Focuses on ranking and sorting
  • Cannot diagnose specific gaps
  • Treats all wrong answers as equal
Cognitive Diagnostic Models
  • Provides a profile across multiple skills
  • Criterion-referenced: diagnoses mastery
  • Identifies specific mastery patterns
  • Pinpoints exactly what to teach next
  • Each item targets specific attributes

How CDMs work

A CDM framework is generally built on three core components:

  1. Attributes: These are the discrete cognitive skills you want to diagnose. For instance, in digital competency, this might include technological literacy or the ethical use of tools.
  2. The Q-matrix: This is a mapping tool (a binary table) that connects each test item to the specific attributes it requires. If Item 5 requires skills 2 and 4, we mark it accordingly.
  3. A response model: This is the mathematical rule that translates a student's answers into a profile of mastered attributes. Common models include DINA, DINO, or the more flexible G-DINA.

Visualizing the Q-matrix

Visualization 01
Mapping items to required attributes
Items ↓ / Attributes → A1 A2 A3 A4 A5 Tech. Pedagogy Content Ethics Critical Item 1 Item 2 Item 3 Item 4 Item 5 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 Required (1) Not required (0)
Think of the Q-matrix as the bridge between test items and cognitive theory. Each row represents a test item, and each column is a cognitive skill. A "1" means that skill is necessary to answer the item correctly.

The G-DINA model: a flexible approach

Among the different types of CDMs, the Generalized DINA (G-DINA) model has become one of the most widely used. Developed by Jimmy de la Torre in 2011, its main strength is its flexibility. Instead of forcing a specific cognitive process on the data, G-DINA is a "saturated" model that lets the data show us what is really happening. It can adapt to find main effects, interactions, or compensatory pathways depending on how students are actually performing.

Visualization 02
G-DINA item response curve (2 attributes)
1.0 0.75 0.5 0.25 0 P(correct) [0,0] [1,0] [0,1] [1,1] Neither Only A1 Only A2 Both 0.10 0.45 0.55 0.92
This chart shows the probability of getting an item right based on which skills a student has. Notice how mastering both skills yields the highest probability, but even having just one skill still makes a big difference.

Insights from a recent study

To see how this works in practice, we recently conducted a study with 270 informatics education students. We used a 32-item instrument to profile their mastery across five digital competency attributes. These were based on the European DigCompEdu framework combined with vocational IT skills.

270
Students
32
Items
93.71%
Accuracy
0.011
RMSEA₂ (Fit)
Key Finding

Using the G-DINA model, we achieved a classification accuracy of 93.71%. This means we could reliably pinpoint each student’s unique mastery profile across all five attributes, rather than just ranking them by a single score.

A closer look at student progress

One of the most interesting findings from our diagnostic profiles was the shape of student progress. We expected to see a smooth upward curve as students moved through semesters, but instead, we found a more complex trajectory.

Visualization 03
Competency development across semesters
100% 75% 50% 25% 0 Mastery rate Sem 1 Sem 2 Sem 3 Sem 4 Sem 5+ CRITICAL TRANSITION Female Male third-semester decline
Student trajectories showed a surprising dip around the third semester before recovering. Without the detail of CDMs, this might have looked like a small drop in average scores. We also found that female students consistently outperformed males across all five attributes.

Two key patterns emerged that simple total scores would have hidden:

A test that only gives you a number tells you that something happened. A diagnostic test tells you what happened and what you can do about it.

Why this matters for education

For future teachers, generic support isn't enough. If a student is great at technical skills but lags in digital ethics, a general-purpose course is a waste of their time. CDMs allow us to be much more strategic:

  1. Targeted support: We can design specific modules for the skills where students are actually struggling.
  2. Adaptive curriculum: We can sequence courses based on readiness rather than just time spent in a classroom.
  3. Focused resources: We can put more resources into that critical third-semester window to help students through the dip.

The bigger picture

CDMs aren't a magic fix for everything. They require careful planning, from defining skills to designing the right test items. But when they are used correctly, they offer something traditional testing cannot: clear, actionable insight.

In education, knowing how students are doing is only half the battle. We also need to know where they are stuck. CDMs give us a principled, data-driven way to find out and help them move forward.

References

[1]
Wiradika, I. N. I., Hadi, S., Khairudin, M., & Fajaruddin, S. (2026). Profiling Digital Competency of Prospective Vocational IT Educators Using Generalized DINA Model: A Cognitive Diagnostic Approach. Buletin Ilmiah Sarjana Teknik Elektro, 8(1), 241–257. https://doi.org/10.12928/biste.v8i1.15340
[2]
de la Torre, J. (2011). The Generalized DINA Model Framework. Psychometrika, 76(2), 179–199. https://doi.org/10.1007/s11336-011-9207-7
[3]
de la Torre, J., & Minchen, N. (2014). Cognitively Diagnostic Assessments and the Cognitive Diagnosis Model Framework. Psicología Educativa, 20(2), 89–97. https://doi.org/10.1016/j.pse.2014.11.001
[4]
Ma, W., & de la Torre, J. (2020). GDINA: An R Package for Cognitive Diagnosis Modeling. Journal of Statistical Software, 93(14), 1–26. https://doi.org/10.18637/jss.v093.i14
[5]
Sessoms, J., & Henson, R. A. (2018). Applications of Diagnostic Classification Models: A Literature Review and Critical Commentary. Measurement: Interdisciplinary Research and Perspectives, 16(1), 1–17. https://doi.org/10.1080/15366367.2018.1435104
[6]
Bradshaw, L., & Templin, J. (2014). Combining Item Response Theory and Diagnostic Classification Models. Psychometrika, 79(3), 403–425. https://doi.org/10.1007/s11336-013-9350-4