Online optimization of nonlinear lattice using a data-driven chaos indicator
Minghao Song ID, Yongjun Li ID · 2026
Read Online optimization of nonlinear lattice using a data-driven chaos indicator by Minghao Song ID, Yongjun Li ID (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-16180.txt.
Introduction
Li and Song report running a data-driven chaos indicator live on the NSLS-II storage ring, using turn-by-turn beam position data to judge how predictable electron motion is. A stand-in model of the one-turn map is trained first, and its out-of-sample uncertainty serves as the chaos measure. Tuning sextupole magnets against nonlinear effects then widens the dynamic aperture clearly and improves injection efficiency.
Catalog record
| CREATOR | Minghao Song ID, Yongjun Li ID |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 16643 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2604.16180
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Online optimization of nonlinear lattice using a data-driven chaos indicator Minghao Song ID, Yongjun Li ID Abstract We report the experimental implementation of a Data-Driven Chaos Indicator (DDCI) [Y. Li et al. , Nucl. Instrum. Methods Phys. Res. A 1024 (2022) 166060] for online optimization of the National Synchrotron Light Source II (NSLS-II) storage ring. The DDCI quantifies the predictability of electron beam dynamics using turn-by-turn beam position monitor data. A surrogate model of the one-turn map is first trained, and its out-of-sample predictive uncertainty is then employed as a measurable indicator of chaos. By tuning sextupole magnets to mitigate nonlinear effects, a clear enlargement of the dynamic aperture is achieved, accompanied by a corresponding improvement in injection efficiency. The nonlinear beam dynamics of storage rings determine key operational performance metrics, including injection efficiency and beam lifetime, which are closely correlated with the dynamic aperture (DA) and momentum acceptance (MA). During the design stage, storage ring lattices are typically optimized to enhance DA and MA using physics-based accelerator models and/or simulation-driven objectives. However, the “as-built” machine inevitably contains unmodeled imperfections, such as magnet field errors, alignment and calibration residuals, hysteresis effects, and stray fields. These discrepancies can significantly degrade nonlinear performance relative to design expectations. Consequently, online optimization based directly on experimental data is strongly motivated. A key challenge in the online optimization of nonlinear lattices lies in defining a robust objective function that (1) is experimentally measurable within limited beam time, (2) is sensitive to the nonlinear dynamics governing DA and MA, and (3) is sufficiently smooth and repeatable to effectively guide an optimizer under operational constraints. Traditional chaos indicators, such as Lyapunov exponents 4 ; 12 ; 3 , forward–reverse integration error 8 ; 10 , and tangent map methods 13 ; 11 , are powerful in simulation but are not readily quantifiable in real-world accelerators. This paper presents the experimental validation of a Data-Driven Chaos Indicator (DDCI), originally introduced and demonstrated offline using simulated data in Ref. 9 . The method exploits the fundamental property that chaos limits predictability. When beam motion is represented by turn-by-turn trajectories, predictability can be quantified by training a surrogate model to learn the one-turn map from beam position monitor (BPM) data and evaluating its out-of-sample prediction performance. For a fixed surrogate architecture and data quality, reduced predictability reflects increased chaos in the underlying system. This behavior can be leveraged as an objective for optimization by tuning the available control knobs. Consider the transverse one-turn map of the storage ring, \boldsymbol{X}_{n+1}=M(\boldsymbol{X}_{n}),\qquad\boldsymbol{X}=(x,x^{\prime},y,y^{\prime}), where M denotes the effective one-turn transformation at the observation point and \boldsymbol{X}_{n} represents the transverse phase-space coordinate at turn n with the closed-orbit components subtracted. In an ideal symplectic description, the map M is deterministic and measure-preserving for single-particle motion. Chaos is then characterized by exponential sensitivity to initial conditions, meaning that small differences in initial conditions can grow exponentially over time. In the linear regime, two close initial conditions, separated by \Delta\boldsymbol{X}_{n} , propagate linearly: \Delta\boldsymbol{X}_{n+1}\approx J_{M}(\boldsymbol{X}_{n})\,\Delta\boldsymbol{X}_{n}, where J_{M} is the Jacobian of M . However, for chaotic trajectories, the deviation evolves approximately as \|\Delta\boldsymbol{X}_{n+1}\|\sim e^{\lambda\tau}\,\|\Delta\boldsymbol{X}_{n}\|, with \lambda denoting a finite-time Lyapunov exponent (with \tau the revolution time of electrons in storage rings). Even without explicitly computing \lambda , this exponential growth implies a limited prediction window beyond which accurate prediction of the trajectory becomes unreliable. Under real machine conditions, the observed map also includes measurement and dynamical effects. When we attempt to predict \boldsymbol{X}_{n+1} from \boldsymbol{X}_{n} using a surrogate \widehat{M} trained from data, the one-turn prediction error can be approximately decomposed into three contributions: \displaystyle\boldsymbol{e}_{n+1} \displaystyle\equiv\boldsymbol{X}_{n+1}-\widehat{M}(\boldsymbol{X}_{n}) (1) \displaystyle=\underbrace{\left[M(\boldsymbol{X}_{n})-\widehat{M}(\boldsymbol{X}_{n})\right]}_{\text{model bias}}+\underbrace{\boldsymbol{r}_{n+1}}_{\begin{subarray}{c}\text{random}\\ \text{effects}\end{subarray}}+\underbrace{\boldsymbol{d}_{n+1}}_{\begin{subarray}{c}\text{slow}\\ \text{drifts}\end{subarray}}, where \boldsymbol{r}_{n+1} represents measurement noise, for example, fluctuations in BPM readings, radiation damping, and decoherence. \boldsymbol{d}_{n+1} describes slow drifts, such as changes in orbit or optics over the evaluation window. Under the present experimental conditions, measurement noise and slow drift are mitigated by high-precision beam diagnostics and a confined acquisition window, while the surrogate structure is fixed across evaluations. For optimization, variations in prediction error are therefore dominated by the underlying nonlinear dynamics, allowing predictability to serve as a practical proxy for chaos. When the oscillation amplitude is sufficiently small, nearby points in phase space evolve smoothly, so the map M can be well approximated by a surrogate of fixed complexity, leading to a small bias. However, as the amplitude increases, the map exhibits stronger chaos, and a progressively more complex surrogate is needed. If we insist on using a fixed-complexity surrogate, chaotic motion can be characterized as irreducible error. The use of predictability as a practical chaos indicator can be further justified by the exponential amplification of uncertainty and finite data resolution. In chaotic systems, small uncertainties grow exponentially over time, quickly limiting predictive accuracy. At the same time, finite data make learning more difficult, especially as nearby points in phase space diverge and follow different dynamics. As a result, reduced predictability reflects stronger chaotic behavior. Under fixed surrogate class, data acquisition, and noise conditions, variations in prediction error primarily reflect changes in the underlying dynamical complexity rather than modeling artifacts. Although predictability is not the same as a Lyapunov exponent, in our case, the DDCI serves as a consistent measure of how difficult the underlying dynamics are to learn and predict. In principle, long-term predictability quantifies chaos accurately. In practice, in storage rings with strong lattice structure, local nonlinear distortions captured in the one-turn map are strongly correlated with global stability properties such as DA. Therefore, one-turn predictability is already informative for online tuning at real-world accelerators. The above considerations establish predictability as a practical and measurable chaos indicator. We now describe its experimental implementation. The experiment is conducted on the NSLS-II storage ring, a 3 GeV electron storage ring comprising 30 cells with a double-bend achromat lattice 2 . While its baseline nonlinear lattice was optimized during the design stage, the operational machine exhibits residual nonlinear performance limitations. In this study, six families of harmonic sextupoles are used as tuning knobs to suppress chaos without altering the linear chromaticity. For each sextupole configuration evaluated by the optimizer, the beam is excited with a pinger magnet to four progressively increasing amplitudes in the transverse (x\text{--}y) plane to probe nonlinearities. At each amplitude, three repeated excitations are performed to assess repeatability and provide multiple datasets for training and testing statistics. Then a dedicated BPM pair separated by a pure drift is used to acquire turn-by-turn (TbT) beam positions 7 , which are then used to construct the four-dimensional phase-space coordinate after nonlinear calibration 1 . Instead of generating many independent trajectories, successive turns from a single excitation are used to form input–output pairs. The main reason is that the measurement can be completed within a finite operational time window. In the meantime, the slow drift in Eq. ( 1 ) can be neglected. The surrogate is obtained by training on a randomly selected 90% subset of input–output pairs, while the remaining pairs are used for out-of-sample prediction testing. The prediction performance is quantified as a chaos indicator to drive the optimizer to adjust the sextupole knobs. To assess robustness against sampling variance, each dataset is randomly shuffled for cross-validation. The complete closed-loop optimization procedure is illustrated