Bayesian Model Comparison
- Bayesian model comparison is a framework that evaluates competing probabilistic models by computing marginal likelihoods and Bayes factors, balancing model fit against complexity.
- The Hyvärinen score is a proper scoring rule that remains invariant to prior scaling, making it useful when dealing with improper or vague priors and complex models.
- Advanced computational techniques such as sequential Monte Carlo methods enable robust and efficient model comparisons even in high-dimensional or latent variable settings.
Bayesian model comparison is the framework within Bayesian statistics for quantifying the relative plausibility of competing probabilistic models given observed data. The cornerstone of this framework is the calculation of marginal likelihoods (or model evidences) and their ratios—Bayes factors—which balance model fit and complexity in a principled manner. Modern research has advanced both the theoretical foundation and computational methodology for Bayesian model comparison, spanning improper-prior settings, high-dimensional and hierarchical models, simulation-based inference, and approaches beyond the classical Bayes factor.
1. Foundations: Marginal Likelihoods, Bayes Factors, and Interpretability
The marginal likelihood, or model evidence, for a statistical model with parameter vector and data is defined as
where is the prior and the likelihood. For two models and , their relative support is quantified by the Bayes factor: The logarithm of the Bayes factor admits several interpretations, e.g., as a sum of out-of-sample log predictive scores, and its asymptotic behavior under repeated sampling can be linked to Kullback–Leibler divergences between the true data-generating process and each model. Specifically, under regularity, converges almost surely to , providing a frequentist justification for Bayesian model comparison in the so-called M-open setting (Shao et al., 2017).
A fundamental issue arises when marginal likelihoods are computed under vague or improper priors: the evidence and Bayes factor become arbitrarily defined up to multiplicative (respectively, additive in log) constants, undermining their operational meaning (Bartlett’s paradox). This motivates alternative scoring-based approaches or specialized workflows that restore interpretability.
2. Proper Scoring Rules and the Hyvärinen Score
Proper scoring rules generalize the log-score () used in standard Bayesian model selection. The Hyvärinen score, defined for a twice-differentiable density as
is homogeneous of order 0, i.e., invariant to normalization of , making it well-suited for situations with improper or vague priors.
Prequentially, for sequence data , the accumulated Hyvärinen score for a model is given by
and models are compared via , termed the “H-factor.” In the large-sample limit, this difference converges to the difference in Fisher (score) divergences between the two models and the data-generating process, providing strong consistency results in both iid and state-space settings (Shao et al., 2017). The Hyvärinen score thus retains operational interpretability even when the Bayes factor does not, and can be empirically computed using sequential Monte Carlo (SMC/SMC) estimators of the relevant score moments in both tractable and intractable likelihood models.
3. Theoretical Properties and Asymptotics
Both the Bayes factor and the Hyvärinen-based H-factor select the model closest in divergence (KL for the Bayes factor; Fisher divergence for the Hyvärinen score) to the true data law in the M-open world. For non-nested models, the large-sample behavior is governed by these divergence differences. For nested models, the Hyvärinen score introduces a log-sample-size penalty analogous to the BIC penalty in the log-Bayes factor,
where is the difference in model dimensionality (Shao et al., 2017).
The Hyvärinen score is also constructible for discrete data using finite-difference approximations, preserving its local, homogeneous, and proper properties. This enables its deployment in discrete latent diffusion models and other settings relevant to population dynamics and stochastic process modeling.
4. Practical Algorithms and Computation
Calculation of the Hyvärinen score for each observation entails evaluating the derivatives of the log predictive distribution, which under regularity conditions may be replaced by posterior expectations and variances: where denotes expectation under the posterior . For nonlinear non-Gaussian state-space models, the required derivatives can be written as expectations over both parameters and latent states, amenable to SMC estimators (Shao et al., 2017).
Algorithmic workflow (for parametric models):
- Initialize parameter particles and weights.
- For each time , update weights with predictive likelihoods, resample as needed, and apply MCMC steps.
- At each time, estimate the required partial derivatives and accumulate the Hyvärinen score increment.
For hierarchical or doubly-intractable models, the Hyvärinen score can be implemented using particle filters nested within SMC schemes, provided one can differentiate the state and observation models.
5. Robustness to Priors and Empirical Examples
The main operational advantage of the Hyvärinen score is its invariance to the normalization of , which ensures well-posed model comparison even when improper priors are used. This property was illustrated in numerical studies comparing (i) Lévy-driven stochastic volatility models with intractable transition and measurement densities and (ii) population diffusion models for red kangaroo counts with discrete latent states and improper uniform priors. In both cases, the Hyvärinen criterion selected the true or simplest model and was stable to prior scaling, whereas the Bayes factor’s numerical value could be arbitrarily shifted by changes to the prior normalizing constant (Shao et al., 2017).
6. Comparison with Classical Evidence-Based Criteria
While Bayes factors remain preferred when priors are proper and scientific prior-sensitivity is warranted, the H-factor and similar proper scoring-rule criteria present a pragmatic alternative when (i) uninformative or diffuse priors are unavoidable, (ii) marginal likelihoods are not available in closed form or are intractable, or (iii) nested models with subtle parameter redundancy are compared. The Hyvärinen score offers consistency, robustness, and efficient computability via SMC methods, positioning it as a rigorous solution for Bayesian model comparison beyond the constraints of the traditional evidence framework.
7. Summary and Outlook
Bayesian model comparison underpins model selection in modern statistical science, with the Bayes factor as its canonical tool. However, improper priors, high dimensionality, latent variable models, and simulation-based scenarios necessitate principled alternatives. The Hyvärinen score provides a robust, consistent, and computationally efficient approach based on homogeneous proper scoring rules, circumventing the limitations imposed by prior normalization. Empirical and theoretical results confirm its suitability for a wide range of parametric and nonparametric modeling contexts, especially in doubly-intractable or improper-prior scenarios, such as those encountered in population dynamics and stochastic volatility modeling (Shao et al., 2017).