AllShowers: One model for all calorimeter showers
Thorsten Buss, Henry Day-Hall, Frank Gaede, Gregor Kasieczka, Katja Krüger
TL;DR
AllShowers tackles the high computational cost of detector simulation by introducing a single, unified CNF-transformer that models electromagnetic and hadronic calorimeter showers across $12$ particle types. The two-stage architecture combines PointCountFM (layer-wise point counts) with a CNF-transformer (per-point $(x,y,e)$) conditioned on particle information and layer index, trained via conditional flow matching and enhanced by layer embeddings, fast attention masking, and layer-wise optimal transport. Empirical results show strong agreement with Geant4 across individual showers and ensemble distributions, and demonstrate competitive performance against specialized baselines like CaloClouds3 (photons) and CaloHadronic (pions), with energy calibration improving total shower energy consistency. While diffusion-based or specialized models can be faster in isolation, AllShowers offers a scalable, universal solution that reduces memory footprint and can be extended to additional detector geometries, with future work focusing on improving energy resolution and distillation for faster sampling.
Abstract
Accurate and efficient detector simulation is essential for modern collider experiments. To reduce the high computational cost, various fast machine learning surrogate models have been proposed. Traditional surrogate models for calorimeter shower modeling train separate networks for each particle species, limiting scalability and reuse. We introduce AllShowers, a unified generative model that simulates calorimeter showers across multiple particle types using a single generative model. AllShowers is a continuous normalizing flow model with a Transformer architecture, enabling it to generate complex spatial and energy correlations in variable-length point cloud representations of showers. Trained on a diverse dataset of simulated showers in the highly granular ILD detector, the model demonstrates the ability to generate realistic showers for electrons, photons, and charged and neutral hadrons across a wide range of incident energies and angles without retraining. In addition to unifying shower generation for multiple particle types, AllShowers surpasses the fidelity of previous single-particle-type models for hadronic showers. Key innovations include the use of a layer embedding, allowing the model to learn all relevant calorimeter layer properties; a custom attention masking scheme to reduce computational demands and introduce a helpful inductive bias; and a shower- and layer-wise optimal transport mapping to improve training convergence and sample quality. AllShowers marks a significant step towards a universal model for calorimeter shower simulations in collider experiments.
