CHORD: Learning Latent Spaces for Constrained Stellarator Design
Organizations: Proxima Fusion, Munich, Germany.
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.
Figures & tables
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
| 1. Sample a minibatch of feasible designs . |
| 2. Compute cVAE reconstruction and KL losses. |
| 3. Sample endpoint pairs and interpolation coefficients . |
| 4. Encode endpoints, form , and decode . |
| 5. Evaluate surrogate metrics . |
| 6. Compute ReLU constraint violation and update using Eq. ( 3 ). |
| 1. Sample latent codes and initial conditioning vectors with task-specific bias toward the desired metric tail. |
| 2. Iterate the self-consistent fixed-point map of Eq. ( 4 ) for steps, with interior clamping on the constrained components of . |
| 3. Decode every pair and surrogate-score the resulting designs. |
| 4. Take the top- surrogate-feasible candidates by predicted objective. |
| 5. Validate the top- designs with the true simulator and report feasibility-validated objective values. |
| Work | Interp. | Latent opt. | Key mechanism | Stellarator 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 | ✓ |
| Mid-segment feasibility | Novel-objective search | Sampling-objective search | |||
|---|---|---|---|---|---|
| variant | best | feasible / 30 | best | feasible / 30 | |
| VAE | |||||
| cVAE | |||||
| CHORD | |||||
| Parameter | Value | Role |
|---|---|---|
| 4 | provides six distinct pairs of mechanism regions | |
| 4 | gives a -dimensional design space with four coordinates per mechanism | |
| 0.6 | basin centres separable but remains binding | |
| 0.5 | controls how sharply routing selects the dominant mechanism | |
| 0.85 | requires dominance; at , cVAE and CHORD perform similarly | |
| 1.4 | bounds the output norm by |
| variant | Mid-segment feasibility | Best feasible (successful starts / 30) |
|---|---|---|
| VAE | ( ) — collapses | |
| CHORD-unc | ( ) — frozen | |
| cVAE | ( ) | |
| CHORD | ( ) |
| Feasibility difference (CHORD cVAE) | Best feasible (CHORD vs cVAE) | |
|---|---|---|
| 1 | vs (CHORD ) | |
| 2 | vs (CHORD ) | |
| 4 | vs (CHORD ) | |
| 8 | vs (cVAE ) |
| Linear interpolation | Self-consistent | |||||||
|---|---|---|---|---|---|---|---|---|
| variant | ||||||||
| VAE | ||||||||
| CHORD-unc | ||||||||
| cVAE | ||||||||
| CHORD | ||||||||
| linear conditioning | self-consistent conditioning | |||||||
|---|---|---|---|---|---|---|---|---|
| model | ||||||||
| VAE | ||||||||
| CHORD-unc | ||||||||
| cVAE | ||||||||
| CHORD | ||||||||
| model | linear | self-consistent |
|---|---|---|
| VAE | ||
| CHORD-unc | ||
| cVAE | ||
| CHORD |
| model | overall | ||||
|---|---|---|---|---|---|
| VAE | |||||
| CHORD-unc | |||||
| cVAE + self-consistency | |||||
| CHORD + self-consistency |
| method | VMEC | best feas | mean feas | feas. rate |
|---|---|---|---|---|
| Self-consistent CHORD | ||||
| -CMA-ES on CHORD, planar | (best of ) | trials | ||
| -CMA-ES on CHORD, random | — | trials | ||
| -CMA-ES, planar | (best of ) | trials | ||
| -CMA-ES, random | trials | |||
| Ref.: training min. ( M pts) | — | — | — |
| margin | no clamp | ||||||
|---|---|---|---|---|---|---|---|
| VMEC feasible / 50 |
| variant | feas. rate | best | mean |
|---|---|---|---|
| fixed- at (train mean) | |||
| fixed- at | |||
| fixed- at | |||
| self-consistent, no clamp | |||
| self-consistent, clamp |
| model | inference scheme | feas. rate | best | mean |
|---|---|---|---|---|
| VAE | unconditional sampling | |||
| CHORD-unc | unconditional sampling | |||
| cVAE (no chord reg.) | self-consistent + clamp | |||
| CHORD | self-consistent + clamp |
| compute | wall clock | VMEC calls | |
|---|---|---|---|
| one-time dataset generation | k vCPU-h | — | M |
| one-time surrogate training | GPU | h | |
| one-time model training | GPU | h | |
| per query self-consistent sampling | CPU | s | |
| per query validation | cloud VMEC | min | |
| - or -CMA-ES, per trial | vCPU | – min |
| held-out | mid-gap feas. (%) | HF feasible / evaluated | corpus-native | ||||
|---|---|---|---|---|---|---|---|
| gap | width | feas. (%) | |||||
| g1 | , | – | |||||
| g2 | – | ||||||
| g3 | – | ||||||
| g4 | , | – | |||||
| set | front points | hypervolume |
|---|---|---|
| five anchors | ||
| anchors + generated | ||
| eleven study campaigns | ||
| broader benchmark |
| ranking surrogate | VMEC feasible | best | surr. bias | top- overlap |
|---|---|---|---|---|
| original | — | |||
| re-init A | ||||
| re-init B | ||||
| deeper trunk |
| profile | method | mid-seg feas. (%) | tracking err. (train- ) |
|---|---|---|---|
| A: ramp | unconditional VAE (drift) | ||
| cVAE, pinned | |||
| CHORD, pinned | |||
| B: QI plateau | unconditional VAE (drift) | ||
| cVAE, pinned | |||
| CHORD, pinned |
| model | conditioning | linear path (%) | slerp (%) |
|---|---|---|---|
| unconditional VAE | none | ||
| CHORD | self-consistent, |
| path | conditioning | base flow (%) | chord-regularized flow (%) |
|---|---|---|---|
| linear | linear | ||
| slerp | linear | ||
| slerp | self-consistent |
| method | feasible | best |
|---|---|---|
| cycle penalty ( ) | ||
| latent CMA-ES ( ) | ||
| self-consistent sampling | ||
| training-corpus retrieval |
Constrained Generative Modeling
Constrained generative modeling develops methods that produce samples satisfying structural, physical, semantic, or user-defined requirements.
See all 215 papers