ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: Do Bayesian Neural Networks Actually Behave Like Bayesian Models? — Problem 1: Martingale significance diagnostic omits initial-BMA integration uncertainty

Original paper: Gábor Pituk; Vik Shirvaikar; Tom Rainforth. Do Bayesian Neural Networks Actually Behave Like Bayesian Models?. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/pituk25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: Section 6, PDF p. 8; Figure 7, p. 9; Appendix E.1, p. 20; r02/bnn_hmc/run_martingale_vi_pretrain.sh, run_vi.py, ensemble_checkpoints.py and run_ensemble_retrained_vi.sh

Question: What does the recorded analysis establish about “Martingale significance diagnostic omits initial-BMA integration uncertainty”?
Bounded finding:
The finite-ensemble interval does not by itself distinguish an updating failure from unequal integration uncertainty. Improved expected score is also possible under exact Bayesian updating.
The population identity survives. Actual incoherence or an empirical ensemble gain may remain; no corrected empirical magnitude was measured.

Recorded check:
Section 6, p. 8, infers failure of Bayesian updating from deviations outside the bootstrapped martingale-posterior interval; Figure 7, p. 9, treats improved performance as falsifying coherence. Appendix E.1, p. 20, resamples only the imputed/retrained posterior groups. It does not include Monte Carlo uncertainty in the initial model average.
For VI the reported construction uses \(n=20\) groups and \(k=20\) samples per retrained posterior. The released `r02/bnn_hmc/run_martingale_vi_pretrain.sh` sets `vi_ensemble_size=20`. The evaluation in `r02/bnn_hmc/run_vi.py` averages that many stochastic predictions. The default in `ensemble_checkpoints.py` is also 20; `run_ensemble_retrained_vi.sh` resamples only retrained checkpoints (100 bootstrap replicates). No corresponding initial BMA resampling was found in that path. Thus the actual finite baseline cannot be treated as its exact expectation merely by increasing the number of retrained groups.
Take \(\Theta\sim\operatorname{Bernoulli}(1/2)\). At every pseudo-data input let \(Y\mid\Theta\sim\operatorname{Bernoulli}(1/2)\) independently of \(\Theta\). At the test input let the success probability be \(h(\Theta)=0.2+0.6\Theta\). All probabilities are valid and bounded; the pseudo-label likelihood is identical at both parameter values, so every exact updated posterior is exactly the original posterior. Joint predictive sampling, normalization and the displayed formula all hold. Independent exact posterior draws are permitted.
Write \(A\) for a 20-draw mean of \(\Theta\), and \(M\) for the mean of 20 groups of 20 exact draws. Then \[\mathbb EA=\mathbb EM=\tfrac12,\quad
\operatorname{Var}(A)=\tfrac1{80},\quad
\operatorname{Var}(M)=\tfrac1{1600},\quad
\operatorname{Var}(A-M)=\tfrac{21}{1600}.\] An interval estimating uncertainty of \(M\) alone omits the dominant term. The normal approximation gives coverage \(2\Phi(1.96/\sqrt{21})-1=0.3311\), rather than 0.95. This is a diagnostic approximation, not an assertion of exact finite coverage.
The independently written `check.py` uses the actual discrete group-resampling rule: 10,000 independent null trials, 20 groups of 20 draws, 1,000 bootstrap replicates per trial, seed 224, percentile endpoints 0.025 and 0.975. It records a false-rejection rate \(0.6775\), with Monte Carlo standard error \(0.00467\). Its bootstrap replicate count differs from the released 100; the analytical missing-variance defect does not depend on that choice. The affine map from \(\Theta\) to \(h\) preserves interval exclusion. For a positive-label test case, the monotone log score does as well.
Improved expected log score can arise under this null without any update error: exact binomial summation gives \(-0.70239651\) for 20-draw integration and \(-0.69359779\) for 400 independent draws. This follows from averaging and concavity, despite identical posteriors.
The error is in the inference from the finite comparison to non-Bayesian updating, not in Proposition 6.1 or in an interval for \(M\) alone. Resampling whole groups correctly preserves within-group dependence. The released classification path averages probabilities after softmax; its pseudo-label generator samples one parameter vector for the entire label vector. Neither operation is a defect.
The null is a calibration counterexample to the diagnostic, not a simulation of CIFAR or a claim that the observed gap is Monte Carlo noise. The experiment may still show a real incoherence or a useful ensemble gain. A corrected comparison must estimate the initial integration error as well, propagate covariance if samples are coupled, and use a confidence interval for the difference, or make the baseline integration error demonstrably negligible. Matched-budget exact-update controls would test the complete procedure. These repairs have not been run on the published experiment.

Case-wide limitations:
- Limitations: No author code executed, no training/checkpoints/raw predictions reproduced.
- Limitations: Historical figure-to-commit and exact historical Optax dependency versions are not bound.
- Limitations: Actual CIFAR/IMDB gaps after two-estimator error correction are unknown.
- Limitations: Possible separate OpenReview supplement inaccessible403.
- Limitations: External reference results and later revisions/errata not exhaustively reviewed.
- P1 — Martingale significance diagnostic omits initial-BMA integration uncertainty — Counterevidence: Proposition6.1 correct; whole-groupbootstrap andjointlabel generation correct; probabilitiesaveraged aftersoftmax. Actual empiricalgap maypersist; no measuredcorrection.
- P2 — Laplace method substitutes squared aggregate MAP gradient for curvature — Counterevidence: Shrinkagedisclosed andfullrankcontrolsmentioned; currentAPI nothistoricalversion; actualfigurescommitmappingunknown.
- P3 — Printed SGLD score drift is reversed — Counterevidence: r02actualcode addspositivescore, correctsign. No claimexperimentsranprintedanti-diffusion.
- P4 — Atomic-to-continuous KL illustration and claimed mixing optimum invalid — Counterevidence: General possibilityofBayesianmisspecificationharm survives; localillustrationindependentofmaincoherenceexperiments.
- P5 — Released 4080-example launch conflicts with prediction batching assertion — Counterevidence: Historicalexperimentcode/versionunknown; noexecutionwasattempted.
- Unresolved: Auxiliaryconditionalleadonly; numberofdevices/historicalexecutionunknown; notpromoted
- Limits: No author code executed, no training/checkpoints/raw predictions reproduced.
- Limits: Historical figure-to-commit and exact historical Optax dependency versions are not bound.
- Limits: Actual CIFAR/IMDB gaps after two-estimator error correction are unknown.
- Limits: Possible separate OpenReview supplement inaccessible403.
- Limits: External reference results and later revisions/errata not exhaustively reviewed.
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
For both VI and SGLD, individual imputed posteriors underperform the initial BMA, but their martingale ensemble outperforms it.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 9
Source PDF SHA-256: 1534e26ef8f2c9b04313976971c1a208be792252891868792204b724af99f04a

Review status: Independent review pending
Case: icml2025-0224-do-bayesian-neural-networks-actually-behave-like-bayesian-models
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0224-do-bayesian-neural-networks-actually-behave-like-bayesian-models.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0224-do-bayesian-neural-networks-actually-behave-like-bayesian-models/records/icml2025-0224-do-bayesian-neural-networks-actually-behave-like-bayesian-models.r1.json
Canonical record SHA-256: 4546da93170479d3c6ab025d2b27f60dc4fa0878074d6352f936d085e3c499c1
The page follows the latest revision; the versioned record identifies this snapshot.