betaFeedback

WorksComputer Science

CHORD: Learning Latent Spaces for Constrained Stellarator Design

Abstract

In high-dimensional, PDE-constrained design, interpolating between known feasible solutions can reveal trade-offs without repeating expensive optimization campaigns. In stellarator design for fusion energy, direct interpolation of plasma boundary parameters can violate physical constraints even when both endpoints are feasible. Learned latent representations can capture nonlinear relationships among design variables, but latent interpolation can still cross infeasible regions, and conditioning on target metrics can become inconsistent with the decoded design. We introduce CHORD, a conditional variational autoencoder that penalizes predicted constraint violations along decoded latent interpolants during training, paired with self-consistent inference that aligns conditioning with the decoded design's predicted metrics. Geometric benchmarks show the benefit of regularizing latent interpolants. In stellarator interpolation between distinct geometry families, CHORD reaches up to 81% simulator-validated mid-segment feasibility, compared with 50% for an unregularized conditional VAE and 28% for direct interpolation of boundary parameters. Ablations show that both ingredients are needed for this gain. Beyond interpolation, latent-space optimization finds simulator-feasible designs, while self-consistent sampling produces more diverse feasible alternatives. On the ConStellaration benchmark, chord-regularized models with linear conditioning reuse data from five optimization campaigns and simulator-labeled rescalings to populate the Pareto front more densely. After low-fidelity screening, 93% of 1.2k generated candidates pass the benchmark's high-fidelity feasibility test. We release code and over 600k designs for stellarator generation, surrogate training, and front-filling evaluation. These results support feasibility-aware latent learning for exploring constrained design trade-offs.

Introduction

Stellarators use three-dimensional magnetic fields to confine a hot plasma in a toroidal volume. Their magnetic geometry can provide confinement without requiring a large plasma current, but it also creates a demanding design problem: shape changes affect several physics properties at once [1]. In the boundary-optimization stage studied here, a truncated Fourier series describes the plasma surface. Evaluating a candidate requires solving an ideal magnetohydrodynamic (MHD) equilibrium and computing confinement and stability metrics [2].

Each optimization campaign is expensive and returns only part of the available design trade-offs. Designers also need intermediate choices: for example, different compromises between plasma compactness and magnetic geometry favorable to coil design. Interpolation could reuse existing campaigns to supply these choices, even when improving the best objective value is not the goal. The difficulty is that the feasible set is non-convex. In our dataset, families with near-planar and strongly non-planar magnetic axes occupy separated regions of the sampled design space despite overlapping physics metrics.

Learned latent generative models offer a route. A variational autoencoder (VAE) [3] or conditional VAE (cVAE) [4] trained on feasible designs maps this design space into a low-dimensional representation with a continuous decoder. Interpolating between encoded designs then gives a sequence of candidate boundaries, and optimization can search the same learned space.

This depends on a property the cVAE objective never asks for: a feasible interior. Two endpoints xa,xbx_a,x_b can both be strictly feasible while the decoded chord between them, Dθ((1−α)Eϕ(xa)+αEϕ(xb),y(α))D_\theta((1-\alpha)E_\phi(x_a)+\alpha E_\phi(x_b),y(\alpha)) for α∈[0,1]\alpha\in[0,1], passes through infeasible designs. Conditioning compounds the problem. Interpolating the conditioning vector can request metric values that the decoder cannot realize near the chord, further reducing feasibility. Both failures strike in the interior, which is exactly where interpolation and latent search would be useful.

We introduce CHORD, a feasibility-regularized cVAE that addresses these two difficulties. During training we sample pairs of feasible designs, decode their latent interpolants, and penalize constraint violations measured through a frozen physics surrogate. The path between feasible endpoints therefore enters the training objective, not only the endpoints themselves. At inference we test a self-consistent fixed-point map that updates the conditioning vector using the decoded design’s predicted metrics, with optional constraint margins. This step improves the fixed-aspect-ratio conditional-model comparison; the front-filling experiment instead uses linear conditioning.

The two mechanisms together increase feasibility along sampled decoded chords under simulator evaluation, and the same map drives a sampling-based optimization procedure. With the same surrogate and evaluation budget, CMA-ES returns feasible candidates from the CHORD latent and none from the 81-D design parameterization. This comparison demonstrates useful search in the learned representation at matched surrogate access. It does not isolate the effect of chord regularization from that of learning a latent space, or establish that every native-space search method fails. Black-box optimizers such as the covariance matrix adaptation evolution strategy (CMA-ES) [5] remain competitive on objective value once they run inside that latent.

The practical test is whether these models supply useful new design choices. On a multi-objective stellarator benchmark, CHORD fills gaps between five retained optimization campaigns, reducing the largest aspect-ratio gap along the non-dominated front from 1.25 to 0.51. The benefit is better coverage of feasible trade-offs, with a modest improvement in hypervolume.

Our contributions are:

  • We introduce a training penalty on predicted constraint violations along decoded latent chords, and evaluate feasibility at sampled interior points with the simulator.

  • We evaluate chord regularization in controlled examples and stellarator design, and ablate its interaction with self-consistent conditioning in fixed-aspect-ratio interpolation.

  • We demonstrate front filling on the ConStella-ration benchmark: learned interpolation adds feasible, non-dominated designs between retained campaigns without running another optimization campaign.

  • We assemble reusable datasets: 100k feasible boundaries spanning magnetic-axis geometry families, and the campaign and simulator-validated generated designs used to assess front filling.

Related work

Latent regularization for constrained design.

Deep latent generative models have been applied to inverse engineering design across domains. The closest precedent for our training-time contribution is COIL, which trains a VAE on feasible solutions to bias constrained optimization toward valid candidates [6]. We go further and penalize decoded constraint violations along latent chords between feasible endpoints. Truss-VAE pairs a graph-based VAE with a property predictor for metamaterial interpolation and inverse design [7]. FlatVI regularizes latent geometry so that straight paths approximate geodesics on the decoded statistical manifold [8]. Its criterion is intrinsic to the manifold, where ours comes from an external simulator. Decoder-uncertainty Bayesian optimization [9] and consistency-aware latent search [10] make latent optimization robust to an unreliable decoder, but neither targets pathwise constraint satisfaction. Our self-consistent map shares the motivation of the consistency-based methods. It differs in being a deterministic fixed-point alignment of predicted metrics with the conditioning vector. Latent-consistency methods instead address the discrepancy between a latent code and its decoded-then-reencoded value. Table 3 (Appendix A.3) summarizes the contrast.

WorkInterp.Latent opt.Key mechanismStellarator design
COIL [6]–✓Feasible training data–
Truss VAE [7]✓✓Property prediction–
FlatVI [8]✓–Latent geometry–
Decoder uncertainty [9]–✓Epistemic uncertainty–
LCA-LSBO [10]–✓Latent consistency–
CHORD✓✓Chord penalty + metric alignment✓

Table 3. Comparison to related directions. CHORD is distinguished by an explicit penalty on simulator-defined constraint violation along decoded linear latent interpolants, paired with a self-consistent fixed-point map for the conditioning vector at inference time. Checkmarks denote tasks demonstrated in the cited studies.

Stellarator design with learned representations

Stellarator design has been driven by specialized optimization pipelines built on ideal-MHD solvers (e.g., VMEC [11, 12], DESC [13]). Large datasets such as QUASR [14, 15] and ConStellaration [16] provide plasma boundaries for learning; ConStellaration also defines optimization benchmarks. Near-axis studies have mapped families of quasisymmetric [17] and quasi-isodynamic [18] stellarators, while formal measures quantify departures from quasisymmetry [19]. Our quasi-isodynamic metric and constraints follow ConStellaration [16]. Learned representations have also been used for diffusion-based sampling of plasma boundaries [20] and supervised dimensionality reduction of boundary geometry [21]. These approaches are complementary to ours. CHORD is not a new equilibrium solver or direct optimizer; it asks whether the learned latent space carved out from a feasibility-filtered dataset can be made navigable enough that interpolation and sampling-based search are reliable on the latent interior, not only at training endpoints.

Method

CHORD penalizes predicted constraint violations along decoded interpolants during training. At inference, it updates conditioning to better match the decoded design’s predicted metrics (Figure 1).

Figure 1. Method. a. Constraint functions on a simulator’s output metrics define feasibility. b. CHORD penalizes predicted constraint violations at sampled points on decoded latent chords. Conditioning on feasible metric values alone does not constrain the decoded path.

Setup. A design x∈X⊆Rdx \in\mathcal{X} \subseteq\mathbb{R}^{d} is mapped by a simulator f:X→RMf : \mathcal{X} \to\mathbb{R}^{M} to a vector of physics metrics. Feasibility is defined by KK constraint functions hkh_k acting on those metrics, with feasible set F={x∈X:hk(f(x))≤0 ∀k}\mathcal{F} = \{x \in\mathcal{X} : h_k(f(x)) \le0 \ \forall k\}. A fixed, deterministic subset of f(x)f(x) is designated as the conditioning vector y=y(x)∈Rdyy = y(x) \in\mathbb{R}^{d_y}. It describes the properties requested from the decoder, such as rotational transform or mirror ratio in stellarator design. We train a conditional encoder and decoder on feasible designs. The encoder receives (x,y(x))(x, y(x)); for brevity we write its posterior mean as Eϕ(x)∈ZE_{\phi}(x) \in\mathcal{Z}. The decoder is Dθ:Z×Rdy→XD_{\theta} : \mathcal{Z} \times\mathbb{R}^{d_y} \to\mathcal{X}.

To interpolate, we connect the endpoint codes by a straight line and decode points along it. For endpoints xa,xb∈Fx_a, x_b \in\mathcal{F} with codes za=Eϕ(xa)z_a = E_{\phi}(x_a) and zb=Eϕ(xb)z_b = E_{\phi}(x_b), the linear latent chord is z(α)=(1−α)za+αzbz(\alpha) = (1 - \alpha) z_a + \alpha z_b, α∈[0,1]\alpha\in[0, 1], decoded as x~(α)=Dθ(z(α),y(α))\tilde{x}(\alpha) = D_{\theta}(z(\alpha), y(\alpha)) with the conditioning trajectory y(α)y(\alpha) chosen at inference time. Reconstruction encourages small endpoint error but does not directly control the pathwise violation

V(α)=∑k[hk(f(x~(α)))]+.V(\alpha) = \sum_k [h_k(f(\tilde{x}(\alpha)))]_+.

Training: chord regularization

The cVAE objective

LcVAE=Eqϕ(z∣x,y)[−log⁡pθ(x∣z,y)]+β KL(qϕ(z∣x,y)∥p(z))(1)\mathcal{L}_{\mathrm{cVAE}} = \mathbb{E}_{q_{\phi}(z \mid x,y)}[-\log p_{\theta}(x \mid z,y)] + \beta\,\mathrm{KL}(q_{\phi}(z \mid x,y) \mathbin{\|} p(z)) \tag*{(1)}

balances reconstruction with latent regularity. Here KL is the Kullback–Leibler divergence, which penalizes mismatch between the encoder distribution qϕ(z∣x,y)q_{\phi}(z \mid x,y) and the latent prior p(z)p(z). Neither term directly constrains decoded interpolants. We therefore sample points between encoded feasible training designs and penalize predicted constraint violations:

Lchord=E(a,b),α[∑k=1Kwk[hk(f(x~(α)))]+],(2)\mathcal{L}_{\mathrm{chord}} = \mathbb{E}_{(a,b),\alpha}\left[\sum_{k=1}^{K} w_k [h_k(f(\tilde{x}(\alpha)))]_+\right], \tag*{(2)}

evaluated through a frozen differentiable surrogate f^\hat{f}. The surrogate supplies gradients without a simulator solve at each training step. For the fixed-aspect-ratio stellarator experiments, wk=1/Kw_k = 1/K, so the penalty is the mean violation in physical metric units. During training we set y(α)y(\alpha) to the linear blend of the two endpoints, y(α)=(1−α)ya+αyby(\alpha) = (1 - \alpha)y_a + \alpha y_b. The self-consistent map of Eq. (4) is used only at inference, never during training. The full training objective is

L=LcVAE+λLchord,(3)\mathcal{L} = \mathcal{L}_{\mathrm{cVAE}} + \lambda\mathcal{L}_{\mathrm{chord}}, \tag*{(3)}

with λ\lambda ramped from 0 after a reconstruction-and-KL warmup. Gradients of Lchord\mathcal{L}_{\mathrm{chord}} flow through the decoder and the surrogate but not the encoder; the simulator ff is reserved for validation.

Inference: self-consistent conditioning with interior clamping. At test time the conditioning trajectory y(α)y(\alpha) controls where the decoder lands. A naive linear blend y(α)=(1−α)ya+αyby(\alpha)=(1-\alpha)y_a+\alpha y_b can request metric values that the decoder does not reproduce near z(α)z(\alpha) (§ 4.3). We therefore hold each latent point fixed and update its conditioning: decode a design, predict its metrics, and feed those predictions back as the next request. This gives the fixed-point map

yk+1(α)=clamp⁡(f^y(Dθ(z(α),yk(α)))),(4)y_{k+1}(\alpha)=\operatorname{clamp}\left(\hat{f}_y\left(D_\theta\left(z(\alpha),y_k(\alpha)\right)\right)\right), \tag*{(4)}

