Generative models uncertainty estimation

Lucio Anderlini, Constantine Chimpoesh, Nikita Kazeev, Agata ShishiginaJournal of Physics Conference Series 2022

Abstract

In high-energy physics (HEP), researchers rely heavily on simulations to understand detector responses. While gold-standard tools like Geant4 are highly accurate, they are computationally expensive. Generative models like GANs offer a "fast simulation" alternative, but they lack theoretical guarantees or error bars. This paper introduces novel methods for estimating uncertainty in Generative Adversarial Networks (GANs) by combining "adversarial ensembles" with a distillation technique to flag unreliable simulations in sparse regions of phase space.

The Challenge of Black-Box Simulations

Traditional physics models provide error bars, but GANs do not. This is particularly dangerous in regions of phase space where training data is sparse. If a GAN produces a realistic-looking but slightly incorrect result in a sparse region, researchers might mistake an artifact for a discovery. This research seeks to bridge this gap by providing a reliable way to quantify a generative model's confidence.

Methodology

The authors explore three primary techniques to generate robust uncertainty estimates:

  1. Structured MC Dropout: A variation of standard Monte Carlo dropout where neurons and their neighbors are zeroed out together, improving uncertainty estimates for detector data.
  2. Adversarial Deep Ensembles: The core innovation involves modifying the Cramer GAN loss function with a diversity term ($\alpha$). This term penalizes models in the ensemble for being too similar, forcing them to explore different local minima and providing a more robust estimate of model disagreement.
  3. Uncertainty Distillation: To maintain the speed of "fast simulation," the knowledge of the ensemble is distilled into a single, lightweight regressor that predicts the variance of the ensemble's output.

Experimental Setup

The study utilizes real-world data from the LHCb RICH (Ring-Imaging Cherenkov) detector at CERN, consisting of approximately 2 million calibration samples. The models take kinematic variables (momentum $P$, pseudorapidity $\eta$, and track count) as inputs to predict Delta log-likelihoods (RichDLL) used for particle identification.

Key Results and Insights

The primary goal was to ensure that uncertainty bounds are wide enough to "swallow" errors when the model is inaccurate.

Background efficiency vs. momentum for RichDLLK (a) and RichDLLmu (b), comparing data with model predictions and uncertainty bounds.

In-Domain Reliability

In standard testing with a uniform data split, the real data efficiency fell within the predicted uncertainty bounds for the majority of bins, successfully meeting the target of 68% coverage.

Extrapolation and Out-of-Domain Performance

The authors performed an "extrapolation scan," training the model on one part of the phase space and testing it on another. As the model moved further from the training data, the uncertainty bounds correctly widened.

Background efficiency across different test bands, illustrating how uncertainty estimates behave during extrapolation beyond the training data (vertical dashed line).

However, a key "Aha" moment occurred when the models failed to predict qualitative changes in physics—such as a sudden increase in background efficiency—that were absent from the training set. For instance, while muon uncertainty bands contained real data trends, kaon models underestimated uncertainty in the furthest test bands due to an unpredicted "U-turn" in background efficiency.

Limitations and Future Work

While these methods represent a significant advancement, they still underestimate uncertainty in extreme extrapolation regions. Purely data-driven models struggle when underlying detector conditions change in ways not captured by the training set. Future work will focus on incorporating physical constraints to better handle qualitative changes and evaluating how these uncertainties propagate through to final physics measurements, such as mass peaks.

Summary updated

BibTeX
@misc{anderlini2022generative,
  author = {Lucio Anderlini and Constantine Chimpoesh and Nikita Kazeev and Agata Shishigina},
  title = {{Generative models uncertainty estimation}},
  year = {2022},
  eprint = {2210.09767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.09767},
}
Figure