Training Under Challenge: Executable Certificates and Challenge-Closed Optimality for Neural Networks

arXiv:2608.12655 · cs.LG, stat.ML · Submitted 2026-08-12 · Read on arXiv

Farhang Yeganegi, Arian Eamaz, Mojtaba Soltanalian

University of Illinois Chicago

cs.LG, stat.ML

Submitted: 2026-08-12

Updated: 2026-08-14

Comments: 82 pages, 24 figures, 10 tables. Ancillary reproducibility materials included

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 100/100

The gist: The paper addresses a fundamental limitation in neural network training: "A flat training curve does not reveal whether a neural network has reached a global optimum, is locally trapped, is

Terminology

Summary

The paper addresses a fundamental limitation in neural network training: A flat training curve does not reveal whether a neural network has reached a global optimum, is locally trapped, is representation-limited, or is mismatched to its trainer. The authors introduce Training Under Challenge, an executable-certificate framework in which predeclared, architecture-valid procedures construct complete alternatives in the same certified class and reevaluate the same objective.

The central constructive question motivating the paper is: Can a declared, architecture-valid procedure construct a materially better complete model for the same objective? If a candidate attains a lower loss value B < J(θt) in the same certified class, then feasibility alone gives J(θt) − J⋆ ≥ J(θt) − B (Equation 1).

The framework fixes one empirical optimization problem with certification objective:

Jcert(θ) = (1/ncert) Σ l(fθ(xi), yi) + Ωcert(θ), with J⋆ = inf Jcert(ϑ) ∈ R

The class contains every state that affects deterministic execution: architecture, dimensions, parameter sharing, masks, routing, normalization mode and buffers, quantization, sparsity, constraints, and precision semantics.

The framework defines a color-coded status system:

  • Red: Jt > Jref + τG (a fixed feasible reference beats the checkpoint)

  • Yellow: Gt + τG < Jt ≤ Jref + τG (reference passed but lower-valued executable challenger remains)

  • Green: Jt ≤ Gt + τG (mandatory current suite passed at declared tolerance and budget)

  • Inconclusive: when mandatory execution is incomplete (Et = 0)

An executable challenge C maps permitted information and auxiliary randomness to a complete model θ̂C,t = C(It, ω) ∈ Θ. The realized value BC,t = J(θ̂C,t) is recomputed through the complete forward pass and the same certification objective.

Proposition 2 (One-sided executable certificate): Every finite sound challenge satisfies J(θt) − J⋆ ≥ J(θt) − BC,t.

The framework uses ordered cuts Z0, Z1,..., ZM where each Zr contains every live tensor and state required to continue exact execution beyond the cut. Multiple-waypoint routes form a nested hierarchy: "For ordered cuts Z0,..., ZM, let I = 1,..., M−1 index the available internal waypoints. Any ordered subset S = i1 < ⋯ < im ⊆ I defines m fixed waypoint targets."

The nested families satisfy: Λ≤0 ⊆ Λ≤1 ⊆ ⋯ ⊆ Λ≤M−1, with B≤m+1,t ≤ B≤m,t for retained best values.

Definition 5 (Budgeted challenge power): Ψ(B, s) = inf Ix(B): x ∈ R, Δ(x) ≥ s and E(B, τ) = sup Δ(x): x ∈ R, Ix(B) ≤ τ

Theorem 6 (Exact separation–certification inverse): Ψ(B, s) ≤ τ ⇐⇒ s ≤ E(B, τ) and E(B, τ) = sup s ≥ 0: Ψ(B, s) ≤ τ

For squared loss with e(θ) = vec(Fθ − Y) and J(θ) = (1/2n)‖e(θ)‖2, the framework defines certified decrease operators (Qr, εr) satisfying:

J(θ) − B̂r(θ) ≥ (1/2n)e(θ)TQr(θ)e(θ) − εr

Theorem 9 (Certified spectral challenge coverage): If Qπ ⪰ cInq for c > 0, then J(θ) ≤ (Iblk(θ) + ε̄π)/c, giving J(θ) − J⋆ ≤ (Iblk(θ) + ε̄π)/c.

Theorem 10 (Normal-residual spectral coverage certificate): Under orthogonality conditions ⟨e⋆, d⟩ = 0, d ∈ U, Qπ ⪰ cPU, the excess gap satisfies:

J(θ) − J⋆ ≤ [√(2n[Iblk(θ) + ε̄π]) + ξ]2/(2nc)

Corollary 12 (Realized-residual current-state certificate): With κcur(θ, π) = eTQπe/‖e‖2, the gap satisfies J(θ) − J⋆ ≤ (Iblk(θ) + ε̄π)/κcur(θ, π).

