← Latest papers
⚛️ high-energy experiments

First Experimental Demonstration of Reinforcement Learning-Based Tuning on the PSI Injector 2 Cyclotron

This paper presents the first experimental demonstration of a reinforcement learning-based framework successfully deployed on the PSI Injector 2 cyclotron, where an agent achieved robust, low-loss beam tuning across multiple operating points and high currents (up to 800 μA) within a 12-day campaign, proving the viability of automated tuning for high-power accelerator applications.

Original authors: M. Haj Tahar, W. Joho, E. Solodko, M. Bocchio, S. Marquie, M. Busch, A. Barchetti, J. Grillenberger, J. Snuverink, M. Schneider

Published 2026-07-20
📖 5 min read🧠 Deep dive

Original authors: M. Haj Tahar, W. Joho, E. Solodko, M. Bocchio, S. Marquie, M. Busch, A. Barchetti, J. Grillenberger, J. Snuverink, M. Schneider

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

Imagine a giant, high-speed racetrack for tiny particles called protons. This isn't a track for cars, but a massive machine called a cyclotron that whips these particles around in a spiral, speeding them up until they are moving at a significant fraction of the speed of light. Scientists use these super-fast particles to create new materials, study the building blocks of the universe, and even help figure out how to clean up nuclear waste. But here's the tricky part: keeping this racetrack running smoothly is incredibly hard. The machine is sensitive to tiny changes in temperature, magnetic fields, and even the sheer number of particles zooming around. If things get slightly out of whack, the beam of particles can miss its target or crash into the walls, causing the machine to shut down.

Traditionally, fixing these machines is like trying to tune a massive, complex orchestra while it's playing. A team of human experts has to listen to the music, guess which instrument is out of tune, and manually twist knobs to fix it. This takes a long time, and if the machine has a sudden glitch, the experts might not be able to fix it fast enough to keep the show going. The big question scientists have been asking is: Can we teach a computer to be the conductor? Can we use Artificial Intelligence (AI) to listen to the machine, figure out what's wrong, and fix it instantly, all on its own? This is where the story of "Reinforcement Learning" comes in. Think of it like training a dog: you give it a command, it tries something, and if it does well, you give it a treat (a reward). If it messes up, you don't give a treat. Eventually, the dog learns exactly what to do to get the most treats. In this case, the "dog" is a computer program, and the "treats" are a perfectly tuned particle beam.


In a recent experiment at the Paul Scherrer Institut in Switzerland, a team of scientists decided to see if this "digital dog" could actually learn to tune a real, high-power particle accelerator. They chose a machine called the Injector 2 cyclotron, which is a crucial part of a larger facility that produces some of the most intense proton beams in the world. The researchers didn't just write a simple computer program; they built a Reinforcement Learning (RL) agent. This agent was designed to act like a super-fast, tireless tuner that could look at the machine's current state and decide exactly which knobs to turn to make the beam perfect.

The team set up a 12-day marathon of testing. They started by teaching the AI at a very low, safe power level, letting it make mistakes and learn from them without causing any real damage. They gave the AI a special "reward system." Every time the beam was straight and didn't crash into the walls, the AI got a high score. If the beam started to wobble or lose particles, the score went down. To make the learning process faster, they also invented a clever trick called an "overshoot strategy." Usually, when you turn a big magnet in these machines, it takes a long time—about 60 seconds—for the magnetic field to settle down. The AI had to wait that long to see if its adjustment worked. The researchers figured out that if they turned the magnet too far and then quickly pulled it back, the field would settle in just 10 seconds. This made the AI six times faster at learning!

The results were impressive. The AI learned to tune the machine for five different operating modes in just a few hours. In some cases, it learned so well that it could keep the machine running perfectly stable all night long, automatically fixing tiny drifts that happen as the machine gets warm or cold, without any human help. Even more surprisingly, the AI learned at a low power level (20 microamperes) but was then able to take control of the machine at much higher power levels, up to 800 microamperes, without needing to be retrained. It successfully kept the beam stable and prevented crashes, proving that the skills it learned at low power could be applied to high-power situations.

However, the paper is careful to point out what this doesn't mean. The AI didn't learn to fix a broken machine part, like a shattered magnet or a dead power supply. It also didn't learn to tune the machine from scratch in the time it takes to blink; it still needed a few hours of training to get good at a specific setting. The researchers found that the AI's "knowledge" didn't automatically transfer perfectly between all settings. For example, a strategy that worked great for one type of beam path didn't always work immediately for a different path; the AI sometimes had to relearn or adjust its approach. But, by using a "surrogate model"—a digital twin of the machine built from old data—the AI could learn much faster than starting from zero.

Ultimately, this experiment showed that for the first time, a machine learning agent could reliably tune a high-power cyclotron, keeping it running safely and efficiently on its own. It didn't replace the human experts entirely, especially for the initial setup, but it proved that once the machine is running, an AI can act as a tireless, super-fast guardian, keeping the beam on track and ready for the next big scientific discovery. This is a major step toward the future of "Accelerator Driven Systems," where these machines might one day run continuously to help solve global energy and waste problems, relying on smart software to keep them safe and steady.

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 →