Pixel Detector Background Generation using Generative Adversarial Networks at Belle II

Hosein Hashemi, N. M. Hartmann, T. Kuhr, M. Ritter, Matej SrebreEPJ 2021

Abstract

The pixel vertex detector (PXD) is an essential part of the Belle II detector recording particle positions. Data from the PXD and other sensors allow us to reconstruct particle tracks and decay vertices. The effect of background hits on track reconstruction is simulated by adding measured or simulated background hit patterns to the hits produced by simulated signal particles. This model requires a large set of statistically independent PXD background noise samples to avoid a systematic bias of reconstructed tracks. However, data from the fine-grained PXD requires a substantial amount of storage. As an efficient way of producing background noise, we explore the idea of an on-demand PXD background generator using conditional Generative Adversarial Networks (GANs), adapted by the number of PXD sensors in order to both increase the image fidelity and produce sensor-dependent PXD hitmaps.

Introduction: The Storage Burden of Simulation

In high-energy physics experiments like Belle II, precision is paramount. Understanding how a detector responds to signal particles requires accounting for "beam background"—noise from synchrotron radiation and stray beam particles. Traditionally, researchers use the background overlay method, layering real or simulated noise "hitmaps" over signal events.

However, for the Pixel Vertex Detector (PXD), these hitmaps are massive. A single background event is approximately 200 kB, which is 20 times larger than the actual analysis data. Distributing these files across global computing grids creates a significant logistical challenge; for instance, producing 1 TB of Monte Carlo simulation might necessitate transferring 20 TB of background files. This paper proposes an "on-demand" generative approach to alleviate this storage and networking burden.

Methodology: Modified BigGAN-deep Architecture

The researchers developed a conditional GAN based on a modified BigGAN-deep framework to generate realistic detector noise on-the-fly. The architecture incorporates several key innovations to handle the unique nature of detector data:

  • Conditional Generation: The model utilizes sensor IDs (representing 40 different modules) as labels, enabling the production of sensor-specific hitmaps.
  • Contrastive Conditioning: A mechanism considering data-to-data relations within a batch was implemented, pulling embeddings of identical sensor types closer in the latent space.
  • Relational Embeddings: Prior knowledge, specifically the mean occupancy of each sensor, was injected as an inductive bias to improve learning efficiency.
  • Consistency Regularization: To stabilize training and prevent mode collapse, the model was penalized for sensitivity to small perturbations like image flipping.
Architecture of the Generator and Discriminator used in the modified BigGAN-deep framework.

Challenges and Insights

Generating detector hitmaps presents unique difficulties compared to natural image generation. The hitmaps are extremely sparse, consisting mostly of zeros. Standard Convolutional Neural Networks (CNNs) struggle with this sparsity, making the injection of sensor IDs and occupancy data crucial for guiding the model.

During training, the authors monitored the first singular values of the weight matrices. They discovered that a sudden explosion in these values served as a "canary in the coal mine," indicating that the discriminator was beginning to overfit and signaling the need for early stopping to prevent training collapse.

Results and Physics Validation

The performance of the GAN was evaluated using both visual and physics-based metrics. Standard AI metrics like the Inception Score are unsuitable for detector data, necessitating domain-specific validation.

Visual and Quantitative Fidelity

The GAN-generated hitmaps are visually indistinguishable from those produced by standard Geant4 simulations. Quantitatively, the modified BigGAN-deep achieved a Frechet Distance of 2.51e-3, significantly outperforming a baseline WGAN-gp model (2.82e-3).

Comparison between real (top) and GAN-generated (bottom) PXD background hitmaps.

Physics Accuracy and Speed

Crucially, when testing the resolution of the "signed distance in the transverse plane" (a key metric for track reconstruction), the GAN-generated background performed almost identically to the standard Geant4 background. Furthermore, the model can generate a full event (40 hitmaps) in approximately 6 seconds on a single CPU, making it highly viable for integration into existing simulation workflows.

Conclusion and Future Directions

This work demonstrates that conditional GANs can effectively replace massive stored background files with on-demand generation, maintaining high simulation fidelity while reducing storage requirements.

Future work will address current limitations, such as the model's difficulty in replicating the non-linear intensity curve for low ADU (Analog-to-Digital Unit) values. Additionally, the authors plan to explore "sequence-based" GANs to capture potential correlations between different layers of the PXD. The development of a "Custom Inception Score" based on sensor ID classification is also proposed for more robust automated evaluation.

Summary updated

BibTeX
@inproceedings{hashemi2021pixel,
  author = {Hosein Hashemi and N. M. Hartmann and T. Kuhr and M. Ritter and Matej Srebre},
  title = {{Pixel Detector Background Generation using Generative Adversarial Networks at Belle II}},
  booktitle = {EPJ},
  year = {2021},
  doi = {10.1051/epjconf/202125103031},
}
Figure