Definition
The Deviance Information Criterion (DIC) (Spiegelhalter, Best, Carlin, and van der Linde 2002) is a Bayesian model-comparison criterion for hierarchical models, designed to be computed trivially from MCMC output. Writing the deviance D(θ)=−2logp(y∣θ), DIC combines a measure of fit (the posterior mean deviance) with a penalty for the effective number of parameters pD:
DIC=D+pD=D(θˉ)+2pD,pD=D−D(θˉ),
where D=Eθ∣y[D(θ)] is the posterior-mean deviance and θˉ is the posterior mean of the parameters. Lower DIC indicates better expected out-of-sample predictive performance; like AIC it trades goodness-of-fit against complexity, but it estimates complexity from the posterior rather than by counting parameters.
Key Ideas
- Effective number of parameters. pD=D−D(θˉ) measures how much the fit improves on average over the fit at the posterior mean — a data-driven "effective dimension" that automatically accounts for the shrinkage of hierarchical/random-effects parameters (so a model with many random effects counts far less than its nominal parameter count).
- Trivial to compute from MCMC. Both D (average −2logp(y∣θs) over draws) and D(θˉ) come directly from posterior simulations — which is why DIC was built into BUGS/WinBUGS and became ubiquitous in applied Bayesian work.
- Relation to AIC. When the posterior is approximately normal and the prior is weak, pD≈ the number of parameters and DIC ≈ AIC; DIC generalizes AIC to hierarchical models where the parameter count is ambiguous.
- A plug-in, not fully Bayesian, criterion. DIC evaluates the fit term at the posterior point estimate θˉ, unlike WAIC, which averages the predictive density over the whole posterior.
Why It Matters
- The historical default. For a decade DIC was the standard automatic model-comparison number for Bayesian hierarchical models, because it required no extra computation beyond the MCMC already run.
- Superseded by WAIC / PSIS-LOO. More recent work (Vehtari–Gelman–Gabry 2017; Watanabe 2010) shows DIC's weaknesses and recommends WAIC or PSIS-LOO instead, so DIC is now mostly of historical and diagnostic interest.
Open Questions / Problems
- Not fully Bayesian. Because it plugs in the posterior mean θˉ, DIC is not invariant to reparametrization (a different parametrization gives a different θˉ and hence a different DIC).
- Negative pD. For some models the effective number of parameters comes out negative, which is uninterpretable and signals that the posterior-mean plug-in is a poor summary (e.g. strongly non-normal or multimodal posteriors, mixtures).
- Fails for singular models. DIC is problematic or undefined for singular models (mixtures, latent-variable models); Watanabe shows it is not asymptotically equivalent to Bayesian cross-validation there, unlike WAIC.
- Choice of focus. DIC depends on which parameters are treated as "in the model" (the level at which the likelihood is defined), so the same model can yield different DICs.
Related