Skip to main content
QUICK REVIEW

[Paper Review] Calo-VQ: Vector-Quantized Two-Stage Generative Model in Calorimeter Simulation

Qibin Liu, C. O. Shimmin|arXiv (Cornell University)|May 10, 2024
Gaussian Processes and Bayesian InferenceComputer Science4 citations
TL;DR

This paper proposes Calo-VQ, a two-stage vector-quantized generative model for fast calorimeter simulation using VQ-VAE and a GPT-based latent sequence model. It achieves over 2000× speedup versus GEANT4 while maintaining high physics fidelity, generating showers in under 1.2 milliseconds per event across diverse detector geometries and granularities.

ABSTRACT

We introduce a novel machine learning method developed for the fast simulation of calorimeter detector response, adapting vector-quantized variational autoencoder (VQ-VAE). Our model adopts a two-stage generation strategy: initially compressing geometry-aware calorimeter data into a discrete latent space, followed by the application of a sequence model to learn and generate the latent tokens. Extensive experimentation on the Calo-challenge dataset underscores the efficiency of our approach, showcasing a remarkable improvement in the generation speed compared with conventional method by a factor of 2000. Remarkably, our model achieves the generation of calorimeter showers within milliseconds. Furthermore, comprehensive quantitative evaluations across various metrics are performed to validate physics performance of generation.

Motivation & Objective

  • Address the computational bottleneck of conventional calorimeter simulation using GEANT4, which is too slow for large-scale high-energy physics workflows.
  • Develop a fast, differentiable, and scalable simulation method that preserves key physics metrics such as total energy deposition and shower shape.
  • Enable real-time inference for high-granularity calorimeters by decomposing the simulation into discrete latent space generation and sequence modeling.
  • Demonstrate generalization across diverse detector geometries, including irregular and cylindrical structures with up to 40,500 voxels.
  • Integrate physics-informed design choices—such as FFT-resampling, cylindrical convolutions, and layer-wise normalization—to improve generation quality.

Proposed method

  • Use a two-stage framework: first, a VQ-VAE compresses 3D calorimeter shower data into a discrete latent space using a convolutional encoder-decoder with vector quantization.
  • Apply cylindrical convolutional networks to model spatially structured, high-granularity cylindrical calorimeters (e.g., ds3 with 40,500 voxels) with improved inductive bias.
  • Use a GPT-based transformer model to autoregressively generate sequences of discrete latent tokens, enabling fast and coherent sampling.
  • Incorporate physics-motivated preprocessing: log-transforms of energy deposits and FFT-based resampling to improve latent representation quality.
  • Apply layer-wise normalization (LN) in the VQ-VAE to stabilize training and improve reconstruction fidelity, especially in high-dimensional spaces.
  • Decompose the model into two stages: stage 1 (VQ-VAE) for compression and stage 2 (GPT) for latent generation, enabling independent optimization and scalability.
Figure 1: Demonstration of the vector-quantization based two-stage generative model. The upper and lower parts show the two stages of the model, respectively.
Figure 1: Demonstration of the vector-quantization based two-stage generative model. The upper and lower parts show the two stages of the model, respectively.

Experimental results

Research questions

  • RQ1Can a two-stage VQ-VAE and autoregressive model achieve sub-millisecond inference speed while preserving key physics observables in calorimeter shower simulation?
  • RQ2How does the model perform across varying detector geometries, including irregular, low-granularity, and high-granularity cylindrical designs?
  • RQ3To what extent do physics-informed architectural choices—such as cylindrical convolutions and FFT-resampling—improve generation quality and stability?
  • RQ4What is the trade-off between model complexity, inference speed, and reconstruction accuracy across different dataset scales (e.g., 368 to 40,500 voxels)?
  • RQ5Can the two-stage design enable scalable and modular optimization, particularly by exploring latent diffusion in the second stage for future improvements?

Key findings

  • The model achieves a 2000× speedup over GEANT4-based simulation, generating showers in as little as 0.25 ms for low-granularity datasets and 1.14 ms for the highest-resolution 40,500-voxel dataset.
  • Physics performance is strong: energy deposition separation metric is 0.01 (worst/best), and shower shape separation is 0.1, indicating high fidelity to reference GEANT4 simulations.
  • The first stage (VQ-VAE) shows nearly constant inference time across datasets, indicating scalability of the convolutional compression module regardless of input size.
  • The second stage (GPT) generation time scales only with latent space size, not input dimensionality, enabling efficient inference even on high-resolution data.
  • The model with layer-wise normalization (LN) on the high-granularity ds3 dataset achieves a 36.10 ms generation time but maintains a low separation metric of 0.095, showing robustness to architectural changes.
  • The model generalizes well across datasets: it maintains consistent performance on both irregular (ds1) and cylindrical (ds2, ds3) geometries, demonstrating architectural flexibility.
Figure 2: Architecture of Stage-1 Model.
Figure 2: Architecture of Stage-1 Model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.