DeepRICH: learning deeply Cherenkov detectors

Cristiano Fanelli, Jary Pomponi

TL;DR

DeepRICH is a novel deep learning framework designed for the fast reconstruction of imaging Cherenkov detectors, specifically the DIRC (Detection of Internally Reflected Cherenkov light) type. By combining a Variational Autoencoder (VAE) with a Convolutional Neural Network (CNN), the authors achieve particle identification performance nearly identical to traditional physics-based algorithms while delivering massive speedups in computation time.

What Problem Does This Paper Address?

In nuclear and particle physics, identifying the "flavor" of a particle (Particle Identification or PID) is crucial. Imaging Cherenkov detectors, like the DIRC used in the GlueX experiment, work by measuring the patterns of light (rings or complex hit patterns) emitted when a charged particle travels faster than the speed of light in a medium.

Traditionally, reconstructing these events involves "likelihood-based" methods. These require either computationally expensive simulations for every event or the creation of massive, multi-gigabyte look-up tables. As experiments move toward higher luminosities and real-time data analysis, these traditional methods become a bottleneck. The authors seek a way to bypass the low-level physics details of photon propagation to create a "fast reconstruction" algorithm that can keep up with modern data rates.

Methods

The authors introduce DeepRICH, a hybrid generative and discriminative architecture. Its core components include:

  • Custom VAE (Variational Autoencoder): The encoder takes hit patterns (spatial coordinates $x, y$ and time $t$) and kinematic parameters (momentum, angles) as input and compresses them into a latent space.
  • MMD (Maximum Mean Discrepancy): Instead of the standard VAE loss, they use MMD to regularize the latent space. This forces the distribution of latent variables to match a prior (like a Gaussian) more effectively, which the authors find leads to better feature learning.
  • CNN Classifier: A Convolutional Neural Network extracts features from the latent variables to perform the final classification—distinguishing between pions ($\pi$) and kaons ($K$).
  • Multi-task Learning: The model is trained on a joint loss function that balances reconstruction accuracy (making sure the VAE understands the hit patterns), classification accuracy, and latent space regularization.

Datasets

The study uses simulated data rather than experimental "raw" data to establish a baseline against known truths:

  • FastDIRC: An open-source simulation and reconstruction package for DIRC detectors. It was used to generate millions of "synthetic" hit patterns for pions and kaons based on the GlueX detector geometry.
  • Kinematic Range: The training set covers a challenging phase-space (momentum between 4 and 5 GeV/c), where the Cherenkov patterns for different particles overlap significantly.
  • Scale: The largest dataset corresponds to a hypercube of approximately $2 \cdot 10^4$ kinematic points.

Key Insights and Ideas

  • Physics-Agnostic Reconstruction: DeepRICH doesn't need to "know" the geometry of the detector or the refractive index of the quartz bars during inference. It learns the underlying probability density functions (PDFs) directly from the data.
  • Latent Space Separation: Using t-SNE visualizations, the authors show that the VAE successfully organizes the latent space such that pions and kaons are naturally separated, even before the classifier is applied.
  • The "InfoVAE" Advantage: By using MMD instead of the traditional Kullback–Leibler divergence, the model avoids "posterior collapse" and learns more descriptive features for the hit patterns.
  • Constant-Time Inference: Unlike traditional algorithms where time might scale with the complexity of the pattern, DeepRICH’s inference time is nearly constant regardless of the number of hits, up to the memory limits of the GPU.

Key Results

  • Performance Parity: DeepRICH achieves an Area Under the Curve (AUC) that is $\ge 99\%$ of the performance of the established FastDIRC algorithm. In many kinematic regions, the two methods perform almost identically.
  • Massive Speedup: While traditional FastDIRC reconstruction takes roughly 300 ms per track on a standard CPU, DeepRICH performs inference in $O(1)$ ms per batch on a GPU.
  • Scalability: The inference time remains approximately constant for batches up to $10^4$ particles, making it suitable for high-throughput offline analysis or near real-time calibration.

Limitations and Future Work

  • Training Time: While inference is lightning-fast, the initial training phase is relatively long and computationally intensive.
  • Phase-Space Coverage: The current study focuses on a specific sub-region of the detector's phase-space. Scaling this to the entire detector geometry will require more complex models or a "modular" approach where different networks handle different detector sections.
  • Real-world Domain Gap: The model was trained on simulation. The authors suggest that future work should involve training on "pure" samples of identified particles from real experimental data to account for hardware-specific noise and efficiencies not captured in the simulation.
  • Generative Potential: Because the core is a VAE, the model could potentially be used in reverse to generate fast simulations of detector responses, further speeding up the experimental pipeline.

Summary updated

BibTeX
@article{fanelli2020deeprich,
  author = {Cristiano Fanelli and Jary Pomponi},
  title = {{DeepRICH: learning deeply Cherenkov detectors}},
  journal = {Mach. Learn. Sci. Technol.},
  year = {2020},
  doi = {10.1088/2632-2153/ab845a},
}
Figure