Calo-VQ: Vector-Quantized Two-Stage Generative Model in Calorimeter Simulation

Qibin Liu, Chase Shimmin, Xiulong Liu, Eli Shlizerman, Shu Li, Shih-Chieh HsuarXiv 2024 · DOI

Introduction

In experimental particle physics, calorimeters are essential components that measure particle energy by recording the "showers" of secondary particles produced during interactions. Traditionally, these interactions are simulated using GEANT4, a Monte Carlo-based toolkit known for its high accuracy but extreme computational cost. As detectors become more granular, such as those for the High-Luminosity LHC, GEANT4 becomes a significant bottleneck. Calo-VQ addresses this by providing a "FastSim" solution—a machine learning framework that mimics GEANT4's accuracy with a 2000x speedup.

Methodology

Calo-VQ utilizes a two-stage generative approach, a strategy successful in high-fidelity image and audio synthesis.

Stage 1: Vector-Quantized Compression

The first stage involves a Vector-Quantized Variational Autoencoder (VQ-VAE) that compresses high-dimensional, sparse calorimeter data into a compact, discrete latent space. Instead of continuous values, the shower is represented as a sequence of "tokens" from a learned codebook. To maintain physical realism and "sharpness" in the reconstructed showers, the authors integrated a GAN-based discriminator loss alongside standard reconstruction losses.

Architecture of the VQ-VAE stage with L2 and discrimination losses.

Stage 2: Autoregressive Generation

In the second stage, a GPT-style transformer learns the probability distribution of these discrete tokens. Once trained, the model can generate new token sequences conditioned on the incident particle's energy. These sequences are then decoded back into full 3D showers.

Overview of the Calo-VQ two-stage generative framework showing the transition from input data to discrete tokens and final generation.

Physics-Informed Enhancements

To adapt standard ML techniques to detector geometry, the authors introduced several novel tweaks:

  • Cylindrical Convolutions: Standard square filters are replaced with custom convolutions and FFT-resampling to respect the periodic (circular) nature of the detector's angular dimension.
  • Layer-wise Normalization: Normalizing energy deposition per detector layer, rather than globally, significantly improved the model's ability to capture the longitudinal profile of particle showers.

Datasets and Performance

The model was evaluated using the Fast Calorimeter Simulation Challenge 2022 datasets, ranging from low-granularity photons (Dataset 1) to high-granularity electrons with 40,500 voxels (Dataset 3).

Calo-VQ demonstrated remarkable scalability and speed, generating complex showers in 0.25 to 36 milliseconds, compared to the seconds or minutes required by GEANT4. In terms of fidelity, the model achieved a "Separation Metric" of approximately 0.01 for total energy distributions, indicating high physical accuracy.

Conclusion and Future Work

Calo-VQ proves that discretizing continuous energy deposits into tokens allows researchers to leverage the modeling power of Transformers for high-energy physics. While it offers a massive speedup, future work aims to close the remaining accuracy gap compared to diffusion models, potentially by implementing Latent Diffusion on the discrete token space.

Summary updated

BibTeX
@misc{liu2024calo,
  author = {Qibin Liu and Chase Shimmin and Xiulong Liu and Eli Shlizerman and Shu Li and Shih-Chieh Hsu},
  title = {{Calo-VQ: Vector-Quantized Two-Stage Generative Model in Calorimeter Simulation}},
  year = {2024},
  eprint = {2405.06605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.06605},
}
Figure