where f^y\hat{f}_y projects the surrogate’s full metric output onto the dyd_y conditioning components and clamp⁡(⋅)\operatorname{clamp}(\cdot) optionally hard-projects the constrained components onto their feasibility intervals shrunk by a small interior margin. The same iteration is used in two regimes. For interpolation between encoded endpoints, y0(α)y_0(\alpha) is initialized to the linear blend of yay_a and $y_b ({xref}Sec. 4.3). For *sampling-based optimization*, $z\sim N(0,I)$ is drawn from the latent prior and $y_0$ is drawn with a task-specific distribution biasing the iteration toward the desired metric tail ({xref}Sec. 4.4`). We run a fixed number of iterations, without assuming convergence. Even at a fixed point, clamped components can differ from the decoder’s predicted metrics. The interior margin provides a buffer against surrogate error; we assess feasibility of the final candidates with the simulator ff.

Results

We first isolate the training penalty on geometric examples, then test stellarator interpolation, objective-driven search, and finally the filling of gaps between optimization campaigns.

Constructed examples

The constructed problems ask whether penalizing decoded interpolants helps when the feasible geometry is known exactly. C-shape makes the interpolation failure visible in two dimensions; Shells tests a compressed representation of four disconnected regions in 16 dimensions. The forward model y(x)y(x) is analytically available in both, so we test the training penalty without surrogate error. We use the linear blend y(α)=(1−α)ya+αyby(\alpha)=(1-\alpha)y_a+\alpha y_b and do not apply self-consistent conditioning. Even here, blended endpoint metrics need not correspond to a feasible design.

C-shape: a 2-D mechanism illustration. The feasible set is a curved band shaped like a C: an annulus with one angular sector removed. feasible route between its arms must follow the band around the central hole; a straight shortcut crosses the forbidden disc. CHORD improves feasibility by bending decoded paths around this hole: across 13 seeds at z=1z = 1, mid-chord feasibility reaches 0.65±0.030.65 \pm0.03, compared with 0.21±0.020.21 \pm0.02 for cVAE. It also reaches a held-out objective on the far side (Figure 2; full numbers in App. § 8.§ 4).

Figure 2. 2-D C-shape, decoded latent chord. Between two feasible endpoints (star and square), cVAE cuts through the forbidden inner disc; CHORD arcs around it and stays feasible.

Shells: four separated mechanism regions. In Shells, four groups of design variables represent alternative mechanisms for producing a two-dimensional output. Feasibility requires one mechanism to dominate, separating the design space into four regions. The resulting output must also lie outside an inner forbidden disc and within an outer bound, giving the shell-like geometry. This tests whether regularization remains useful under compression when no fully feasible path connects the regions. At z=1z = 1, CHORD improves sampled interior feasibility by 58 percentage points over cVAE and returns feasible solutions to a held-out optimization task from 28/30 starts, versus 20/30. Unconditional regularization can instead produce nearly constant decoded paths: high sampled feasibility alone does not establish useful interpolation. Appendix § 8.§ 5 gives the model, results, and path diagnostics.

Stellarator setup

We now turn to simulator-constrained stellarator design. We first define the physical problem, then construct a fixed-aspect-ratio dataset spanning two magnetic-axis geometry families to test interpolation between different feasible shapes.

From boundary shape to physics. We design the outer plasma surface and assess the magnetic equilibrium it supports. The equilibrium model assumes nested magnetic flux surfaces; the magnetic axis is the central field line around which they lie. A fixed-boundary calculation takes the outer surface, specified profiles, and magnetic flux as inputs and solves for the equilibrium. We optimize the boundary’s Fourier coefficients and evaluate each candidate with VMEC [11] (Figure 3). This stage evaluates magnetic configurations; constructing and assessing coils is a further design step [1].

Stellarator design pipeline showing a representative 3-D boundary, flux surfaces, magnetic axes, and two designs with planar and high-torsion magnetic axes

Figure 3. Stellarator design pipeline. Insets show a representative 3-D boundary, the resulting flux surfaces, and the magnetic axis. In b, the two designs have similar edge rotational transforms (ιedge=0.75\iota_{\mathrm{edge}} = 0.75 and 0.730.73) despite markedly different boundary shapes and magnetic-axis geometries. Axis non-planarity distinguishes the two sampled geometry families in Figure 4.

Metrics and feasibility. The rotational transform ι\iota measures how often a field line winds around the torus’s cross-section during one circuit around the torus. The mirror ratio AA measures the variation in field strength on a flux surface, which affects particle trapping and transport [22]. The vacuum well is an MHD-stability indicator. Our objective, log⁡10QIedge\log_{10}\mathrm{QI}_{\mathrm{edge}}, measures departure from quasi-isodynamic magnetic geometry, which reduces the radial drift of trapped particles; lower values are better. The subscript “edge” denotes evaluation on the outermost flux surface. For the fixed-aspect-ratio experiments, feasibility means ιedge∈[0.725,0.775]\iota_{\mathrm{edge}} \in[0.725, 0.775], Δedge≤0.4\Delta_{\mathrm{edge}} \le0.4, and vacuum well ≥0\ge0. These are the study’s constraints, rather than a complete assessment of reactor performance. The front-filling task uses the separate ConStellaration benchmark constraints (Appendix § 8.9).

Geometry families. Without plasma current, rotational transform can arise from both magnetic-axis torsion and flux-surface shaping. To test whether latent interpolation can bridge separated regions of feasible designs, we deliberately concentrate the dataset in near-planar-axis and strongly non-planar-axis families, leaving a gap in axis-geometry coverage. We distinguish these families using the effective-aspect-ratio difference Aeff−AA_{\mathrm{eff}} - A, where AA is the major radius divided by the minor radius. This difference is a proxy for axis non-planarity, not a direct measurement of local torsion. The families occupy separated regions of the sampled boundary space while sharing much of the metric space.

Data generation. We collect designs from 204 gradient-free optimization campaigns at aspect ratio AR=7AR = 7, minimizing log⁡10QIedge\log_{10} QI_{\mathrm{edge}} under the constraints above (the broad-scan-loose setting). We bias the starting shapes to represent both axis families and follow the augmented-Lagrangian approach of ConStellaration [16]. The optimization histories contain 5.09 M evaluated boundaries, of which 1.01 M satisfy the constraints. All have three field periods (NFP=3N_{\mathrm{FP}} = 3): the boundary repeats three times around the torus.

Generating this corpus cost about 73k vCPU-hours. The learned models reuse it across interpolation and search queries; we draw a 100k row-stratified subset of the feasible corpus for training, validation, and test, split by row identity. These boundaries use VMEC’s very_low_fidelity preset; the later front-filling experiment uses the benchmark’s high-fidelity evaluation. Appendices A.6 and A.8 give the generation protocol and separate one-time from per-query costs. Figure 4 shows how the two geometry families separate in a projection onto the dataset’s first two principal components.

Figure 4. The two stellarator basins, projected on the data PCA. PC1_1 is dominated by Aeff−ARA_{\mathrm{eff}}-A_R and separates near-planar-axis from strongly non-planar-axis designs; both families span the log⁡10\log_{10} QIedge_{\mathrm{edge}} tail.

A reusable dataset spanning axis geometries. The released 100k-boundary corpus contains both near-planar and strongly non-planar axis designs, with boundary coefficients, physics metrics, geometry-family labels, and saved training, validation, and test assignments for reproducible comparisons. The samples come from optimization histories and do not represent a uniform survey of feasible stellarators. Appendix A.6 gives the corpus composition; access is described under Data and code availability.

Training the four model variants. To separate the effects of conditioning and chord regularization, we train four model families: an unconditional VAE, a conditional VAE, the chord-regularized cVAE CHORD, and an unconditional chord-regularized VAE CHORD-unc. All four share a residual multilayer perceptron and training schedule; we vary the latent dimension and repeat training with three seeds. Each model takes about 0.5 GPU-hours to train. The conditional models receive six geometry and physics metrics, including the QI objective and the three constrained metrics. The frozen surrogate is trained on 90 % of the full 5.09 M-row archive, including infeasible designs, with the remainder held out for validation. Appendix A.6 gives the conditioning vector, training settings, and reconstruction quality.

Training the four model variants. To separate the effects of conditioning and chord regularization, we train four model families: an unconditional

Stellarator cross-basin interpolation

Cross-basin protocol. The first test asks whether decoded paths remain feasible between the two geometry families, which we call the planar-axis and torsion-axis basins. Here “basin” labels a region of the dataset; it does not establish topological disconnection of the full feasible set. A cVAE reconstructs both cleanly, but the straight latent chord between them usually passes through infeasible interiors.

We use the same 30 planar↔\leftrightarrowtorsion endpoint pairs from the validation split across model variants, latent dimensions, and training seeds. We encode the endpoints, decode a 21-step linear chord z(α)=(1−α)za+αzbz(\alpha)=(1-\alpha)z_a+\alpha z_b for each pair, and validate every decoded boundary on real VMEC. The sweep covers the four model variants, four latent dimensions, three training seeds, and two conditioning schemes. We report mid-segment feasibility over eight sampled points in the middle of each path. Appendix A.7 gives the exact grid, its sensitivity analysis, and endpoint feasibility separately.

Two conditioning schemes. We compare inference with and without self-consistency to test how it interacts with the training penalty. For conditional decoders, we either linearly blend the endpoint metrics or start from that blend and apply five self-consistent updates (Eq. (4)). Unconditional decoders receive no conditioning, so the two schemes coincide for them.

Training and inference work together. For the conditional models, the improvement comes from combining the training penalty with self-consistent inference. Together they reach 65–81% mid-segment feasibility across the tested latent dimensions, compared with 48–50% for the unregularized cVAE with linear conditioning (Figure 5). Removing either ingredient reduces feasibility below that baseline. These ablations establish an interaction in this experiment without identifying a geometric cause. fig:6b shows a representative path.

Figure 5. Cross-basin mid-feasibility under VMEC validation. Mean ±\pm SE over three seeds, 30 pairs ×\times 8 mid-α\alpha points each. Under linear yy (left) CHORD trails the cVAE; under self-consistent yy (right) it reaches 65–81% while the cVAE falls to 25–35%.

Although the unconditional VAE and CHORD-unc remain competitive in mid-segment feasibility (59–79%, leading at the two smallest latent dimensions), their intermediate designs cluster closer to the decoded endpoints than CHORD’s (illustrated for one pair in Figure 6). Across the tested dimensions and seeds, the mean distance from the nearer decoded endpoint is 19% and 20% of the decoded endpoint separation for VAE and CHORD-unc, respectively, versus 34% for CHORD with self-consistency. Thus CHORD combines high feasibility with less endpoint concentration, a distinction that feasibility alone misses. Appendix A.7 defines this post-hoc boundary-coefficient distance diagnostic and reports the full comparison.

Decoded latent chords for one cross-basin pair, projected to the data PCA

Figure 6. Decoded latent chords for one cross-basin pair, projected to the data PCA. a. Under linear yy, both conditional models have infeasible sampled points (crosses). b. With self-consistent yy, all sampled points on CHORD’s chord are feasible in this example. Insets show the boundary morphing from a planar to a torsion-axis configuration.

Feasibility under prescribed metric targets. With a requested metric profile held fixed during the conditioning updates, CHORD retains 77.9 to 81.7% mid-segment feasibility across three profiles, compared with 14.6 to 40.8% for the unregularized cVAE in a comparison using one training seed. When asked to retain the better endpoint’s QI, CHORD more than halves mean QI deterioration relative to the unsteered VAE: 0.10 versus 0.22 dex in a post-hoc one-sided analysis. This result shows that CHORD can limit the loss of a favorable endpoint property while exploring intermediate designs. Appendix A.11 reports the full feasibility and target-tracking comparison.

Alternative paths and generative models. Spherical interpolation (slerp), which follows a curved latent path, improves the unconditional VAE but adds no gain for CHORD. On the same seed-0 checkpoint and 30 endpoint pairs, CHORD with linear interpolation and self-consistent conditioning reaches 81.7 % feasibility, compared with 71.7 % for VAE+slerp. This matched comparison does not establish a multi-seed advantage. A conditional flow-matching baseline [23] reaches 59.9 ± 4.4 % with linear interpolation across three seeds. Adding the chord penalty and self-consistent inference does not improve on this baseline. Appendix § 8.12 reports the full path and flow-matching ablations.

Stellarator latent optimization

Interpolation follows paths between chosen endpoints. We next ask whether the learned space also supports searching for better objective values and sampling a broader set of feasible alternatives.

Search and sampling protocols. All methods minimize log⁡10QI\log_{10} \mathrm{QI} under the broad-scan-loose constraints at z=16z = 16. The surrogate-assisted methods share one frozen surrogate, with 300k surrogate evaluations for search and a budget of 50 designs for VMEC validation. Self-consistent sampling uses a further 10k surrogate evaluations to rank its final decoded designs. The surrogate-free CMA-ES baselines use 200 VMEC calls per trial; trial counts are given in Appendix § 8.8.

As an alternative to optimizing latent coordinates, we sample codes and adapt their conditioning toward favorable metrics. Self-consistent sampling draws 10,000 codes from the latent prior, initializes conditioning toward low QI, and applies 30 self-consistent updates with interior clamping. We rank the decoded designs by surrogate QI and validate the best 50 with VMEC. The inference loop costs about 30 s of CPU; initialization and clamp settings are given in Appendix § 8.8.

The learned representation improves surrogate-assisted CMA-ES. Changing the search coordinates makes the same optimizer more successful at finding feasible designs. Surrogate-assisted CMA-ES returns 100 % feasible candidates in the CHORD latent, compared with 0 % in the original 81-D parameterization, with 50 designs validated in each case (Figure 7). These runs share the surrogate and evaluation budget but use parameterization-specific initializations and step sizes (Appendix § 8.8). Other native-space methods reach up to 88 % feasibility. All latent search methods shown in Figure 7 reach 100 %; the cycle-penalty test below is a separate comparison.

Figure 7. Search outcomes in native and learned coordinates. Each dot is a VMEC-validated design. Bars (top axis) give the share of proposed candidates VMEC accepts: 0 to 88 % in the original parameterization, 100 % for the methods shown in the CHORD latent. Depth then depends on the procedure.

The native-space failure is consistent with surrogate extrapolation: those candidates lie far from the training data, where surrogate scores are unusually favorable, while latent candidates stay near the training distribution. VMEC fails to converge on the native-space candidates; this does not establish that no equilibrium exists. Appendix § 8.8 gives the distance analysis.

Self-consistent sampling improves objective value and coverage. Adapting the conditioning improves the objective value of sampled designs: on the same latent draws, the best log⁡10QI\log_{10} \mathrm{QI} improves from −2.04 with fixed conditioning to −3.55 with self-consistency, while retaining 100 % feasibility. All 150 candidates validated across three training seeds are feasible. Latent CMA-ES reaches a better best value of −3.66, but its candidates cluster tightly. Sampling provides a wider range of both objective values and designs: its range of log⁡10QI\log_{10} \mathrm{QI} is 0.55, compared with 0.001 for CMA-ES (Appendix § 8.8). Thus the same representation supports focused optimization and exploration of feasible alternatives.

An interior margin improves sampling feasibility. To identify what makes the sampler effective, we remove interior clamping and chord regularization in turn. Without the clamp in Eq. (4), only 6 % of the selected candidates pass VMEC (Figure 8, lower row). The matched margin sweep identifies slightly negative vacuum well as the failure in all 47 rejected candidates; neither rotational transform nor mirror ratio is the binding constraint. With margin 0.02, all 50 selected candidates pass. The clamp acts on the conditioning values, so its bounds do not guarantee the same bounds on the decoded design’s simulated metrics. This result supports using an interior margin for the tested self-consistent sampler.

Figure 8. Self-consistent latent sampling: model and mechanism ablations (z=16z = 16, top-50 VMEC validations per cell). Top: best feasible log⁡10QI\log_{10}\mathrm{QI} and feasibility rate across architectures. Bottom: fixed-yy conditioning at three QI targets against self-consistent inference, with and without interior clamping.

Chord regularization improves the conditional sampler. Running the same self-consistent + clamping pipeline on an unregularized cVAE produces only 20/50 VMEC-feasible candidates and a best of −2.10 (Figure 8, upper row). Thus the inference procedure alone does not recover the performance of the regularized model. Unconditional sampling also gives competitive objective values, with about 85 % feasibility. Among these architecture ablations, the full CHORD pipeline combines the best objective value with 100 % feasibility; the numerical breakdown is given in Appendix A.8.

Cycle consistency does not improve this search. Motivated by methods that use decoder uncertainty to guide latent search, such as that of Notin et al. [9], we test whether an additional consistency penalty improves optimization on the frozen CHORD representation. Our deterministic penalty measures how far a decoded design re-encodes from its starting latent code. At the tested weight, it yields nine distinct candidates, five of them feasible; unpenalized latent CMA-ES and self-consistent sampling each yield 50 feasible designs and reach better QI. Thus the additional cycle penalty offers no benefit in this comparison. Appendix A.12 explains the distinction from Bayesian decoder uncertainty and gives the protocol and results.

Filling a public benchmark front

The preceding tests hold aspect ratio fixed. We now let it vary and ask whether interpolation can add feasible trade-off choices between expensive optimization campaigns.

Setup. The ConStellaration MHD-stable benchmark trades off two objectives: lower aspect ratio AA (major radius divided by minor radius), which favors a compact plasma, and larger minimum magnetic-gradient scale length min⁡L∇B×NFP\min L_{\nabla B} \times\mathrm{NFP} (in units of the minor radius), a proxy for coil-to-plasma separation [16]. A design is non-dominated if no other feasible design improves one objective without worsening the other. The resulting front offers choices between the two objectives; hypervolume measures its coverage relative to a fixed reference point. We study eleven expensive, gradient-free optimization campaigns within this benchmark. Our aim is to add feasible intermediate choices using a subset of those campaigns’ data. We keep five as anchors, spanning aspect ratio 8 to 12, and hold out the six that lie between them. For each of the four gaps we train a CHORD model using the two campaigns that bracket it and simulator-labeled rescalings of their boundaries. These augmented designs include aspect ratios inside the gap. The split excludes designs originating from the held-out campaigns, rather than excluding all training data at intermediate aspect ratios.

These models use linear conditioning: self-consistent inference does not recover feasibility in the gap where it was tested (Appendix A.9). We screen generated designs at low fidelity, then evaluate 1,200 of the 8,361 low-fidelity-feasible candidates at high fidelity. The feasibility rate below describes this selected subset, not all generated proposals.

Generated designs fill the gaps at high fidelity. The selected designs populate the gaps with a high feasible yield: 93 % of the 1,200 evaluated candidates pass the benchmark’s high-fidelity test. This permits 1 % normalized constraint violation; 81.4 % also satisfy the strict nominal thresholds. In a separate geometric-rescaling control at ΔA=−0.5\Delta A = -0.5, none of nine rescaled neighboring solutions is feasible. The main benefit is a denser set of trade-off choices: the largest adjacent aspect-ratio gap along the front decreases from 1.25 to 0.51, with generated designs contributing in all four gaps (Figure 9a). Hypervolume increases modestly, from 174.6 to 176.3. Appendix A.9 gives the non-dominated counts, comparisons with the held-out campaigns and broader benchmark, and sensitivity to feasibility tolerance and numerical resolution.

Generated designs fill gaps between five retained campaigns

Figure 9. Generated designs fill gaps between five retained campaigns. (a) The combined front contains 37 generated designs (outlined) and 14 surviving anchor designs. The area between the staircases is the added hypervolume. Six held-out campaigns (orange) provide comparison data. (b) Low-fidelity mid-gap feasibility with the chord regularizer off and on.

The chord regularizer raises mid-gap feasibility in all four gaps. To isolate the training penalty’s contribution, we compare models with and without it under the same linear conditioning. Low-fidelity feasibility near the chord midpoint improves in every gap; in the hardest gap it rises from 4.6 to 48.7% (Figure 9b). Difficulty does not increase monotonically with gap width. The hardest gap also has the lowest fraction of feasible designs in the source corpus. App. A.9 gives the gap geometry, per-gap results, and the negative results.

Data for evaluating front filling. The accompanying dataset records all 1,200 high-fidelity evaluations, including designs that fail the benchmark constraints, with boundary coefficients, gap labels, interpolation positions, and simulated metrics. A separate table contains 3,572 campaign-history rows and their roles in the comparison. Together these allow the filled front to be rescored and feasibility to be assessed under different thresholds. They complement the fixed-aspect-ratio corpus: one tests interpolation across axis geometries, the other tests the recovery of useful trade-off choices between optimization campaigns.

Discussion

CHORD improves feasibility at sampled latent interior points and supports constrained search in the experiments reported here. The roles of its two components depend on the task. For fixed-aspect-ratio stellarator interpolation, the chord regularizer and self-consistent inference work together: removing either reduces feasibility below the unregularized cVAE with linear conditioning. The constructed examples and front-filling experiment use linear conditioning instead; self-consistent inference fails in the tested front-filling setting. Thus the evidence supports a task-dependent inference choice.

The front-filling experiment illustrates the intended use: reuse expensive campaign data to explore feasible intermediate designs. The generated designs reduce the largest aspect-ratio gap along the front from 1.25 to 0.51, providing intermediate choices before further physics and coil assessments. The modest hypervolume gain is consistent with that aim; finding a new best objective value is not required for interpolation to be useful. The approach still requires labeled augmentation, model training, and simulator validation, so it complements the original campaigns rather than eliminating their cost.

Candidate selection is robust to changing the ranking surrogate. The surrogate is frozen during decoder training. This prevents joint adaptation of the surrogate and generator, but does not prevent the generator from exploiting surrogate errors. On 509k held-out boundaries it predicts feasibility at 96.8 % accuracy with log⁡10\log_{10} QI RMSE 0.032. Using three independently trained alternatives to rank the same candidate pool leaves 199 of 200 validated candidates feasible and best QI within 0.03 dex. The selected designs do change: only 12 to 17 of each top-50 match the original picks. A four-member ensemble raises feasibility prediction to 97.6 % (App. § 8.10).

Limitations. (i) Pathwise regularization penalizes sampled chord points but does not give a hard feasibility guarantee. (ii) Training requires a simulator-labeled corpus and a surrogate f^\hat{f}. Their one-time costs can be substantial, so the computational benefit depends on reusing them across design queries. (iii) Surrogate feasibility can disagree with simulator feasibility; ensembling improves held-out calibration (App. § 8.10). (iv) The fixed-aspect-ratio corpus uses a row-level split of correlated optimization trajectories. Its validation results measure in-distribution performance, not generalization to unseen campaigns. The generative and surrogate splits are separate; we do not report a holdout shared by both models. (v) The front-filling models use simulator-labeled augmentation inside the gaps, and their high-fidelity feasibility rate is conditional on low-fidelity screening.

Data and code availability

Data and trained model checkpoints are available at https://huggingface.co/datasets/proxima-fusion/chord-paper, revision 28f8453. The release contains the 100k-boundary corpus spanning magnetic-axis geometries, with saved splits; a 500k-boundary dataset for surrogate training, sampled from the historical 5.09M-evaluation archive; the campaign comparison table; and 1,200 high-fidelity front-filling evaluations. It also includes boundary objects for the 1,120 benchmark-feasible generated designs, model checkpoints with normalization data, and the prepared per-gap generator training, validation, and test splits. The dataset card documents metric units, feasibility thresholds, provenance, file hashes, and checks of the released model loaders.

The full historical training datasets are available from the corresponding author on request. The reference implementation, loading examples, and reproduction instructions are available at https://github.com/proximafusion/chord.

Acknowledgments

We thank Tobias Weißberg and Florian Bernard for early discussions on latent space learning in this context. This work was independently funded by Proxima Fusion, and supported by the BMBF grant FUSKI (FKZ: 13F1012A).

References

Technical Appendix

Why feasible endpoints do not ensure feasible interpolation

Accurate endpoint reconstruction leaves the route between endpoints unconstrained. Consider a nonconvex feasible set F⊂Rd\mathcal{F} \subset\mathbb{R}^{d} and feasible points xa,xb∈Fx_a, x_b \in\mathcal{F} whose Euclidean segment intersects X∖F\mathcal{X} \setminus\mathcal{F}. If the decoder maps the latent chord approximately to that segment, some intermediate designs will be infeasible even when the endpoints are reconstructed exactly. The VAE objective controls reconstruction and prior regularity; it does not directly control hk(f(Dθ(z)))h_k(f(D_\theta(z))) along the segment.

Dense sampling reduces the unchecked gaps along a path. If gk(α)=hk(f(Dθ(zij(α),yij(α))))g_k(\alpha) = h_k(f(D_\theta(z_{ij}(\alpha), y_{ij}(\alpha)))) is LL-Lipschitz along a segment, its variation is bounded by LL times the change in α\alpha. On a grid with spacing Δ\Delta, violations between grid points are therefore bounded by the maximum grid violation plus LΔL\Delta. This motivates dense interpolation checks, but LL is generally unknown and may vary across designs, so the sampled results do not provide a global guarantee.

Algorithms

Training updates the decoder using violations on decoded interpolants; inference holds the model fixed and updates the conditioning. Tables 1 and 2 summarize these two procedures.

Comparison with related methods

Table 3 compares the mechanisms and demonstrated tasks of the methods discussed in Sec. 2. The checkmarks identify reported applications, not matched performance tests.

C-shape: setup and results across training seeds

Geometry. The 2-D feasible region is a thin annulus with a forbidden sector around the +x1+x_1 axis. Writing r=∥x∥2r = \lVert x \rVert_2 and θ=atan2⁡(x2,x1)\theta= \operatorname{atan2}(x_2, x_1),

FC={x∈R2:rin≤r≤rout,∣θ∣≥θmin},\mathcal{F}_{C} = \{x \in\mathbb{R}^{2}: r_{\mathrm{in}} \le r \le r_{\mathrm{out}}, |\theta| \ge\theta_{\mathrm{min}}\},

rin=0.85r_{\mathrm{in}} = 0.85, rout=1.15r_{\mathrm{out}} = 1.15, θmin=0.45\theta_{\mathrm{min}} = 0.45 rad.

The region is path-connected but non-convex. For the endpoint pair used in Figure 2, direct interpolation crosses the forbidden inner disc.

Objectives. We generate training data by minimizing fobj(x)=−x1f_{\mathrm{obj}}(x) = -x_1, which concentrates designs near the two +x1+x_1 tips of the C. At evaluation, we instead minimize fopt(x)=+x1f_{\mathrm{opt}}(x) = +x_1, whose minimum is −1.15-1.15 at (−1.15,0)(-1.15, 0), on the opposite side of the C. This tests search away from the region favored by data generation. The new objective is not a component of the conditioning vector.

Conditioning, architecture, training. The cVAE and CHORD use conditioning vector y(x)=(∥x∥,∣θ∣,x22)y(x) = (\lVert x \rVert, |\theta|, x_2^2). We compare three models with three hidden layers of 64 units: an unconditional VAE, an unregularized cVAE, and CHORD with λchord=1\lambda_{\mathrm{chord}} = 1 and a 30-epoch warmup. Each model has one latent dimension and trains for 200 epochs with cyclical KL annealing. We repeat training with 13 random seeds.

Data generation. For each half of the C, we run 20 CMA-ES searches from randomly selected feasible points, using population 8, 30 generations, and initial step size σ0=0.15\sigma_0 = 0.15. The search minimizes fobj(x)+50⋅ReLU⁡(max⁡khk(x))f_{\mathrm{obj}}(x) + 50 \cdot\operatorname{ReLU}(\max_k h_k(x)). Pooling the trajectories and retaining feasible points yields approximately 6.4k designs per seed, balanced across the two halves.

Diagnostics. Identifiers in parentheses match the archived analysis and figure labels.

Cross-half interpolation (T1). We encode validation endpoints from opposite halves, linearly interpolate (z,y)(z, y) over 21 values of α\alpha, and decode the path. We report the feasible fraction in the middle interval α∈[0.3,0.7]\alpha\in[0.3, 0.7], averaged over 30 random endpoint pairs.

1. Sample a minibatch of feasible designs (x,y)(x,y).
2. Compute cVAE reconstruction and KL losses.
3. Sample endpoint pairs (a,b)(a,b) and interpolation coefficients α\alpha.
4. Encode endpoints, form z(α)z(\alpha), and decode x~(α)=Dθ(z(α),y(α))\tilde{x}(\alpha)=D_{\theta}(z(\alpha),y(\alpha)).
5. Evaluate surrogate metrics f^(x~(α))\hat{f}(\tilde{x}(\alpha)).
6. Compute ReLU constraint violation and update using Eq. (3).

Table 1. Training CHORD.

1. Sample NN latent codes z∼N(0,I)z \sim\mathcal{N}(0,I) and initial conditioning vectors y0y_0 with task-specific bias toward the desired metric tail.
2. Iterate the self-consistent fixed-point map of Eq. (4) for KK steps, with interior clamping on the constrained components of yy.
3. Decode every (z,yK)(z,y_K) pair and surrogate-score the resulting designs.
4. Take the top-KVMECK_{\mathrm{VMEC}} surrogate-feasible candidates by predicted objective.
5. Validate the top-KVMECK_{\mathrm{VMEC}} designs with the true simulator and report feasibility-validated objective values.

Table 2. Inference: self-consistent latent sampling.

Novel-objective optimization (T7). We minimize foptf_{\mathrm{opt}} with Adam in (z,y)(z,y), starting from the 30 training designs with lowest fobjf_{\mathrm{obj}}. Each search uses 400 iterations, a feasibility penalty of weight 10, and a soft penalty when a standardized conditioning component has magnitude above 4. We report the best feasible objective and the number of successful starts.

Sampling-objective optimization (T3). The same search minimizes fobjf_{\mathrm{obj}} instead. This checks whether the learned representation supports optimization of the objective used to generate the training data.

Endpoint pair for Figure 2. We select AA as the upper-half validation point with maximum x1x_1 and BB as the lower-half validation point with minimum x1+x2x_1+x_2. The straight chord A→BA \to B crosses the forbidden inner disc.

Results across training seeds. The regularizer improves both interpolation feasibility and search for the new objective (Table 4).

variantMid-segment feasibility ↑Novel-objective search best ↓Novel-objective search feasible / 30Sampling-objective search best ↓Sampling-objective search feasible / 30
VAE0.398 ± 0.026−0.467 ± 0.11623.8 ± 2.3−0.929 ± 0.01929.9 ± 0.1
cVAE0.215 ± 0.021−0.610 ± 0.21228.5 ± 0.7−1.021 ± 0.00725.5 ± 0.9
CHORD0.648 ± 0.025−1.133 ± 0.00628.6 ± 0.6−1.033 ± 0.00025.8 ± 0.5

Table 4. C-shape results at z=1z = 1, mean ± SE over 13 training seeds. Interpolation is scored by mid-segment feasibility. Each optimization diagnostic reports the best feasible objective and the number of successful starts out of 30. The novel objective has minimum −1.15 at (−1.15, 0).

The cVAE’s novel-objective result varies substantially across seeds (SE 0.21): some runs remain on the positive-x1x_1 side of the C and reach only fopt≈+0.4f_{\mathrm{opt}} \approx+0.4. CHORD achieves mean mid-segment feasibility 0.648, with standard error 0.025 across the 13 training seeds.

Interpretation. C-shape isolates non-convexity within a connected region: connecting the illustrated endpoints requires a route around the forbidden disc. Shells and the stellarator experiments test the method in higher dimensions.

Shells: setup, interpolation, and optimization

Shells tests whether regularization helps under strong compression when distinct mechanisms form disconnected feasible regions.

Forward model. Four groups of design variables represent alternative mechanisms. We split a design x∈R16x \in\mathbb{R}^{16} into K=4K=4 disjoint slices xk∈R4x_k \in\mathbb{R}^{4}. Each slice produces an output through a shared smooth nonlinearity φ:R4→R2\varphi:\mathbb{R}^{4}\to\mathbb{R}^{2} plus a mechanism-specific offset:

yk=φ(xk)+μk,y_k=\varphi(x_k)+\mu_k,
φ(v)=(tanh⁡(v0+v1),tanh⁡(v2+v3)),\varphi(v)=\left(\tanh(v_0+v_1),\tanh(v_2+v_3)\right),

with μk=ρ⋅(cos⁡2πk/K,sin⁡2πk/K)\mu_k=\rho\cdot(\cos2\pi k/K,\sin2\pi k/K), ρ=0.6\rho=0.6: basin centers on a regular KK-gon in yy-space. Soft routing through a softmax of slice energies determines the dominant mechanism:

σk=softmax⁡k(∥xk∥2/τ),τ=0.5,\sigma_k=\operatorname{softmax}_k(\lVert x_k\rVert^2/\tau),\qquad\tau=0.5,
y=∑kσkyk.y=\sum_k \sigma_k y_k.

The simulator output is y∈R2y \in\mathbb{R}^{2}.

Constraints. One mechanism must dominate, and the combined output must lie inside an outer disc but outside an inner disc centered on the weighted mechanism offsets:

hpurity(x)=τp−max⁡kσk≤0,h_{\mathrm{purity}}(x) = \tau_p - \max_k \sigma_k \le0,
hy(x)=∥y∥2−Ry≤0,h_y(x) = \lVert y\rVert_2 - R_y \le0,
hshell(x)=rin−∥y−∑kσkμk∥2≤0.h_{\mathrm{shell}}(x) = r_{\mathrm{in}} - \left\lVert y - \sum_k \sigma_k\mu_k \right\rVert_2 \le0.

Here τp=0.85\tau_p = 0.85, Ry=1.4R_y = 1.4, and rin=0.7r_{\mathrm{in}} = 0.7. Purity forces one mechanism to dominate, separating the four mechanism regions in xx-space. A continuous path that changes the dominant index must pass through a tie, where the largest routing weight is at most 1/2, violating the 0.85 threshold. The shell also excludes y=0y = 0, since ∥∑kσkμk∥≤ρ<rin\left\lVert\sum_k \sigma_k\mu_k\right\rVert\le\rho< r_{\mathrm{in}}. A linear metric blend need not pass through the origin, but can cross this forbidden region. The interpolation diagnostic measures feasibility at sampled interior points; it cannot certify a continuous feasible connection.

An additional constraint at optimization time. To test a requirement absent from training, we introduce yh(x)=∑kσk∥xk∥2y_h(x) = \sum_k \sigma_k\lVert x_k\rVert^2 at optimization time only. The constraint yh≤yh,max⁡y_h \le y_{h,\max} is calibrated to q0.7q_{0.7} of the CMA-ES feasible distribution (yh,max⁡=23.31y_{h,\max} = 23.31). This mirrors the stellarator turbulence-proxy bound ⟨χ∇r⟩≤0.85\langle\chi\nabla_r\rangle\le0.85 — a metric never seen by the conditioning vector but applied as a constraint at optimization time.

The conditioning vector is c=(y0,y1)c = (y_0, y_1) — the 2-D simulator output. yhy_h is not in cc.

Design choices. Table 5 lists the benchmark parameters and their roles.

ParameterValueRole
KK4provides six distinct pairs of mechanism regions
dperd_{\mathrm{per}}4gives a 16-dimensional design space with four coordinates per mechanism
ρ\rho0.6basin centres separable but ∥y∥≤Ry\lVert y\rVert\le R_y remains binding
τ\tau0.5controls how sharply routing selects the dominant mechanism
τp\tau_p0.85requires 85 % dominance; at 0.7, cVAE and CHORD perform similarly
RyR_y1.4bounds the output norm by 1.4
rinr_{\mathrm{in}}0.7origin lies inside every basin’s forbidden disc since ∥0−μk∥=ρ<rin\lVert0 - \mu_k\rVert= \rho< r_{\mathrm{in}}
yh,max⁡y_{h,\max}23.31excludes approximately 30 % of training designs in the held-out-constraint test

Table 5. Shells parameters and their roles in the benchmark.

Training data. For each basin kk, we draw 20 feasible starting points by rejection sampling, increasing the energy of the intended dominant slice. From each point, CMA-ES runs for 30 generations with population 8 and initial step size σ0=0.30\sigma_0 = 0.30, minimizing fsample(x)=∥y−αμk∥2+50∑cReLU⁡(hc)f_{\mathrm{sample}}(x) = \lVert y - \alpha\mu_k\rVert^2 + 50\sum_c \operatorname{ReLU}(h_c). We draw α∼U[0.4,1.0]\alpha\sim U[0.4, 1.0] independently for each start. Approximately half of the pooled trajectory points are feasible, yielding about 16k designs balanced across basins. We then set the held-out constraint threshold from the feasible sample distribution.

Shells benchmark plots

Figure 10. Shells benchmark (d=16d = 16, n=3n = 3 seeds). a. Decoded latent chords between two basins for cVAE (left) and CHORD (right); circles feasible, crosses not. b. Mid-chord feasibility and c. held-out objective optimization, across latent dimensions.

Variants. We compare VAE, CHORD-unc, cVAE, and CHORD, each with three hidden layers of 64 units. The conditional models receive yy; the regularized models include the pathwise feasibility loss. Four latent dimensions (z∈{1,2,4,8}z \in\{1, 2, 4, 8\}) and three training seeds give 48 model runs. The sweep ran on n2-standard-4 cloud CPU instances and took approximately eight minutes of wall-clock time.

Diagnostics. We retain the archived identifiers in parentheses for comparison with the original plots.

Cross-basin interpolation (T1). We encode validation endpoints from different basins, linearly interpolate their latent codes and conditioning over 21 values of α\alpha, and decode the path. We report mid-segment feasibility over α∈[0.3,0.7]\alpha\in[0.3, 0.7], averaged over six unordered basin pairs with six random endpoint pairs each.

Local sampling diversity (T2). We encode the training design with the lowest sampling objective to obtain z∗z^{*}. For each σ∈{0.1,0.3,0.5,1.0}\sigma\in\{0.1, 0.3, 0.5, 1.0\}, we decode 50 codes z=z∗+ϵz = z^{*} + \epsilon, with ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0, I) and fixed conditioning. We report feasibility and the 5th–95th percentile range of ∥y∥2\lVert y \rVert^{2} among feasible samples.

Output-norm optimization (T3). We minimize ∥y∥2\lVert y \rVert^{2} with Adam in latent and conditioning space, starting from the 30 training designs with the lowest ∥y∥2\lVert y \rVert^{2}.

Novel-objective optimization (T7). We instead minimize y0y_{0}, which favors the negative-y0y_{0} region associated with basin 2. This changes the search objective; y0y_{0} remains part of the conditioning vector during training.

Optimization with a held-out constraint (T5). We minimize the same novel objective while also imposing yh≤yh,max⁡y_{h} \le y_{h,\max}. This constraint is absent from model training.

The output-norm diagnostic checks feasibility separately from objective value: the shell constraint excludes the origin, so a small objective value alone does not indicate a successful design.

Results and path variation. At the smallest latent dimension, CHORD improves interpolation and novel-objective search over cVAE (Table 6). The unconditional regularized model shows why feasibility alone is insufficient: its decoded paths are nearly constant. Across latent dimensions, the feasibility gain persists, while the objective ordering changes at the largest dimension (Table 7).

variantMid-segment feasibility ↑\uparrowBest feasible y0y_0 ↓\downarrow (successful starts / 30)
VAE0.000−0.184-0.184 (4.3 ±\pm 4.3) — collapses
CHORD-unc1.000−0.04±0.14-0.04 \pm0.14 (30/30) — frozen
cVAE0.226±0.0610.226 \pm0.061−0.510±0.099-0.510 \pm0.099 (20.0 ±\pm 5.3)
CHORD0.809±0.0020.809 \pm0.002−0.679±0.154-0.679 \pm0.154 (28.0 ±\pm 0.6)

Table 6. Shells results (d=16d = 16, z=1z = 1, n=3n = 3 seeds, mean±\pmSE). We report mid-segment interpolation feasibility (↑\uparrow) and the best feasible value of the novel objective y0y_0 (↓\downarrow), with the number of successful optimization starts out of 30.

zzFeasibility difference (CHORD − cVAE)Best feasible y0y_0 (CHORD vs cVAE)
1+0.58−0.679 vs −0.510 (CHORD +0.17)
2+0.52−1.077 vs −0.658 (CHORD +0.42)
4+0.33−1.375 vs −1.201 (CHORD +0.18)
8+0.29−1.265 vs −1.386 (cVAE +0.12)

Table 7. Table 7 | CHORD and cVAE across latent dimensions. CHORD has higher mean interpolation feasibility at every tested dimension. Its mean novel-objective value is lower at z=1,2,4z = 1, 2, 4; the cVAE has the lower value at z=8z = 8. These comparisons do not establish why the objective ordering changes.

Stellarator data generation, metrics, and training

Aspect ratio and axis-geometry proxy. We define the minor radius by a=Sˉ/πa = \sqrt{\bar{S}/\pi}, where Sˉ\bar{S} is the area enclosed by the plasma boundary in a plane of constant toroidal angle, averaged over that angle. Thus aa is the radius of a circle with the same average cross-sectional area. With plasma volume VV, the corresponding major radius is Rmajor=V/(2πSˉ)R_{\mathrm{major}} = V/(2\pi\bar{S}) and the aspect ratio is A≡AR=Rmajor/aA \equiv AR = R_{\mathrm{major}}/a. The effective aspect ratio is Aeff=μ0I/(2πB0a)A_{\mathrm{eff}} = \mu_{0}I/(2\pi B_{0}a), where II is the external poloidal current, B0B_{0} the reference magnetic-field strength, and aa the same geometric minor radius defined above. It equals the aspect ratio of an axisymmetric, flat-axis configuration with the same II, B0B_{0}, and aa. We use Aeff−AA_{\mathrm{eff}} - A to distinguish geometry families in this dataset. Local torsion, in contrast, describes how the magnetic-axis curve departs from its osculating plane; the proxy is not a torsion measurement.

Initial guesses and DESC pre-tuning. Each augmented-Lagrangian (ALM) campaign with Nevergrad [24] starts from a rotating-ellipse boundary parameterised by ellipticity, axis rotation rate, and field-period count. VMEC sometimes fails to converge on these initial guesses, leaving QI undefined and preventing the outer optimization loop from proceeding. We therefore pass each seed through a brief DESC-based pre-optimization [13] and use the resulting boundary to initialize the Nevergrad search.

Sampling protocol. Each campaign uses an Augmented Lagrangian outer loop over the broad-scan-loose constraints with Nevergrad’s NgIohTuned inner optimizer. We bias half of the campaigns toward planar starts and half toward high-torsion starts to sample both geometry families. The resulting corpus need not contain equal numbers from each family. The optimization histories contain 5.09 M evaluated boundaries; filtering to broad-scan-loose feasibility leaves 1.01 M. All boundaries are stellarator-symmetric with three field periods. Generation cost roughly 50 vCPU-seconds per evaluated boundary.

Released corpus composition. The 100k-boundary corpus contains 55,283 near-planar-axis and 44,717 torsion-axis designs. Each row stores 90 raw Fourier coefficients, 14 scalar metrics, the geometry-family label, and its original training, validation, or test assignment (80k/10k/10k). Preprocessing retains 81 non-constant coefficients. The median Aeff−AA_{\mathrm{eff}} - A is 0.27 in the near-planar family and 2.42 in the torsion family.

Effect of latent dimension on Shells results

Figure 11. Effect of latent dimension on Shells results. The panels show mid-segment interpolation feasibility (T1) and best feasible novel-objective value (T7). CHORD improves on the cVAE in both measures at z=1,2,4z = 1, 2, 4; at z=8z = 8, the cVAE reaches a lower objective value.

Metric schema (15 channels). The frozen surrogate f^\hat{f} predicts 15 scalar metrics from a boundary in standardized Fourier space, matching the ConStellaration [16] schema. In the fixed-aspect-ratio experiments, four inequalities constrain three metrics: lower and upper bounds on ιedge\iota_{\mathrm{edge}}, an upper bound on Δedge\Delta_{\mathrm{edge}}, and a lower bound on WMHDW_{\mathrm{MHD}}. The objective, log⁡10QIedge\log_{10} QI_{\mathrm{edge}}, also enters the conditioning vector but is not a feasibility constraint here. The six conditioning components are y=(Aeff−AR,ιedge,log⁡10QIedge,Δedge,WMHD,ϵmax⁡)y = (A_{\mathrm{eff}}-AR, \iota_{\mathrm{edge}}, \log_{10} QI_{\mathrm{edge}}, \Delta_{\mathrm{edge}}, W_{\mathrm{MHD}}, \epsilon_{\max}). The other 11 channels are ιaxis\iota_{\mathrm{axis}}, AeffA_{\mathrm{eff}}, ARAR, Aeff−ARA_{\mathrm{eff}}-AR, max_elongation, spectral_width, normalized global magnetic shear at the edge, minimum normalized magnetic-gradient scale length, ⟨χ∇r⟩ρ2=0.49\langle\chi\nabla_r \rangle_{\rho^2=0.49} (the bad-curvature flux-compression turbulence proxy), its smoothed variant ⟨χ∇rsmooth⟩ρ2=0.49\langle\chi\nabla_r^{\mathrm{smooth}} \rangle_{\rho^2=0.49}, and magnetic_mirror_ratioaxis_{\mathrm{axis}}. We report VMEC at the very_low_fidelity preset for the fixed-aspect-ratio studies. High-fidelity validation is used for the ConStellaration front-filling results.

Training hyperparameters. All four variants use a residual MLP with three hidden layers of 512 units, layer normalization, and the same training loop. Latent search uses z=16z = 16; the interpolation study tests z∈{4,8,12,16}z \in\{4, 8, 12, 16\} (Appendix § 8.7). We train for 300 epochs with batch size 512, Adam learning rate 10−310^{-3}, and no weight decay. The free-bits threshold is 0.1 nats per latent dimension. The KL weight follows four 75-epoch cycles, rising linearly from 0 to 0.5 over the first half of each cycle and remaining at 0.5 for the second half. The chord regularizer warms up: λ\lambda held at 0 for the first 30 epochs, ramped linearly to λ=1\lambda= 1 over epochs 30–60, held at 1 thereafter. The chord penalty samples 16 feasible-pair α\alpha values per minibatch; the encoder is detached. Architectures are identical across cVAE-family (γdim=6\gamma_{\mathrm{dim}} = 6, or 5 in the pilot omitting QI) and VAE-family (γdim=0\gamma_{\mathrm{dim}} = 0); parameter counts are roughly 1.16M per VAE-family model and 1.17M per cVAE-family model (the six conditioning inputs add 6,144 parameters).

Validation reconstruction quality. At the reported regularization strength, reconstruction remains close to the unregularized cVAE. On the 10k validation split, reconstruction loss ranges from 0.061 to 0.066 in standardized feature space. The unregularized cVAE lies at the lower end and CHORD with λ=100\lambda= 100 at the upper end. At the reported setting λ=1\lambda= 1, the gap is below 1 %. The KL loss converges to approximately 8.0 nats per design across variants. PCA projections show similar reconstruction quality for all four models.

Interpolation feasibility by basin pair (T1)

Figure 12. Figure 12 | Interpolation feasibility by basin pair (T1). Each panel shows mean mid-segment feasibility for one model, with cell (i,j)(i, j) corresponding to endpoints from basins ii and jj. The VAE scores 0 and CHORD-unc scores 1 throughout; the cVAE ranges from 0.16 to 0.31, and CHORD from 0.76 to 0.88. The gain over the cVAE occurs across all basin pairs. These scores measure sampled interior feasibility, not a continuous feasible connection or the extent of design variation.

Stellarator interpolation: protocol and sensitivity checks

These checks separate interior feasibility from endpoint retention and test whether the result depends on the scoring grid.

Pair selection and α\alpha grid. We select 30 cross-basin pairs from the validation split: one design from the planar-axis family and one from the torsion-axis family. The implementation draws sequentially from one NumPy random generator initialized with the run’s pair-selection seed (default 0), rather than reseeding for each pair. The saved design-space endpoints confirm that the

same pairs are reused across training seeds, latent dimensions, variants, and both yy-strategies. The analysis manifest records their boundary hashes.

Stored candidates use αza+(1−α)zb\alpha z_a + (1 - \alpha)z_b, with aa planar and bb torsion. In the notation of the main text these endpoint labels are exchanged, so its α=0\alpha= 0 endpoint is the stored torsion endpoint.

Per pair we evaluate 21 uniformly spaced α\alpha values in [0,1][0, 1]; the reported mid-segment statistics average the eight values α∈{0.30,0.35,…,0.65}\alpha\in\{0.30, 0.35, \ldots, 0.65\}. The original analysis used floating-point bounds 0.3≤α≤0.70.3 \le\alpha\le0.7, which excluded the stored value 0.70000000000000001. We state the effective grid here so that the reported figures and tables can be reproduced. For the comparisons with archived rebuttal baselines we retain this common eight-point convention. Table 9 separately reports the complete main sweep on the symmetric nine-point grid; the two sets of scores are not pooled.

modellinear conditioning z=4z=4z=8z=8z=12z=12z=16z=16self-consistent conditioning z=4z=4z=8z=8z=12z=12z=16z=16
VAE69.1 ± 8.573.8 ± 3.070.7 ± 3.063.0 ± 4.269.1 ± 8.573.8 ± 3.070.7 ± 3.063.0 ± 4.2
CHORD-unc81.0 ± 0.370.5 ± 1.062.5 ± 1.165.8 ± 5.981.0 ± 0.370.5 ± 1.062.5 ± 1.165.8 ± 5.9
cVAE48.9 ± 0.647.4 ± 3.749.1 ± 1.247.7 ± 3.325.4 ± 0.334.4 ± 5.836.5 ± 0.130.6 ± 1.8
CHORD34.7 ± 2.634.3 ± 2.633.8 ± 2.934.6 ± 2.668.3 ± 4.966.2 ± 3.981.9 ± 4.375.4 ± 3.5

Table 9. Nine-point mid-segment feasibility (%), mean ± SE across three training seeds. Each seed uses the same 30 pairs. This sensitivity table is separate from the historical eight-point comparisons.

Self-consistent iteration details. We initialize y0(α)y_0(\alpha) to the linear blend (1−α)ya+αyb(1 - \alpha)y_a + \alpha y_b in standardized conditioning space and apply (4) for K=5K = 5 iterations. The projection f^y\hat{f}_y takes the surrogate’s full 15-metric output and selects the six conditioning components. The clamp operator hard-projects the constrained components (ιedge\iota_{\mathrm{edge}}, Δedge\Delta_{\mathrm{edge}}, WMHDW_{MHD}) onto their feasible intervals; we use no buffer margin. The source endpoints come from validation designs that passed the corpus constraints. Their decoded reconstructions, including after conditioning updates, are not guaranteed feasible. Five iterations bring the median per-pair Δy\Delta y below 0.05 in standardized conditioning space; subsequent iterations do not measurably change the decoded boundary.

Local sampling diversity plots

Figure 13. Local sampling diversity (T2). We perturb the encoded training design with the lowest sampling objective. Left: VAE and cVAE produce no feasible samples at any tested noise scale. CHORD retains more than 50 % feasibility through σ=1.0\sigma= 1.0, whereas CHORD-unc falls below 50 % at the largest tested noise scale. Right: the 5th–95th percentile range of ∥y∥2\lVert y\rVert^2 among feasible samples is nearly zero for CHORD-unc and grows with noise scale for CHORD. Thus CHORD combines feasible sampling with variation in the evaluated objective.

Effect of the inner exclusion region

Figure 14. Effect of the inner exclusion region. Both output-space plots use purity threshold τp=0.85\tau_p = 0.85. Without the inner exclusion (rin=0r_{\mathrm{in}} = 0, Spheres), the four mechanism regions overlap near the origin in output space, so similar conditioning values can describe different mechanisms. With the exclusion (rin=0.7r_{\mathrm{in}} = 0.7, Shells), the origin is infeasible. This makes the example test interpolation through a non-convex feasible output region.

Comparison across latent dimensions. Table 8 reports mid-segment feasibility (%), as mean ±\pm SE across three training seeds. Each seed contributes the average over 30 pairs ×\times 8 mid-α\alpha points. Linear-yy values for VAE and CHORD-unc repeat in the self-consistent column because those models have no yy to vary.

variantLinear yy interpolation z=4z=4z=8z=8z=12z=12z=16z=16Self-consistent yy z=4z=4z=8z=8z=12z=12z=16z=16
VAE67.5±8.471.1±3.367.9±3.460.1±4.167.5±8.471.1±3.367.9±3.460.1±4.1
CHORD-unc78.8±0.566.8±1.159.0±1.262.6±6.578.8±0.566.8±1.159.0±1.262.6±6.5
cVAE48.6±0.647.8±3.650.0±1.048.6±3.424.7±1.032.5±6.135.1±0.828.8±2.4
CHORD30.4±3.231.5±1.629.3±2.429.7±2.768.2±4.764.7±3.981.2±4.975.4±3.6

Table 8. Stellarator mid-segment feasibility (%), mean ± SE across three training seeds at each latent dimension. Boldface identifies CHORD with self-consistent conditioning.

Training and inference interact. CHORD with self-consistent yy has the highest mean feasibility at z=12z = 12 and z=16z = 16, peaking at 81.2 % at z=12z = 12. CHORD-unc leads at z=4z = 4 and the VAE at z=8z = 8. At z=12z = 12, removing self-consistent inference reduces CHORD from 81.2 to 29.3 %; removing the regularizer under the same self-consistent inference reduces it from 81.2 to 35.1 %. The unconditional variants reach 59–79 %. For those variants, the regularizer’s effect varies with latent dimension: +11.3, −4.3, −8.9, and +2.5 percentage points at z=4,8,12,16z = 4, 8, 12, 16, respectively. Per-cell standard errors range from 0.5 to 8.4 percentage points across three seeds.

Sensitivity to the intended symmetric grid.

Within each latent dimension, the model ordering is unchanged when the missing interval boundary is included. We rescored all saved candidates in the three-seed main sweep using the nine samples at α=0.30,0.35,…,0.70\alpha= 0.30, 0.35, \ldots, 0.70, including both interval boundaries with a tolerance of one floating-point step. The reanalysis reproduces every historical eight-point pair score before changing the mask. On the nine-point grid, CHORD with self-consistency reaches 81.9±4.381.9 \pm4.3 % at z=12z = 12 and 75.4±3.575.4 \pm3.5 % at z=16z = 16; design-space interpolation reaches 30.0 % instead of 27.9 %. This post-hoc sensitivity check uses stored simulator outcomes and adds no evaluations. Slerp, pinned-target, and flow-matching comparisons retain their common historical grid.

Endpoint retention and path displacement.

Interior feasibility does not establish that a path retains its feasible endpoints. We evaluate the decoded endpoints of the same saved 21-point paths; reconstruction and conditioning updates can lose feasibility (Table 10). The design-space baseline also passes only 93.3 % of endpoint re-evaluations, despite originating from feasible corpus rows. We therefore distinguish the source labels from feasibility after preprocessing and simulator re-evaluation. The interior scores do not establish a feasible path that preserves both endpoints.

We also check whether the paths collapse to a constant design. At z=16z = 16, all saved paths have 21 distinct boundary coefficient vectors. For CHORD with self-consistency, the median decoded endpoint separation is 0.876 times that of the corresponding design-space endpoints, with minimum 0.234 across the 90 paths. Distances use the Euclidean norm of the 90 raw Fourier coefficients. This rules out constant decoded paths in this sample; it is not a measure of physical distance or a guarantee of geometric diversity.

Endpoint concentration of intermediate samples.

We check whether high mid-segment feasibility is accompanied by samples concentrated near the decoded endpoints. For each path, we measure distance to the nearer endpoint, normalized by the separation of the decoded endpoints:

dend(α)=min⁡{∥x~(α)−x~(0)∥2,∥x~(α)−x~(1)∥2}∥x~(1)−x~(0)∥2.d_{\mathrm{end}}(\alpha) = \frac{\min\{\lVert\tilde{x}(\alpha)-\tilde{x}(0)\rVert_2,\lVert\tilde{x}(\alpha)-\tilde{x}(1)\rVert_2\}}{\lVert\tilde{x}(1)-\tilde{x}(0)\rVert_2}.

Distances use the same raw Fourier coefficients as above. We average over the historical eight interior points and the same endpoint pairs, including infeasible candidates to keep this geometric diagnostic separate from feasibility.

The unconditional models concentrate their intermediate samples closer to endpoints (Table 11). The cVAE has a similar distance to CHORD, so this property alone does not explain the feasibility gain from chord regularization. The conditional–unconditional ordering persists on the nine-point grid, when normalizing by source-endpoint separation, and when considering only simulator-feasible intermediate points. This measures endpoint concentration in coefficient space; it does not establish physical diversity or a larger overall path span.

modellinear yyself-consistent yy
VAE91.7 ± 0.091.7 ± 0.0
CHORD-unc60.6 ± 1.560.6 ± 1.5
cVAE74.4 ± 4.529.4 ± 3.4
CHORD60.6 ± 4.361.7 ± 5.1

Table 10. Endpoint feasibility at z=16z = 16 (%), mean ± SE across three seeds, with 60 decoded endpoints per seed and method. The unconditioned design-space baseline gives 93.3 %.

Earlier single-seed campaign and the λ\lambda sweep. An initial pilot used one training seed at z=16z = 16 with y_strategy=fixed_start (set y(α)=yay(\alpha) = y_a for all α\alpha) and λ∈{0,1,10,100}\lambda\in\{0, 1, 10, 100\} for the cVAE conditioned on QI. Mid-segment feasibility declined as λ\lambda increased from 1 to 10 to 100. At λ=100\lambda= 100, validation reconstruction loss rose from 0.062 to 0.066 without a feasibility gain. We therefore use λ=1\lambda= 1 in the fixed-aspect-ratio study. The pilot also tested conditioning without QI, labelled “Option B” in the archive. That variant was not repeated across training seeds and is absent from the multi-seed comparison.

Stellarator latent optimization: protocol and ablations

We separate the effects of the search coordinates, inference steps, and model architecture, then account for their computational costs.

Sample drawing and self-consistent iteration. We draw N=10 000N = 10\,000 codes z∼N(0,I)z \sim\mathcal{N}(0, I) and initial conditioning vectors y0y_0 with y0[log⁡10QI]∼U(−3.5,−1.5)y_0[\log_{10}\mathrm{QI}] \sim\mathcal{U}(-3.5, -1.5), y0[aeff_minus_ar]=3.0y_0[\texttt{aeff\_minus\_ar}] = 3.0, and the remaining components at their training-set means in standardized space. We apply Eq. (4) for K=30K = 30 iterations with the clamp projecting ιedge→[0.745,0.755]\iota_{\mathrm{edge}} \to[0.745, 0.755], mirroredge≤0.38\mathrm{mirror}_{\mathrm{edge}} \le0.38, vacuum_well≥0.02\mathrm{vacuum\_well} \ge0.02 (i.e. feasibility intervals shrunk by margin 0.02 on each constrained side); log⁡10QI\log_{10}\mathrm{QI} and the other unconstrained components are not clamped. After the iteration we surrogate-score every decoded design, take the 50 lowest by predicted log⁡10QI\log_{10}\mathrm{QI}, and validate them on real VMEC.

Matched surrogate-assisted search and sampling. The main surrogate-assisted CMA-ES comparison returns 0/50 feasible candidates in the original 81-D coordinates and 50/50 in the CHORD latent. These runs share the frozen surrogate and evaluation budget but use parameterization-specific initializations and step sizes. Other native-space search methods reach up to 88 % feasibility (Figure 7).

The failure is consistent with extrapolation beyond the surrogate’s training support: the raw-space candidates end up 27.6 standardized units from the nearest training design, where latent candidates stay near 1.2, the distance between neighbouring training rows. At these distances the surrogate scores them at −4.73, better than anything in a 1.01 M-row corpus, but VMEC fails to converge on them. Solver non-convergence does not establish that no equilibrium exists.

Self-consistent sampling produces a broader spread of candidates than latent CMA-ES. Across three training seeds, it reaches −3.42 ± 0.17 in best log⁡10QI\log_{10}\mathrm{QI}, with all 150 validated candidates feasible. In the representative comparison, its

modelz=4z = 4z=8z = 8z=12z = 12z=16z = 16overall
VAE0.150 ± 0.0170.213 ± 0.0140.196 ± 0.0060.199 ± 0.0040.189 ± 0.008
CHORD-unc0.169 ± 0.0030.225 ± 0.0040.222 ± 0.0130.185 ± 0.0050.200 ± 0.004
cVAE + self-consistency0.357 ± 0.0130.334 ± 0.0120.347 ± 0.0100.331 ± 0.0080.342 ± 0.008
CHORD + self-consistency0.362 ± 0.0100.333 ± 0.0150.333 ± 0.0050.339 ± 0.0170.342 ± 0.003

Table 11. Distance of intermediate designs from the nearer decoded endpoint, as a fraction of decoded endpoint separation. Values are mean ± SE across three training seeds, each averaging the same 30 pairs and eight interior points. The overall column first averages the four latent dimensions within each seed. Conditional models use self-consistent inference. This is a post-hoc diagnostic.

50 designs span 0.55 dex in objective value and have mean pairwise distance 2.57, compared with 0.001 dex and 0.20 for latent CMA-ES. The corresponding best values are −3.55 and −3.66.

Inference settings and sensitivity. Iteration count (K=30K = 30). The median Δy\Delta y per sample drops below 0.05 in standardized conditioning space by iteration 30; about half of the 10 000 samples reach Δy<0.02\Delta y < 0.02.

Interior margin (0.02). The margin provides a buffer against surrogate error. The matched sweep shows that the no-clamp failures are caused by WMHD<0W_{\mathrm{MHD}} < 0, with vacuum-well prediction errors of order 10−310^{-3}. The margin is applied to the conditioning vector; its effect on the decoded design must be checked with VMEC. We swept seven margins from the same zz and y0y_0 draws. At small margins every infeasible design violated WMHDW_{\mathrm{MHD}}, and ι\iota never failed. Every tested margin from 0.01 to 0.025 gave 50/50 feasible designs (Table 13).

margin mmno clamp00.0050.0100.0150.0200.025
VMEC feasible / 50342250505050

Table 13. Margin sweep for the interior clamp. All runs use the same zz and y0y_0 draws. Each tested margin from 0.01 to 0.025 gives 50/50 feasible designs, including the chosen value 0.02. Disabling the clamp gives 3/50; clamping at the original bounds (zero margin) gives 4/50.

Initial objective targets (y0y_0 [log10_{10} QI]). Sampling in [−3.5, −1.5] biases the iteration toward low QI while allowing different starting requests. The iteration updates them using the decoder’s predicted metrics. We validate 50 candidates to compare the surrogate-assisted methods at a common validation budget.

Comparison with simulator-driven optimization. Here the optimizers call VMEC during search. Table 12 reports their simulator budgets separately from the surrogate-assisted comparison above.

methodVMECbest feas log⁡10QI\log_{10}\mathrm{QI} ↓mean feas log⁡10QI\log_{10}\mathrm{QI}feas. rate
Self-consistent CHORD50−3.55−3.1550/50
zz-CMA-ES on CHORD, planar200−3.32 (best of 60)−2.9560/60 trials
zz-CMA-ES on CHORD, random200—−2.8260/60 trials
xx-CMA-ES, planar200−2.00 (best of 120)−1.83120/120 trials
xx-CMA-ES, random200−2.64−2.0790/120 trials
Ref.: training min. (1.01 M pts)—−3.91——

Table 12. Self-consistent sampling and simulator-driven CMA-ES at z=16z = 16. Self-consistent CHORD uses 50 VMEC validations; the CMA-ES baselines in this table use 200 VMEC evaluations per trial averaged over 60 trials (zz-CMA-ES) or 120 trials (xx-CMA-ES across both pairs).

Inference ablations (z=16z = 16, 50 VMEC each). Holding the model fixed isolates the effects of conditioning updates and interior clamping (Table 14).

variantfeas. ratebest log⁡10\log_{10} QI ↓mean log⁡10\log_{10} QI
fixed-yy at log⁡10\log_{10} QI = −1.5-1.5 (train mean)18/50−2.38-2.38−2.29-2.29
fixed-yy at log⁡10\log_{10} QI = −2.0-2.02/50−2.22-2.22−2.21-2.21
fixed-yy at log⁡10\log_{10} QI = −3.0-3.050/50−2.04-2.04−1.95-1.95
self-consistent, no clamp3/50−3.35-3.35−3.33-3.33
self-consistent, clamp 0.0250/50−3.55-3.55−3.15-3.15

Table 14. Self-consistent latent sampling on CHORD with five inference variants. Fixed-yy at three QI targets vs. self-consistent inference with and without interior clamping. Mean and best are over feasible candidates only.

Fixed conditioning does not reliably turn ambitious requests into better feasible designs. Only 2/50 candidates pass VMEC at y[log⁡10QI]=−2.0y[\log_{10}\mathrm{QI}] = -2.0. The most aggressive tested target, −3.0, gives 50/50 feasible candidates, but their best simulated value is only −2.04.

Self-consistency without clamping reaches low predicted QI, but only 3/50 candidates pass VMEC; the other 47 violate the vacuum-well bound. Adding interior clamping yields 50/50 feasible candidates and best log⁡10QI\log_{10}\mathrm{QI} of −3.55, with mean QI prediction bias +0.06 dex on those selected candidates.

Model ablation under matched inference (z=16z = 16, 50 VMEC each). We next hold inference fixed within each model family to isolate the effect of chord regularization (Table 15).

modelinference schemefeas. ratebest log⁡10\log_{10} QI ↓mean log⁡10\log_{10} QI
VAEunconditional sampling43/50−3.17-3.17−2.61-2.61
CHORD-uncunconditional sampling42/50−3.14-3.14−2.65-2.65
cVAE (no chord reg.)self-consistent + clamp 0.0220/50−2.10-2.10−1.75-1.75
CHORDself-consistent + clamp 0.0250/50−3.55-3.55−3.15-3.15

Table 15. Model comparison under fixed inference schemes. VAE-family models have no yy, so we run unconditional sampling: draw zz from the prior, decode, surrogate-score, validate top 50. cVAE-family models use the full self-consistent + clamp 0.02 pipeline.

Under the same self-consistent inference and clamping, CHORD improves both feasibility and objective value over the cVAE. The cVAE yields 20/50 feasible candidates and CHORD 50/50, with best log⁡10QI\log_{10}\mathrm{QI} of −2.10 and −3.55, respectively.

Unconditional VAE and CHORD-unc sampling reach approximately 85 % feasibility and best log⁡10QI≈−3.15\log_{10}\mathrm{QI} \approx-3.15. Adding the regularizer changes the best value from −3.17 to −3.14 and the mean from −2.61 to −2.65.

Surrogate–VMEC calibration. We check how objective values change under simulator evaluation. For each variant we measure mean bias Δ‾=E[log⁡10QIVMEC−log⁡10QIsurrogate]\overline{\Delta} = \mathbb{E}[\log_{10}\mathrm{QI}_{\mathrm{VMEC}} - \log_{10}\mathrm{QI}_{\mathrm{surrogate}}] on the feasible candidates. Fixed-conditioning variants and self-consistent sampling with clamping show ∣Δ‾∣≤0.06|\overline{\Delta}| \le0.06. The no-clamp variant shows Δ‾=−0.03\overline{\Delta} = -0.03 (slightly pessimistic at the manifold edge), but only 3/50 candidates contribute, so the estimate describes a small selected subset. The Multistart-Adam result below shows much larger bias (∼ ⁣+0.34\sim\!+0.34 dex).

Multistart Adam from training warm starts. To test whether gradient search improves known good designs, we run surrogate-Adam in (z,y)(z, y) initialized from the encoder applied to the 30 lowest-QI training rows (500 Adam iterations, joint yy optimization with ∣y∣≤4|y| \le4, λ=10\lambda= 10; 3 training seeds, 2 model pairs, 30 multistarts each). Best feasible log⁡10QI=−3.71\log_{10}\mathrm{QI} = -3.71 in 30 VMEC calls; 100 % feasibility. Warm-start comparison: the 30 warm-start training rows already have mean log⁡10QI=−3.83\log_{10}\mathrm{QI} = -3.83. Across 180 trials, Adam’s final VMEC value is 0.31 dex worse than the warm-start row’s training value: Adam descends ∼ ⁣0.18\sim\!0.18 dex in surrogate space, but the surrogate→VMEC bias of +0.34 dex erases that gain. The result largely preserves warm-start quality, without evidence of improvement over those designs. We report it separately from Figure 7 to distinguish this surrogate bias from the clamped self-consistent results.

Cost breakdown. The computational benefit depends on reusing the corpus and models. Table 16 separates their one-time cost from the cost of each design query.

computewall clockVMEC calls
one-time dataset generation∼\sim73k vCPU-h—5 M
one-time surrogate training1 GPU∼\sim0.5 h0
one-time model training1 GPU∼\sim0.5 h0
per query self-consistent sampling1 CPU∼\sim30 s0
per query validationcloud VMEC∼\sim5 min50
zz- or xx-CMA-ES, per trial8 vCPU15–25 min200

Table 16. One-time cost against per-query cost. The sampler runs 10,000 codes for 30 iterations, followed by final decoding and ranking: 3.1×1053.1 \times10^{5} decoder and surrogate passes, with no simulator in the loop. The dataset figure covers the campaign that produced the retained corpus; total project spend, including exploratory campaigns that were discarded, was about 168k vCPU-hours.

Earlier cold-start CMA-ES + Adam campaign (with turbulence-proxy bound). A separate campaign at z=16z = 16 ran cold-start CMA-ES and Adam with the additional turbulence-proxy bound ⟨χVr⟩≤0.9\langle\chi_{\mathrm{Vr}}\rangle\le0.9 (3 seeds ×\times 4 methods ×\times {random, planar} ×\times 20 optimization seeds per configuration). The bound truncates the achievable QI floor by ∼1\sim1 dex, so absolute numbers are shallower; the relative ordering of methods is unchanged. The full zz-sweep across z∈{4,8,12,16}z \in\{4, 8, 12, 16\} shows that the CHORD-vs-cVAE zz-CMA-ES gap grows with latent dimension (+0.05 dex at z=4z = 4 to +0.43 dex at z=16z = 16); we report this dependence on latent dimension as motivation for using z=16z = 16 in the main search experiment.

Front filling: benchmark, per-gap results, and sensitivity checks

We distinguish the main front-filling evaluation from the smaller regularizer ablation, then check sensitivity to reference campaigns, scoring precision, and feasibility tolerance.

Benchmark and metric. The MHD-stable track of ConStellaration [16] scores hypervolume over aspect ratio (minimized) against min L∇B×NFPL_{\nabla B}\times\mathrm{NFP} (maximized), with reference point (−L∇B,A)=(1.0,20.0)(-L_{\nabla B}, A) = (1.0, 20.0) in minimization space, so the L∇BL_{\nabla B} reference is −1.0-1.0. Designs are scored at high fidelity using the benchmark’s normalized-violation tolerance of 0.01. The nominal thresholds are ∣ι/NFP∣≥0.25|\iota/\mathrm{NFP}| \ge0.25, log⁡10QI≤−3.5\log_{10}\mathrm{QI} \le-3.5, mirror ratio ≤0.25\le0.25, flux compression ≤0.9\le0.9 and vacuum well ≥0\ge0. With the tolerance, the corresponding accepted bounds are ∣ι/NFP∣≥0.2475|\iota/\mathrm{NFP}| \ge0.2475, log⁡10QI≤−3.465\log_{10}\mathrm{QI} \le-3.465, mirror ratio ≤0.2525\le0.2525, flux compression ≤0.909\le0.909, and vacuum well ≥−0.001\ge-0.001. The last bound uses the benchmark’s normalization scale of 0.1 for the zero-threshold constraint. Among the 1,200 evaluated generated designs, 1,120 pass with this tolerance and 977 (81.4%) pass all nominal bounds strictly.

Metric version for reproduction. All metrics here are computed with constellaration 0.2.6. Release 0.3.0 redefines flux compression in regions of bad curvature from the VMEC Jacobian to the field-aligned one; since that metric is one of the five feasibility constraints, the two releases disagree about which designs are feasible, and reproducing these results requires the 0.2.6 metric definition.

Anchors and gaps. The study retains five campaigns as anchors and six as held-out comparisons, spanning A=8A = 8 to 12. Campaigns at A=7.2857A = 7.2857, 7.6786, and 10.00 are excluded from these eleven. The list has only 0.04 from the 10.04 anchor and adds little separation as a test point. Excluded campaigns remain part of the broader published benchmark reference, but not the five-anchor baseline.

Our implementation scores all benchmark-feasible campaign rows at 178.45, agreeing with the published 178.4 to 0.03%. This broader reference includes excluded campaigns and extends to A=7.6786A = 7.6786. Restricting the comparison to the eleven named anchor and held-out campaigns gives 176.02 (Table 18).

setfront pointshypervolume
five anchors16174.5553
anchors + generated51176.3135
eleven study campaigns33176.0221
broader benchmark34178.4480

Table 18. Front comparisons under the benchmark feasibility tolerance. Counts use distinct objective pairs at stored precision.

Coverage and scoring sensitivity. Generated designs add intermediate choices in all four gaps. In a post-hoc analysis of the stored high-fidelity evaluations, the combined benchmark front contains 14 surviving anchor points and 37 generated points: 8, 11, 5, and 13 from gaps g1–g4. Two original anchor points become dominated. Sorting the front by aspect ratio, the largest separation between adjacent points falls from 1.2500 to 0.5076.

Exact non-dominated counts depend on nu numerical resolution. Several anchor points differ in achieved aspect ratio by about 10−910^{-9}. Rounding both objectives to six decimal places changes the counts from 16 → 51 to 5 → 42, while leaving the reported hypervolumes unchanged to four decimal places. Four-decimal rounding also gives 5 → 42. We retain the benchmark calculation at stored precision and report coverage separately rather than interpreting the count as a number of geometrically distinct designs.

Front filling also persists without the benchmark’s 1% constraint allowance. Applying the nominal bounds to both anchors and generated designs leaves 85 anchor rows and 977 generated designs feasible. Their combined hypervolume is 172.2466, up from 167.7518 for the strict anchors, and the largest adjacent aspect-ratio gap falls from 1.25 to 0.3406. These are sensitivity checks on existing evaluations, not additional simulator runs.

Per-gap training. Each gap trains its own surrogate and CHORD model on its two anchor campaigns and augmented designs derived from those campaigns. We rescale anchor boundaries and re-evaluate them with the simulator; the resulting training pool includes designs inside the gap. We exclude held-out campaigns by source-row provenance, including their rescaled descendants. Filtering only by achieved aspect ratio would not enforce that separation. Augmentation therefore incurs additional simulator cost even though it requires no new optimization campaign.

Saved per-gap configurations use 81 input coefficients, 16 latent dimensions, residual $3 \times 512 MLPs, and eight conditioning metrics: ι\iota/NFP, log⁡10\log_{10} QI, mirror ratio, flux compression, vacuum well, elongation, magnetic-gradient scale length, and aspect ratio. Training runs for 300 epochs at batch size 2048 and initial learning rate 10−310^{-3}, with a cosine learning-rate schedule, maximum KL weight 0.5, and a free-bits threshold of 0.1 nats per latent dimension. Four 75-epoch KL cycles each ramp the weight over their first half and hold it fixed over their second half. The model-specific chord weight is 0 or 0.01, distinct from the fixed-AR study’s 1. The penalty emphasizes pairs that span aspect ratio. It adds the mean violation on generic feasible pairs to 1.5 times the mean on pairs separated by at least 0.3 in aspect ratio, using up to 32 pairs per component and uniform blend weights in [0,1][0,1]. Each component averages ReLU violations in the five constrained metrics. The weight ramps from zero over epochs 30–60, with no inward training margin.

Effect of the regularizer. Overall low-fidelity feasibility rises with the regularizer in every gap (27 →\to 63, 45 →\to 77, 53 →\to 85 and 60 →\to 86%), and the mid-gap gain is between 2.8× and 10.4× (Table 17).

gapwidthAAheld-out λ=0\lambda=0held-out λ=0.01\lambda=0.01mid-gap feas. λ=0\lambda=0mid-gap feas. λ=0.01\lambda=0.01HF feasible / evaluated λ=0\lambda=0HF feasible / evaluated λ=0.01\lambda=0.01corpus-native feas. (%)
g11.258.46, 8.864.648.719/3823/366.7–8.8
g20.799.6413.653.38/235/2216.6–19.7
g30.7810.4315.366.75/2211/2113.1–24.0
g41.1811.21, 11.6125.170.812/2622/3016.2–18.1

Table 17. Gap geometry and per-gap results. Mid-gap feasibility is the mean over the three blend weights nearest the chord midpoint. Corpus-native feasibility is the share of existing campaign designs at those aspect ratios that already pass the tight thresholds. HF columns report feasible survivors / evaluated candidates after selecting each arm’s low-fidelity in-gap Pareto set. They apply nominal constraints without the benchmark allowance. The HF budgets differ by arm, and the surviving points are not necessarily non-dominated at HF. These counts are separate from the combined front in § 4.5.

Combined front in the separate regularizer ablation. This ablation tests whether the regularizer improves the combined front. The per-gap sweeps together use 11,406 low-fidelity evaluations and 109 high-fidelity evaluations for each regularizer setting. The unregularized arm yields 44/109 HF-feasible designs; the regularized arm yields 61/109. In a post-hoc calculation, combining each saved HF-feasible set with the nominally feasible anchors gives hypervolume 172.26 without regularization and 172.79 with it. The largest adjacent aspect-ratio gap decreases from 0.457 to 0.383. We round both objectives to four decimal places to match the precision of the archived generated points. These sweeps have equal total evaluation counts, but different per-gap HF allocations and candidate sets selected by their low-fidelity Pareto fronts. They support a modest benefit in this configuration, independently of the separate 1,200-candidate stratified evaluation; they are not a multi-seed comparison.

Difficulty does not increase monotonically with gap width. Gap g4 is easier than the two narrower gaps, g2 and g3. The widest gap, g1, is the hardest and has the lowest fraction of feasible source designs (last column of Table 17). Four gaps are insufficient to identify which properties determine interpolation difficulty.

Surrogate accuracy within each gap. On an in-gap holdout, the per-gap surrogates reach physical RMSE 0.0201–0.0210 against 0.0308 for a surrogate trained on all thirteen campaigns, with feasibility accuracy 0.981–0.988 in both cases. In this comparison, training on the two bracketing campaigns gives lower in-gap prediction error than training across the broader aspect ratio range 7.3–12.0.

Choice of conditioning for front filling. We use gap g3, between the anchor campaigns at A=10.04A = 10.04 and 10.82, as a pilot for choosing the inference scheme. This interval matches the earlier front-filling experiments. Here, self-consistent inference produces no feasible designs among 180 candidates, although the clamped iteration converges. Improving the surrogate and varying the tested constraint margins do not recover feasibility. A midpoint diagnostic shows that self-consistency worsens both QI and mirror ratio relative to linear conditioning, pushing the latter above its constraint bound. We therefore use linear conditioning throughout the front-filling study. Together with the benefit of self-consistency in the fixed-aspect-ratio experiment (§ 4.3), this pilot motivates choosing the inference scheme for the task.

Baseline: geometric rescaling. Geometric rescaling tests whether a neighbouring solution can reach a target aspect ratio without a learned generator. At ΔA=−0.5\Delta A=-0.5 this yields 0 of 9 feasible boundaries, bound by the vacuum-well constraint. This small control at one offset does not substitute for a comparison against retrieving feasible designs from the augmented training pool. That pool already contains intermediate aspect ratios. The present experiment measures additions to the anchor front; it does not establish an advantage over augmented-data retrieval under a matched high-fidelity evaluation budget.

Scope of the front-filling evaluation. High-fidelity evaluation covers 1,200 of 8,361 low-fidelity-feasible candidates, stratified over ten aspect-ratio bins per gap. The validated feasible count and attained hypervolume are lower bounds for the full candidate pool. The feasibility rate is not a lower bound, and the non-dominated count need not increase when additional designs dominate existing front points.

The five anchors already capture 97.8 % of the broader benchmark hypervolume (99.2 % of the eleven-campaign value), so the attainable gain relative to either reference is small. Aspect-ratio coverage and hypervolume describe complementary aspects of front filling; neither establishes geometric diversity.

In the regularizer ablation, the λ=0.01\lambda=0.01 model raises mid-gap feasibility in all four gaps. Its screened subsets yield more HF-feasible survivors in three gaps and fewer in g2. Per-gap comparisons have different HF budgets; the combined comparison above has equal totals. The 1,200-candidate benchmark evaluation covers only the regularized model.

Surrogate accuracy, robustness, and ensembling

The surrogate enters the method in two places: it supplies the feasibility signal in the chord loss at training time, and it ranks candidates at inference time. It is frozen in both. The decoder can nevertheless exploit errors in a fixed surrogate, so simulator validation remains necessary.

Accuracy. Held-out zz-scored MSE on the five metrics the pipeline reads is 0.0007 for ℓedge\ell_{\mathrm{edge}}, 0.0026 for vacuum well, 0.0065 for log⁡10QI\log_{10}\mathrm{QI}, 0.0066 for mirror ratio and 0.0152 for L∇BL_{\nabla B}, on 509k held-out boundaries with VMEC ground truth. A deeper 4×5124 \times512 trunk reaches lower training MSE and essentially the same validation MSE. Increasing depth alone therefore does not improve held-out accuracy in this comparison.

Swapping the surrogate. To test dependence on the ranking surrogate, we retrained three alternatives on the identical 5.09M-row corpus: two fresh initializations and one deeper architecture. Each ranks the same generated candidate pool.

Across all four ranking surrogates, 199 of 200 selected designs are feasible. The remaining design has ℓedge=0.72457\ell_{\mathrm{edge}} = 0.72457, below the 0.725 bound, with a converged VMEC equilibrium and log⁡10QI=−3.36\log_{10}\mathrm{QI} = -3.36. The best validated QI varies by at most 0.03 dex, although only 12 to 17 of each surrogate’s top-50 designs match the original selection. Near the surrogate’s noise floor the ranking is surrogate-specific, and the top-50 mean shifts by up to 0.15. This test supports robustness of feasibility and best QI to changing the ranking surrogate; it does not retrain the generative models or test the whole pipeline with new surrogates. Mean QI varies more: the spread is ±0.08\pm0.08 across rankers and ±0.18\pm0.18 across generative-model seeds.

Ensembling. Averaging the four compatible surrogates improves calibration on the 509k held-out rows: feasibility-prediction accuracy rises from 0.968 to 0.976, precision and recall from 0.919 and 0.921 to 0.940, and log⁡10QI\log_{10}\mathrm{QI} RMSE falls from 0.0317 to 0.0258. On the pipeline’s own selected candidates the ensemble also reduces the prediction-error spread from 0.084 to 0.072. All surrogates are slightly optimistic on the selected designs, predicting log⁡10QI\log_{10}\mathrm{QI} values 0.04 to 0.08 dex lower than VMEC. Averaging the predictions reduces their spread but retains this bias.

Controllability: pinning a metric target along the chord

Feasibility measures whether a decoded path is usable. It does not measure whether the path is the one a designer asked for. We test that separately by pinning one component of the conditioning vector to a target profile target(α\alpha) at every self-consistent iteration, leaving the other five components free, and comparing the simulated metric against the request. The unconditional VAE cannot be pinned, so we compare its unsteered output with the same targets. We test three profiles on the same 30 cross-basin pairs as Sec. 4.3, using 21 steps per path and VMEC evaluation.

ranking surrogateVMEC feasiblebest log⁡10\log_{10} QIsurr. biastop-50 overlap
original50/50−3.514−0.005—
re-init A50/50−3.510+0.01212
re-init B50/50−3.486+0.04612
deeper trunk49/50−3.487+0.03217

Table 19. Candidate selection with four independently trained ranking surrogates. Overlap counts how many of each top-50 match the original surrogate’s picks.

Feasibility and target-tracking accuracy. CHORD retains 77.9 to 81.7% feasibility under pinning on the seed-0 checkpoint. This is descriptively similar to the unpinned three-seed result, but is not a matched multi-seed test of the cost of pinning. The pinned cVAE reaches 14.6 to 40.8%. Under the pre-specified mean absolute tracking-error criterion, CHORD does not improve on the unconditional VAE on any profile. A linear blend of endpoint metrics is not necessarily the metric trajectory of an unsteered decoded chord.

Post-hoc analysis of QI loss. Absolute tracking error penalizes improvements as well as deteriorations relative to the requested QI. We chose this one-sided measure after examining the pre-specified absolute-error result; it is a post-hoc analysis. For profile B, we examine signed error and one-sided QI degradation, mean max⁡(0,log⁡10QIsimulated−log⁡10QItarget)\max(0, \log_{10} \mathrm{QI}_{\mathrm{simulated}} - \log_{10} \mathrm{QI}_{\mathrm{target}}). The unconditional VAE has signed error +0.203 ± 0.043 dex and one-sided degradation 0.224 ± 0.044 dex. The cVAE’s degradation is 0.188 ± 0.024 dex. CHORD has signed error −0.106 ± 0.029 dex and degradation 0.101 ± 0.017 dex. Its paired difference from the VAE is −0.123 ± 0.044 dex, approximately 2.8 standard errors. Thus CHORD improves on the target on average while still losing QI at some steps.

Additional baselines

Interpolation paths. Slerp follows a spherical path between latent codes rather than a straight chord. We compare both paths using the same seed-0 checkpoints, 30 cross-basin validation pairs, 21 interpolation steps, and VMEC evaluation procedure. Table 21 reports the eight-point interior statistic used in the main experiment. Unlike the main multi-seed table, its uncertainty is the standard error across endpoint pairs. Slerp improves the unconditional VAE by 4.2 percentage points but changes CHORD by −1.3 points. CHORD with slerp exceeds VAE+slerp by about 9 percentage points on this checkpoint. The evidence supports a useful conditional model here; it neither establishes a multi-seed advantage over VAE+slerp nor shows that slerp improves CHORD.

modelconditioninglinear path (%)slerp (%)
unconditional VAEnone67.5 ± 4.871.7 ± 5.0
CHORDself-consistent, K=5K = 581.7 ± 2.780.4 ± 3.5

Table 21. Matched path comparison at z=16z = 16, training seed 0. Mean ± SE across the same 30 endpoint pairs; every decoded boundary is evaluated with VMEC. The linear-path rows use the saved seed-0 results, rather than the three-seed averages.

Flow-matching backbone. To test the method beyond autoencoders, we train a conditional flow-matching model [23] on the same 100k-boundary dataset and split, with the same six conditioning metrics. The velocity field uses a three-layer, 512-wide residual MLP (647k parameters, versus 582k in the cVAE decoder) and trains for 150 epochs. It transports Gaussian noise to boundary coefficients through an ordinary differential equation (ODE). To interpolate, we integrate backward from each endpoint to obtain its noise code, interpolate those codes, and integrate forward with interpolated conditioning. The noise space has 81 dimensions, so this is a comparison of generator families at similar decoder capacity, not at matched bottleneck dimension. Evaluation uses 100-step Heun integration.

We also train a chord-regularized flow: invert paired endpoints without gradients, interpolate their codes and conditioning, decode with a differentiable ODE solve, and penalize surrogate-predicted constraint violation. We choose λ=50\lambda= 50 from a seed-0 sweep of {50,150,400}\{50, 150, 400\}, then keep it fixed across three training seeds. The inference iteration count and clamp margins are inherited from the cVAE experiment rather than tuned for the flow.

profilemethodmid-seg feas. (%)tracking err. (train-σ\sigma)
A: ι\iota rampunconditional VAE (drift)67.5 ± 4.81.17 ± 0.13
cVAE, pinned39.2 ± 4.72.31 ± 0.19
CHORD, pinned81.7 ± 3.31.45 ± 0.10
B: QI plateauunconditional VAE (drift)67.5 ± 4.80.84 ± 0.16
cVAE, pinned14.6 ± 3.40.90 ± 0.07
CHORD, pinned77.9 ± 4.71.06 ± 0.05
C: ι≡0.75\iota\equiv0.75unconditional VAE (drift)67.5 ± 4.81.21 ± 0.10
cVAE, pinned40.8 ± 4.82.55 ± 0.22
CHORD, pinned79.2 ± 3.41.23 ± 0.07

Table 20. Controllability under a pinned target. Tracking error is the mean absolute deviation of the simulated metric from the request, over VMEC-converged steps. Values are mean ± SE across 30 pairs on one training seed (seed 0).

Every tested regularized variant remains below the base flow with linear interpolation (Table 22). Under self-consistent inference, the chord penalty raises feasibility from 14.0 to 32.8 %, but this does not establish a performance benefit over the base flow. A broader tuning study would be needed to compare the best attainable performance of the model families.

pathconditioningbase flow (%)chord-regularized flow (%)
linearlinear59.9 ± 4.434.6 ± 13.6
slerplinear50.8 ± 5.132.1 ± 10.3
slerpself-consistent14.0 ± 2.132.8 ± 6.7

Table 22. All flow-matching interpolation ablations. Mean ± SE across three training seeds, each evaluated on the same 30 cross-basin pairs with the eight-point interior statistic.

Cycle-consistency penalty for latent search. Notin et al. [9] guide latent search using epistemic decoder uncertainty: uncertainty about the learned decoder parameters. They estimate mutual information between those parameters and generated outputs using importance sampling, with Monte Carlo dropout to sample an approximate parameter posterior. Our CHORD checkpoint was trained without dropout. The diagnostic we tested instead inserts dropout at inference and measures variation in decoded coefficients. This is a perturbation statistic, not their posterior-based mutual-information estimator.

To keep the trained representation fixed, we use a deterministic latent cycle error as the search penalty:

rcyc(z,y)=∥z−Eϕ(Dθ(z,y),y)∥2,r_{\mathrm{cyc}}(z,y) = \lVert z - E_{\phi}(D_{\theta}(z,y),y) \rVert_2,

where Eϕ(⋅,y)E_{\phi}(\cdot,y) denotes the encoder mean with conditioning shown explicitly. This measures agreement between one fixed encoder and decoder, rather than uncertainty across decoder parameters. The criterion is related to the latent consistency studied by Boyar and Takeuchi [10]; we apply it during search without their full LCA-LSBO procedure.

We selected this proxy because it correlates with distance to nearby training samples: Spearman ρ=0.64\rho= 0.64, versus 0.03 for the inference-time dropout statistic. The distance is measured in standardized boundary coefficients against a reference subset of training designs. This comparison assesses distance sensitivity, not calibration of probabilistic uncertainty.

We add βcyc\beta_{\mathrm{cyc}} to the same surrogate-based CMA-ES score as the latent baseline, retaining its feasibility penalties and conditioning updates. A reduced-budget sweep over β∈{0,0.1,0.3,1}\beta\in\{0, 0.1, 0.3, 1\} selects β=0.3\beta= 0.3 for comparison with β=0\beta= 0 at 300k surrogate evaluations per arm. Both use the same frozen z=16z = 16, seed-0 CHORD model and a validation budget of up to 50 distinct candidates. We rank surrogate-feasible candidates by the penalized score and require a minimum separation of 0.1 in standardized coefficient space. The penalty arm yields only nine such candidates, so only nine are validated.

On this checkpoint, the additional cycle penalty reduces candidate yield and simulator feasibility while worsening the best QI (Table 23). Latent CMA-ES and self-consistent sampling already find feasible, better-QI designs without that penalty. The comparison therefore supports omitting this cycle penalty in the tested search; it does not evaluate Bayesian decoder uncertainty.

methodfeasiblebest log⁡10QI\log_{10} \mathrm{QI}
cycle penalty (β=0.3\beta=0.3)5/9−3.351
latent CMA-ES (β=0\beta=0)50/50−3.661
self-consistent sampling50/50−3.551
training-corpus retrieval50/50−3.893

Table 23. Latent-search comparisons. The penalty arm uses 300k surrogate evaluations and validates its nine distinct candidates; the other arms validate 50 designs. Self-consistent sampling additionally uses 10k surrogate calls for final ranking.

Connectivity of the sampled design corpus. We ask whether stored feasible designs already form routes between the sampled geometry families. A kk-nearest-neighbour graph over 80k training designs connects 0 of 30 cross-basin pairs at k≤20k \le20 (135 and 106 components). At k=50k = 50 only 16 of 30 connect, with path lengths about 3.7× the Euclidean distance. The graph vertices are feasible stored designs, but feasibility between adjacent vertices has not been established. Graph paths exist for only 16/30 pairs at k=50k = 50 and provide no validated continuous parameterization. This demonstrates sparse connectivity in the sampled corpus, not topological disconnection of the full feasible set.

References

  1. [1]Lise-Marie Imbert-Gérard, Elizabeth J Paul, and Adelle M Wright. An introduction to stellarators: from magnetic fields to symmetries and optimization. SIAM, 2024. doi: 10.1137/1.9781611978223. URL https://doi.org/10.1137/1.9781611978223.
  2. [2]Jeffrey P. Freidberg. Ideal Magnetohydrodynamics. Modern Perspectives in Energy. Plenum Press, New York, NY, 1987. ISBN 978-0-306-42512-7. URL https://ci.nii.ac.jp/ncid/BA00980230.DOI
  3. [3]Diederik P. Kingma and Max Welling. Auto-encoding variational bayes. In International Conference on Learning Representations, 2014. URL https://arxiv.org/abs/1312.6114.
  4. [4]Kihyuk Sohn, Honglak Lee, and Xinchen Yan. Learning structured output representation using deep conditional generative models. In Advances in Neural Information Processing Systems, volume 28, 2015. URL https://proceedings.neurips.cc/paper/2015/hash/8d55a249e6baa5c06772297520da2051-Abstract.html.
  5. [5]Nikolaus Hansen, Sibylle D Müller, and Petros Koumoutsakos. Reducing the time complexity of the derandomized evolution strategy with covariance matrix adaptation (CMA-ES). Evolutionary computation, 11(1):1–18, 2003. doi: 10.1162/106365603321828970. URL https://doi.org/10.1162/106365603321828970.
  6. [6]Peter J. Bentley, Soo Ling Lim, Adam Gaier, and Linh Tran. COIL: Constrained optimization in learned latent space: Learning representations for valid solutions. In Proceedings of the Genetic and Evolutionary Computation Conference Companion, pages 1870–1877. Association for Computing Machinery, 2022. doi: 10.1145/3520304.3533993. URL https://doi.org/10.1145/3520304.3533993.
  7. [7]Li Zheng, Konstantinos Karapiperis, Siddhant Kumar, and Dennis M. Kochmann. Unifying the design space and optimizing linear and nonlinear truss metamaterials by generative modeling. Nature Communications, 14(1):7563, 2023. doi: 10.1038/s41467-023-42068-x. URL https://doi.org/10.1038/s41467-023-42068-x.
  8. [8]Alessandro Palma, Sergei Rybakov, Leon Hetzel, Stephan Günnemann, and Fabian J. Theis. Enforcing latent Euclidean geometry in single-cell VAEs for manifold interpolation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 47478–47508. PMLR, 2025. URL https://proceedings.mlr.press/v267/palma25a.html.arxiv.org/abs/2507.11789
  9. [9]Pascal Notin, José Miguel Hernández-Lobato, and Yarin Gal. Improving black-box optimiza- tion in VAE latent space using decoder uncertainty. In Advances in Neural Information Processing Systems, volume 34, pages 802–814, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/06fe1c234519f6812fc4c1baa e25d6af-Abstract.html.
  10. [10]Onur Boyar and Ichiro Takeuchi. Latent space Bayesian optimization with latent data augmentation for enhanced exploration. Neural Computation, 36(11):2446–2478, 2024. doi: 10.1162/neco_a_01708. URL https://doi.org/10.1162/neco_a_01708.
  11. [11]Steven P. Hirshman and J. C. Whitson. Steepest-descent moment method for three-dimensional magnetohydrodynamic equilibria. The Physics of Fluids, 26(12):3553–3568, 1983. doi: 10.1063/1.86416.
  12. [12]Jonathan Schilling. The numerics of VMEC++. arXiv preprint arXiv:2502.04374, 2025. doi: 10.48550/arXiv.2502.04374. URL https://arxiv.org/abs/2502.04374.
  13. [13]D. W. Dudt, R. Conlin, D. Panici, and E. Kolemen. The DESC stellarator code suite part 3: Quasi-symmetry optimization. Journal of Plasma Physics, 89(2):955890201, 2023. doi: 10.1017/S0022377823000235. URL https://doi.org/10.1017/S0022377823000235.
  14. [14]Andrew Giuliani. QUASR: the QUAsisymmetric stellarator repository, 2024. URL https://doi.org/10.5281/zenodo.13717741.
  15. [15]Andrew Giuliani, Eduardo Rodríguez, and Marina Spivak. A comprehensive exploration of quasi-symmetric stellarators and their coil sets. Journal of Plasma Physics, 91(5):E128, 2025. doi: 10.1017/S0022377825000509. URL https://doi.org/10.1017/S0022377825000509.
  16. [16]Santiago Cadena, Andrea Merlo, Emanuel Laude, Alexander Bauer, Atul Agrawal, Maria Pascu, Marija Savtchouk, Lukas Bonauer, Enrico Guiraud, Stuart Hudson, and Markus Kaiser. ConStellation: A dataset of QI-like stellarator plasma boundaries and optimization benchmarks. In Advances in Neural Information Processing Systems, volume 38. Curran Associates, Inc., 2025. doi: 10.52202/085713-0520. URL https://proceedings.neurips.cc/paper_files/paper/2025/hash/16ad312fea1c72be0fc72be04e8c8555-Abstract-Datasets_and_Benchmarks_Track.html. Datasets and Benchmarks Track.DOI
  17. [17]Matt Landreman. Mapping the space of quasi-symmetric stellarators using optimized near-axis expansion. Journal of Plasma Physics, 88(6):905880616, 2022. doi: 10.1017/S0022377822001258. URL https://doi.org/10.1017/S0022377822001258.
  18. [18]Eduardo Rodriguez and Gabriel G Plunk. Near-axis quasi-isodynamic database. arXiv preprint arXiv:2601.08400, 2026. doi: 10.48550/arXiv.2601.08400. URL https://arxiv.org/abs/2601.08400.
  19. [19]E. Rodríguez, E. J. Paul, and A. Bhattacharjee. Measures of quasisymmetry for stellarators. Journal of Plasma Physics, 88(1):905880109, 2022. doi: 10.1017/S0022377821001331. URL https://doi.org/10.1017/S0022377821001331.
  20. [20]Misha Padidar, Teresa Huang, Andrew Giuliani, and Marina Spivak. Diffusion for fusion: Designing stellarators with generative AI. arXiv preprint arXiv:2511.20445, 2025. doi: 10.48550/arXiv.2511.20445. URL https://arxiv.org/abs/2511.20445.
  21. [21]R Laia, R Jorge, and G Abreu. Data-driven approach to model the influence of magnetic geometry in the confinement of fusion devices. Nuclear Fusion, 66(1):016034, 2026. doi: 10.1088/1741-4326/ae1e12. URL https://doi.org/10.1088/1741-4326/ae1e12.
  22. [22]A Bañón Navarro, A Di Siena, F Jenko, A Merlo, and E Laude. Optimizing particle transport for enhanced confinement in quasi-isodynamic stellarators. Physical Review E, 113(4):L043204, 2026. doi: 10.1103/fbbl-ps5l. URL https://doi.org/10.1103/fbbl-ps5l.
  23. [23]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022. doi: 10.48550/arXiv.2210.02747. URL https://arxiv.org/abs/2210.02747.
  24. [24]Pauline Bennet, Carola Doerr, Antoine Moreau, Jeremy Rapin, Fabien Teytaud, and Olivier Teytaud. Nevergrad: black-box optimization platform. ACM SIGEVOlution, 14(1):8–15, 2021. doi: 10.1145/3460310.3460312. URL https://doi.org/10.1145/3460310.3460312.

Paper details

vlnc:W_6gkpf99y
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents