Evaluation of the CaloINN generative network - Fast detector simulation

Florian Ernst, Luigi FavaroarXiv 2023 · DOI · arXiv

Abstract

This paper evaluates the performance of CaloINN and CaloVAE+INN, two generative models based on Invertible Neural Networks (Normalizing Flows), for the simulation of high-dimensional particle showers in calorimeters. Using datasets from the Fast Calorimeter Simulation Challenge 2022, we analyze generated showers across various high-level observables, including layer energy deposition, center of energy, shower width, and layer sparsity. We demonstrate that these models achieve simulation speeds orders of magnitude faster than traditional GEANT4 methods while maintaining the high physical fidelity required for Large Hadron Collider (LHC) physics across incident energies ranging from 256 MeV to 4.2 TeV.

Introduction: The Simulation Bottleneck

In high-energy physics, simulating particle interactions with detectors is a massive computational bottleneck. The current gold standard, GEANT4, relies on first-principles physics to track every interaction, consuming a significant portion of the worldwide LHC computing budget. As we transition toward the High-Luminosity LHC and future "ultra-high granularity" detectors, the simulation requirements are skyrocketing, with the number of voxels (3D pixels) to simulate increasing from hundreds to tens of thousands.

While deep generative models like GANs and Autoregressive Flows have been explored, they often face a trade-off between speed and accuracy. GANs can be unstable, and Autoregressive Flows, while accurate, are computationally slow due to sequential data generation. CaloINN addresses these challenges by leveraging parallelizable Normalizing Flows.

Methods: CaloINN and the VAE+INN Hybrid

The core of the CaloINN architecture is the Invertible Neural Network (INN) using coupling layers. Unlike sequential models, coupling layers allow for parallelized generation, significantly reducing inference time.

Architectural overview of the CaloINN coupling layer (left) and the VAE+INN hybrid model (right).

Key technical innovations include:

  • Spline Transformations: The model employs Rational Quadratic Splines (RQS) and Cubic Splines. These are more expressive than standard affine transformations, enabling the model to capture the complex, non-Gaussian energy distributions typical of calorimeter data.
  • VAE+INN Hybrid: To handle the massive dimensionality of future detector designs (e.g., 40,500 voxels in Dataset 3), a standard flow is too memory-intensive. The researchers implemented a Variational Autoencoder (VAE) to compress the high-dimensional space into a manageable 300-dimensional latent space, which the INN then learns to model.
  • Physics-Motivated Preprocessing: Logarithmic transformations and layer-wise energy normalization are used to handle the high dynamic range of energy depositions.

Datasets

The models were evaluated on the Fast Calorimeter Simulation Challenge 2022 datasets, covering a range of granularities:

  • Dataset 1: Photons (368 voxels) and Pions (533 voxels), based on ATLAS geometry.
  • Dataset 2: Electrons (6,480 voxels) for high-granularity detectors.
  • Dataset 3: Electrons (40,500 voxels) for ultra-high granularity detectors like the proposed FCC.

Key Results and Physical Fidelity

CaloINN demonstrates a significant speedup, performing roughly 10x to 100x faster than previous state-of-the-art models like CaloFlow. On a standard GPU, it can generate a complete shower in approximately 0.2 to 0.5 milliseconds.

Comparison of high-level physical observables between GEANT4, INN, and VAE+INN for photon showers across different incident energies.

In terms of physical fidelity, the model's output is nearly indistinguishable from GEANT4 for high-level observables such as the center of energy and shower width in lower-dimensional datasets. For the ultra-high-dimensional Dataset 3, the VAE+INN hybrid successfully scaled to 40,500 voxels, a feat that typically breaks standard Normalizing Flow architectures.

Limitations and Future Outlook

The primary limitation identified is the reconstruction quality of the VAE in the hybrid model. The VAE decoder acts as a bottleneck; any loss of fine detail during compression cannot be recovered by the INN. Additionally, the model faces challenges with "sparsity"—the VAE decoder occasionally struggles to produce the perfect zeros required for empty voxels, leading to a slight over-population of low-energy signals.

Future research will focus on improving VAE architectures, perhaps through super-resolution techniques, and refining sparsity handling to ensure generated showers perfectly match the physical characteristics of calorimeter data.

Summary updated

Abstract

These are the sampled used in the paper "Normalizing Flows for High-Dimensional Detector Simulations" for the evaluation of the CaloINN and the CaloVAE+INN models. Each zip file contains the generated showers stored in the CaloChallenge format together with figures of high-level observables. We include the layer energy deposition, the center of energy, the width of the center of energy, the layer sparsity, the ratio E_tot/E_inc, and the full voxel energy distribution. For these features we provide: energy inclusive histograms for all the datasets; for dataset 1, three incident energies: 256 MeV, 8.192GeV, 262.144 GeV; for dataset 2 and 3, three incident energy windows, (1-10), (10-100), (100-1000) GeV; separation power between Geant4 and our samples calculatd from the histograms.
BibTeX
@misc{ernst2023evaluation,
  author = {Florian Ernst and Luigi Favaro},
  title = {{Evaluation of the CaloINN generative network - Fast detector simulation}},
  year = {2023},
  eprint = {2312.09290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.09290},
}

Loading related content...

Figure