Theorem 18 (An exact infinite executable staircase can remain non-global): "For every m ≥ 3, there is a two-unit ReLU regression problem on m+1 coordinate inputs with a zero-loss model, a nonempty open set of initializations, and a declared full-batch first-order trainer such that: one unit remains dead on every sample and the other remains inactive on the final sample; the trainer converges to the positive floor d2/[2(m+1)]."

The construction shows that the trainer starts Red, enters Yellow and Green, and generates and reaches infinitely many strictly decreasing exact stairs yet "J(θj) → d2/[2(m+1)] > J⋆ = 0."

Theorem 19 (Challenge-closure limit characterization): For convergent event sequences with vanishing errors, 0 ≤ g∞(x̄) ≤ e. When e = 0, the convergent event sequence has an exact challenge-closed limit.

The paper identifies several exact-solver islands:

  • Affine/ridge heads: Convex least squares / strongly convex quadratic with Closed form or primal–dual optimum

  • Affine residual-output CNN/transformer blocks: Complete prediction is B + WUH with Orthogonal projection and canonical minimum-norm block

  • Fixed-pattern ReLU segments: Activation mask converts the segment to a convex quadratic program

  • Frozen-backbone homogeneous ReLU adapters: Positive homogeneity yields an atomic convex formulation

Theorem 14 (Exact residual-output challenge): The minimum-Frobenius-norm solution is U⋆ = W†TH† with exact conditional optimum Bcond = (1/2nq)‖T − PWT PH‖2F.

Theorem 20 (Executable primal–dual neural coverage): For the atomic ReLU adapter problem, Lt ≤ P⋆Z ≤ J⋆ad,M ≤ Ut, giving the bracket:

Jad,M(θ) − J⋆ad,M ≤ Jad,M(θ) − Lt

Theorem 25 (Sharp nested-certificate representation interval): max 0, LZ − UX ≤ Drep ≤ UZ − LX, where Drep is the representation deficit.

Under log loss with Bayes-complete predictors: Drep = I(Y; X Z), the conditional mutual information.

Corollary 27 (Executable information-sufficiency certificate): max 0, LZ − UX ≤ I(Y; X Z) ≤ UZ − LX.

Eight architecture-valid gate challenges are run from each of five saved student checkpoints on a channel-gated CIFAR-10 ResNet-18 distillation problem with known optimum (J⋆ = 0). Results show: The E-optimal mixture has rank 240/240 on the audited output space, and the residual fraction outside its range is zero throughout. The realized-residual certificate yields a certificate only 1.74–3.02 times the true gap.

The study uses an eight-block residual denoiser at FP32, W8A8, W4A4, W2A4, and W1A2 precisions. Results show:

  • FP32 and W8A8: Green with median known headroom below 0.003%

  • W4A4 and W2A4: Yellow with median headroom 38.5% and 10.8%

  • W1A2: Red with median headroom 23.9%

"Protocol-correct intervention improves the certified objective and protected image metrics in all nine low-precision runs. All 15 endpoints pass the Core suite after intervention; under the Full suite, only one of three W1A2 endpoints passes."

The 75-endpoint control distinguishes three failure mechanisms: ordinary continuation resolves W4A4, structured coordination is decisive for W2A4, and W1A2 remains below the declared competence standard after stabilization.

The paper contributes four connected components:

  1. Executable semantics and status: Architecture-valid candidates, same-objective reevaluation, current-suite completion, retained evidence, and event-driven stronger targets define what is observed and what each status means.

  2. Finite passage and coverage: "Challenge power gives the sharp resource-indexed interpretation of suite passage. For squared loss, certified decrease operators turn current challenge executions into full, partial, normal-residual, and realized-residual gap bounds."

  3. The globality boundary: "Challenge-closed optimality characterizes exhaustive endpoint families, while an explicit ReLU construction proves that infinitely many reached exact conditional head optima may still converge to a non-global point when one representation direction remains uncovered."

  4. Representation, statistical, and operational evidence: "Paired predictive certificates quantify representation insufficiency; finite-trial calibration controls misses of a frozen policy; a ResNet-18 study measures certificate tightness against known ground truth; and quantized-denoising experiments separate executable headroom, trainer attainability, structural coordination, and protected-task behavior."

Improvements for AI systems

Improvement 1: Certified Training Monitors with Executable Status Signals

  • What I can do: During training, I can continuously run architecture-valid challenge procedures (e.g., solving convex subproblems for affine heads, computing spectral bounds for residual blocks) and assign Red/Yellow/Green status to checkpoints. This replaces flat loss curves with actionable certificates: Red means a known better model exists, Yellow means a better model may exist within budget, Green means no better model is found within declared tolerance.

  • Improved AI system capability: The system can autonomously halt training when Green is achieved, trigger corrective interventions (e.g., re-initializing dead ReLU units, adjusting quantization) when Red, and provide formal gap bounds (e.g., J(θt) − J⋆ ≥ J(θt) − B C,t) to users, eliminating guesswork about local optima or representation limits.

