Abstract
Particle Flow (PF) reconstruction is a critical component of the CMS experiment's data processing pipeline, combining signals from multiple detector subsystems to identify and measure individual particles. As the Large Hadron Collider (LHC) moves toward the High-Luminosity era, traditional hand-tuned PF algorithms face significant computational challenges. This paper presents a Machine-Learned Particle Flow (MLPF) approach using Graph Neural Networks (GNNs). By employing local context binning, the MLPF model achieves linear scaling and native GPU compatibility while maintaining physics performance comparable to legacy algorithms.
Introduction
In high-energy physics, reconstructing the complete state of a collision event requires integrating data from trackers, calorimeters, and muon systems. The current CMS Particle Flow algorithm is highly effective but relies on complex heuristics optimized for CPUs. With the increasing "pileup" (simultaneous collisions) expected in future LHC runs, these algorithms risk becoming a computational bottleneck.
The MLPF algorithm aims to replace these heuristics with a GNN-based model that can efficiently process large-scale detector data on modern heterogeneous hardware like GPUs.
Methods: GNN Architecture and Scalability
The MLPF model treats detector elements—such as tracks and calorimeter clusters—as nodes in a graph. The core of the architecture is the CombinedGraph (cg) layer, which performs dynamic graph building and message passing.
To address the $O(N^2)$ complexity inherent in fully connected graphs, the researchers implemented local context binning. This technique bins detector elements into local neighborhoods, allowing the model to build graphs and perform convolutions within these bins. This ensures that the computational cost scales linearly ($O(N)$) with the number of input elements, a prerequisite for processing high-pileup events.
The model is trained using a multi-task learning objective:
- A classification branch identifies particle types (e.g., charged hadrons, photons, neutral hadrons) using Focal loss.
- A regression branch predicts physical properties like momentum and energy using Huber loss.
Datasets and Training Strategy
The model was trained on simulated LHC Run 3 conditions, specifically top quark pair ($t\bar{t}$) events with high pileup (55–75 interactions). To ensure broad coverage, "single-particle gun" samples were included.
A key strategic choice was training the model to mimic the output of the existing CMS PF algorithm rather than generator-level truth. This "mimicry" approach provides a well-defined baseline for validation and ensures the ML model captures the established detector response characteristics. Generalization was tested on a separate QCD (multijet) sample, which the model had not seen during training.
Key Results and Performance
The MLPF model demonstrates high fidelity in reproducing the baseline PF algorithm's results. Distributions for transverse momentum ($p_T$) and pseudorapidity ($\eta$) show excellent agreement across various particle species in both $t\bar{t}$ and QCD events.
From a computational standpoint, the model is highly efficient. Inference for a typical Run 3 event takes approximately 10 ms on an NVIDIA RTX2060S GPU, requiring only 1 GB of RAM. The linear scaling of runtime and memory usage confirms that the local context binning successfully manages the complexity of large events.
Conclusion and Future Directions
The MLPF algorithm represents a successful transition of a core reconstruction task to a machine-learning framework. By achieving linear scaling and GPU-native execution, it addresses the primary computational challenges of the High-Luminosity LHC.
While the current model occasionally struggles with low-momentum neutral hadrons and high-energy "tails" in Missing Transverse Energy (MET), these are areas for future refinement. The next phase of research will involve training directly on generator-level truth, potentially allowing the GNN to surpass the performance of the legacy human-designed heuristics.
Summary updated