Deep Generative Models for Fast Photon Shower Simulation in ATLAS

Aishik Ghosh, Atlas CollaborationComput. Softw. big sci 2024

TL;DR

This paper explores using deep generative models (Variational Autoencoders and Generative Adversarial Networks) to accelerate the simulation of photon showers in the ATLAS experiment's electromagnetic calorimeter. These models achieve significant speedups (up to 100x) with minimal memory footprint, offering a promising avenue to complement existing simulation techniques for future physics analyses.

What Problem Does This Paper Address?

Simulating particle interactions within the ATLAS detector is crucial for comparing theoretical models with experimental data. However, detailed simulations using tools like GEANT4 are computationally intensive, creating a bottleneck in the analysis pipeline. While fast simulation techniques exist, they often rely on parameterizations that may not fully capture the complex stochastic nature of particle showers. This paper addresses the need for faster, yet accurate, simulation of electromagnetic showers initiated by photons, specifically within a challenging region of the ATLAS calorimeter.

Methods

The authors investigate two deep generative models:

  • Variational Autoencoders (VAEs): These models learn a compressed latent representation of the input data (calorimeter cell energies) and then reconstruct it. The VAE is conditioned on the incident photon's energy to generate showers of a specific energy. A key aspect is the use of a reparameterization of cell energies (normalized by layer total energy) to improve the model's ability to capture both shower shape and total energy.
  • Generative Adversarial Networks (GANs): Specifically, a gradient-penalty-based Wasserstein GAN (WGAN-GP) is employed. This involves a generator network that creates shower data and a critic network that tries to distinguish between generated and real (GEANT4) showers. To improve performance, a dual-critic system is used: one for shower shapes and another for total energy. The GAN is also conditioned on photon energy and impact position.

Both models learn directly from the real ATLAS detector geometry and cell readout data, a novel approach compared to previous studies using simplified models.

Datasets

  • Training Data: Simulated single-photon showers generated using GEANT4 with the standard ATLAS Run 2 geometry. Nine discrete photon energies were used, logarithmically spaced between 1 GeV and 262 GeV. Showers were uniformly distributed in a specific pseudorapidity range (0.20 < |η| < 0.25) and across the azimuthal angle. Each sample contained approximately 10,000 events per energy point.
  • Testing Data: Additional GEANT4 samples were produced with 5,000 photon showers per energy point. These were used to assess the models' performance when integrated into the full simulation chain.

Key Insights and Ideas

  • Geometry Matters: Using the actual ATLAS detector geometry, rather than simplified models, presents challenges but also allows for direct comparison with full simulations and a more realistic assessment of performance.
  • Reparameterization is Key: For VAEs, normalizing cell energies within each layer proved crucial for the model to simultaneously learn both shower shape and total energy, a task that was difficult with absolute energies.
  • Dual Critics for GANs: Employing separate critics for shower shape and total energy in the GAN significantly improved its ability to model both aspects of the shower, addressing limitations of single-critic GANs.
  • Interpolation vs. Extrapolation: Generative models excel at interpolation (predicting energies seen during training) but struggle with extrapolation (predicting energies far outside the training range), highlighting a trade-off in their application.
  • Qualitative Evaluation is Crucial: While quantitative metrics are important, visual inspection of numerous distributions remains essential for determining the best-performing generative model, especially given the stochastic nature of particle showers.

Key Results

  • Speedup: Both VAE and GAN models achieve generation times up to two orders of magnitude faster than GEANT4 simulation. For photons with energies of 8 GeV and above, the speedup is at least an order of magnitude.
  • Memory Footprint: The generative models require a very small memory footprint (around 5 MB) for generating showers.
  • Energy Modeling: The GAN generally reproduces the mean shower energy more accurately than the VAE, especially at lower energies where the VAE shows significant deviations.
  • Shower Shape Modeling: The VAE generally models shower shape distributions better on average than the GAN. However, the GAN, with additional conditioning parameters for impact position, captures underlying correlations that the VAE does not.
  • Longitudinal Shower Development: The VAE shows better agreement in modeling shower depth and its distribution compared to the GAN.
  • Interpolation: Models demonstrate good performance when interpolating to energies not seen during training (e.g., 25 GeV).
  • Extrapolation: Extrapolation to higher energies (e.g., 524 GeV) is more challenging, with total energy response being less accurately modeled.

Limitations and Future Work

  • Defining "Best Model": A significant challenge is quantitatively defining the "best" generative model. Due to the stochastic nature of showers, individual shower realism is hard to assess; instead, probability density functions and underlying correlations must be accurately modeled. Combining multiple physics distributions into a single performance score is non-trivial.
  • GAN Optimization: Optimizing GANs is complex due to their non-convergent training, requiring careful "epoch picking" and hyperparameter tuning.
  • Detector Coverage: Extending these models to other regions of the detector with varying cell granularity and layer combinations is a future challenge.
  • Downstream Task Performance: Evaluating the impact of these generative models on downstream tasks like particle reconstruction and identification algorithms is crucial for their practical application.
  • Future Improvements: For the GAN, improving longitudinal shower development is highlighted. For the VAE, better modeling of total shower energy is suggested. Further work is needed to avoid introducing discrepancies in key distributions that affect electron/photon identification.

Summary updated

BibTeX
@article{ghosh2024deep,
  author = {Aishik Ghosh and ATLAS Collaboration},
  title = {{Deep Generative Models for Fast Photon Shower Simulation in ATLAS}},
  journal = {Comput. Softw. big sci},
  year = {2024},
  doi = {10.1007/s41781-023-00106-9},
}
Figure