Generative Models for Fast Calorimeter Simulation.LHCb case

Viktoria Chekalina, Elena Orlova, Fedor Ratnikov, Dmitry Ulyanov, Andrey Ustyuzhanin, Egor ZakharovarXiv 2018 · DOI

Abstract

Simulation is one of the key components in high energy physics. Historically it relies on the Monte Carlo methods which require a tremendous amount of computation resources. These methods may have difficulties with the expected High Luminosity Large Hadron Collider (HL LHC) need, so the experiment is in urgent need of new fast simulation techniques. We introduce a new Deep Learning framework based on Generative Adversarial Networks which can be faster than traditional simulation methods by 5 order of magnitude with reasonable simulation accuracy. This approach will allow physicists to produce a big enough amount of simulated data needed by the next HL LHC experiments using limited computing resources.

Introduction

In high-energy physics (HEP), designing detectors and comparing experimental data against theoretical models relies heavily on simulation. Traditionally, this is achieved using Monte Carlo methods, such as the industry-standard Geant4 software, which models the complex physics of particles interacting with matter step-by-step.

However, these simulations are computationally prohibitive. Simulating particle "showers" in calorimeters—dense materials that measure particle energy—is the most demanding step, consuming billions of CPU hours annually. With the upcoming High Luminosity Large Hadron Collider (HL-LHC) expected to produce vastly more data, traditional simulation methods will not scale within existing computing budgets. There is an urgent need for high-fidelity, fast simulation alternatives.

Methods

The authors propose treating complex physics simulation as a conditional image generation problem. They utilize a Wasserstein Generative Adversarial Network with Gradient Penalty (WGAN-GP) to generate 30x30 grids representing energy deposits in calorimeter cells. By projecting 3D energy deposits into a 2D grid, the complex physics of particle showers can be effectively modeled using computer vision techniques.

Architecture of the proposed GAN framework, including the Generator, Discriminator, and pre-trained Regressor.

A significant challenge in this domain is conditioning the generation on five continuous variables: 3D momentum ($p_x, p_y, p_z$) and 2D impact coordinates ($x, y$). To address this, the framework introduces two key innovations:

  1. Pre-trained Regressor for Conditioning: To ensure the GAN accurately respects continuous input conditions, a separate regressor is pre-trained to predict particle parameters from shower images. During GAN training, this regressor provides a perceptual loss that guides the generator to produce showers physically consistent with the input parameters.
  2. Box-Cox Transformation: Calorimeter data is extremely sparse, with energy concentrated in central cells. To stabilize training, a Box-Cox transformation is applied to smooth the data distribution, making the optimization landscape more manageable for the deep learning model.

Datasets

The model was trained and evaluated on a custom dataset generated using the Geant4 engine. The setup simulates an electromagnetic calorimeter inspired by the LHCb detector at CERN, utilizing "shashlik" technology (alternating scintillating tiles and lead plates). The dataset consists of 50,000 training and 10,000 test events of electron interactions, with particle energies ranging from 1 to 100 GeV. Each event includes the 5 initial particle parameters and a corresponding 30x30 energy deposition matrix.

Results and Discussion

The proposed GAN model achieves a massive 5 orders of magnitude (~100,000x) speedup over traditional Geant4 simulations. On an NVIDIA Tesla K80 GPU, the model generates samples in approximately 0.07 ms, compared to 4.9 ms on a standard CPU.

Visual comparison between real Geant4 showers (top row) and GAN-generated showers (bottom row) across various energy levels.

Beyond speed, the model demonstrates high fidelity. Generated showers show excellent visual and quantitative agreement with Geant4 baselines. Evaluation using physics-driven metrics—such as transverse width, sparsity, and spatial resolution—confirms that the primary physical characteristics of the clusters are accurately reproduced. Forcing the generator to pass a "physics test" via the pre-trained regressor ensures the generated images aren't just realistic-looking, but are mathematically tied to the specific input momentum and coordinates.

Conclusion

While the GAN successfully captures primary cluster characteristics, some discrepancies remain in secondary characteristics, such as long-range energy asymmetries. Future work will focus on refining the reproduction of these second-order correlations. Nonetheless, this deep learning approach offers a viable path toward meeting the simulation demands of the HL-LHC era, providing high-accuracy data at a fraction of the traditional computational cost.

Summary updated

BibTeX
@misc{chekalina2018generative,
  author = {Viktoria Chekalina and Elena Orlova and Fedor Ratnikov and Dmitry Ulyanov and Andrey Ustyuzhanin and Egor Zakharov},
  title = {{Generative Models for Fast Calorimeter Simulation.LHCb case}},
  year = {2018},
  eprint = {1812.01319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.01319},
}
Figure