Progress towards an improved particle flow algorithm at CMS with machine learning

Farouk Mokhtar, Joosep Pata, Javier M. Duarte, Eric Wulff, Maurizio Pierini, Jean-Roch Vlimant · DOI · OpenReview

Introduction

Particle Flow (PF) reconstruction is a cornerstone of the CMS experiment's physics program. It involves integrating data from various detector subsystems—such as silicon trackers and calorimeters—to identify and measure individual stable particles. The legacy PF algorithm is a sophisticated, hand-tuned, rule-based system. However, as the Large Hadron Collider (LHC) moves toward the High-Luminosity era, the increasing "pileup" (simultaneous proton collisions) presents a significant computational challenge. Furthermore, the shift in computing hardware toward GPUs makes traditional rule-based code difficult to optimize.

To address these challenges, researchers at the CMS Collaboration are developing a Machine-Learned Particle-Flow (MLPF) algorithm based on Graph Neural Networks (GNNs). This approach aims to replace complex human-designed heuristics with a model that learns directly from simulation-level "ground truth."

Comparison of the baseline rule-based particle flow and the proposed machine-learned approach.

Methodology

The MLPF model utilizes a GNN architecture where detector hits (tracks and calorimeter clusters) are represented as nodes in a graph. Unlike previous attempts that sought to mimic the existing PF software, this study trains the model using generator-level truth. A specialized "truth definition" algorithm was developed to process GEANT4 simulation data, creating a realistic target for the GNN.

The team explored various loss functions to optimize performance. Beyond per-particle classification, they tested "event-level" losses, including Sliced Wasserstein distance, jet log-cosh loss (targeting jet momentum), and MET MSE (targeting Missing Transverse Momentum). Interestingly, the simplest per-particle loss approach currently yields the best physics performance, suggesting that complex global constraints may not yet be necessary for competitive results.

Datasets

The model was trained and validated on high-statistics CMS simulation datasets, including:

  • 100,000 events each of $t\bar{t}$, low-$p_T$ QCD, high-$p_T$ QCD, and $Z \to \tau\tau$.
  • 10,000 single-particle events (electrons, muons, pions, photons) to learn fundamental detector responses.
  • Simulations included "flat pileup" (55–75 interactions), reflecting the conditions expected in LHC Run 3.

Results and Discussion

The MLPF algorithm demonstrates broad compatibility with the gold-standard baseline PF, particularly in global metrics like jet energy distributions. A significant breakthrough was achieved in the reconstruction of neutral hadrons, where the MLPF model improved the $p_T$ response width by a factor of 2 (a 100% improvement).

Jet $p_T$ distribution comparing the baseline PF, MLPF, and generator-level truth, showing high compatibility.

The model also showed improved efficiency in handling high-energy calorimeter clusters, producing fewer "fake" particles compared to the baseline. Crucially, the MLPF model has been successfully integrated into the official CMS software framework (CMSSW) via the ONNX Runtime, proving its readiness for production-level physics analysis.

Limitations and Future Work

While promising, the MLPF model currently exhibits slightly larger "tails" in Missing Transverse Momentum ($p_T^{miss}$) distributions than the legacy system. Reducing these outliers is a priority, as $p_T^{miss}$ is a vital signature for detecting neutrinos or potential dark matter candidates. Future work will focus on hyperparameter tuning, increasing training statistics, and applying Explainable AI (XAI) techniques to better understand the physical logic learned by the GNN.

Summary updated

BibTeX
@misc{mokhtar2023progress,
  author = {Farouk Mokhtar and Joosep Pata and Javier M. Duarte and Eric Wulff and Maurizio Pierini and Jean-Roch Vlimant},
  title = {{Progress towards an improved particle flow algorithm at CMS with machine learning}},
  year = {2023},
  eprint = {2303.17657},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.17657},
}
Figure