[Paper Review] Diagnosing model misspecification and performing generalized Bayes' updates via probabilistic classifiers
This paper proposes using probabilistic classifiers to diagnose model misspecification in Bayesian inference and guide generalized Bayes' updates via likelihood tempering. By training a classifier to distinguish between simulated data under a statistical model and observed data, the method estimates the log-likelihood ratio, whose expectation approximates the negative Kullback-Leibler divergence between the model and the true data-generating process, enabling robust model assessment and optimal tempering selection without requiring the true model.
Model misspecification is a long-standing enigma of the Bayesian inference framework as posteriors tend to get overly concentrated on ill-informed parameter values towards the large sample limit. Tempering of the likelihood has been established as a safer way to do updates from prior to posterior in the presence of model misspecification. At one extreme tempering can ignore the data altogether and at the other extreme it provides the standard Bayes' update when no misspecification is assumed to be present. However, it is an open issue how to best recognize misspecification and choose a suitable level of tempering without access to the true generating model. Here we show how probabilistic classifiers can be employed to resolve this issue. By training a probabilistic classifier to discriminate between simulated and observed data provides an estimate of the ratio between the model likelihood and the likelihood of the data under the unobserved true generative process, within the discriminatory abilities of the classifier. The expectation of the logarithm of a ratio with respect to the data generating process gives an estimation of the negative Kullback-Leibler divergence between the statistical generative model and the true generative distribution. Using a set of canonical examples we show that this divergence provides a useful misspecification diagnostic, a model comparison tool, and a method to inform a generalised Bayesian update in the presence of misspecification for likelihood-based models.
Motivation & Objective
- To address the challenge of detecting model misspecification in Bayesian inference, where posteriors concentrate on poor parameter values under large sample limits.
- To develop a method for selecting an optimal tempering level t in generalized Bayesian updating when the true data-generating model is unknown.
- To provide a diagnostic tool for model specification that does not require access to the true model or explicit likelihood computation.
- To integrate classifier-based density ratio estimation into Bayesian inference for improved robustness under misspecification.
Proposed method
- Train a probabilistic classifier to discriminate between observed data and data simulated from the statistical model under various parameter values.
- Use the classifier's odds ratio to estimate the ratio of the model likelihood to the true data-generating likelihood, enabling density ratio estimation.
- Compute the expected log-odds ratio under the true data-generating process as an approximation of the negative Kullback-Leibler divergence between the model and the true distribution.
- Use the estimated KL divergence as a diagnostic for model misspecification, with larger values indicating greater discrepancy.
- Apply a one-tailed t-test to the estimated log-ratio to assess whether the model is significantly misspecified (p-value < 0.05 indicates misspecification).
- Use the diagnostic to inform the choice of tempering parameter t in generalized posterior updates, avoiding overconfidence in misspecified models.
Experimental results
Research questions
- RQ1Can a probabilistic classifier reliably detect model misspecification in the absence of the true data-generating model?
- RQ2How well can the classifier-based estimate of the log-likelihood ratio approximate the true negative Kullback-Leibler divergence between the model and the true distribution?
- RQ3Can the estimated divergence be used to guide the selection of an optimal tempering parameter t in generalized Bayesian updating?
- RQ4How robust is the method to classifier calibration and model complexity, particularly when the true model lies outside the model class?
Key findings
- The classifier-based estimate of the expected log-odds ratio closely approximates the negative Kullback-Leibler divergence between the statistical model and the true data-generating process, providing a valid misspecification diagnostic.
- A one-tailed t-test on the estimated log-ratio provides a formal hypothesis test for misspecification, with p-values below 0.05 indicating significant model misfit.
- In all tested canonical models—Gaussian, Poisson, and linear regression—the method successfully detected misspecification when the true distribution differed from the assumed model (e.g., Laplace vs. Gaussian, negative binomial vs. Poisson).
- The method enables identification of an optimal tempering level t that balances prior information and data evidence, reducing overconfidence in misspecified models.
- The approach remains well-conditioned even in complex discrimination tasks where human intuition may fail, and underestimation of KL divergence is conservative in hypothesis testing.
- Supplementary figures confirm strong agreement between the true and classifier-estimated log-ratio across multiple model types and tempering levels.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.