WorksComputer Science
Bayesian Optimisation under State-Preservation Constraints
Abstract
In many engineering design problems, the objective and constraints depend on the state: the solution of a PDE determined by the design parameters. We consider improving a design while holding selected state observables near trusted values, which we call state preservation constraints. Constrained Bayesian optimisation handles these with a learnt feasibility model, but struggles with this problem's highly anisotropic feasible set. Our central idea is to pre-compute the set of controls whose linearised constraint response stays within tolerance, thereby pulling back the state-space constraint into design space. This linearisation defines an ellipsoid from which we can efficiently draw a large number of well-spread candidates. The underlying linear response map is refined online, and the ellipsoid is rebuilt accordingly. We demonstrate the method end-to-end on our key application - Tokamak divertor optimisation under plasma-boundary preservation.
Introduction
There is a rich history of applying optimisation techniques to engineering design ([12]). Often, we rely on legacy, nondifferentiable codebases to evaluate expensive objective functions ([26] (Du et al. 2023)). feasible set and adopt it as a constraint-aware proposal geometry for the Bayesian optimisation loop. This ellipsoidal region is available in closed form, and millions of well-spread candidates can be drawn from it at negligible cost (Figure 1b). We additionally refine its defining linear response map online by regression and rebuild the region accordingly. Hence, at the cost of extracting a single Jacobian, we pre-compute and refine the geometry a purely data-driven method must spend its budget learning.
Figure 1. Left: (a) uniform samples across coil-current design variables and (b) well-spread samples from the linearised feasible region , restricted to the D1, D2, D3 coils for presentation. Points feasible under the LCFS preservation constraint (desired fixed central region) are green, infeasible red. The starred point is our baseline solution. Right: (c, d) the resulting PDE solutions of the sampled design variables superposed on the baseline solution (black) corresponding to the designs in (a) and (b). This is a vertical slice of a tokamak reactor torus. (e, f) the same construction over the full current domain, showing how tightly constrains the LCFS. Adopting as the proposal geometry within BO is the essence of our method.
Our primary application is divertor design for tokamak fusion reactors — a critical problem plagued by expensive numerical physics simulations. We seek to optimise a divertor’s magnetic geometry for improved heat-exhaust performance while preserving the plasma boundary of a baseline equilibrium, known as the last closed flux surface (LCFS). This ensures the reactor’s confinement properties are preserved (Figure 1c-Figure 1f and Figure 2). Recent work applies Bayesian optimisation in this setting, using connection length as a performance proxy and learning core preservation as a constraint (Nunn et al. [34]). We instead incorporate preservation directly into the proposal geometry, demonstrating substantial gains in sample efficiency over standard constrained-BO baselines, with ablations showing that the proposal geometry is the principal source of the improvement.
Figure 2. (a) A reconstructed super-X equilibrium from MAST-U shot 53349. We take this equilibrium as our baseline (starting design). (b, c) Random current perturbations (within known MAST-U PF coil bounds) demonstrating the sensitivity of the LCFS (black traced contour). The centre of the black boxes denotes coil location. We will be optimising the current strengths (and later the coil locations) in order to get desirable properties of the separatrix (red contour line), whilst attempting to preserve the LCFS at its baseline shape.
BACKGROUND
Bayesian optimisation. We wish to maximise an objective function . We assume that is expensive to evaluate and derivative-free, making sample efficiency our primary concern. Bayesian optimisation addresses this setting by sequentially constructing a probabilistic surrogate over the already observed evaluations . Gaussian processes (GPs) are widely used as surrogate models, providing a closed-form posterior predictive distribution for (Rasmussen and Williams [39]).
Each surrogate model is then used to choose the next evaluation, as selected by maximising an acquisition function defined on this posterior. Acquisition functions balance regions of high predicted objective value against those of high uncertainty, e.g. we can use the expected improvement (EI) (Jones, Schonlau, and Welch [22]) over the score of the current best location (the incumbent) , given by;
Constrained Bayesian optimisation. Suppose feasibility is defined by constraints . Standard constrained BO places probabilistic surrogates on the constraints and incorporates feasibility through the acquisition function; for example, constrained expected improvement takes the form
with the feasibility probability obtained from learnt constraint models (Schonlau, Welch, and Jones [41]; Gardner et al. [13]; Gelbart, Snoek, and R. P. Adams [14]). Alternatives use information-theoretic acquisitions or penalty-based formulations (Hernández-Lobato et al. [17]; Lu and Paulson 2022). In all cases, feasibility is judged by a learnt constraint surrogate (Eriksson and Poloczek [11]), while the initial design and candidate generation remain over the ambient domain. We show that for state preservation constraints these surrogates are often poor: the feasible set is thin and anisotropic, and a few expensive evaluations are not enough to resolve its boundary.
Multi-objective Bayesian optimisation. In multi-objective BO (MOBO) it is common to replace seeking scalar improvements in the current best solution by instead seeking improvements over the problem’s Pareto front — the set of optimal tradeoffs between the multiple objectives. The resulting acquisition function is the Expected Hyper-Volume Improvement (EHVI) of Emmerich, Giannakoglou, and Naujoks 2006, implemented efficiently by Daulton, Balandat, and Bakshy 2020.
Local feasible-set approximations. In this work, rather than learning feasibility pointwise, we will approximate the feasible set directly as a geometric object. This is a classical technique in constrained optimisation, however, this has yet to be fully explored in BO. For example, sequential quadratic programming combines a local quadratic model of the objective with linearised constraints; trust-region variants limit steps to a neighbourhood where these approximations remain reliable ([33]) and derivative-free methods such as COBYLA construct local linear models of the constraints from function evaluations ([38]). We adapt these ideas from the nonlinear-programming literature and use the local linearised feasible region to provide candidate proposals within a Bayesian optimisation loop. We further update this approximation of the feasible region online, using data observations.
Optimising under the simulator constraint. One could avoid learning the constraint altogether and maximise the acquisition function subject to the simulator-defined feasibility directly, making the inner loop a PDE-constrained optimisation ([19]). We do not — this approach only makes sense when checking feasibility is significantly cheaper than evaluating the objective. Furthermore, gradients may in principle be obtained by finite differences or adjoint methods, but, here, neither is straightforward. Finally, gradient-based optimisation of the resulting non-convex acquisition function is typically local, leaving performance sensitive to initialisation — the difficulty our proposal geometry addresses.
Constraint-Aware Candidate Generation
Let denote a design and let denote the corresponding system state produced by an expensive simulator. We seek to optimise an objective while preserving a selected observable relative to a baseline design .
We define feasibility by
where is a norm on the observable space and is a prescribed tolerance. Writing
for the constraint violation. Our optimisation problem is therefore
The linearised feasible region
The essence of our method is to approximate the feasible set to first order and use this approximation as the proposal geometry for Bayesian optimisation.
Around the baseline design , a first-order expansion gives
Where the Jacobian . Hence
and therefore
Writing , the first-order approximation to the preservation constraint becomes the linearised feasible region
We use as the proposal geometry for the Bayesian optimisation loop. The intersection keeps the region bounded when is singular.
This construction admits a geometric interpretation. The inner product measures changes in the observable space, while pulls this structure back to design space through
Thus consists of design perturbations whose predicted first-order observable displacement is bounded by .
Ray-based intersection sampling and maximin filtering
At each stage of the optimisation we draw candidates from , where is the linearised feasible region and is either the engineering domain or the current objective-focused trust region. Because may be highly anisotropic, naive box sampling can give poor coverage. We therefore generate a large candidate pool by ray-based sampling within , using analytic intersections with the ellipsoidal and box boundaries, and then greedily retain a well-spread subset using a maximin criterion [21]. This procedure allows very large candidate pools to be generated cheaply; implementation details are given in Appendix § 10.
Online refinement
The initial response map
describes the infinitesimal change in the observable around the baseline. As the optimisation explores finite displacements from , nonlinear effects cause this local differential to become an imperfect predictor of the observed change .
Every simulator evaluation, however, provides additional information about this response at no extra solver cost. Writing
each evaluated design supplies a displacement pair satisfying approximately
We therefore refit the linear response map by least squares over the pairs observed so far, including the initial finite-difference probes. The proposal geometry is then updated through
Thus the finite-difference Jacobian supplies an initial proposal geometry before BO has collected data, while subsequent evaluations continually adapt that geometry to the finite-scale behaviour encountered by the search.
Feasibility beyond the linearisation
Due to linearisation error, the edges of our feasible region will contain some infeasible points. To handle these, we use a learnt feasibility model to weight the acquisition. Rather than model the scalar violation, we model the change in the observable, and take its norm:
where is the online-refit linear response map from which is built, are the leading modes of an uncentred proper orthogonal decomposition of the residual fields and the are zero-mean GPs on the mode coefficients, learning what is missed by the linearisation [23]. Since is Gaussian under this model, is a quadratic form of a Gaussian vector and is a generalised tail, which we approximate by moment matching.
We refer to this model as our field model, since is field-valued. The construction — a low-rank basis for the field with GPs on its coefficients — is standard for functional outputs [18, 16] and, as we show in § 5, outperforms fitting a scalar GP directly on .
DIVERTOR OPTIMISATION
We now explain our key application of divertor optimisation, as summarised in Figure 2.
Design . Tokamak fusion reactors confine a high-temperature plasma with a magnetic cage of helical field lines. This magnetic field is induced by current flowing through external coils and through the plasma itself. The poloidal field coils shape the confined plasma and the divertor geometry. We take as design , the poloidal field coil currents, and later with their positions.
State . Under axisymmetry, the divergence-free magnetic field admits a scalar representation in terms of a single function: – the poloidal magnetic flux function and constitutes our state. The level sets of define magnetic flux surfaces. At ideal MHD equilibrium, both the pressure and toroidal field function are constant on flux surfaces and the force-balance equation reduces to the Grad-Shafranov equation
where
is the Grad-Shafranov operator. In this work, we use FreeGSNKE [1], to solve the free-boundary Grad-Shafranov equation (GSE). The
GSE takes as inputs the currents and positions of the poloidal field coils and returns the poloidal flux function over the full spatial domain. Example such equilibria are plotted in Figure 2.
Constraint . Charged particles follow magnetic field lines. The field lines arising from solving the GSE may be open, so the charged particles can interact with material surfaces, or closed, when they are confined. The boundary between closed and open field lines is known as the separatrix. On this flux surface, the point(s) where the poloidal magnetic field goes to zero is called the X-point. The last closed flux surface (LCFS) (Figure 2) is the outermost closed magnetic flux surface. The shape of this closed curve is chosen to optimise plasma confinement and stability requirements and therefore acts as our observable .
For a smooth curve, first-order shape changes are described by normal displacement ([31, 43]). Let denote the baseline LCFS. We represent the change to the perturbed LCFS by , whose entries are signed normal displacements measured at equally spaced arclength locations on (construction in Appendix § 9).
Finite differences with respect to the design variables give the response map
a matrix whose th column is the LCFS normal-displacement field produced by a small perturbation of design variable . We measure preservation by the RMS normal displacement,
Objective . A fusion plasma is not a closed system – charged particles and heat continuously escape the confined core and intersect material surfaces on the tokamak wall. In reactor-scale tokamaks, such unmitigated exhaust heat loads far exceed the engineering limits of any practical plasma-facing material ([24]). To manage this, tokamaks employ a dedicated region known as the divertor. The central objective of the divertor is to achieve and control a detached plasma regime, characterised by sufficiently strong power and momentum losses that the plasma cools and begins to recombine before reaching the divertor target. The result is a large reduction of the parallel heat flux incident on material surfaces.
We minimise the detachment-threshold impurity fraction, : the impurity fraction required for detachment onset at the divertor target, at fixed upstream conditions. Lowering this threshold makes detachment easier to access and widens the operating window ([27]). We compute this objective using the reduced divertor model FusionDLS ([4, 25]).
Related work in Fusion Research
We note that considering the linearised coil-to-boundary response is a well-studied construct in tokamak magnetic control. Virtual circuits use it to vary one geometric shape parameter while holding the others fixed [30, 2]. We use the same principle to construct a search region rather than control directions. Relaxing the response’s null space to a region would require a norm on shape parameter changes, instead, we use the norm of the LCFS normal displacement.
Two additional constructions for holding the core fixed appear in the literature and we present them below. However, in both, note that constraint approximations are controlled coarsely by a discrete parameter that sacrifices approximation quality for degrees of freedom. In contrast, our norm-based constraint de-couples LCFS resolution from design dimension: we are able to resolve the LCFS at points while retaining all design directions, with controlling the allowed displacement.
Bardsley, Baker, and Vincent [3] preserve the core approximately by matching the leading spherical-harmonic coefficients of to their baseline values. These coefficients are linear in coil currents, so admissible current changes lie in the null space of the resulting constraint matrix. Each additional harmonic tightens preservation at the cost of a degree of freedom, with no intermediate settings available. The approximation is also conservative as the constraint fixes the field throughout a source-free ball containing the plasma rather than directly preserving the LCFS.
Marsden [29] place conditions on the machine flux at sampled points along the separatrix to define a linear system whose null space supplies simulated-annealing proposals that satisfy the constraints. However, the exactness is only enforced pointwise, with the boundary pinned at a set number of chosen points and unconstrained between them.
Experiments
Experimental protocol. All experiments start from the same MAST-U-like baseline equilibrium with LCFS-displacement tolerance cm. We first optimise paired coil currents, then jointly optimise currents and positions (), and finally consider an additional objective function. Evaluation budgets are 1,000 (currents-only) and 1,500 (joint), with 50 and 100 initial designs respectively. Constructing the initial response map requires an additional finite-difference solves. We report 50 seeds per run, each on 4 CPU cores with 16 GB and 40 GB of memory for and . See Appendix § 8.
Shared implementation details. We compare our proposed algorithm with a variant of the previous application of BO to divertor optimisation (Nunn et al. [34]) (henceforth, the competitor). These two methods differ principally (see Appendix § 8) in candidate generation and feasibility modelling — Nunn et al. [34] attempt to learn core preservation (with a Matérn-5/2 GP on the scalar violation ) whereas we approximate the feasible set directly as a geometric object (details below). For both methods, objectives are modeled with zero-mean GPs with ARD Matérn-5/2 kernels, fit by maximum likelihood. Candidates
are ranked by feasibility-weighted expected improvement, relative to the best observed feasible value. The highest-ranked candidates initialise L-BFGS-B refinement of this acquisition. Both methods deploy the Trust-Region BO (TuRBO) of Eriksson, Pearce, et al. [10] to localise search and modelling to an adaptively sized neighbourhood of the incumbent. Upon trust-region convergence, the objective GP is reset and a fresh initial design is drawn.
Our algorithm. The primary contribution of our paper is the continually updating candidate proposal geometry: the initial design and candidate pools are drawn from the linearised feasible region of § 3. At each iteration, we draw candidates from using ray-based sampling and apply maximin filtering. Acquisition may leave , with feasibility assessed by the field model of § 3.4, using modes. After each step, we refit on all observed pairs, rebuild , and update surrogates and trust regions, see Algorithm 1.
Algorithm 1 Constrained BO with linearised proposal geometry (# initial designs , # steps )
1: Solve 2: Estimate by finite differences ( solves) 3: ; 4: Sample points from ; evaluate , 5: Refit , , and surrogate models 6: for do 7: Sample candidates from ; 8: Maximin filter candidates; rank by 9: Refine top candidates with L-BFGS-B; select 10: Evaluate , 11: Refit , , and surrogate models 12: Update, rescale, and recentre TuRBO region 13: if then 14: Restart objective GP 15: Sample points from ; evaluate 16: Initialise new TuRBO region 17: end if 18: end for 19: return best feasible design
Experiment 1: currents only ()
We first consider the task of optimising currents to minimise the detachment-threshold impurity fraction. Results are presented in Figure 3 and Table 1, alongside a set of ablations on our method (A1-A8) and the competitor (C1-C8) to separate the effects of proposal geometry, feasibility modelling, online refinement and the box trust region. These results show substantial gains over the existing method and raise the following observations.
Figure 3. Currents-only (), 1000 evaluations. Median (bold), IQR (band) and every individual seed (faint). (a),(c) y-axis is best feasible ; the dotted line is the baseline . (b),(d) y-axis is cumulative feasible fraction. (a),(b) our method (A7) against the full competitor sweep C1–C8 over its trust-region size . (c),(d) the best competitor setting (C7) against every ablation A1–A8. Identifiers and colours are shared across all four panels and with Table 1.
| Run | median | IQR | median feas. | IQR |
| C1 competitor, | 0.0827 | [0.0787, 0.0837] | 0.720 | [0.646, 0.768] |
| C2 competitor, | 0.0702 | [0.0665, 0.0728] | 0.214 | [0.155, 0.619] |
| C3 competitor, | 0.0683 | [0.0651, 0.0723] | 0.203 | [0.083, 0.398] |
| C4 competitor, | 0.0692 | [0.0653, 0.0717] | 0.057 | [0.045, 0.103] |
| C5 competitor, | 0.0646 | [0.0563, 0.0722] | 0.064 | [0.039, 0.321] |
| C6 competitor, | 0.0655 | [0.0622, 0.0696] | 0.049 | [0.033, 0.091] |
| C7 competitor, | 0.0636 | [0.0582, 0.0726] | 0.071 | [0.053, 0.251] |
| C8 competitor, | 0.0657 | [0.0577, 0.0702] | 0.047 | [0.034, 0.093] |
| A1 scalar GP, unconfined | 0.0244 | [0.0209, 0.0334] | 0.468 | [0.429, 0.503] |
| A2 box proposals | 0.0238 | [0.0137, 0.0283] | 0.506 | [0.469, 0.525] |
| A3 geometry only | 0.0178 | [0.0120, 0.0244] | 0.908 | [0.877, 0.929] |
| A4 frozen map | 0.0155 | [0.0110, 0.0203] | 0.774 | [0.748, 0.815] |
| A5 scalar GP, confined | 0.0140 | [0.0099, 0.0198] | 0.769 | [0.734, 0.800] |
| A6 hard gate | 0.0142 | [0.0106, 0.0186] | 0.772 | [0.736, 0.800] |
| A7 full | 0.0122 | [0.0090, 0.0171] | 0.895 | [0.876, 0.908] |
| A8 no box | 0.0087 | [0.0069, 0.0134] | 0.911 | [0.895, 0.920] |
Table 1. Final performance at 1000 evaluations. Identifiers match Figure 3; the box defines the ablation.
Our proposal geometry is the principal source of improvement. Most of the performance gain is already obtained once this geometry is used for proposals. A3 uses no surrogate of any kind (sampling randomly from ), yet reaches a median final of 0.018 at 90.8% feasibility — 3.6× better than the best competitor setting. It also outperforms both methods that adopt only one of our other components: the field model with box proposals (A2) and the scalar GP with proposals from but unconfined acquisition refinement (A1).
| A1 | proposals from ; competitor’s scalar GP; acquisition optimiser can leave |
| A2 | competitor’s box proposals (, as C7); our field model (mean ) |
| A3 | proposals from ; no objective or constraint surrogate; random selection |
| A4 | A7 with frozen at the finite-difference Jacobian |
| A5 | A1 with the optimiser held inside |
| A6 | A5 with the scalar GP removed; alone decides feasibility |
| A7 | the full algorithm 1 |
| A8 | A7 with the box trust region removed |
Table 3.
Online refinement is important for maintaining feasibility. Online refitting is primarily a feasibility correction as the local linearisation degrades. Freezing the response map (A4) costs roughly 12% feasibility with no significant objective effect.
The field model allows us to safely leave the linearised region. While unconstrained refinement under the scalar GP gives 47% feasibility (A1), hard confinement to raises it to 77% (A5, A6). Adding the field model and letting L-BFGS refinement leave improves this further to 89.5% (A7). These excursions,
however, buy a minimal amount of objective improvement: A5 to A7 moves the median by a couple percentage points from the baseline, pointing again to the geometry as the key driver.
Trust regions are critical for the competitor, but not for us. Removing trust regions (A8) does not hurt our algorithm, and here even improves it, but makes the competitor a non-starter — sampling and acquisition optimisation over the full engineering bounds yield almost no feasible points and many equilibrium-solver failures. Moreover, even when using trust regions within the competitor, the initial side length of the trust region must be carefully chosen to be small enough to find feasible designs, but large enough to permit useful optimisation. We sweep eight initial side lengths (C1–C8) and see that larger buys progress at the cost of feasibility — once , feasibility falls to below 8% and progress stalls at . Every competitor setting is markedly less sample efficient and has worse cumulative feasibility than our method (A7/A8) – we reach a median final of 0.012, 5.2× better than the best competitor setting, while keeping 89.5% of its evaluations feasible.
Experiment 2: include positions (d=30)
So far, the design variables have been the PF-coil currents alone. We now extend the control vector to include coil positions, . This combined optimisation stresses our method as its control to LCFS perturbation response is much more nonlinear than with currents-only. Each control is normalised by its engineering bounds, and the response map is computed in these normalised coordinates. The bilinear structure of the equilibrium response to positions, and the coordinate transformation it motivates, are deferred to Appendix § 11. Figure 4 shows that our method is markedly more sample-efficient than the competitor, achieving a 2.1× lower detachment threshold at the same evaluation budget. While our method is robust to trust region removal (O1-2), the competitor remains sensitive to trust region setup (C1-8).
Figure 4. Left: Currents and position combined optimisation plots: (a) best -so-far and (b) cumulative feasibility, vs our competitor method (C1-C8). O1: joint with box trust region, O2: without. Right: (c) An illustration of the position bounds, (d) our optimal feasible separatrices from the combined optimisation and (e) from our currents-only optimisations.
Online refinement is critical as we increase nonlinearity Coil positions enter the equilibrium more nonlinearly than currents. With positions included, the frozen linearisation’s median violation-prediction error is 1.07 cm, exceeding the 0.5 cm tolerance. Online refitting reduces the one-step-ahead (held-out) median prediction error to 0.031 cm, allowing us to retain 83.3% feasibility despite stronger nonlinearity.
Extension 3: an additional objective
The focus of our paper is on the handling of preservation constraints, and our exact same machinery can
also be applied to multi-objective Bayesian optimisation by swapping EI with EHVI. Following Cowley et al. [4], we seek to jointly optimise with respect to two key quantities that govern the controllability of a detachment front: connection length (field-line distance from midplane to target) and total flux expansion (ratio of field strength at the X-point to that at the target). Figure 5 demonstrates effective MOBO, finding dense Pareto fronts for both the currents-only (blue) and currents and positions (red) MOBO. We do not run a competitor here, as this would require a non-trivial multi-objective trust-region. The point of this demonstration is to show that our proposal geometry is indifferent to the choice of acquisition function.

Figure 5. Left: HV plots from currents-only MOBO and currents and positions MOBO. Right: The corresponding connection length and total flux expansion pareto plots. Red are the joint MOBO results, blue the currents-only. The ‘x’ is our baseline equilibrium and the HV anchor.
Conclusion
Preservation constraints admit a thin, anisotropic feasible set that is expensive to learn but cheap to compute. Here, uniform sampling of the current box yielded no feasible designs in 1,000 solves (Figure 1e). Thus, a data-driven method must locate the set from scalar observations that almost never land inside it. We get around this by precomputing its first-order approximation from solves and refining it online. On the divertor optimisation problem, using this geometry to propose candidate designs inside a Bayesian optimisation loop reaches a median detachment threshold 5–7× below the best competitor in the currents-only problem while holding ∼90% of evaluations within a 0.5 cm boundary tolerance.
We believe our approach provides a general framework for the Bayesian optimisation of trusted engineering designs under tightly constrained state variation. Future work will apply our method to other key problems in heavily-constrained and high-cost engineering, like radio-frequency cavity (Wang et al. 2026) and stellarator ([35]) design. Moreover, as our experiments show on MOBO, the proposed BO module is self-contained and can be easily plugged into orthogonal BO advances, including batch ([15]), multi-fidelity ([42]), multi-task ([32]) and high-dimensional (Doumont et al. 2025) BO, as well as BO under risk-adversity ([36]).
References
Hyperparameters
Table 2 lists every numerical setting used in the experiments.
| Problem | currents | joint |
| dimension | 10 | 30 |
| tolerance [cm] | 0.5 | |
| leg truncation margin [m] | 0.1 | |
| shot / index | 53349 / 120 | |
| current bounds [A] | PX , P4/P5 , D1–D3 , Dp , D5 , D6 , D7 | |
| Budget | ||
| 50 | 100 | |
| matched-comparison budget | 1000 | 1500 |
| FD Jacobian solves (not counted) | 20 | 60 |
| seeds (ours / per competitor ) | 50 / 30 | 50 / 30 |
| Candidates | ||
| initial pool | ||
| per-iteration pool | ||
| L-BFGS-B refinements per iteration | 2 | |
| Surrogates | ||
| kernel | ARD Matérn-5/2, MLE | |
| hyperparameter refit interval [iters] | 10 | |
| POD modes | 5 | |
| weight of FD probes in map regression | 1.0 (same as an evaluation) | |
| Box trust region (ours) | ||
| initial / minimum length | 1.0 / | |
| expand factor / successes | 2.0 / 2 | |
| shrink factor / failures | 0.5 / 10 | 0.5 / 20 |
| axis scaling | objective GP ARD lengthscales | |
| Competitor | ||
| initial length (swept, C1–C8) | ||
| minimum length | ||
| initial design | 50 (Sobol, in box, incl. baseline) | 100 |
| expand / shrink successes, failures | 3 / 10 | |
| acquisition candidates | 2000 Sobol, 10 L-BFGS-B restarts |
Table 2. Experimental settings for the currents-only () and joint currents-and-positions () problems.
Measuring the LCFS Displacement
The baseline LCFS is the contour , with divertor legs truncated 10 cm beyond the X-point. To discretise this, we resample uniformly in arclength to points and compute their outward unit normals by finite differences.
For an equilibrium with poloidal magnetic flux at the X-point, we compute as the root nearest 0 of . This is precisely a point on the perturbed separatrix along the direction normal to our point on the LCFS. We set this to 1 m if no such root exists within 1 m.
, then, is the central difference of with FD steps of 100 A for currents and 2 cm for positions ( solves). Vertices with no root at these FD probes are dropped, leaving rows used throughout.
Sampling Details
Each candidate is a point on a ray with origin , direction and length . We need to pick a origins of the ray and sample over their directions and lengths.
Origins. We use the baseline (the ellipsoid centre) and the incumbent , whichever lie in , splitting candidates evenly between them. If neither does, we use, in order:
the incumbent under the region snapshot that proposed it;
the point 0.999 of the way from to the boundary of towards , if it lies in ;
or but sampling for that iteration – that is, we drop the box trust region entirely for this iteration.
Directions. To sample directions, we split evenly into two cases.
Let be the eigendecomposition of the metric . For our first half, we sample uniformly in the ellipsoid induced by the constraint pullback, a sphere in . We take direction samples: , with and , so that is uniform on the unit sphere. Since the eigenvalues of span roughly ten orders of magnitude, these directions concentrate along its small-eigenvalue eigenvectors, the coil combinations that barely move the LCFS.
The other half are uniform Euclidean directions, which cover the remaining directions.
Lengths. Each ray is truncated at , where is the positive root of and the exit time from . We draw , and reduce the pool by greedy maximin.
This sampling scheme is heuristic and exact splits between the origins and direction samples will depend on the preservation constraints. It is very fast and parallelisable, however, so we can provide good coverage after down-sampling by maximin.
Bilinear Structure of the Equilibrium Response
The coil (machine) contribution to the flux is linear in the coil currents,
where denotes the Green’s function and the position of coil .
Perturbing about a reference configuration gives, for coil ,
with . The first two terms are linear, while the third couples current and position perturbations through the product .
Writing , the last two terms combine to with the flux moment , so
is linear in .
For the joint problem, and are built in the coordinates and mapped back to (regularised for small ). The refit of regresses on , while the remaining surrogates stay in .
References
- [1]Amorisco, N. C. et al. (2024). “FreeGSNKE: A Python-based dynamic free-boundary toroidal plasma equilibrium solver”. In: *Physics of Plasmas* 31.4, p. 042517. DOI: 10.1063/5.0188467.DOI
- [2]Anand, H. et al. (July 2024). “Real-time plasma equilibrium reconstruction and shape control for the MAST Upgrade tokamak”. In: *Nuclear Fusion* 64.8, p. 086051. DOI: 10.1088/1741-4326/ad5c80. URL: https://doi.org/10.1088/1741-4326/ad5c80.
- [3]Bardsley, O P, J L Baker, and C Vincent (Mar. 2024). “Decoupled magnetic control of spherical tokamak divertors via vacuum harmonic constraints”. In: *Plasma Physics and Controlled Fusion* 66.5, p. 055006. DOI: 10.1088/1361-6587/ad319d. URL: https://doi.org/10.1088/1361-6587/ad319d.
- [4]Cowley, C. et al. (July 2022). “Optimizing detachment control using the magnetic configuration of divertors”. English. In: *Nuclear Fusion* 62.8. © EU-RATOM 2022. ISSN: 0029-5515. DOI: 10.1088/1741-4326/ac7a4c.DOI
- [10]Eriksson, David, Michael Pearce, et al. (2019). “Scalable Global Optimization via Local Bayesian Optimization”. In: *Advances in Neural Information Processing Systems*. Ed. by H. Wallach et al. Vol. 32. Curran Associates, Inc. URL: https://proceedings.neurips.cc/paper_files/paper/2019/file/6c990b7aca7bc7058f5e98ea909e924b-Paper.pdf.arxiv.org/abs/1910.01739
- [11]Eriksson, David and Matthias Poloczek (Apr. 2021). “Scalable Constrained Bayesian Optimization”. In: *Proceedings of The 24th International Conference on Artificial Intelligence and Statistics*. Ed. by Arindam Banerjee and Kenji Fukumizu. Vol. 130. Proceedings of Machine Learning Re- search. PMLR, pp. 730–738. URL: https:// proceedings.mlr.press/v130/eriksson21a. html.arxiv.org/abs/2002.08526
- [12]Forrester, Alexander I. J., András Sóbester, and Andy J. Keane (2008). Engineering Design via Surrogate Modelling: A Practical Guide. Wiley. ISBN: 9780470770801. DOI: 10.1002/9780470770801.DOI
- [13]Gardner, Jacob R. et al. (2014). “Bayesian optimization with inequality constraints”. In: Proceedings of the 31st International Conference on International Conference on Machine Learning - Volume 32. ICML’14. Beijing, China: JMLR.org, II–937–II–945.
- [14]Gelbart, Michael A., Jasper Snoek, and Ryan P. Adams (2014). “Bayesian optimization with unknown constraints”. English (US). In: Uncertainty in Artificial Intelligence - Proceedings of the 30th Conference, UAI 2014. Ed. by {Nevin L.} Zhang and Jin Tian. Uncertainty in Artificial Intelligence - Proceedings of the 30th Conference, UAI 2014. 30th Conference on Uncertainty in Artificial Intelligence, UAI 2014 ; Conference date: 23-07-2014 Through 27-07-2014. AUAI Press, pp. 250–259.arxiv.org/abs/1403.5607
- [15]González, Javier et al. (2016). “Batch Bayesian optimization via local penalization”. In: Artificial intelligence and statistics. PMLR, pp. 648–657.arxiv.org/abs/1505.08052
- [16]Guo, Mengwu and Jan S. Hesthaven (2018). “Reduced Order Modeling for Nonlinear Structural Analysis Using Gaussian Process Regression”. In: Computer Methods in Applied Mechanics and Engineering 341, pp. 807–826. DOI: 10.1016/j.cma.2018.07.017.DOI
- [17]Hernández-Lobato, José Miguel et al. (2015). “Predictive entropy search for Bayesian optimization with unknown constraints”. In: Proceedings of the 32nd International Conference on Machine Learning - Volume 37. ICML’15. Lille, France: JMLR.org, pp. 1699–1707.
- [18]Higdon, Dave et al. (2008). “Computer Model Calibration Using High-Dimensional Output”. In: Journal of the American Statistical Association 103.482, pp. 570–583. DOI: 10.1198/016214507000000888.DOI
- [19]Hinze, Michael et al. (2008). Optimization with PDE Constraints. Springer.
- [21]Johnson, M. E., L. M. Moore, and D. Ylvisaker (1990). “Minimax and Maximin Distance Designs”. In: Journal of Statistical Planning and Inference 26.2, pp. 131–148.
- [22]Jones, Donald R., Matthias Schonlau, and William J. Welch (Dec. 1, 1998). “Efficient Global Optimization of Expensive Black-Box Functions”. In: Journal of Global Optimization 13.4, pp. 455–492. DOI: 10.1023/A:1008306431147. URL: https://doi. org/10.1023/A:1008306431147.DOI
- [23]Kennedy, Marc C. and Anthony O’Hagan (Sept. 2001). “Bayesian Calibration of Computer Models”. In: Journal of the Royal Statistical Society Series B: Statistical Methodology 63.3, pp. 425–464. ISSN: 1369-7412. DOI: 10.1111/1467-9868.00294. eprint: https://academic.oup.com/jrsssb/ article-pdf/63/3/425/49590547/jrsssb_63_ 3_425.pdf. URL: https://doi.org/10.1111/ 1467-9868.00294.
- [24]Kotschenreuther, M. et al. (2007). “On Heat Loading, Novel Divertors and Fusion Reactors”. In: Physics of Plasmas 14.7, p. 072502. DOI: 10.1063/1. 2739422.
- [25]Kryjak, Mike et al. (2026). “DLS-Extended: a reduced model to assess the impact of impurity radiation location on optimal magnetic geometry choices for the STEP divertor”. In: Nuclear Fusion. URL: http://iopscience.iop.org/article/10. 1088/1741-4326/aea0ec.DOI
- [26]Lam, Rémi et al. (2018). “Advances in Bayesian Optimization with Applications in Aerospace Engineering”. In: 2018 AIAA Non-Deterministic Approaches Conference. American Institute of Aeronautics and Astronautics. DOI: 10.2514/6.2018-1656.DOI
- [27]Lipschultz, Bruce, Felix I. Parra, and Ian H. Hutchinson (Apr. 2016). “Sensitivity of detachment extent to magnetic configuration and external parameters”. In: Nuclear Fusion 56.5, p. 056007. DOI: 10.1088/0029-5515/56/5/056007. URL: https:// doi.org/10.1088/0029-5515/56/5/056007.DOI
- [29]Marsden, Chris (2026). FORGE: FORGE Optimises Reactor Geometries to improve Exhaust. Version 1.0.1. URL: https://github.com/ FORGEexhaust/FORGE.
- [30]McArdle, Graham, Luigi Pangione, and Martin Kochan (2020). “The MAST Upgrade plasma control system”. In: Fusion Engineering and Design 159, p. 111764. ISSN: 0920-3796. DOI: https://doi.org/10.1016/j.fusengdes.2020.111764. URL: https://www.sciencedirect.com/science/article/pii/S0920379620303124.
- [31]Michor, Peter W. and David Mumford (2006). “Riemannian geometries on spaces of plane curves”. eng. In: Journal of the European Mathematical Society 008.1, pp. 1–48. URL: http://eudml.org/ doc/277745.DOI
- [32]Moss, Henry B, David S Leslie, and Paul Rayson (2020). “Mumbo: Multi-task max-value bayesian optimization”. In: Joint European Conference on Machine Learning and Knowledge Discovery in Databases. Springer, pp. 447–462.arxiv.org/abs/2006.12093
- [33]Nocedal, Jorge and Stephen J. Wright (2006). Numerical optimization. 2. ed. Springer series in operations research and financial engineering. New York, NY: Springer. XXII, 664. ISBN: 978-0-387-30303-1. URL: http://gso.gbv.de/DB=2.1/CMD?ACT= SRCHA&SRT=YOP&IKT=1016&TRM=ppn+502988711& sourceid=fbw_bibsonomy.
- [34]Nunn, Timothy et al. (July 2025). “Bayesian optimization of poloidal field coil positions in tokamaks”. In: Physics of Plasmas 32.7, p. 072507. ISSN: 1070- 664X. DOI: 10.1063/5.0272085. eprint: https: //pubs.aip.org/aip/pop/article-pdf/doi/ 10.1063/5.0272085/20606824/072507_1_5. 0272085.pdf. URL: https://doi.org/10.1063/ 5.0272085.
- [35]Packman, Sam, Nicolo Riva, and Pablo Rodriguez- Fernandez (2025). “Bayesian methods for magnetic and mechanical optimization of superconducting magnets for fusion”. In: Journal of Fusion Energy 44.1, p. 19.DOI
- [36]Picheny, Victor et al. (2022). “Bayesian quantile and expectile optimisation”. In: Uncertainty in Artificial Intelligence. PMLR, pp. 1623–1633.
- [38]Powell, M. J. D. (1994). “A Direct Search Optimization Method That Models the Objective and Constraint Functions by Linear Interpolation”. In: DOI: 10.1007/978-94-015-8330-5_4.DOI
- [39]Rasmussen, Carl Edward and Christopher K. I. Williams (Nov. 2005). Gaussian Processes for Machine Learning. The MIT Press. ISBN: 9780262566834. DOI: 10.7551/mitpress/3206. 001.0001. eprint: https://direct.mit.edu/ book-pdf/2514321/book_9780262256834.pdf. URL: https://doi.org/10.7551/mitpress/ 3206.001.0001.
- [41]Schonlau, Matthias, William J. Welch, and Donald R. Jones (1998). “Global versus local search in constrained optimization of computer models”. In: URL: https://api.semanticscholar.org/ CorpusID:58806889.DOI
- [42]Snoek, Jasper, Hugo Larochelle, and Ryan Adams (2012). “Practical bayesian optimization of machine learning algorithms”. In: Advances in neural information processing systems 25.arxiv.org/abs/1206.2944
- [43]Sokolowski, Jan and Jean-Paul Zolesio (1992). Introduction to Shape Optimization. Shape Sensitivity Analysis. Vol. 16. Springer Series in Computational Mathematics. Berlin, Heidelberg: Springer. ISBN: 978-3-540-54177-6. DOI: 10.1007/978-3-642-58106-9.DOI



