DAMA-BAX & mpBAX

Bayesian Algorithm Execution for storage-ring design — 40–90× fewer simulations.

DAMA-BAX applies multipoint Bayesian Algorithm Execution to one of the costliest calculations in storage-ring design: choosing the sextupole settings that give a lattice the largest dynamic and momentum apertures. Instead of simulating a full particle map for every candidate lattice, it simulates one particle at a time, only where the answer could move the Pareto front. It ships as the open-source mpBAX framework, later the testbed for an LLM-agent autoresearch program.

Why

Sextupole magnets correct a ring's chromaticity but shrink the region of stable motion. The dynamic aperture (DA), the area of transverse positions from which an injected particle survives, sets injection efficiency; the momentum aperture (MA), the energy kick a particle can absorb and still stay in the ring, sets beam lifetime. Both bound photon flux and trade against each other, so designers look for a Pareto front.

Scoring one candidate lattice means tracking thousands of particles for thousands of turns: a multipoint objective, where every optimizer step hides a scan over the particles' starting coordinates. Production genetic and swarm optimizers afford on the order of a thousand candidates per study; the paper's NSGA-II baseline used some 22 million tracking simulations. Unlike Badger's online tuning of a running machine, this is a design problem; the cost is compute.

How

Bayesian optimization fits a Gaussian process to configuration → area and picks the next full map to simulate. BAX instead models the physics under the objective (configuration and particle position → turns survived), runs the design algorithm itself (DA and MA areas, then NSGA-II) on the surrogate to predict the Pareto front, and asks only for simulations that would change that prediction.

Diagram comparing Bayesian optimization, which simulates a full particle map per configuration and models configuration to area with a Gaussian process, against multipointBAX, which simulates one particle from each of many configurations and models configuration plus position to survived turns with a neural network.
Figure 1. Bayesian optimization (left) simulates a whole map per step and models the scalar objective; multipointBAX (right) simulates one particle from each of many configurations and models the map itself. Figure adapted from arXiv:2511.17850.

The method is packaged as mpBAX: YAML-configured experiments, one oracle and model per objective, per-loop checkpoints with resume and rollback, and four overridable engine stages, on NumPy and PyYAML only.

Results

The test case is SSRL-X, a proposed fourth-generation upgrade of the Stanford Synchrotron Radiation Lightsource: a hybrid six-bend achromat lattice with 86 pm natural emittance, its six sextupole families reduced to four chromaticity-neutral knobs. multipointBAX reached the NSGA-II hypervolume with a speed-up of 40–90× end to end (≈1k vs ≈38k core-hours), and more than 400× in the optimization loop itself (≈100 vs ≈38k core-hours). The gap is the final verification, which on a four-knob problem dominates BAX's budget and shrinks on harder problems.

Hypervolume versus number of single-particle evaluations on a log axis. The BAX curve reaches the plateau near 25 thousand evaluations, or 265 thousand including the final evaluation; the NSGA-II curve reaches the same plateau near 11 million.
Figure 2. Hypervolume against tracking simulations for multipointBAX and NSGA-II (two runs, 2σ bands); dashed curves are optimization only, solid curves add the final evaluation. Stars mark BAX's early stop and where NSGA-II catches up. Figure adapted from arXiv:2511.17850.

Autoresearch

In 2026 the optimizer became a testbed for autonomous research agents. The autoresearch framework was built at LBNL by T. Hellert (autoresearch-commissioning); our group was its first external user, adapting it to DAMA-BAX optimization. Agents propose one code change at a time to the acquisition strategy, budget split or surrogate architecture; a fixed harness scores it on a held-out error seed; only improvements are merged. Over hundreds of experiments the cleanest test was a benchmark shipped with its surrogate deliberately crippled to a single linear layer. One experiment rebuilt it to the hand-tuned reference; in a second run the agents surpassed that reference within seven experiments (hypervolume 11.40 vs 10.80).

Hypervolume per experiment in the hardened autoresearch run: adopted experiments step from 7.10 to 11.40, above the hand-tuned reference of 10.80. 0 5 10 1 7 13 experiment hypervolume hand-tuned reference 10.80 start: surrogate crippled to one linear layer 11.40
Figure 3. Hypervolume per experiment in the second hardened run; accent dots were adopted, the step line is the adopted best so far. Experiment 7 reached 11.40, above the hand-tuned reference of 10.80. Data from the internal campaign review.

What I did. First author of seven (SLAC, DESY, LBNL, USC); sole developer of mpBAX; ran the autoresearch program on the DAMA-BAX side.

Preprint: arXiv:2511.17850 (2025). Core-hour comparisons as reported in the paper. Autoresearch hypervolumes come from the internal campaign review.