Improvement 2: Challenge-Closed Optimality Verification

  • What I can do: I can implement the framework’s Theorem 19 to verify whether a trained model’s limit point is challenge-closed (i.e., no executable challenger can improve it). This involves enumerating ordered waypoint routes and typed graph cuts to construct complete alternative models in the same class, then reevaluating the same objective.

  • Improved AI system capability: The system can certify global optimality for convex subproblems (e.g., ridge heads, frozen-backbone ReLU adapters) and detect non-global convergence even when infinite exact staircases exist (as in Theorem 18’s ReLU counterexample), preventing silent deployment of suboptimal models.

Improvement 3: Quantization-Aware Training with Spectral Coverage Certificates

  • What I can do: For quantized models (W8A8, W4A4, etc.), I can compute certified decrease operators (Q r, ε r) and use Theorem 9/10 to bound the gap to optimum via κ cur(θ, π) = eTQ πe/‖e‖2. This identifies when precision reduction causes Yellow/Red status and guides protocol-correct interventions (e.g., structured coordination for W2A4).

  • Improved AI system capability: The system can automatically select optimal precision per layer, certify that a quantized model’s loss is within a provable factor of the FP32 optimum, and intervene (e.g., mixed-precision routing) to restore Green status while maintaining protected metrics (e.g., image quality).

Improvement 4: Representation Insufficiency Diagnosis via Mutual Information

  • What I can do: Using Corollary 27, I can compute executable bounds on I(Y; X Z) (conditional mutual information between labels and inputs given learned features) via max 0, L Z − U X ≤ I(Y; X Z) ≤ U Z − L X. This quantifies representation deficit D rep without needing true posterior distributions.

  • Improved AI system capability: The system can detect when a model’s features are insufficient (e.g., D rep > 0) and trigger architectural changes (e.g., adding capacity, changing activation patterns) or training adjustments, with formal guarantees that improvements reduce the information gap.

Improvement 5: Finite-Trial Calibration for Policy Robustness

  • What I can do: I can implement the paper’s finite-trial calibration to control misses of a frozen policy, using the exact-solver islands (e.g., affine residual-output blocks with closed-form solutions) to generate challengers within a fixed budget.

  • Improved AI system capability: The system can certify that a deployed policy (e.g., a recommendation or control policy) will not miss a better alternative within a declared probability, even with limited computational resources, by precomputing executable challengers and their value bounds.

Improvement 6: Adaptive Training with Waypoint Routes

  • What I can do: I can construct nested waypoint routes Λ≤0 ⊆ Λ≤1 ⊆ … from ordered cuts, where each waypoint is a fixed target for a subproblem. During training, I can switch between waypoints to ensure monotonic improvement in certified bounds (e.g., B≤m+1,t ≤ B≤m,t).

  • Improved AI system capability: The system can train with provable monotonic progress toward optimality, avoiding plateaus by dynamically selecting the tightest waypoint that yields a lower bound, and can report the exact gap to optimum at any checkpoint.

Improvement 7: Post-Training Certification for Deployment

  • What I can do: After training, I can run the full executable certificate suite (e.g., primal–dual neural coverage from Theorem 20) to produce a bracket [L t, U t] around the true optimum, giving users a rigorous upper bound on suboptimality (e.g., J(θ) − J⋆ ≤ J(θ) − L t).

  • Improved AI system capability: The system can output a formal certificate with each deployed model, stating “This model’s loss is within X% of the global optimum, verified by executable challenges,” enabling compliance in safety-critical applications (e.g., medical imaging, autonomous driving).

Abstract

A flat training curve does not reveal whether a neural network has reached a global optimum, is locally trapped, is representation-limited, or is mismatched to its trainer. We introduce Training Under Challenge, an executable-certificate framework in which predeclared, architecture-valid procedures construct complete alternatives in the same certified class and reevaluate the same objective. Any lower-valued candidate is a replayable witness that lower-bounds the checkpoint's empirical global-optimality gap. Passing a finite suite is only suite-relative; global-gap conclusions require a separately justified coverage mechanism. We define a resource-indexed challenge-power modulus that characterizes the largest gap compatible with passage. For squared loss, current block-decrease operators make coverage checkable and yield uniform and realized-residual bounds. We prove the converse frontier: without coverage, a first-order ReLU trainer can reach infinitely many exact conditional head optima while converging to a non-global point. On a channel-gated ResNet-18 distillation problem with known optimum, eight internal challenges cover all 240 audited output directions, and realized-residual bounds lie within factors of 1.74--3.02 of the true gap. Paired predictive certificates separate decoder under-use from representation insufficiency, while quantized-denoising studies demonstrate diagnosis, repair, and current-state recertification.

Sources

Related papers