← Latest papers
⚛️ high-energy experiments

Real-time lepton identification at LHCb in Run 3 using Lipschitz neural networks

This paper presents Lipschitz-constrained neural networks deployed on GPUs for the LHCb Run 3 software trigger, achieving improved real-time muon and electron identification efficiency and background rejection while meeting strict throughput and memory constraints.

Original authors: Adrian Casais Vidal, Kate A. Richardson, Maarten Van Veghel, Marco Santimaria, Marianna Fontana, Mike Williams

Published 2026-09-09
📖 5 min read🧠 Deep dive

Original authors: Adrian Casais Vidal, Kate A. Richardson, Maarten Van Veghel, Marco Santimaria, Marianna Fontana, Mike Williams

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Deep within the heart of the Large Hadron Collider, a machine that smashes protons together at nearly the speed of light, scientists are engaged in a relentless hunt for the building blocks of the universe. The LHCb experiment, situated at CERN in Europe, acts as a specialized camera focused on a narrow slice of the collision debris. Its primary goal is to study heavy particles that decay into lighter ones, often leaving behind fleeting traces of muons and electrons. These particles are crucial messengers; they appear in the aftermath of exotic decays that could reveal new laws of physics or explain why the universe is made of matter rather than antimatter. However, the sheer volume of data created by these collisions is overwhelming. The machine produces billions of interactions every second, far more than any computer could ever store or analyze. To cope with this deluge, the experiment relies on a sophisticated digital filter, a trigger system that must instantly decide which collisions are worth keeping and which are just background noise. In the past, this filtering was done by hardware, but the latest upgrade has shifted the entire process to software, running on powerful graphics processors that can analyze every single collision in real time. The challenge for the scientists is to make these software filters smart enough to spot the rare, interesting particles without getting confused by the common ones, all while operating at speeds that would make a supercomputer blink.

In this new era of the LHCb experiment, known as Run 3, the team faced a specific problem: how to teach a computer to distinguish between a genuine electron or muon and a look-alike particle, such as a pion, that mimics their behavior. Traditional methods relied on simple rules, like drawing a line on a graph and keeping everything on one side. While these rules are fast and reliable, they are not very good at separating the signal from the noise when the particles have complex behaviors. The researchers decided to try a different approach using neural networks, a type of artificial intelligence inspired by the human brain. However, they could not simply use any neural network. The system had to be incredibly fast, fit into a tiny amount of computer memory, and, most importantly, be predictable. If the input data changed slightly due to a fluctuation in the detector, the computer's decision should not swing wildly. To solve this, the team developed a new kind of neural network that is mathematically constrained to be stable. They call these Lipschitz-constrained networks. This constraint ensures that the output of the computer changes only in proportion to the changes in the input, preventing the system from making erratic mistakes when faced with slightly different conditions.

The researchers built two separate versions of this stable neural network: one specifically for identifying muons and another for electrons. To train these networks, they fed them millions of simulated events, essentially creating a virtual laboratory where they knew exactly what particles were present. For the muon detector, the network learned to look at how well a particle's path matched the hits recorded in the muon chambers, while also checking if the particle's direction remained steady as it traveled through the detector. Real muons tend to travel in straight lines, whereas other particles often scatter or decay, causing their paths to kink. For the electron detector, the network analyzed how much energy a particle deposited in a calorimeter, a device that stops particles and measures their energy. Electrons dump almost all their energy in a compact, predictable pattern, while other particles spread their energy out or leave it behind. By combining these different clues, the networks learned to make a single, confident decision about whether a particle was an electron or a muon.

The results of this work show that these constrained neural networks are a significant improvement over the old, rule-based methods. When tested on simulated data, the new system was much better at rejecting background particles while keeping the genuine muons and electrons. This is particularly important for particles with lower energy, where the old methods struggled to tell the difference between a signal and noise. The new networks achieved this higher accuracy without slowing down the system or requiring more computer memory. In fact, the neural networks are so compact that they take up less than one percent of the processing time on the graphics cards used for the trigger. They add only a tiny amount of data to the information stream, making them a negligible burden on the system's resources. The researchers found that the networks performed consistently well across different types of particles and energy levels, proving that the mathematical constraints did not limit their ability to learn complex patterns.

Although the results presented in this study are based entirely on computer simulations, the algorithms have already been deployed in the actual LHCb trigger system and are running stably in production. This means that the real-time decisions being made at the collider are now guided by these advanced, stable neural networks. The success of this project demonstrates that it is possible to use sophisticated machine learning in the most demanding, high-speed environments of particle physics, provided the models are designed with strict rules to ensure reliability. By balancing the power of artificial intelligence with the need for predictability and speed, the LHCb team has created a more efficient filter for the universe's most energetic collisions. This approach allows the experiment to capture a wider range of rare events, potentially opening the door to new discoveries about the fundamental nature of matter. The work serves as a blueprint for how other high-energy physics experiments might integrate similar intelligent systems, proving that careful design can make complex algorithms both powerful and trustworthy in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →