Simulator-Based Inference with WALDO: Confidence Regions by Leveraging Prediction Algorithms and Posterior Estimators for Inverse Problems

Luca Masserano, Tommaso Dorigo, Rafael Izbicki, Mikael Kuusela, Ann B. Lee

Introduction

In scientific disciplines ranging from high-energy physics to cosmology, researchers frequently encounter "inverse problems." These problems involve observing an effect (data $x$) and attempting to infer the underlying cause (parameters $\theta$). When the physical processes are too complex for analytical likelihood functions, scientists rely on high-fidelity simulators—a field known as Simulator-Based Inference (SBI).

While modern machine learning tools like Deep Neural Networks (DNNs) and Normalizing Flows have revolutionized SBI, they often suffer from an "honesty" problem. Specifically, these models frequently produce overconfident results, where a claimed 95% confidence interval might only contain the true parameter value 10% of the time for certain inputs. This failure of conditional coverage can lead to false discoveries or overlooked phenomena in critical scientific research.

The WALDO Framework

To address these challenges, the authors propose WALDO (Wald-inspired Amortized Likelihood-free Diagnostics and Optimization). This framework bridges classical frequentist statistics with modern machine learning to construct statistically valid, "honest" confidence regions.

The WALDO framework pipeline: from simulator to test statistics and critical values, leading to Neyman inversion and validated confidence regions.

The WALDO methodology consists of four key components:

  1. Reframed Wald Test: WALDO replaces the traditional maximum likelihood estimator with the output of any prediction algorithm (e.g., a CNN) or posterior estimator (e.g., a Normalizing Flow) to calculate a robust test statistic.
  2. Efficient Neyman Inversion: Standard Neyman construction is computationally prohibitive. WALDO utilizes quantile regression to learn critical values across the entire parameter space simultaneously, making the process feasible for complex models.
  3. Amortization: Once trained, the system can generate valid confidence regions for new observations almost instantaneously.
  4. Independent Diagnostics: A built-in diagnostic tool uses probabilistic classification to verify that the constructed regions meet the target coverage levels.

Key Insights: Prior Independence and Efficiency

A significant advantage of WALDO is its prior independence. Unlike standard Bayesian methods, WALDO guarantees correct coverage regardless of the prior distribution used during training. Even if initial parameter assumptions are incorrect, the resulting intervals remain statistically valid.

Furthermore, WALDO automatically corrects for prediction bias. If a DNN consistently underestimates a value, WALDO recognizes this pattern and adjusts the confidence intervals accordingly. Compared to traditional Monte Carlo methods for Neyman construction, WALDO is orders of magnitude more efficient, requiring significantly fewer simulations to achieve calibration.

Experimental Results

The researchers evaluated WALDO on two benchmarks: a Gaussian Mixture Model and a high-stakes Muon Energy Reconstruction task using the GEANT4 simulator.

Comparison of parameter regions and empirical coverage. WALDO maintains a steady 95% coverage across the parameter space, whereas other methods show significant drops.

In the Gaussian benchmark, standard posterior methods saw coverage drop as low as 0–10% in certain regions. In contrast, WALDO maintained a consistent 95% coverage. In the muon energy task, WALDO successfully corrected the downward bias of standard CNN predictions, providing intervals that were both more precise and statistically valid.

Limitations and Future Outlook

While highly efficient compared to previous methods, WALDO still requires substantial initial compute time for training (e.g., 40+ hours for complex physics models). Additionally, while it handles high-dimensional data well, very high-dimensional parameter spaces may still challenge the quantile regression step. Future work may involve "active learning" to adaptively select simulations, further reducing computational costs.

Summary updated

BibTeX
@inproceedings{masserano2023simulator,
  author = {Luca Masserano and Tommaso Dorigo and Rafael Izbicki and Mikael Kuusela and Ann B. Lee},
  title = {{Simulator-Based Inference with WALDO: Confidence Regions by Leveraging Prediction Algorithms and Posterior Estimators for Inverse Problems}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
}
Figure