ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: The Disparate Benefits of Deep Ensembles — Problem 5: The Bayesian likelihood-ratio derivation interchanges log and expectation

Original paper: Kajetan Schweighofer; Adrián Arnaiz-Rodríguez; Sepp Hochreiter; Nuria Oliver. The Disparate Benefits of Deep Ensembles. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/schweighofer25a.html
Source version: PMLR 267 published version fetched from supplied mlresearch source URL
Source location: AppendixC Eq12-15pp15-16

Question: What does the recorded analysis establish about “The Bayesian likelihood-ratio derivation interchanges log and expectation”?
Bounded finding:
\(K=1\) equal posterior likelihoods.9,.1 yieldsratio0 butDIVlog(5/3); missing joint Jensen gap derived. Read AppendixC physical pp15-16 Eq12-15 and main Section6 Eq8. Eq15 attributes its approximation to sampled posterior integration but also interchanges log and expectation of the joint likelihood. A finite two-point posterior with weights1/2 and strictly positive likelihoods .9,.1 is valid. AtK1 both exact marginal likelihoods are.5, so there is no Monte Carlo error to explain the gap. Decisive check. \(K=1\) log ratio: 0.0. Decisive check. \(K=1\) diversity: 0.5108256237659906. Decisive check. K2 log ratio: -0.49469624183610705. Decisive check. K2 sum diversity: 1.0216512475319812. Decisive check. Missing joint jensen gap: 1.5163474893680882. K*meanDIV = \(\log(\bar p/p)\) + log E[L] - E[log L]. Eq8 remains exactly the mean member NLL minus ensemble NLL at common inputs. The empirical diversity diagnostic and experiments do not invoke Eq15 as a theorem certifying their causal effect. The exact equality can hold for constant joint likelihood but that assumption is absent. Valid Eq8 NLL identity does not depend on erroneous Bayesian motivation. An invalid Bayesian ratio interpretation, not the defining NLL identity. The bounded Minor assessment rests on this dependency analysis, not appendix location or ease of repair. Minor retained. Replace the interpretation with the identity including the joint Jensen gap and fix Eq11 to P(X|Y,A)P(Y|A)=P(Y|X,A)P(X|A). No claim that changing an approximation sign alone fixes it.

Recorded check:
Appendix C defines \(p(D')=\mathbb E_w\prod_{k=1}^K p(y_k\mid x_k,w)\) and \(\bar p(D')=\prod_{k=1}^K\mathbb E_w p(y_k\mid x_k,w)\). Equation (15), p. 16, then identifies \(\log(\bar p(D')/p(D'))\) with \(K\overline{\mathrm{DIV}}\). This is false even for a finite posterior with two equally weighted parameter values and \(K=1\).
Take likelihoods \(0.9\) and \(0.1\). Both marginal likelihoods equal \(0.5\), so the log ratio is zero, whereas \(\overline{\mathrm{DIV}}=\log(0.5)-\tfrac12\log(0.9)-\tfrac12\log(0.1)=\log(5/3)\). No Monte Carlo approximation is involved. For two observations with those same likelihood columns, the log ratio is \(\log(0.25/0.41)<0\), while \(2\overline{\mathrm{DIV}}>0\). The missing term is the joint-likelihood Jensen gap: \[K\overline{\mathrm{DIV}}=\log\frac{\bar p(D')}{p(D')}+\log\mathbb E_w L(w)-\mathbb E_w\log L(w),\qquad L(w)=\prod_k p(y_k\mid x_k,w).\] This is Minor in overall scope because Equation (8)’s predictive-diversity definition and its exact NLL improvement remain valid without the incorrect Bayesian interpretation. Replace the derivation and its stated interpretation; a typographical repair to the approximation sign is insufficient. The factorization in Equation (11), p. 15, also needs the appropriate label prior in the chain rule rather than multiplying two input conditionals.

Case-wide limitations:
- Limitations: Current source does not establish historical experimental provenance.
- Limitations: No author code executed or imported; no datasets/checkpoints/raw predictions reproduced.
- Limitations: Complete static reading limited to named core files/notebooks; other ancillary implementations not audited.
- Limitations: All source figures viewed qualitatively, not digitized.
- Limitations: Patient overlap and interpolation-sweep implementation not established.
- P1 — Counterevidence: The exact per-run absolute means and p-values are unavailable; because P2 also finds aggregation mismatches, the signed numbers are a compatible diagnostic, not a recovered raw run. Positive-gap cases and AOD can still support some disparate benefits.
- P2 — Counterevidence: The complement error would produce large values unlike published small deltas, so it cannot be asserted as their actual origin. Different scripts/checkpoints/aggregation can explain the inconsistency but are not identified. Performance gains remain positive in the tabulated example.
- P3 — Counterevidence: Historical code could use fixed inputs and the actual numerical bias cannot be recovered. A model invariant to the changing image would not show this artifact; the issue is failure to isolate model variation, not inevitable positive bias in every metric.
- P4 — Counterevidence: The example proves possible artificial degradation, not empirical direction or size; if members share suitable scales/predictions the effect can vanish. Historical source may differ, and medical HPP was not audited for this index error.
- P5 — Counterevidence: Eq8 remains exactly the mean member NLL minus ensemble NLL at common inputs. The empirical diversity diagnostic and experiments do not invoke Eq15 as a theorem certifying their causal effect. The exact equality can hold for constant joint likelihood but that assumption is absent.
- 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: p5
Source report index: 5

Original source excerpts (verbatim):
We empirically investigate this effect using popular facial analysis and medical imaging datasets with protected group attributes and find that it affects multiple established group fairness metrics, including statistical parity and equal opportunity.
Source: PMLR 267 published version fetched from supplied mlresearch source URL
Locator: PDF p. 1, Abstract
Source PDF SHA-256: bf50a06a273f6059650861f89cf165c14fc2347b868f70cb98a1a768c205125a

Review status: Independent review pending
Case: icml2025-0398-the-disparate-benefits-of-deep-ensembles
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0398-the-disparate-benefits-of-deep-ensembles.html#problem-5
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0398-the-disparate-benefits-of-deep-ensembles/records/icml2025-0398-the-disparate-benefits-of-deep-ensembles.r1.json
Canonical record SHA-256: 6cb9ccac085a13455a9b53f040d3c7fa5e5c59c87f521a09c1013806ad504c3c
The page follows the latest revision; the versioned record identifies this snapshot.