Coherent Amortized Evidence Synthesis for Hierarchical Bayesian Models

Wakayama, Tomoya, Banerjee, Sudipto

–arXiv.org Artificial Intelligence 

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.