- Introduced by
- Tatsuoka; DiBello, Roussos & Stout; Junker & Sijtsma; de la Torre
- Year
- 2010
- Type
- Restricted latent class models for diagnosing mastery of discrete skills
- Family
- Diagnostic classification models
What does it do?
Cognitive diagnostic models (CDMs), also called diagnostic classification models, are restricted latent class models that report not a single ability score but a profile of which discrete skills or attributes a student has mastered.
Each item is linked to the attributes it requires through a Q-matrix, and the model assigns each examinee to one of the possible binary mastery patterns, typically through posterior probabilities of membership in each pattern. CDMs address 'which specific skills does this student lack' rather than 'how much overall ability does this student have,' which is why they are used in fine-grained diagnostic and formative assessment.
The intuition behind the method
A traditional test score collapses everything a student knows into one number, which is useless for instruction: it tells a teacher a student scored 60 percent but not which sub-skills failed. Cognitive diagnostic modeling refuses that collapse. It assumes the test measures a set of named skills — say, 'borrowing in subtraction' and 'aligning decimal points' — and that each item draws on a known subset of them. By looking at the pattern of which items a student got right and wrong, the model infers a yes/no mastery verdict for each skill. Two students with the same total score can receive very different skill profiles, which is exactly the diagnostic information instruction needs.
History
Cognitive diagnosis traces its roots to Tatsuoka's rule-space methodology in the 1980s and to the Q-matrix idea of mapping items to attributes. In the 1990s and 2000s formal models followed, including DiBello, Roussos, and Stout's unified model, Junker and Sijtsma's DINA model, the DINO model, and Henson, Templin, and colleagues' log-linear CDM. De la Torre's 2011 generalized DINA framework, which presents several commonly used CDMs as special cases of a general model, culminated this line of work. Rupp, Templin, and Henson's 2010 book presented the field as diagnostic measurement.
When to use it
Choose a cognitive diagnostic model when the purpose is to report mastery of specific, named skills for diagnostic or formative use, the construct can be decomposed into a modest number of discrete attributes, and a Q-matrix linking items to those attributes can be defended from cognitive theory. The method suits tests built around an explicit cognitive model, such as formative assessment or tutoring feedback. Standard CDMs rest on three assumptions. First, item responses are conditionally independent given the examinee's attribute profile, so once the profile is known, residual associations between items are assumed to vanish. Second, success probabilities are non-decreasing in the mastered attributes an item requires, so mastering more of the required attributes does not lower the chance of success. Third, the Q-matrix correctly describes which attributes each item uses. Violations of local independence or of the Q-matrix assumption can bias both parameter and attribute-classification estimates, so these should be checked before attribute profiles are relied upon. For choosing among models, the G-DINA framework supports item-by-item model estimation and item-by-item model comparison based on the Wald test, so a constrained model such as DINA or DINO can be tested for a given item against the saturated G-DINA model. Do not use CDMs when the construct is best treated as continuous and unidimensional, in which case IRT is the usual choice; when the attribute structure is unknown or unclear; or when the sample is too small for the parameters of a richer model. Q-matrix quality and adequate sample size are prerequisites, not refinements.
Limitations and considerations
- Critically dependent on a correctly specified Q-matrix; misspecification biases attribute classification.
- Estimating rich models with many attributes requires large samples, and the number of latent classes grows exponentially in K.
- Reliability of individual attribute classifications is often modest, limiting high-stakes individual use.
- Choosing among the many CDMs (DINA, DINO, G-DINA, LCDM) can be consequential and is not always clear-cut.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Produces actionable skill-level mastery profiles rather than a single score, directly supporting targeted instruction.
- A unified framework (e.g., G-DINA) nests many specific models, enabling principled model comparison and selection.
- Distinguishes examinees with identical total scores but different skill patterns, recovering information classical scoring discards.
- Connects assessment to an explicit cognitive theory encoded in the Q-matrix, strengthening construct validity.
Applications
- Diagnosing specific arithmetic or algebra sub-skills from mathematics assessment responses.
- Profiling reading or language sub-skills for targeted intervention.
- Driving feedback in intelligent tutoring systems and adaptive learning platforms.
- Retrofitting diagnostic information onto existing large-scale assessments via Q-matrix specification.
- Validating the cognitive structure of a test by comparing fitted attribute relationships to theory.
How it works
How it works
The Q-matrix is the backbone of any CDM: a J-by-K table whose entry is 1 when item j requires attribute k and 0 otherwise. It encodes expert judgment about the cognitive structure of the test and must be specified before fitting. A misspecified Q-matrix is a major source of error, so empirical Q-matrix validation methods are often applied.
Formula
Q = [q_{jk}],\ q_{jk}=1 \text{ if item } j \text{ requires attribute } kEach examinee is characterized by a binary vector indicating mastery (1) or non-mastery (0) of each of the K attributes. With K attributes there are up to 2^K latent classes (mastery profiles), and the model's job is to assign each examinee a posterior probability of membership in each profile.
Formula
\boldsymbol{\alpha}_i = (\alpha_{i1},\dots,\alpha_{iK}),\ \alpha_{ik}\in\{0,1\}In the DINA model, the simplest noncompensatory CDM, an examinee answers an item correctly with high probability only if they have mastered all attributes the item requires (the conjunctive latent response η). The slip parameter s is the chance a master slips and misses the item; the guess parameter g is the chance a non-master answers correctly anyway.
Formula
\eta_{ij}=\prod_{k=1}^{K}\alpha_{ik}^{q_{jk}},\quad P(X_{ij}=1\mid\eta_{ij}) = (1-s_j)^{\eta_{ij}}\,g_j^{\,1-\eta_{ij}}The generalized DINA (G-DINA) model of de la Torre relaxes the strict conjunctive rule by writing the success probability as a flexible function of the required attributes, with main effects and interaction terms. In its saturated form, G-DINA is equivalent to other general CDM formulations based on alternative link functions. Constraining the δ terms recovers several commonly used CDMs (such as DINA, DINO, and additive models), so G-DINA serves as an estimable general framework that nests them. In the formula, α*_lj denotes the reduced attribute vector collecting the attributes that item j requires for latent class l, and the δ parameters are estimated item by item.
Formula
P(X_{ij}=1\mid\boldsymbol{\alpha}^{*}_{lj}) = \delta_{j0}+\sum_k \delta_{jk}\alpha_{lk}+\sum_{k<k'}\delta_{jkk'}\alpha_{lk}\alpha_{lk'}+\cdotsCommon pitfalls
- Trusting an expert-built Q-matrix without empirical validation, propagating errors into every classification.
- Fitting a saturated model with many attributes on a small sample, yielding unstable and uninterpretable estimates.
- Reporting attribute mastery as if it were highly reliable when individual-level classification accuracy may be low.
- Applying a noncompensatory model (DINA) when the cognitive process is actually compensatory, or vice versa.
Frequently asked questions
What is the difference between a CDM and item response theory?
IRT places examinees on one or more continuous latent ability dimensions and reports a score; CDMs classify examinees into discrete mastery profiles over a set of named attributes and report which skills are mastered. IRT answers 'how much,' CDMs answer 'which skills.' CDMs are restricted latent class models, conceptually closer to latent class analysis than to continuous IRT, though both model item responses probabilistically.
What happens if the Q-matrix is wrong?
Q-matrix misspecification is a major threat to CDM validity. Omitting a required attribute or adding a spurious one distorts the item's response function and biases the resulting attribute classifications. For this reason, empirical Q-matrix validation methods are used to flag likely misspecified entries before final estimation, rather than relying on the expert-specified matrix alone.
What is the difference between the DINA, DINO, and G-DINA models?
DINA is noncompensatory and conjunctive: an examinee needs all required attributes to be expected to succeed. DINO is its disjunctive counterpart: any one of the required attributes suffices. G-DINA generalizes both by modeling the success probability with main effects and interactions of the required attributes, so DINA, DINO, and several other commonly used compensatory models emerge as constrained special cases, allowing data-driven choice among them.
Related methods
Sources
Rupp, A. A., Templin, J., & Henson, R. A. (2010). Diagnostic Measurement: Theory, Methods, and Applications. Guilford Press.
ISBN: 9781606235270de la Torre, J. (2011). The generalized DINA model framework. Psychometrika, 76(2), 179–199.
Open DOI reference