Hybrid-Zonotope Reachability Loss for Neural Closed Loops
Implementation & benchmark of arXiv:2608.22458 — Certifiable Explicit Model Predictive Control for Spacecraft Rendezvous under Bounded Disturbances
Source paper: Certifiable Explicit Model Predictive Control for Spacecraft Rendezvous under Bounded Disturbances arXiv:2608.22458 ⓘ · analyzed Sep 1, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Train a neural controller or learned dynamics model against a finite-horizon set-valued certificate rather than only sampled trajectories. Represent uncertain states and bounded disturbances with hybrid zonotopes, propagate them through affine dynamics and a piecewise-linear neural network, and penalize reachable-set violations and failure to contract into a terminal set. This turns rare worst-case failures into a directly optimized geometric objective.
Formulas
Mathematical statement
Represent an uncertain set as a hybrid zonotope $\mathcal Z=\{c+G\xi+H\beta:\|\xi\|_\infty\le1,\beta\in\{-1,1\}^q,\;E\xi+F\beta=b\}$, where $c$ is the center, $G$ contains continuous generators, $H$ contains binary generators, and $(E,F,b)$ encode coupling constraints. Affine plant propagation is exact: $c^+=Ac+B\bar u$, with continuous generators updated by $G^+=AG+BG_u+G_w$ and analogous binary and constraint updates. For a ReLU network, split neurons by preactivation sign or use linear relaxations, yielding an over-approximation of the reachable set. Define a robust loss from the maximum state-constraint violation, terminal-set violation, and contraction deficit over each propagated set. The mechanism is offline verification of the entire disturbed closed loop rather than sampled trajectory testing.
Implementation notes
Integrate this as a periodic verification-and-training loss for a small MLP policy, neural state-space model, or model-based RL controller. Start with a linear plant and a ReLU policy so each reachable set can be propagated through exact affine maps and explicit ReLU branch splitting; for larger networks replace splitting with interval or linear relaxations and record the resulting conservatism. At each minibatch, sample an initial zonotope $\mathcal Z_0$ rather than a single state, propagate it for $N$ steps using the learned policy and a bounded disturbance zonotope, and compute support-function or linear-program upper bounds for every state-constraint facet. Optimize the task loss plus $\lambda\mathcal L_{\mathrm{reach}}$ and a contraction penalty. Pseudocode: Z=Z0; L=0; for k in range(N): U=propagate_policy(Z,theta); Z=propagate_linear(A,B,Z,U,W); L += constraint_support(Z,Fx,fx); L += contraction_bound(Z). The paper contributes the hybrid-zonotope representation and offline closed-loop containment procedure; neural relaxations and support bounds are computed or estimated by LP. First experiment: train identical ReLU actors on a double integrator, comparing trajectory-only training against reachability-loss training under bounded disturbances. Sweep disturbance radius $\gamma$. The predicted signature is a certified transition: below the largest zero-loss $\gamma$, all propagated sets remain inside constraints and reach the terminal set; above it, the first violated facet and time should agree with the certificate up to relaxation conservatism. Certified Lyapunov values should decay geometrically, approximately $V_{k+1}\le(1-\alpha')V_k$.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Not reproduced ✗
Stage 2 · Practical benchmark result: No measurable effect
Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works
Stage 1 — Mechanism check agent confidence 8/10
Built a readable hybrid-zonotope and interval-reachability MVP. Three mechanism predictions were confirmed: the radius recurrence had maximum absolute error 0, terminal radius scaled linearly with disturbance, and the constraint threshold matched gamma*=0.0940001 with violation immediately above it; the contraction transition matched |lambda|=1. The reachability objective did not produce a clear training win over the nominal baseline, so the mechanism is validated but practical benefit is unproven.
- Agent confidence
- 8/10
- Baseline
- k=1.000 across the sweep; terminal certificate violations at gamma=[0,0.12,0.30,0.60] were [0,0,0,0.15]. Nominal loss 0.6400.
- Idea
- k=[0.9003,0.9003,1.0031,0.9997]; terminal violations [0,0,0,0.1502]. Recurrence max error 0; predicted and observed gamma boundary 0.0940001; contraction ratios for lambda=[0.8,0.99,1.0,1.01,1.2] were [0.1074,0.9044,1.0,1.1046,6.1917].
Limitations: The experiment is scalar rather than a full double integrator, uses interval zonotopes without active hybrid coupling constraints, and trains an analytic scalar gain rather than a ReLU MLP. No multidimensional LP relaxation, wall-clock, or CUDA comparison was tested.
How to run: python3 reachability_mvp.py > results.json
Stage 2 — Benchmark vs. tuned baseline (arXiv:2608.22458)
No significant difference vs. the tuned baseline (−-0.0%, p=1, wins 0 / 8 paired seeds).
- Benchmark
- Dynamics forecasting
- Model
- rnn_small
- Paired seeds
- 8
- Baseline mean
- 0.0005
- Idea mean
- 0.0005
- Effect (Δ)
- 0 (−-0.0%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 1 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±0.0%
- Mechanism
- Not confirmed ✗
- Practical effect
- No effect
- Baseline tuning
- swept over 6 configs
The implementation uses an interval-box relaxation rather than full hybrid binary coupling, LP ReLU branch splitting, or exact multidimensional hybrid-zonotope constraints. The benchmark used 400 training and 200 test examples with 18 epochs; no larger-scale control benchmark or wall-clock comparison was tested.
How to run: python3 stage2_bench.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 10/10
Implemented and reran the interval-zonotope reachability-loss intervention on the registered dynamics track with the shared rnn_small architecture. Across all 8 paired seeds, the idea matched the tuned baseline exactly: delta_mean=0 and permutation p=1.0. The scalar radius recurrence sanity check was exact, but no neural-network training benefit was observed.
- Baseline
- Best config lr=0.01, weight_decay=0.0001; full mean MSE=0.0005480735380842816, std=0.00014996990905603093.
- Idea
- Best config lr=0.01, weight_decay=0.0001, lambda=0.05; full mean MSE=0.0005480735380842816, std=0.00014996990905603093; paired delta=0, p=1.0.
Benchmark result
No significant difference vs. the tuned baseline (−-0.0%, p=1, wins 0 / 8 paired seeds).
- Benchmark
- Dynamics forecasting
- Model
- rnn_small
- Paired seeds
- 8
- Baseline mean
- 0.0005
- Idea mean
- 0.0005
- Effect (Δ)
- 0 (−-0.0%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 1 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±0.0%
- Mechanism
- Not confirmed ✗
- Practical effect
- No effect
- Baseline tuning
- swept over 6 configs
The implementation uses an interval-box relaxation rather than full hybrid binary coupling, LP ReLU branch splitting, or exact multidimensional hybrid-zonotope constraints. The benchmark used 400 training and 200 test examples with 18 epochs; no larger-scale control benchmark or wall-clock comparison was tested.
How to run: python3 stage2_bench.py
Artifacts
- bench_report.json 4.2 KB View Raw
- reachability_mvp.py 6.1 KB View Raw
- report.md 1.5 KB View
- report_bench_2026-09-01T190708.md 6.0 KB View
- results.json 4.1 KB View Raw
- stage2_bench.py 6.7 KB View Raw