Hierarchical Neural Simulation-Based Inference Over Event Ensembles
Lukas Heinrich, Siddharth Mishra-Sharma, Chris Pollard, Philipp Windischhofer
TL;DR
This work addresses inference for datasets composed of event ensembles governed by hierarchical forward models with global parameters $\\theta$ and local parameters $\\{z_i\\}$. It introduces dataset-wide, hierarchy-aware neural simulational inference methods that estimate either posterior distributions or likelihood ratios directly from simulations, using deep-set and transformer architectures to handle varying dataset cardinality and nuisance parameters. The methods are demonstrated across toy multivariate normal, particle-physics mixture models (frequentist and Bayesian settings), and an astrophysical strong-lensing example, showing tighter parameter constraints and substantial speedups over traditional techniques while preserving calibration. Overall, the approach enables scalable, amortized inference for complex hierarchical data in physics, astronomy, and related fields, with real-time updating capabilities and robust performance across diverse problem settings.
Abstract
When analyzing real-world data it is common to work with event ensembles, which comprise sets of observations that collectively constrain the parameters of an underlying model of interest. Such models often have a hierarchical structure, where "local" parameters impact individual events and "global" parameters influence the entire dataset. We introduce practical approaches for frequentist and Bayesian dataset-wide probabilistic inference in cases where the likelihood is intractable, but simulations can be realized via a hierarchical forward model. We construct neural estimators for the likelihood(-ratio) or posterior and show that explicitly accounting for the model's hierarchical structure can lead to significantly tighter parameter constraints. We ground our discussion using case studies from the physical sciences, focusing on examples from particle physics and cosmology.
