← All papers
First page of Coherent Amortized Evidence Synthesis for Hierarchical Bayesian Models

Coherent Amortized Evidence Synthesis for Hierarchical Bayesian Models

Tomoya Wakayama, Sudipto Banerjee

stat.ME Dec 1, 2026 · v1 cs.LG math.ST stat.CO stat.ML
All mathematical claims, including appendix results on exact posterior reconstruction and hyperposterior convergence, are formally verified in Lean 4, with a public repository.
Hierarchical Bayesian inference often requires repeating expensive integrations over group-specific local parameters whenever data groups are added, removed, or recombined, or when hyperpriors are revised. This paper introduces Coherent Amortized Marginal Evidence Learning (CAMEL), a framework that preserves and reuses group-level calculations by learning a finite-dimensional basis expansion of each group's log integrated likelihood (group evidence) modulo additive constants. CAMEL maps each group to a coefficient vector; these vectors aggregate strictly through vector addition, enabling exact batch or sequential group addition, leave-one-out group deletion, partition merging, and hyperprior updates without re-evaluating neural encoders or recomputing lower-level integrals. We characterize the information required for exact posterior reconstruction, proving that identifying the group log integrated likelihood up to an additive constant is necessary and sufficient for exact reanalysis under arbitrary admissible hyperpriors. To manage how approximation errors accumulate across many groups, we provide asymptotic theoretical assurances based on hyperparameter score gradients, establishing conditions under which the approximate hyperposterior converges in total variation to the exact hyperposterior with an identical Bernstein-von Mises limit. Empirical evaluations on replicated spatial Gaussian processes and agricultural uniformity trial applications demonstrate that CAMEL accurately recovers exact hyperposteriors and preserves downstream inferences under flexible model and data reanalyses.

Hierarchical Bayesian inference must redo expensive integrations over group-specific latent parameters whenever groups are added, removed or recombined, or when hyperpriors change.

CAMEL learns a finite-dimensional basis expansion of each group's log integrated likelihood, modulo additive constants. A permutation-invariant encoder (Set Transformer) maps each group to a coefficient vector. Vectors combine by addition, so group addition, deletion, partition merging and hyperprior updates need no re-encoding. The theory covers necessary and sufficient conditions for exact reanalysis and total-variation convergence with a matching Bernstein–von Mises limit, and is formally verified in Lean 4.

On replicated spatial Gaussian processes and 24 agricultural uniformity-trial fields, CAMEL recovers exact hyperposteriors accurately. It also preserves downstream inferences under field addition, leave-one-field-out deletion and hyperprior replacement.

Figure 1. Agricultural uniformity trials used in the application. Left: centered log yields for four representative fields, illustrating variation in spatial layout, resolution, and within-field spatial pattern. Right: heterogeneity across the 24 retained fields in the number of observations, physical area, and aspect ratio. Each field is treated as one group in the hierarchical analysis. Field co