Interval-Certified Equilibrium Layer
Implementation & benchmark of arXiv:2608.07071 — Comparing Point and Interval Methods for Equilibrium Computation under Parametric Uncertainty
Source paper: Comparing Point and Interval Methods for Equilibrium Computation under Parametric Uncertainty arXiv:2608.07071 ⓘ · analyzed Aug 31, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Replace an unverified fixed-point solve in a deep equilibrium or recurrent layer by an interval branch-and-bound procedure that certifies whether the equilibrium is absent, unique, or potentially multiple over a box of states and uncertain parameters. During inference, return the certified equilibrium when uniqueness is proved and reject, subdivide, or invoke a fallback solver when the certificate fails.
Formulas
Mathematical statement
Write the neural equilibrium equation as $F(z,p)=g_{\theta}(z,u,p)-z=0$, where $z\in\mathbb{R}^{d}$ is the hidden equilibrium, $u$ is the input, $p\in P$ is an uncertainty box, and $g_{\theta}$ is the recurrent update. For a state box $X$ and parameter box $P$, evaluate an interval extension $F(X,P)$ and an interval Jacobian $[J](X,P)$ enclosing $\partial F/\partial z$. For a point $z_{0}\in X$, let $C$ approximate $[J](z_{0},P)^{-1}$ and define the interval Krawczyk set $K(z_{0},X,P)=z_{0}-C F(z_{0},P)+(I-C[J](X,P))(X-z_{0})$. If $K\subset\operatorname{int}(X)$, the contraction certificate proves a unique zero in $X$ for every admissible parameter realization under the interval inclusion; if $K\cap X=\varnothing$, $X$ contains no zero. Otherwise subdivide $X$ or $P$. The computable margin $q=\|I-C[J](X,P)\|$ predicts certification difficulty: values below one indicate a contractive regime, while values near or above one indicate possible multiplicity or insufficiently tight bounds.
Implementation notes
1. Integration point: implement this as an optional solver and safety wrapper around a DEQ, implicit MLP, or recurrent state-space layer. Define the residual as F(z)=cell(z,u,theta,p)-z; represent z and uncertain quantities such as bounded parameter perturbations or input ranges as interval boxes. Use outward-rounded interval arithmetic on CPU for certification, while retaining ordinary autodiff for training. 2. Pseudocode: initialize a queue with (X0,P0); for each box choose its midpoint z0, compute the residual, interval residual, interval Jacobian, and preconditioner C=inv(midpoint(J)); form K=z0-C*F(z0,P)+(I-C*Jinterval)*(X-z0). If K is strictly inside X, store the unique certificate; if disjoint, discard; otherwise bisect the widest state or parameter interval and continue until a box budget is reached. At inference return the midpoint of a certified box, and use a conventional fixed-point solver only for uncertified boxes. 3. Computed versus estimated: interval residuals and Jacobian bounds are computed with directed rounding; the preconditioner is a floating-point estimate and should be conservatively inflated. The contraction margin q is measured from the interval matrix. 4. First cheap experiment: use a 2D or 4D tanh DEQ on MNIST or a synthetic two-class dataset and compare Anderson iteration against certification over parameter intervals P=[p0-r,p0+r]. Sweep recurrent gain and uncertainty radius. The predicted signature is a sharp certification boundary near q=1: boxes with measured q<0.8 should be certified after few subdivisions, while certification effort and failures increase rapidly as q approaches one. Under box refinement, the certified equilibrium count should be stable, whereas random parameter sampling should miss branches near the transition.
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 an interval Krawczyk branch-and-bound MVP for a separable tanh equilibrium, with conservative Jacobian bounds and explicit global statuses that do not confuse a local certificate with global uniqueness. The math check passed on 20,000 random state/parameter samples, and q approached the predicted boundary near gain 1.0. Multi-equilibrium domains produced certified branches but correctly remained inconclusive when unresolved regions persisted; this demonstrates a safety/certification signal, not an inference-speed win.
- Agent confidence
- 8/10
- Baseline
- Fixed-point iteration reached residual below 1e-10 in 54, 91, and 47 steps for gains 0.7, 0.9, and 1.2 respectively at p=0.05.
- Idea
- For gain 0.7, the full box was certified unique in 1 visit, with parameter uncertainty remaining unique through radius 0.2. Radii 0.3 and 0.5 exhausted the 10,000-box budget. For gains 1.2 and 1.6, 4 branches were certified but unresolved regions remained, so the global status was inconclusive. The 20,000-sample interval inclusion check passed with q=0.2518.
Limitations: Only a small synthetic 2D separable tanh system was tested; no trained DEQ, MNIST/task accuracy, Anderson comparison, GPU implementation, directed-rounding interval library, wall-clock speedup, or high-dimensional coupled Jacobian case was evaluated.
How to run: python3 mvp_experiment.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2608.07071)
No significant difference vs. the tuned baseline (−-0.0%, p=1, wins 0 / 8 paired seeds).
- Benchmark
- Dynamics forecasting
- Model
- custom_equilibrium_rnn
- Paired seeds
- 8
- Baseline mean
- 0.0043
- Idea mean
- 0.0043
- 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 3 configs
Only the built-in dynamics track and a small implicit recurrent architecture were tested. No higher-dimensional DEQ, parameter/input interval subdivision, wall-clock inference comparison, or trained contractive regime with successful certificates was observed. The local bounds are conservative analytic bounds rather than a full directed-rounding interval library.
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 an interval-certified implicit tanh recurrent layer and evaluated it on the structurally matched dynamics track with 8 paired seeds and equal-budget hyperparameter sweeps. Every trained model failed the certificate and used the identical fixed-point fallback, producing exactly the baseline MSE; the mechanism prediction was not confirmed.
- Baseline
- Test MSE mean 0.0042600604, std 0.0017312099, best lr=0.006 and iters=24
- Idea
- Test MSE mean 0.0042600604, std 0.0017312099, best lr=0.006 and iters=24; paired delta 0.0, permutation p=1.0; observed q mean 3.8198, range 3.5949-4.2700, certified cases 0/8
Benchmark result
No significant difference vs. the tuned baseline (−-0.0%, p=1, wins 0 / 8 paired seeds).
- Benchmark
- Dynamics forecasting
- Model
- custom_equilibrium_rnn
- Paired seeds
- 8
- Baseline mean
- 0.0043
- Idea mean
- 0.0043
- 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 3 configs
Only the built-in dynamics track and a small implicit recurrent architecture were tested. No higher-dimensional DEQ, parameter/input interval subdivision, wall-clock inference comparison, or trained contractive regime with successful certificates was observed. The local bounds are conservative analytic bounds rather than a full directed-rounding interval library.
How to run: python3 stage2_bench.py
Artifacts
- bench_report.json 2.9 KB View Raw
- interval_equilibrium.py 3.8 KB View Raw
- mvp_experiment.py 2.7 KB View Raw
- mvp_results.json 1.8 KB View Raw
- report.md 1.7 KB View
- report_bench_2026-09-02T161537.md 4.7 KB View
- results.json 4.6 KB View Raw
- run_experiment.py 3.1 KB View Raw
- stage2_bench.py 5.5 KB View Raw
- verification.json 4.0 KB View Raw
- verify_math.py 3.4 KB View Raw