Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Model architectures

MLPF encodes detector elements, exchanges information between them, and predicts a particle collection. The current implementation follows this structure:

input features and validity mask
  -> input encoding and optional hit features
  -> backbone layers
  -> elementwise heads or particle-set decoder
  -> particle presence, identity, and kinematics

Encoding and information exchange

input_encoding: joint applies a common encoder to the input features. split selects an element-type-specific encoding, allowing tracks, clusters, or hit types to use different learned transformations. Optional hit features add geometry and local tracker/calorimeter summaries.

The backbone controls information exchange:

model.typeMechanismMain computational considerations
attentionMulti-head self-attention across valid elementsGlobal pairwise attention; Flash execution packs valid elements, while dense math attention uses a padding mask
gnnlshLocality-sensitive hashing and message passing within bins, with configurable kernels and inter-bin attentionBin size, hash counts, and inter-bin processing control work and connectivity
heptHash-based point attention with geometric informationHash partitions and local attention control neighborhood size
heptv2Geometry-aware hash buckets and local attentionBucket size and hash settings control work; the native GPU path uses compiled FlexAttention
liteptThe LitePT point-model adapterRequires the external LitePT code and its dependencies; see installation

Attention is used by the standard CMS, CLD, and CLIC track/cluster recipes. Other backbones and hit models have research-workflow status. Use capabilities, ONNX validation, and export evidence for supported configurations and measured hardware behavior.

Several configuration choices act at different stages:

Two output modes

Propertyelementwiseset
Prediction positionsOne per input elementA configured number of particle slots
SupervisionInput-aligned target rowsCompact target particles matched to slots
Particle selectionPresence-head classConfigured presence-probability threshold
ReadoutClassification and kinematic headsParticle queries attending to backbone features

Elementwise prediction learns which input positions represent particles. Set prediction starts from learned or input-conditioned queries. During training, Hungarian matching pairs slots with targets using configurable presence, PID, angular, and momentum costs. Unmatched slots receive no-object supervision. The matcher raises an error when an event has more targets than slots.

Optional hit grouping learns an assignment from each hit to a matched particle slot or background, using particle_number supervision. Tracker momentum readouts can use these groups. The CLD preset pyg-cld-hits-heptv2-set-v1 combines HEPTv2, input-conditioned queries, global decoder attention, and supervised hit grouping. Its evidence and optional readout experiments are described in the CLD hit results.

Learning objectives

The elementwise objective combines particle-presence classification, PID classification, and kinematic regression. PID and regression use rows with a particle target; presence also uses valid rows with no particle. Kinematic errors are weighted by the square root of target transverse momentum. Configuration selects fixed regression weights or calibrated task weights.

The set objective uses matched particles and no-object slots, with optional cardinality, intermediate-decoder, hit-grouping, and tracker-related terms. Jets and missing momentum provide downstream physics checks. The standard elementwise loss contains particle-level terms.

Implementation: ModelArchitectureConfig, MLPF, set_decoder.py, losses.py, and set_losses.py.

Research context

The 2021 MLPF study introduced full-event locality-sensitive graph-based reconstruction with a multi-task objective. The 2024 CLIC study compared scalable graph and kernel-transformer models using tracks and calorimeter clusters. The 2025 transfer study demonstrated CLIC-to-CLD fine-tuning, and the 2026 CMS study evaluated MLPF within CMS software on simulation and collision data. The publications page links their archived code and results.

The local HEPT and HEPTv2 modules are based on the HEPT tracking study and HEPTv2 paper. These papers study charged-particle tracking. Here, their point-encoder implementations are adapted to the MLPF feature layout and particle-reconstruction heads. Current particle-set and hit-grouping configurations are documented through repository tests and the CLD evidence page. Published performance numbers apply to the corresponding paper’s detector, task, and software setup.