Cheetah: Bridging the Gap Between Machine Learning and Particle Accelerator Physics with High-Speed, Differentiable Simulations

Jan Kaiser, Chenran Xu, Annika Eichler, Andrea Santamaria Garcia
1/11/2024
physics.acc-phcs.AIcs.LG

No official code found. Best implementation: desy-ml/cheetah (72 stars, GPL-3.0, last commit 2026-04-29). 1 more below.

Abstract

Machine learning has emerged as a powerful solution to the modern challenges in accelerator physics. However, the limited availability of beam time, the computational cost of simulations, and the high-dimensionality of optimisation problems pose significant challenges in generating the required data for training state-of-the-art machine learning models. In this work, we introduce Cheetah, a PyTorch-based high-speed differentiable linear-beam dynamics code. Cheetah enables the fast collection of large data sets by reducing computation times by multiple orders of magnitude and facilitates efficient gradient-based optimisation for accelerator tuning and system identification. This positions Cheetah as a user-friendly, readily extensible tool that integrates seamlessly with widely adopted machine learning tools. We showcase the utility of Cheetah through five examples, including reinforcement learning training, gradient-based beamline tuning, gradient-based system identification, physics-informed Bayesian optimisation priors, and modular neural network surrogate modelling of space charge effects. The use of such a high-speed differentiable simulation code will simplify the development of machine learning-based methods for particle accelerators and fast-track their integration into everyday operations of accelerator facilities.

View on arXivView PDF

Code Implementations(2)

desy-ml/cheetahCommunity100%
GPL-3.0

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.

7230PythonNov 5, 20215 months agoGPL-3.0
accelerator-physicsdata-collectiondifferentiable-simulationsmachine-learningpython+2 more
GPL-3.0

Demos of Cheetah being used for various applications presented in "Cheetah: Bridging the Gap Between Machine Learning and Particle Accelerator Physics with High-Speed, Differentiable Simulations"

72Shell, PythonNov 13, 20231 years agoGPL-3.0
bayesian-optimizationdifferentiable-simulationsmachine-learning

Similar Papers

Cite this paper

@article{kaiser2024cheetah,
  title  = {Cheetah: Bridging the Gap Between Machine Learning and Particle Accelerator Physics with High-Speed, Differentiable Simulations},
  author = {Jan Kaiser and Chenran Xu and Annika Eichler and Andrea Santamaria Garcia},
  year   = {2024},
  eprint = {2401.05815},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.05815v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.05815.svg)](https://codeofpaper.com/paper/2401.05815)

Discussion