Mechanism failed 2026

Anytime Primal-Dual Neural Robustness Radius

Usefulness8/10
Difficulty6/10
Novelty6/10

Source paper: Anytime Primal--Dual Certification of the Maximum Disturbance Radius in Robust MPC arXiv:2608.28056 · analyzed Sep 2, 2026

AI-generated research hypothesis, automatically tested. Not peer-reviewed.

Idea description

Estimate the largest certified input perturbation radius for a neural network using nested reduced primal and dual linear programs rather than solving the complete verification LP immediately. The primal sequence gives certified feasible robustness reserves, while the dual sequence gives valid upper bounds; verification may stop as soon as the interval width is below a prescribed tolerance.

Formulas

$$r^{\star}=\max_{v}\ c^{\mathsf T}v\quad\text{s.t.}\quad Av\leq b,$$
$$L_j=\max_{\theta}\ c^{\mathsf T}S_j\theta\quad\text{s.t.}\quad AS_j\theta\leq b,\qquad L_j\leq r^{\star},$$
$$U_j=\min_{\alpha\geq0}\ b^{\mathsf T}T_j\alpha\quad\text{s.t.}\quad A^{\mathsf T}T_j\alpha=c,\qquad r^{\star}\leq U_j,$$
$$L_j\leq L_{j+1}\leq r^{\star}\leq U_{j+1}\leq U_j,\qquad W_j=U_j-L_j.$$

Mathematical statement

Represent a sound convex relaxation of a neural network and a desired output-margin constraint as the parametric LP $r^{\star}=\max_{v} c^{\mathsf T}v$ subject to $Av\leq b$, where $v$ contains neuron bounds, relaxation variables, and the perturbation radius $r$, $c$ extracts $r$, $A$ is the relaxation constraint matrix, and $b$ contains input, activation, and margin limits. For a primal subspace $v=S_j\theta$, with basis matrix $S_j$, any feasible reduced solution gives $L_j=c^{\mathsf T}S_j\theta_j\leq r^{\star}$. The dual LP is $U^{\star}=\min_{y\geq0}b^{\mathsf T}y$ subject to $A^{\mathsf T}y=c$, where $y$ contains nonnegative constraint multipliers. Restricting the dual to $y=T_j\alpha$ gives a feasible dual point and upper bound $U_j=b^{\mathsf T}T_j\alpha_j\geq r^{\star}$. Nested spaces imply $L_{j+1}\geq L_j$ and $U_{j+1}\leq U_j$. The verifier stops when $U_j-L_j\leq\tau\max(1,|U_j|)$; exact primal and dual spaces yield equality by strong LP duality.

Implementation notes

Integrate this into a verifier for a trained ReLU MLP or CNN whose local robustness problem can be expressed as an LP relaxation. For input x and a target class margin, build a sound linear relaxation: input variables satisfy perturbation constraints, affine layers contribute equality constraints, and each ReLU contributes convex-hull inequalities using preactivation bounds. Put all variables and the radius r into v, construct A, b, and c, and initialize S0 from nominal forward-path variables and T0 from dual multipliers associated with input and output-margin constraints. Pseudocode is: build (A,b,c); initialize S,T; repeat solve max c^T S theta subject to AS theta<=b; solve min b^T T alpha subject to A^T T alpha=c and alpha>=0; record [L,U]; if U-L<=tau*max(1,abs(U)), stop; otherwise add variables with largest primal reduced-cost or constraint-violation score and dual directions with largest residual, then expand S and T. The neural LP relaxation is standard; the transferred mechanism is the independently valid, monotone primal-dual hierarchy. Compute all certificate inequalities in the reduced solver and directly check their residuals in the full space. Test first on small MNIST ReLU networks against a full LP verifier and a warm-started full solve under equal time budgets. Include primal-only and dual-only ablations. The preregistered signature is monotone L_j and U_j with nonincreasing W_j at every expansion, at least 99.9% interval coverage of the full LP optimum, and at least 2x median speedup to a 2% relative width. Reject the transfer if any certificate excludes the full optimum, if W_j increases on more than 1% of expansions, or if target-width time is not lower than the warm-started baseline.

Verification

Mechanism failed

Stage 1 · Toy mechanism gate: Failed ✗

Stage 2 · Mechanism transferred to benchmark: Not tested

Stage 2 · Practical benchmark result: Not run

Stage 1 — Mechanism check agent confidence 9/10

Built a generic reduced primal-dual LP hierarchy with explicit full-space residual and coverage checks, plus deterministic toy verification and repeated timing benchmark. The claimed certificate behavior was observed: all intervals covered the full optimum, lower bounds increased, upper bounds and widths were nonincreasing, and the final level attained strong duality. However, the MVP did not demonstrate the promised speedup: median cumulative hierarchy time was 0.0742 s versus 0.00692 s for a full solve, and the 2% width target was reached only at the final level; moreover, the dual hierarchy was oracle-seeded with the full dual optimizer.

Agent confidence
9/10
Baseline
Full LP: median 0.00692 s across 5 trials; exact optimum solved directly.
Idea
Oracle-seeded reduced hierarchy: median 0.0742 s for all levels, 10.7x slower; 2% relative-width stopping occurred at level 11/11 in every trial. Toy checks showed 100% coverage and monotonicity across tested levels.

Limitations: No ReLU MLP/CNN relaxation was built, no MNIST experiment was run, and no fair non-oracle dual-space initialization or warm-started solver comparison was implemented. The benchmark is small and uses SciPy HiGHS, so it does not establish neural verification performance.

How to run: python3 run_experiment.py && /home/maxwelhelp/main/bin/python3 benchmark.py

Verdict computed by deterministic test code from paired-seed statistics — not by the language model.

Artifacts

⬇ Download all as ZIP 4 files · code, reports and structured results