Learning to Trigger: Reinforcement Learning at the Large Hadron Collider
About
High-throughput scientific facilities such as the Large Hadron Collider depend on real-time event filtering (\textit{triggering}) under tight constraints on bandwidth, latency, and storage. In practice, trigger menus are largely static and hand-tuned and can become suboptimal as detector conditions, pileup, and background composition drift over time. We cast online threshold tuning as a sequential decision-making problem: a reinforcement learning agent ingests streaming summaries of recent rates and signal-sensitive features and updates trigger thresholds to maximize signal efficiency while tracking a target background rate within a tolerance band. We adapt Group-Filtered Policy Optimization (GFPO) to streaming control and introduce two variants (GFPO-F, GFPO-FR) that enforce background rate feasibility during training. On a benchmark that emulates realistic collider operation, we study two representative triggers: a total transverse energy ($H_{T}$) trigger sensitive to pileup variation, and an anomaly-detection (AD) trigger based on reconstruction loss for rare or non-standard signatures. On Monte Carlo streams, our agent increases the fraction of in-tolerance time intervals by 48\% ($H_T$) and 28\% (AD), with a cumulative gain of up to 2\% in signal efficiency on those in-tolerance intervals. Transferring from simulation to \emph{real} collision data (CMS Run 283408), the same agent, without fine-tuning, achieves a 56\% ($H_T$) and 28\% (AD) in-tolerance improvement over baselines, with further signal-efficiency gain on both triggers. To our knowledge, this is the \emph{first} demonstration of RL-based trigger control on real Large Hadron Collider collision data. Code is available at https://github.com/Zixind/GFPO_LHC (see repo for details).
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Detection | NAB (test) | F1 Score21.6 | 29 | |
| Anomaly Detection | CMS Run 283408 (real collision data) | TPR (Combined)65.6 | 22 | |
| AD Trigger threshold control | Monte Carlo (MC) (held-out 20%) | MAE0.3 | 12 | |
| HT Trigger threshold control | Monte Carlo (MC) (held-out 20%) | MAE0.004 | 12 | |
| Single-trigger control | CMS Run 283408 (AD trigger) (test-time fine-tuned) | MAE0.021 | 12 | |
| Trigger Control | CMS real collision data (HT trigger) | MAE0.012 | 12 | |
| Trigger Control | CMS real collision data (AD trigger) | MAE0.022 | 12 | |
| Single-trigger control | CMS HT trigger Run 283408 (test-time fine-tuned) | MAE0.007 | 12 | |
| Anomaly Detection | CMS HT trigger Run 283408 | TPR (Combined)65.6 | 11 | |
| Anomaly Detection | CMS AD trigger Run 283408 | TPR (Combined)58 | 11 |