It's not a FAD: first results in using Flows for unsupervised Anomaly Detection at 40 MHz at the Large Hadron Collider
arXiv:2508.11594 · doi:10.1088/2632-2153/ae51dd
Abstract
We present the first implementation of a Continuous Normalizing Flow (CNF) model for unsupervised anomaly detection within the realistic, high-rate environment of the Large Hadron Collider's L1 trigger systems. While CNFs typically define an anomaly score via a probabilistic likelihood, calculating this score requires solving an Ordinary Differential Equation, a procedure too complex for FPGA deployment. To overcome this, we propose a novel, hardware-friendly anomaly score defined as the squared norm of the model's vector field output. This score is based on the intuition that anomalous events require a larger transformation by the flow. Our model, trained via Flow Matching on Standard Model data, is synthesized for an FPGA using the hls4ml and da4ml libraries. We demonstrate that our approach effectively identifies a variety of beyond-the-Standard-Model signatures with performance comparable to existing machine learning-based triggers. The algorithm achieves a latency of a few hundred nanoseconds, or even less when using advanced quantization techniques, and requires minimal FPGA resources, establishing CNFs as a viable new tool for real-time, data-driven discovery at 40 MHz.
10 pages, 5 figures, presented at ML4Jets 2025, to be submitted journal
References in corpus (13)
- Observation of a new particle in the search for the Standard Model Higgs boson with the ATLAS detector at the LHC
- Observation of a new boson at a mass of 125 GeV with the CMS experiment at the LHC
- Fast inference of deep neural networks in FPGAs for particle physics
- Performance of the CMS Level-1 trigger in proton-proton collisions at 13 TeV
- Automatic heterogeneous quantization of deep neural networks for low-latency inference on the edge for particle detectors
- Operation of the ATLAS trigger system in Run 2
- Fast convolutional neural networks on FPGAs with hls4ml
- Variational Autoencoders for New Physics Mining at the Large Hadron Collider
- The Dark Machines Anomaly Score Challenge: Benchmark Data and Model Independent Event Classification for the Large Hadron Collider
- Compressing deep neural networks on FPGAs to binary and ternary precision with HLS4ML
- Autoencoders on FPGAs for real-time, unsupervised new physics detection at 40 MHz at the Large Hadron Collider
- Improving Variational Autoencoders for New Physics Detection at the LHC with Normalizing Flows
- Anomaly detection with flow-based fast calorimeter simulators