Distillation of a Normalising Flow into a Compact Symbolic Expression for Real-Time Anomaly Detection at the LHC Level-1 Trigger
summary
The gist
Distillation of a Normalising Flow into a Compact Symbolic Expression for Real-Time Anomaly Detection at the LHC Level-1 Trigger is about distilling an anomaly detection model based on a normalising…
In short
The goal was to replace a complex normalising flow anomaly detection model with a compact, real-time mathematical formula for the LHC Level-1 Trigger. This was achieved by using symbolic regression to distill the teacher model's performance into an explicit expression. The resulting symbolic student achieves comparable accuracy while being significantly smaller and faster for deployment on hardware.
Key concepts
- Normalising Flow
- A type of neural network that learns a mapping between input data and a simple distribution, like a standard normal distribution. It's used here as the 'teacher' model to learn how to score events based on their likelihood under this learned distribution.
- Knowledge Distillation
- A technique where knowledge from a large, complex 'teacher' model is transferred to a smaller, simpler 'student' model. Here, the symbolic student is trained specifically to mimic the anomaly scores produced by the original normalising flow teacher.
- Symbolic Regression
- An automated process that searches for mathematical formulas that best fit a given set of data. It takes complex models and attempts to represent their function using explicit mathematical equations, rather than just learned weights in a neural network.
Terminology used across episodes
This episode discusses
- Distillation of a Normalising Flow into a Compact Symbolic Expression for Real-Time Anomaly Detection at the LHC Level-1 Trigger · Paper Radio
- The LHC Olympics 2020: A Community Challenge for Anomaly Detection in High Energy Physics
- The Dark Machines Anomaly Score Challenge: Benchmark Data and Model Independent Event Classification for the Large Hadron Collider
- Auto-Encoding Variational Bayes
- Variational Autoencoders for New Physics Mining at the Large Hadron Collider
- Adversarially Learned Anomaly Detection on CMS Open Data: re-discovering the top quark
- Autoencoders on FPGAs for real-time, unsupervised new physics detection at 40 MHz at the Large Hadron Collider
- Real-time Anomaly Detection at the L1 Trigger of CMS Experiment
- It's not a FAD: first results in using Flows for unsupervised Anomaly Detection at 40 MHz at the Large Hadron Collider
- Distilling the Knowledge in a Neural Network
- Evaluation of Novel Fast Machine Learning Algorithms for Knowledge-Distillation-Based Anomaly Detection at CMS
- Discovering Symbolic Models from Deep Learning with Inductive Biases
- SymbolNet: Neural Symbolic Regression with Adaptive Dynamic Pruning for Compression
- Symbolic Regression on FPGAs for Fast Machine Learning Inference
- LHC physics dataset for unsupervised New Physics detection at 40 MHz
- Adam: A Method for Stochastic Optimization
- Dynamic Sparse Training: Find Efficient Sparse Network From Scratch With Trainable Masked Layers
- Fast inference of deep neural networks in FPGAs for particle physics
- hls4ml: A Flexible, Open-Source Platform for Deep Learning Acceleration on Reconfigurable Hardware
The paper
Distillation of a Normalising Flow into a Compact Symbolic Expression for Real-Time Anomaly Detection at the LHC Level-1 Trigger · Read on arXiv
Justin Bollhalder, Florencia Canelli, Valentina Guglielmi, Roope Oskari Niemi, Maurizio Pierini, Chang Sun, Francesco Vaselli
Department of Mathematics, University of Zurich · Lake Lucerne Institute, Vitznau Switzerland · Physik-Institut, Universität Zurich Zürich Switzerland · European Organization for Nuclear Research CERN CH-1211 Geneva 23 Switzerland · California Institute of Technology Pasadena CA USA · Scuola Normale Superiore Pisa Italy · Istituto Nazionale di Fisica Nucleare INFN Pisa Italy
At the CERN Large Hadron Collider, anomaly detection techniques are becoming popular alternatives to traditional signature-aware new physics searches. For this approach to avoid any bias induced by the real-time event selection applied in the trigger system of ATLAS and CMS, it should be implemented before the first stage of selection, the Level-1 Trigger. This requires deciding to accept or reject each collision within a few microseconds, a latency budget that excludes the most expressive anomaly-detection models. Knowledge distillation has successfully addressed this issue by replacing a complex anomaly-detection model with a lighter student network. This work takes the compression one step further, distilling an anomaly detection model based on a normalising flow into an explicit mathematical formula. Using the SymbolNet symbolic-regression framework with adaptive pruning, the student is a learned functional form based on a chosen subset of the inputs, providing at once feature selection and compression through knowledge distillation. The final expression contains 577 operations and matches the teacher's discrimination on a test dataset, generalising to four benchmark new physics scenarios. Implemented on a Xilinx Virtex UltraScale+ VU13P FPGA, the symbolic student has a nine-cycle latency, corresponding to 42.8,ns at the post-route maximum clock frequency, and uses 0.81% of the device's LUTs and 0.44% of its DSP slices.
Transcript
Introduction to the show: ident: High Energy Physics: Experiment. The day in high-energy experiment: detectors, searches and limits.
Kai: We're looking at the paper: "Distillation of a Normalising Flow into a Compact Symbolic Expression for Real-Time Anomaly Detection at the LHC Level-1 Trigger".
Paper summary: Kai: We just touched on how they managed to distill this complex normalising flow into a compact symbolic expression, which is the main point of this paper. They are proposing using symbolnet to learn an explicit function that mimics the teacher's anomaly detection behavior based on its negative log-likelihood scores.
Mira: That's right, and what they claim is that this approach avoids deploying another complex neural network student altogether. Instead, they aim for a representation where you have a formula whose inputs, operations, and numerical behavior can be directly inspected by physicists.
Lev: From my side, I'm focused on the fact that the teacher model itself uses an exact negative log-likelihood under the learned density as its anomaly score. This is different from reconstruction error methods or variational approaches that use a lower bound on likelihood, so this explicit likelihood function is what makes it tractable for distillation.
Kai: So, to summarize what's important here, they take the teacher's exact negative log-likelihood and use symbolnet to find the simplest possible symbolic representation of that score as a function of the fifty seven input features. The goal is real-time deployment at Level-one trigger <ref:2611.30896#pg1>.
Mira: And why this matters for us, it’s because it shows knowledge distillation can successfully separate the complexity of learning the standard model distribution from what you ultimately deploy for triggering events at the LHC. It gives us a route to translate highly expressive models into something transparent and compatible with real-time constraints.
Lev: The caveat I always bring up is that they rely on a specific teacher, which is the RealNVP normalising flow developed in reference seventeen so if that teacher model has any hidden assumptions or limitations, those limitations are directly inherited by the symbolic student <ref:2611.30896#pg2>.
Kai: That's fair. They use the same benchmark datasets and pre-processing as reference seventeen for their training and testing, which means we're evaluating this on a consistent set of physics data from ATLAS and CMS events <ref:2611.30896#pg2>.
Mira: And they used two point eight million events for training, seven hundred thousand for validation, and an independent sample of two million events for testing to train the symbolic student. That's a solid amount of data to learn that function effectively.
Lev: From a real-hardware perspective, the fact that the final expression is fixed and countable before synthesis is what makes it possible to target specific hardware resources like lookup tables and DSP slices on an FPGA. It’s not just a black box anymore; it's a structure we can optimize.
Kai: So, the key takeaway for this paper is that distillation isn't just about shrinking models; it’s about transforming the deployment format from a neural network to an explicit mathematical formula for faster, more transparent real-time anomaly detection.
Conclusion: Kai: We're wrapping up our discussion on this paper, "Distillation of a Normalising Flow into a Compact Symbolic Expression for Real-Time Anomaly Detection at the LHC Level-one Trigger <ref:2611.30896#pg1,Distillation of a Normalising Flow into a Compact Symbolic Expression for Real>." This work really shows how distillation can be used to simplify models for practical deployment.
Mira: It moves beyond just making the model smaller; it focuses on creating an explicit mathematical formula whose inputs and operations are directly examinable, which is a key feature. It provides a path for translating those complex anomaly detection models into forms that fit the constraints of real-time triggering systems.
Lev: For us in error correction and hardware design, the main implication is that having this structure means we can analyze the arithmetic complexity upfront rather than just dealing with an opaque neural network architecture during synthesis.
Kai: So, to put it plainly, this paper gives researchers a concrete route for taking highly expressive anomaly-detection models and turning them into compact, transparent representations suitable for the speed requirements of real-time LHC triggering.
Mira: It suggests that instead of always deploying another neural network student, we should explore whether the underlying behavior can be captured by an explicit mathematical expression.
Lev: And from my perspective on error correction, this opens up a way to rigorously analyze and optimize those expressions before committing to the hardware build.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2512.18414-Commissioning of proANUBIS: A proof-of-concept detector for the ANUBIS experiment
- 2512.13926-Construction of proANUBIS: A proof-of-concept detector for the ANUBIS experiment
- 2606.26862-Projected sensitivity of the ANUBIS detector to heavy neutral leptons
- 2607.20246-Evidence for longitudinally polarised Z bosons in electroweak W plus or minusZ production in association with two jets from pp collisions at sqrt s = 13 TeV and 13.6 TeV with the ATLAS detector
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04
- 2609.31321-Suitability studies of exotic muon decay at the High Intensity heavy-ion Accelerator Facility
- 2502.00181-MAIA: A new detector concept for a 10 TeV muon collider