NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CaloGAN: Simulating 3D High Energy Particle Showers in Multi-Layer Electromagnetic Calorimeters with Generative Adversarial Networks

Michela Paganini, Luke de Oliveira, Benjamin Nachman · DOI

Abstract

The precise modeling of subatomic particle interactions and propagation through matter is paramount for the advancement of nuclear and particle physics searches and precision measurements. The most computationally expensive step in the simulation pipeline of a typical experiment at the Large Hadron Collider (LHC) is the detailed modeling of the full complexity of physics processes that govern the motion and evolution of particle showers inside calorimeters. We introduce CaloGAN, a new fast simulation technique based on generative adversarial networks (GANs). We apply these neural networks to the modeling of electromagnetic showers in a longitudinally segmented calorimeter, and achieve speedup factors comparable to or better than existing full simulation techniques on CPU ($100\times$-$1000\times$) and even faster on GPU (up to $\sim10^5\times$). There are still challenges for achieving precision across the entire phase space, but our solution can reproduce a variety of geometric shower shape properties of photons, positrons and charged pions. This represents a significant stepping stone toward a full neural network-based detector simulation that could save significant computing time and enable many analyses now and in the future.

Introduction: The Simulation Bottleneck at the LHC

In particle physics, simulation is a cornerstone of discovery. To identify new physical phenomena at the Large Hadron Collider (LHC), researchers must compare experimental data against billions of simulated "events." Currently, the gold standard for this is Geant4, a toolkit that meticulously models every interaction a particle undergoes as it traverses matter.

However, Geant4 is computationally expensive. Simulating a single particle shower in a calorimeter—the detector component measuring energy—can take minutes. As the LHC enters its "High-Luminosity" phase, the required volume of simulated events will exceed current global computing capacity. CaloGAN addresses this "computing crisis" by reframing detector simulation as a generative image synthesis task.

The CaloGAN Architecture

The authors introduce CaloGAN, a specialized Generative Adversarial Network (GAN) designed to generate 3D energy depositions across three layers of a liquid argon (LAr) calorimeter. Unlike standard GANs used for natural images, CaloGAN must handle the unique geometric and physical constraints of a particle detector.

The CaloGAN generator architecture uses parallel streams to produce energy depositions for three calorimeter layers with varying granularities.

Key technical innovations include:

  • Multi-Stream Architecture: Because detector layers have different spatial resolutions (granularities), the generator uses parallel streams to produce three distinct "images"—one for each layer.
  • Attentional Layer-to-Layer Dependence: Particle showers develop sequentially. CaloGAN employs a trainable mechanism where the generation of a subsequent layer is informed by the energy patterns of the previous one, ensuring longitudinal consistency.
  • Domain-Specific Discriminator: The discriminator is augmented with physics-specific features, such as total deposited energy and sparsity levels, to distinguish real showers from generated ones more effectively.
  • Energy Conditioning: The model is conditioned on initial particle energy ($E$), allowing it to generate showers for any energy between 1 and 100 GeV. A Mean Absolute Error (MAE) term in the loss function enforces "soft" energy conservation.

Physics-Informed Deep Learning

A standard GAN often fails to respect physical laws. By adding an auxiliary task to the discriminator—reconstructing the total energy—the authors force the model to respect the law of conservation of energy.

A 3D visualization of a particle shower traversing three calorimeter layers, showing the varying granularity and energy deposition patterns.

The model was trained on 100,000 Geant4-simulated showers for three particle types: positrons ($e^+$), photons ($\gamma$), and charged pions ($\pi^+$). While electromagnetic showers (from $e^+$ and $\gamma$) are relatively regular, hadronic showers (from $\pi^+$) are significantly more complex and sparse due to nuclear interactions. The authors found that while a single model could handle electromagnetic particles, the unique features of pions necessitated particle-specific training.

Performance and Fidelity

The primary achievement of CaloGAN is its speed. Compared to Geant4 on a single CPU thread, CaloGAN is 100x to 1000x faster. When deployed on a GPU with large batch sizes, the speedup reaches a staggering $10^5\times$.

Beyond speed, the GAN maintains high physical fidelity. Validation using "shower shape variables" (e.g., shower depth and width) shows that the GAN successfully captures complex features across several orders of magnitude. Furthermore, a classifier trained on GAN-generated data performed nearly as well as one trained on Geant4 data, demonstrating that the GAN captures the essential discriminating physics needed for analysis.

Limitations and Future Outlook

Despite its success, CaloGAN faces challenges before full-scale deployment. The model currently struggles to perfectly match the exact "sparsity" (the number of empty cells) seen in Geant4 data, particularly for pions. Additionally, this study utilized a simplified "cube" geometry, whereas real LHC detectors feature complex "accordion-style" geometries and non-uniform magnetic fields.

Future research will focus on integrating these complex physics constraints directly into the loss function and expanding the model to handle particles entering at varying angles and locations. This represents a significant step toward a full neural network-based detector simulation that could revolutionize particle physics research.

Summary updated

BibTeX
@inproceedings{paganini2018calogan,
  author = {Michela Paganini and Luke de Oliveira and Benjamin Nachman},
  title = {{CaloGAN: Simulating 3D High Energy Particle Showers in Multi-Layer Electromagnetic Calorimeters with Generative Adversarial Networks}},
  booktitle = {Physical},
  year = {2018},
  doi = {10.1103/physrevd.97.014021},
}
Figure