Manuscript Offprint
arXiv:2610.31386Convex Equilibrium Potentials for Monge--Ampère: Curvature Bounds and A Posteriori Evaluation
Abstract
Equilibrium neural networks define their hidden state as the fixed point of a contraction, so their effective depth is set at evaluation time rather than by the architecture. Using them for fully nonlinear PDEs raises two issues that explicit networks avoid: second derivatives may grow with the effective depth, and the potential is only ever evaluated approximately. We study nonnegative softplus equilibrium networks with contraction factor , a convex class suited to the Monge–Ampère equation. A positivity cancellation in the resolvent shows that the Hessian grows at most like , rather than the of a direct estimate, and an explicit one-neuron family shows that this exponent is sharp; third derivatives satisfy a sharp bound. Residual-based a posteriori estimates then control the state, its input derivatives and, in two dimensions, the Hessian determinant at an approximate equilibrium. Combined with interval arithmetic on complete covers of the domain, they yield rigorous uniform bounds on the Monge–Ampère residual and, through a comparison argument, on the solution error of a fixed trained network. On two manufactured Dirichlet problems on the unit disk, all six trained models are certified with residual below 0.25 and boundary error below 0.01. Adaptive stopping halves float64 evaluation time at best, whereas certified adaptive evaluation remains costlier than fixed depth.
Keywords: equilibrium neural networks; input convex neural networks; Monge–Ampère equation; curvature bounds; a posteriori error estimation.
1 Introduction
Let be a bounded domain, and let and be given. The Dirichlet problem for the Monge–Ampère equation asks for a convex function such that
Convexity is not a technicality here; it is part of what a solution means. Without it the equation is not elliptic, uniqueness fails, and the comparison principle on which the theory rests is lost (Gutiérrez, 2016). A numerical method must therefore either enforce convexity or recover it in the limit.
Neural networks can enforce it by construction. An input convex neural network (Amos et al., 2017) composes nonnegative linear maps with convex, nondecreasing activations, so every member of the class is convex in its input. Nyström & Vestberg (2023) train such networks on the residual of (1) and estimate their error through the stability of the equation. We keep the same principle but let the depth of the network be decided by a fixed-point iteration rather than by the architecture. For each input x, with the parameters held fixed, we iterate
where is the softplus function applied componentwise. Each step is a layer of an input convex network, and all layers share the parameters . When and for some real number , the iteration is a contraction and converges to a unique equilibrium , which defines the potential
where collects the parameters which will be formally defined in (4). With , the potential is convex as the limit of convex iterates.
Such an equilibrium network is a weight-tied network of unbounded depth. Its parameter count does not depend on depth, and the number of iterations can be chosen at evaluation time, point by point, to trade accuracy against cost. The contraction gap sets the effective depth: the iteration error decays like , so each additional digit of accuracy costs about iterations.
This flexibility has a price, and the Monge–Ampère equation exposes it. The operator is the determinant of the Hessian, so whatever happens to second derivatives is amplified in the residual. Two things can go wrong. The first is curvature. As the network becomes effectively deeper, and a direct estimate allows its Hessian to grow like , precisely in the regime where the implicit model differs most from a shallow explicit one. The second is evaluation. The equilibrium is only ever computed approximately, so a determinant evaluated at a computed point describes an approximation of the network rather than the network itself. Neither issue arises for an explicit network, and neither is settled by convexity and contraction alone.
It is useful to separate three errors. The evaluation error compares a numerical evaluation with the exact equilibrium potential at fixed parameters. The PDE residual compares the exact determinant with the prescribed right-hand side . The solution error compares with . Reducing the first does not eliminate the second, and a pointwise bound on the second does not control the third uniformly. A guarantee about as an approximation of must pass through all three.
This paper follows that chain. We first show that curvature is better behaved than the direct estimate suggests. A positivity cancellation,
reflects the fact that a softplus unit with slope close to one has small intrinsic curvature. It yields a Hessian bound of order , and an explicit one-neuron family shows that this exponent cannot be improved. Third derivatives obey a sharp bound of order , and positive weighted norms extend the analysis to recurrent matrices with spectral radius below one. We then turn to evaluation. Residual-based a posteriori estimates bound the error in the state, in its first and second input derivatives and, in two dimensions, in the Hessian determinant, at any approximate equilibrium. They apply whether the derivatives come from a finite unroll or from approximate linear solves, and they account for the perturbation of the coefficients themselves caused by the state error. Finally, we pass from points to the whole domain. Interval arithmetic on complete covers of the disk and its boundary gives rigorous uniform bounds on the Monge–Ampère residual, and a comparison argument converts them into a bound on the solution error.
We test this chain on two manufactured Dirichlet problems on the unit disk, with three trained networks each. All six networks are certified with residual below 0.25 and boundary error below 0.01. The experiments also measure how much adaptive evaluation saves and how much certification costs.
Equilibrium models and implicit differentiation. Deep equilibrium models replace a finite stack of layers by a fixed-point equation and differentiate through its equilibrium (Bai et al., 2019). Monotone operator equilibrium networks provide a different route to well-posedness and convergent equilibrium solvers (Winston & Kolter, 2020). Non-Euclidean contraction analysis gives further conditions for existence, uniqueness and robustness of implicit networks (Jafarpour et al., 2021). Well-posedness conditions of Perron–Frobenius type for implicit models are given by El Ghaoui et al. (2021). Our nonnegative recurrent matrices admit a particularly simple positive weighted-norm formulation. For input derivatives, Huang et al. (2024, Proposition 1, equations (8)–(9)) derive first- and second-order identities for a general contractive fixed-point map. The identities used here specialize that analysis. Our a posteriori estimates additionally account for the perturbation of their coefficients when the equilibrium state is computed only approximately.
Monge–Ampère approximation. The analytical theory of the Monge–Ampère equation treats convexity as part of the solution concept and supplies comparison and stability tools (Gutiérrez, 2016). In numerical analysis, Froese & Oberman (2011) construct monotone finite-difference schemes converging to viscosity solutions. Neural approaches provide a different approximation framework. Physics-informed neural networks and the deep Galerkin method train neural representations using differential equations and boundary or initial conditions (Raissi et al., 2019; Sirignano & Spiliopoulos, 2018). For the Dirichlet Monge–Ampère problem specifically, Nyström & Vestberg (2023) study ICNN approximations, derivative estimates and stability. Our experiments use a loss of the same form, with an equilibrium representation.
Curvature and error certification. Entesari et al. (2024) derive compositional curvature bounds for explicit neural networks, and Nyström & Vestberg (2023, Lemma 6.3) bound derivatives up to third order for explicit softplus ICNNs. For neural PDE approximations, Mishra & Molinaro (2023) relate generalization error to training error and sampling through stability properties of the underlying equation, while Eiras et al. (2024) develop regional error certification for physics-informed neural networks. We distinguish the error of evaluating an implicit potential from its PDE residual and its error relative to the PDE solution. The positive softplus resolvent yields the cancellation responsible for the inverse-quadratic curvature bound; residual estimates then propagate state and derivative errors to the determinant. Ball arithmetic (Johansson, 2017) encloses rounding effects in the regional implementation.
1.2 Organization and scope
Sections 2–3 introduce the equilibrium representation and the derivative identities needed for the analysis. Section 4 proves the curvature cancellation, the inverse-quadratic bound and its optimality, and states the sharp third-derivative extension. Section 5 develops the approximate-state certificate; Section 6 extends it to the full domain and to solution-error bounds. Sections 7–8 describe adaptive evaluation and the six-model study. The appendices contain supporting proofs, the weighted-norm and local-envelope extensions, and finite-unroll derivative recurrences. The guarantees concern evaluation of fixed trained models; they do not establish convergence of training or superiority to explicit ICNNs.
2 Assumptions, notation and the equilibrium
The representation analysis applies to with hidden units representing . The determinant certificate and the experiments are stated for . Parameters have sizes
Throughout, parameters are fixed when differentiating in , and there exists a real number such that
(H)
Inequalities between vectors or matrices are entrywise unless stated otherwise. The norm is the maximum absolute row sum; is the spectral norm. Set
The input matrix and affine readout are unrestricted in sign. The Hadamard product (or the entrywise product) is denoted by , and powers of vectors are also defined entrywisely.
Softplus is smooth, convex and 1-Lipschitz, with and . Under (H), the state map (2) is a contraction. It has a unique equilibrium, and the ICNN composition argument implies convexity of the equilibrium potential . For an approximate state , we have,
The precise statements and proofs are given in Appendix A.
3 Implicit derivatives and positive Hessian structure
At the exact equilibrium define
(6)
Write for column of , , and . Note that the order of and in (6) matters.
The equilibrium is smooth, and implicit differentiation gives
The resolvent satisfies and . In particular, with ,
These identities expose the positive structure used in the curvature argument. Appendix A gives the derivative derivations, the strict-convexity criterion and the two-dimensional determinant identity.
4 A curvature bound with an optimal gap exponent
Lemma 4.1 (Resolvent–curvature cancellation). Under assumption (H),
Proof. Since , we have
Multiplication by the nonnegative matrix S preserves entrywise inequalities and gives (7).
Theorem 4.2 (Uniform curvature bound). For every under assumption (H),
The bound is uniform in the input and in the bias b. Width enters only through the displayed parameter norms.
Proof. For a Euclidean unit vector , . Since ,
Positivity and Lemma 4.1 imply
Multiply by and take the supremum over unit . Because , this supremum equals . Alternatively, use and separately to obtain . Taking the smaller estimate proves (8).
Remark 4.3. The cancellation avoids multiplying a worst-case resolvent norm by a worst-case activation curvature independently. A softplus unit with slope close to one has small intrinsic curvature. The quadratic estimate is the smaller one precisely when , or . For the direct cubic estimate may be tighter. The norms and must remain in the statement: contraction alone does not uniformly bound the Hessian over arbitrary readouts and input weights.
Theorem 4.4 (Optimality of the exponent). For , take one input and one hidden unit with
At x = 0,
Thus no bound with and a constant independent of the admissible parameters holds for this class.
Proof. With , the preactivation is
Then and . Uniqueness identifies this state with . For a scalar input, (A.2) gives , hence . Equation (A.3) yields
Substitute and to obtain (9). If a bound with exponent held, then , contradicting the limit .
Remark 4.5 (Two-dimensional embedding and meaning of sharpness). Two independent copies with , and give a strictly convex two-dimensional potential with
Thus the curvature scaling also occurs within the two-dimensional class. The family varies parameters with and is not a training trajectory. Theorem 4.4 proves optimality of the exponent; it does not prove optimality of the constant in Theorem 4.2.

Figure 1: Analytic sharpness family from Theorem 4.4. Left: exact curvature and the two upper bounds for A = w = 1. Right: the rescaled curvature tends to 1/8 as the contraction gap decreases. Curves are evaluations of the displayed closed forms.
4.1 Sharp third-derivative bound
For a scalar trilinear form we use the norm obtained by taking the supremum over three independent Euclidean unit vectors.
Theorem 4.6 (Third derivatives). Under assumption (H), uniformly in x,
The inverse-gap exponent three is optimal over this class.
The proof is given in Appendix B.
Extension to weighted norms. The positive cancellation also gives a curvature estimate in a weighted norm whenever a positive vector satisfies . Such a vector exists for every . Appendix C states and proves the extension, including the normalization and the spectral-radius endpoint caveat. The numerical experiments use the unweighted row norm.
5 A posteriori evaluation from an approximate state
Fix and parameters satisfying (H). We consider numerical approximations to the equilibrium state and its first and second derivatives with respect to the input:
Here, denotes the ith column of an approximate Jacobian and approximates the exact derivative defined earlier. We assume .
For example, may be obtained by terminating the equilibrium iteration after finitely many steps, while and may be obtained by approximately solving the linear systems arising from implicit differentiation. The estimates below concern numerical errors in evaluating a fixed neural representation, rather than the approximation error between and the PDE solution . The approximate quantities need not solve their defining equations exactly and need not have been produced by the same algorithm.
Define
The residuals, all computed at this same approximate state, are
(11)
Introduce the following nonnegative quantities:
All these expressions use the approximate quantities, parameters and a valid contraction bound q.
Theorem 5.1 (State-aware derivative certificate). Under the preceding assumptions,
For ,
The value approximation satisfies .
The proof is given in Appendix E.
Corollary 5.2 (Determinant, residual and convexity bounds). In two dimensions set
Then . For any prescribed , let and . One has
and
In particular, a strictly positive right-hand side in (22) certifies positive definiteness at that input.
The proof is given in Appendix E.
Why state error cannot be omitted. Even exact solves of the systems constructed with , and only make and vanish. They do not replace those coefficients by the exact-state coefficients. The terms in (15)–(17) account for this discrepancy. If , the derivative coefficients are independent of the state and these terms correctly vanish.
Arithmetic scope. Theorem 5.1 and Corollary 5.2 are inequalities for exact real quantities. Treating finite-precision residuals as exact upper bounds is insufficient for a validated machine certificate. Such an implementation must enclose residual evaluation, nonlinear functions, parameter norms, linear algebra and determinant/eigenvalue computations with outward rounding or explicit error bounds. The regional implementation described next supplies such enclosures for the saved model. Float64 diagnostic checks remain distinct from these validated bounds.
6 Local bounds, complete coverage and solution error
We extend the pointwise certificate to boxes and combine local guarantees over a complete cover. An alternative analytical construction based on local derivative envelopes is developed in Appendix D; it is separate from the interval-residual method evaluated here.
6.1 A regional residual route with controlled arithmetic
The regional method uses the following extension of the approximate-state certificate. It does not require third derivatives or the analytical envelopes of Appendix D.
Proposition 6.1 (Uniform certificate on a box). Fix a box and constant candidates , with symmetric . Suppose certified upper bounds for the residual norms in (11)–(13) hold for every , with the coefficients recomputed at . Substitution of these upper bounds and outward enclosures of all nonnegative constants into (14)–(20) gives uniform derivative and determinant error bounds on . In particular, if encloses and , then
To preserve rigor in finite-precision arithmetic, the determinant must be evaluated as an interval guaranteed to contain its exact value. The right-hand side must then be bounded from above using outward-rounded interval arithmetic, so that rounding errors cannot lead to an underestimate of the residual bound.
The proof is given in Appendix F.
Rigorous evaluation uses Arb ball arithmetic with 128-bit midpoint precision (Johansson, 2017). Effective binary64 parameters are imported as exact dyadic rationals and define the frozen real model being certified. Positivity and are rechecked. This interpretation does not certify the rounding history of optimization. Nonlinear functions, residuals, coefficient norms and determinants are enclosed; scalar exports to binary64 are rounded outward. The implementation uses as a safe upper bound for its spectral norm. A reported floating determinant receives a further enclosure of its difference from the exact candidate determinant.
The initial state box contains every for . Intersections preserve that property. Verified interval linear solves (Rump, 2010) for first and second derivatives may tighten the result; if a solve cannot be verified, the residual bound is retained. This is the implemented local-box method.
Corollary 6.2 (Complete disk and boundary cover). Let cover the closed unit disk, with residual bounds from Proposition 6.1. Let cover , and suppose bounds for every . Then
The proof is given in Appendix F.
The domain partition subdivides into exact dyadic boxes and discards one only if an exact squared-distance test puts the entire closed box strictly outside the disk. Circle-touching boxes are retained. Boundary arcs use interval , sine and cosine. Exact partition audits check coverage. At a work limit, coarse finite bounds are retained, not discarded. Coverage and tolerance attainment are therefore checked independently. A complete cover can yield a valid but uninformative upper bound.
6.2 From a uniform residual to a solution bound
The stability estimate of Nyström & Vestberg (2023, Proposition 6.1), under its convexity, continuity and data hypotheses, gives
Here the network is viewed as the exact convex solution with its own right-hand side and its own boundary trace. Smoothness and nonnegativity of the Hessian ensure that its classical determinant is its Aleksandrov density. The constant depends only on the dimension but is not numerically explicit; on the unit disk a direct barrier gives an explicit coefficient. We give the classical smooth statement, sufficient for P1 and P2; extension to nonsmooth Aleksandrov targets requires the corresponding measure comparison and sum inequality.
Proposition 6.3 (Explicit unit-disk barrier). Let be convex and suppose that
Then
The proof is given in Appendix F.
For smooth targets on the unit disk, this standard comparison argument provides an explicit coefficient while retaining square-root dependence on the residual. The numerical refinement evaluates this barrier bound using interval arithmetic and outward rounding, using the previously certified and . For P1/P2 we also bound directly on boxes using the known manufactured solution; that separate bound does not require a stability constant.
7 Evaluation procedure and stopping criteria
An implementation can factor a single matrix at a given input and reuse it for the two first-derivative and three distinct second-derivative right-hand sides. Forming an explicit inverse is unnecessary. For dense matrices, factorization has the usual cubic cost in .
-
Obtain an approximate state and calculate (10) and .
-
Obtain and symmetric , either by solving the approximate-state systems or by differentiating a finite unroll.
-
Evaluate (12)–(13) using the same and form (14)–(17).
-
Form , and , then report the interval (21) rather than only .
-
If the required evaluation tolerance is not met, refine the state and/or derivative computations and recompute the bounds.
An absolute stopping rule is . If , a relative-to-observed-residual criterion is for , which guarantees
The corresponding ratio relative to the true residual is bounded by , not by . Near , an absolute tolerance remains necessary. No monotonicity of the computed bounds with iteration count is assumed.
For a finite input set X, Corollary 5.2 gives
Replacing X by a continuous domain requires additional control between sample points. Section 6 supplies that control through regional certificates and a complete cover. Appendix D develops an alternative analytical construction. A sampled analogue for explicit ICNNs, combining Lipschitz constants with covering radii, is given in Nyström & Vestberg (2023, Lemma 6.2).
8 Numerical experiments
We investigate three questions: how the a posteriori bounds compare with observed evaluation errors, whether adaptive stopping reduces total evaluation time, and how pointwise guarantees extend to the full domain. A synthetic consistency experiment tests the derivative estimates. Two manufactured Dirichlet problems then assess accuracy and certification on trained networks. Float64 diagnostics and interval guarantees are reported separately.
8.1 Consistency of the derivative bounds
We generate 120 random networks in double precision using seed 20261015, with 40 networks at each , all with and . The entries of a positive matrix are uniform on and its rows are normalized to sum to . Entries of and are independent zero-mean Gaussians with standard deviation 0.5, readout weights are uniform on , and the input is uniform on .
A reference state uses fixed-point iteration until its computed infinity-norm residual is at most . Reference derivatives solve (A.2)–(A.3). An approximate state uses 4, 8, 12 or 16 iterations, cycling through these depths. Its derivative solves are perturbed by Gaussian noise with a shared scale , where is uniform on for each case; second-derivative noise is symmetrized. This probes both state error and nonzero linear-system residuals.
Table 1 reports no violations. The largest computed reference-state residual bound is . The maximum spectral difference between the linear-system Hessian and its factorization, divided by , is .
8.2 Problems, training and evaluation protocol
For both problems, and . The manufactured solutions are
Their Hessians are and , respectively. Both targets are smooth and strictly convex, so Proposition 6.3 applies.
| Quantity | Maximum ratio | Violations |
|---|---|---|
| State error | ||
| First derivative error | ||
| Second derivative error | ||
| Hessian error | ||
| Determinant error | ||
| Curvature bound | ||
| Cancellation |
Table 1: Independent float64 consistency experiment, 120 networks. Error rows show the largest observed error-to-bound ratio, maximizing over coordinates where applicable. The last row is , whose bound is one. A violation means a ratio exceeding . These are numerical checks against approximate reference quantities.
We train one model per problem and seed 0, 1, 2, with , nominal , and iterations initialized at zero. The parametrization
uses unconstrained , with the logistic function, and ensures nonnegative weights with row sums below in exact arithmetic. The effective saved parameters are rechecked during interval certification. Training minimizes
Interior values of are used only for evaluation. Training differentiates the finite unroll; the study does not benchmark an equilibrium implicit backward pass.
Interior evaluation points are sampled uniformly in the disk using the reserved seed 900000+seed. Boundary angles are , . Training and evaluation samples are distinct. Reference evaluations use converged float64 states and linear solves; the numerical stopping test for the state correction divided by is . These reference values are diagnostics, not exact real values. The maximum reference determinant diagnostic across the models is (rounded up).
8.3 Accuracy of the six trained models
Table 3 reports sample metrics for the saved equilibrium models. The relative error is . Its mean and sample standard deviation across the three seeds are for P1 and for P2. These are descriptive summaries over three runs, not uniform error guarantees.
The smallest sampled Hessian eigenvalues range from 0.4566 to 0.4756 for P1 and from 0.9801 to 1.0003 for P2. Global convexity follows from the representation theorem, not from these samples. The learned row norms range from 0.5817 to 0.6584, all below 3/4. Consequently, the cubic branch in (8) is smaller for these trained models: the experiments test the evaluation certificate, while the near-critical exponent sharpness is demonstrated by the analytical family in Theorem 4.4.
8.4 Pointwise certificates and iteration depth
There are point/depth pairs. Every pair has both a float64 diagnostic and an Arb certificate. The float64 diagnostic declares a violation only if the observed determinant error
| Item | Executed configuration |
|---|---|
| Adam | 1,200 steps; initial learning rate 0.02; factor 0.35 at steps 780 and 1,080; fresh 128 interior and 64 boundary points per step |
| L-BFGS | Up to 100 iterations, strong-Wolfe line search; fixed 512 interior and 128 boundary points |
| Evaluation | 2,048 interior points and 512 boundary points per model |
| Depth sweep | on the same 2,048 interior points |
| Float64 timing | 512 points/model; five repetitions; tolerances and |
| Interval timing | Separate eight-point/model cohort; five repetitions; same tolerances |
| Arithmetic | CPU, float64, one computational thread; Arb at 128-bit precision |
Table 2: Protocol of the completed six-model run.
| Model | Rel. (%) | Max. | Max. | Max. boundary | |
|---|---|---|---|---|---|
| P1/0 | 0.2478 | 0.003927 | 0.045998 | 0.004150 | 0.6584 |
| P1/1 | 0.2937 | 0.004282 | 0.054399 | 0.004573 | 0.6135 |
| P1/2 | 0.3125 | 0.004958 | 0.052480 | 0.005022 | 0.5817 |
| P2/0 | 0.2808 | 0.003626 | 0.102253 | 0.003961 | 0.6466 |
| P2/1 | 0.2872 | 0.003799 | 0.080306 | 0.003872 | 0.6580 |
| P2/2 | 0.3144 | 0.005618 | 0.089144 | 0.005954 | 0.6330 |
Table 3: Float64 sample metrics. A model label P1/0 means problem P1, seed 0. Interior maxima use 2,048 points; boundary maxima use 512 points. Values are rounded for display and are not interval bounds.
exceeds its estimator plus the reference diagnostic and a numerical floor. No such violations are observed. The interval audit contains 73,728 finite certificate records at 128-bit precision, with no missing point/depth pairs.
Figure 2 shows decreasing evaluation errors with depth. At depth 12, the median float64 bound/error ratio over points above the comparison floor ranges from 26.15 to 58.03 across the six models. Ratios at the floating-point floor are excluded from this statistic.
A fixed iteration threshold does not certify every point relative to its PDE residual. At depth 12, 62.99–89.11% of P1 points satisfy , depending on the seed. At depth 16, the corresponding P2 fractions are 86.52–92.38%. All six sampled cohorts satisfy this float64 criterion at depth 32. Absolute tolerances remain necessary near vanishing residuals, as explained in Section 7.

- Float64 estimator ▲ Arb upper bound … Observed reference error
Figure 2: Determinant evaluation error over iteration depth for all six models. Each curve is the maximum over the same 2,048 evaluation points. Blue: float64 estimator; orange: outward-rounded Arb upper bound; green: error against the float64 reference. The gray line marks , the additive diagnostic floor; the reference diagnostic is added separately in violation counting. Curves near this scale should not be interpreted as exact-error measurements.
8.5 Cost of adaptive evaluation
The float64 benchmark compares fixed 32 iterations, fixed 32 plus the diagnostic certificate, and adaptive stopping on checkpoints 4, 8, 12, 16, 24, 32, 48, 64. The timer includes the certificate and management of the remaining active points. Methods are warmed up, and their timing order is permuted deterministically across five repetitions. We use the ratio of median times, , as the speedup measure. The baseline for this cohort is fixed-32 evaluation without a certificate.
At tolerance , adaptive float64 evaluation uses mean depths 11.66–16.05 and is 1.45–1.99 times faster across models. At it uses mean depths 14.95–20.84 and is 1.13–1.48 times faster. All 512 points per model are accepted at both tolerances, and observed errors against the reference lie below the requested tolerances. This stopping rule uses the float64 estimator without roundoff enclosure.
Float64 estimator | 512 points/model

Arb certification | 8 points/model
Figure 3: Matched-cohort evaluation timings. Ratios above one favor adaptive evaluation; ratios below one favor fixed 32 iterations. Left: float64 estimator on 512 points/model, compared with fixed 32 without certification. Right: full Arb stopping on eight points/model, compared with fixed 32 plus Arb certification. Both comparisons include the adaptive certificate cost and use five repetitions. The cohorts and baselines differ; their throughputs must not be compared directly.
The separate Arb benchmark includes all interval work in both fixed and adaptive timings. All eight points per model are certified within each requested tolerance. Nevertheless, speedup ratios are 0.509–0.677 at and 0.376–0.472 at : adaptive Arb evaluation is approximately 1.48–2.66 times slower. Repeated certification outweighs the iteration savings in this implementation and cohort. The interval timing loops use fixed-then-adaptive order after warmup, unlike the interleaved float64 benchmark; timing-order effects and the small cohort limit broader performance conclusions.
8.6 Complete-domain and boundary certification
The initial domain protocol uses exact dyadic boxes, 128-bit Arb calculations, depth at most 8, a 20,000-box work budget, and residual target . Boundary refinement uses trigonometric interval arcs, depth at most 12, an 8,192-arc budget and target . All six initial covers are complete, all satisfy the boundary target, and five satisfy the residual target. Initial domain-stage times range from 62.7 to 202.1 seconds in the original runtime.
For P2, seed 2, the initial residual bound is 0.4376936062, with 14,584 retained boxes and 502 boxes above the requested tolerance. We therefore perform a separately recorded, post hoc refinement of that fixed model. Only boxes above 0.25 are subdivided, prioritizing the largest bounds. The first stage permits depth 8; the second permits depth 9 if needed. Each stage is limited to 8,000 child-box evaluations and 120 seconds, with a cooperative time check before each complete four-child split. A parent is replaced only after all its intersecting children have certificates. Its valid bounds also apply to each child and are retained when tighter. Boundary certificates and model parameters are unchanged.

Figure 4: Additional P2, seed-2 certification, without retraining. The residual upper bound decreases from 0.437694 to 0.254972 at depth 8 and then to 0.249951 at depth 9 (displayed bounds rounded up). The cover remains complete throughout. Stage 1 computes 1,850 new certificates and stage 2 computes 10, retaining 15,937 boxes at completion.
The additional refinement uses a separate CPU environment with one computational thread. Its measured incremental computation time is 3.32 seconds, excluding input/output and coverage audits. This reuses the existing domain and boundary certificates, runs in a different runtime, and is not a matched speed comparison with the original full-domain calculation. The exported partition is checked using exact arithmetic.
After refinement, every model satisfies and (Table 4). Uniform residual bounds are approximately 2.44–5.06 times the corresponding sampled residual maxima.
| Model | Direct | Barrier | Boxes | ||
|---|---|---|---|---|---|
| P1/0 | 0.232852 | 0.010000 | 0.107237 | 0.251273 | 3,332 |
| P1/1 | 0.243891 | 0.009989 | 0.114571 | 0.256915 | 3,332 |
| P1/2 | 0.217254 | 0.009996 | 0.110518 | 0.243048 | 3,332 |
| P2/0 | 0.249993 | 0.009997 | 0.053797 | 0.259994 | 11,310 |
| P2/1 | 0.249997 | 0.009999 | 0.065538 | 0.259997 | 11,668 |
| P2/2 | 0.249951 | 0.009989 | 0.046754 | 0.259965 | 15,937 |
Table 4: Uniform upper bounds on the closed disk and its boundary. P2/2 uses the additional refinement; all other rows use the original covers. Direct bounds using the known manufactured solution. Barrier uses Proposition 6.3. Every displayed bound is rounded upward to six decimal places.

Solution error: samples and guarantees
Figure 5: Samples and uniform bounds have different meanings. Left: observed PDE residual maxima versus interval upper bounds over the disk. Right: observed solution-error maxima, direct uniform bounds using the manufactured target, and the explicit barrier bound. P2/2 includes the final refinement. Curves connect model labels for readability; no trend across seeds is assumed.
The barrier expression is evaluated in Arb from the certified binary64 upper bounds and exported upward. For the six final covers it gives solution-error bounds of approximately 0.243–0.260. The direct manufactured-solution bounds, approximately 0.047–0.115, are tighter in every case. In particular, P2/2 has barrier bound 0.2599640704 and direct bound 0.0467530969, both rounded up. The direct bound is obtained independently and is unchanged by this refinement.
9 Discussion and limitations
Evaluation and training. The results certify evaluation of frozen networks. They do not prove convergence of sampled strong-loss training or control approximation, optimization and loss-discretization errors along a training sequence. Two manufactured problems and three seeds each provide limited empirical coverage, and no comparison with explicit ICNNs or other PDE solvers is conducted here.
Scope and tightness. The inverse-gap exponents are sharp over the network class, but optimal prefactors remain open. The weighted result and analytical local envelope are theoretical extensions; the implemented regional path uses unweighted interval residuals and verified solves. The disk barrier is stated for smooth convex targets. Its square-root dependence can give loose solution estimates, and the direct interval bounds also substantially exceed the observed sample errors.
Performance and numerical guarantees. Adaptive float64 evaluation reduces measured runtime, while full Arb stopping is slower in the tested implementation. Interval batching, reuse and stopping-policy design are possible future improvements, not demonstrated gains. Outward arithmetic, exact coverage checks and consistency tests support the implementation, but do not constitute formal verification of the complete software stack.
10 Conclusion
For nonnegative contractive softplus equilibrium networks, positivity yields and a uniform Hessian bound with optimal inverse-gap exponent two. A residual-based perturbation argument controls derivatives computed at approximate states. Third derivatives admit sharp exponent three, and positive weighted norms extend the representation condition to . Regional interval residuals and complete boundary covers provide uniform bounds for frozen models, with an explicit residual-to-solution estimate on the disk. The six-model study supplies 73,728 point/depth interval certificates and, after one bounded fixed-model refinement, complete covers meeting the prescribed residual and boundary targets for every model. Adaptive evaluation saves time with the float64 estimator, whereas rigorous adaptive stopping remains more expensive than fixed-depth certification in the measured cohorts. These findings quantify both the usefulness and the cost of certified evaluation.
Code availability
The code used to train and evaluate the models is publicly available at https://github.com/EdisonVazquezG/monge-ampere-equilibrium.
Use of AI tools
The authors used ChatGPT (OpenAI) and Claude (Anthropic) to assist with language editing, consistency checks of notation and statements, verification of bibliographic references against their sources. All mathematical results, proofs, experiments and conclusions are the authors' own. The authors reviewed and edited all AI-assisted content and take full responsibility for the manuscript.
References
Amos, Brandon, Xu, Lei, and Kolter, J. Zico. Input convex neural networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 146–155, 2017. URL https://proceedings.mlr.press/v70/amos17b.html.
Bai, Shaojie, Kolter, J. Zico, and Koltun, Vladlen. Deep equilibrium models. In Advances in Neural Information Processing Systems, volume 32, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/01386bd6d8e091c2ab4c7c7de644d37b-Abstract.html.
Boyd, Stephen and Vandenberghe, Lieven. Convex Optimization. Cambridge University Press, 2004.
Eiras, Francisco, Bibi, Adel, Bunel, Rudy R., Dvijotham, Krishnamurthy, Torr, Philip, and Kumar, M. Pawan. Efficient error certification for physics-informed neural networks. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 12318–12347, 2024. URL https://proceedings.mlr.press/v235/eiras24a.html.
El Ghaoui, Laurent, Gu, Fangda, Travacca, Bertrand, Askari, Armin, and Tsai, Alicia Y. Implicit deep learning. SIAM Journal on Mathematics of Data Science, 3(3):930–958, 2021. doi: 10.1137/20M1358517.
Entesari, Taha, Sharifi, Sina, and Fazlyab, Mahyar. Compositional curvature bounds for deep neural networks. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 12527–12546, 2024. URL https://proceedings.mlr.press/v235/entesari24a.html.
Figalli, Alessio. The Monge–Ampère Equation and Its Applications. Zurich Lectures in Advanced Mathematics. European Mathematical Society, Zürich, 2017.
Froese, Brittany D. and Oberman, Adam M. Convergent finite difference solvers for viscosity solutions of the elliptic Monge–Ampère equation in dimensions two and higher. SIAM Journal on Numerical Analysis, 49(4):1692–1714, 2011. doi: 10.1137/100803092.
Gutiérrez, Cristian E. The Monge–Ampère Equation, volume 89 of Progress in Nonlinear Differential Equations and Their Applications. Birkhäuser, second edition, 2016. doi: 10.1007/978-3-319-43374-5.
Huang, Yuhao, Wang, Qingsong, Onwunta, Akwum, and Wang, Bao. Efficient score matching with deep equilibrium layers. In The Twelfth International Conference on Learning Representations, 2024. URL https://proceedings.iclr.cc/paper_files/paper/2024/hash/b73442f01ee75616fad938e1eb1f2427-Abstract-Conference.html.
Jafarpour, Saber, Davydov, Alexander, Proskurnikov, Anton, and Bullo, Francesco. Robust implicit networks via non-euclidean contractions. In Advances in Neural Information Processing Systems, volume 34, 2021. URL https://proceedings.nips.cc/paper_files/paper/2021/hash/51a6ce0252d8fa6e913524bdce8db490-Abstract.html.
Johansson, Fredrik. Arb: Efficient arbitrary-precision midpoint-radius interval arithmetic. IEEE Transactions on Computers, 66(8):1281–1292, 2017. doi: 10.1109/TC.2017.2690633.
Makkuva, Ashok, Taghvaei, Amirhossein, Oh, Sewoong, and Lee, Jason. Optimal transport mapping via input convex neural networks. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 6672–6681, 2020. URL https://proceedings.mlr.press/v119/makkuva20a.html.
Mishra, Siddhartha and Molinaro, Roberto. Estimates on the generalization error of physics-informed neural networks for approximating PDEs. IMA Journal of Numerical Analysis, 43(1):1–43, 2023. doi:10.1093/imanum/drab093.
Nyström, Kaj and Vestberg, Matias. Solving the Dirichlet problem for the Monge–Ampère equation using neural networks. Journal of Computational Mathematics and Data Science, 8:100080, 2023. doi:10.1016/j.jcmds.2023.100080. URL https://arxiv.org/abs/2110.03310.
Raissi, Maziar, Perdikaris, Paris, and Karniadakis, George Em. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019. doi: 10.1016/j.jcp.2018.10.045.
Rump, Siegfried M. Verification methods: Rigorous results using floating-point arithmetic. Acta Numerica, 19:287–449, 2010. doi: 10.1017/S096249291000005X.
Sirignano, Justin and Spiliopoulos, Konstantinos. DGM: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339–1364, 2018. doi: 10.1016/j.jcp.2018.08.029.
Winston, Ezra and Kolter, J. Zico. Monotone operator equilibrium networks. In Advances in Neural Information Processing Systems, volume 33, 2020. URL https://papers.nips.cc/paper/2020/hash/798d1c2813cbdf8bcdb388db0e32d496-Abstract.html.
A Equilibrium foundations and derivative identities
A.1 Softplus and the equilibrium
Lemma A.1 (Derivatives of the Softplus function ).
In particular is increasing, convex and 1-Lipschitz; both and are 1/4-Lipschitz.
Proof. Differentiate to obtain and the displayed identities. The bounds follow from the fact that and for any . The mean value theorem gives the Lipschitz statements.
Proposition A.2 (Existence, convexity and state error). Under assumption (H), for every the fixed-point equation in (2) has a unique solution. Each component of and the scalar function is convex. For any approximate state , define
Then
Moreover, , where the input space carries the Euclidean norm.
Proof. For fixed , let . Lemma A.1 gives
The space is complete, so Banach's theorem gives a unique fixed point and convergence of the iterates. Starting from the constant function , each component of is convex whenever those of are convex. Composition with the increasing convex preserves convexity. Pointwise convergence then gives entrywise convexity of the limit. Nonnegative linear combination and addition of an affine function yield convexity of .
The triangle inequality and contraction imply
which proves (A.1). Finally, comparing the fixed-point equations at x, y gives
Divide by and apply the readout.
A.2 Implicit derivatives and Hessian structure
Proposition A.3 (Smoothness and derivative systems). The function is on . For ,
Furthermore , , , and .
Proof. Since on the diagonal, and . Both inverses in (6) therefore exist since the Neumann series converge. In particular
For the derivative in equals at a fixed point. The implicit function theorem yields a smooth local solution at every input. Uniqueness makes these local solutions agree on overlaps, giving a global smooth .
Differentiate once to obtain , hence (A.2). A second differentiation gives
which proves (A.3). Finally, the identity implies . Since , it also follows that .
Proposition A.4 (Hessian factorization). Let . Then
If all entries of w are strictly positive, then if and only if rank A = n. For n = 2, writing for the entries of row r of V,
Proof. For any , bilinearity of (A.3) gives
The affine readout has zero Hessian, so
This proves (A.4). All are nonnegative. If , then and give . Consequently is positive definite exactly when has full column rank. The invertibility of gives rank . Formula (A.5) is Cauchy–Binet applied to .
Remark A.5. Strict positivity of every entry of w is a sufficient hypothesis for the rank criterion, not a necessary condition for strict convexity of every network. The factorization itself remains valid when some readout weights vanish. The two-dimensional determinant formula is also an algebraic identity, not a roundoff guarantee for its numerical evaluation.
B Proof of the third-derivative bound
This appendix proves Theorem 4.6, including optimality of the inverse-gap exponent.
Proof. Put . For unit vectors , write , , and . Positivity of and the cancellation give
Differentiating the second-derivative equation gives
Since and , multiplication by yields . Apply and take the supremum over all three directions.
For sharpness use the one-neuron family of Theorem 4.4, for which at . Direct scalar differentiation gives
Thus . This proves optimality of the exponent.
C Positive weighted norms
Weighted contraction is a standard tool for implicit networks; see, for example, Jafarpour et al. (2021), and El Ghaoui et al. (2021) for Perron–Frobenius well-posedness conditions. The result here transports the softplus curvature cancellation to that setting.
Proposition C.1 (Weighted curvature). Let and suppose that there exist and with . Normalize and set
The equilibrium exists uniquely, is smooth and convex, and
Such a positive weight exists for every q with .
Proof. The -weighted induced infinity norms of , and are at most . The earlier contraction, positivity and smoothness arguments therefore apply. Moreover,
For a unit input direction, . Because , its entrywise square is at most . The directional Hessian formula then gives the stated bound. Finally, for the Neumann series gives , and ; normalization preserves this inequality.
Remark C.2 (The spectral-radius endpoint need not be attained). In general, , but a strictly positive minimizing vector need not exist. For with , every positive gives a first-row ratio . A positive Perron vector, when available, permits equality.
D Analytical local envelopes
Proposition D.1 (Local envelopes). Let and let . Write , with . Suppose a diagonal matrix bounds entrywise on and satisfies . Set
If , then on . Consequently is another valid upper envelope. Starting at , intersection with this new bound preserves validity at every step.
Proof. The Neumann expansion and imply . For any unit direction , . Integrate this inequality along the segment from to , which lies in , and use . Since is increasing, the updated diagonal bounds . The initial envelope is valid since , and induction proves the assertion. If only an enclosure is available, replace the upper endpoint by and the lower by ; an unverified center approximation cannot be substituted for .
For any valid final envelope, recompute and define , . Let bound on the resulting preactivation intervals, including its maximum when the interval contains zero. Then
bound the Hessian and third-derivative norms on . These follow by the same mixed-direction absolute-value arguments used above. In two dimensions, , whenever is Lipschitz on : the derivative of the determinant pairs with a directional derivative of , and . This gives a center-plus-variation covering construction. A sampled analogue for explicit softplus ICNNs, combining Lipschitz constants of the residual with covering radii, appears in Nyström & Vestberg (2023, Lemmas 6.2–6.3); here the derivative envelopes account for the equilibrium resolvent. Its sharpness and computational cost are separate questions.
E Proofs of the approximate-state certificates
E.1 Proof of Theorem 5.1
Proof. The state estimate is Proposition A.2. It implies
By Lemma A.1,
Let . Since and , direct subtraction gives
Multiplication by and use of prove the first-derivative bound. In particular, if , then .
For the second derivatives, set
Subtracting the approximate equation from (A.3) gives the exact identity
(E.3)
The difference of the nonlinear right-hand sides expands as
Its infinity norm is at most by (E.1), and the bounds on . The remaining coefficient term is at most . Applying to (E.3) gives (17) and the second-derivative estimate.
Finally, . The symmetry hypothesis implies , and the Frobenius norm dominates the spectral norm, proving (19). The value estimate follows directly from the readout and the state bound.
E.2 Proof of Corollary 5.2
Proof. Write . The two-dimensional determinant identity gives
For a matrix, the cofactor matrix has the same two singular values as the original matrix, in reversed order. Its nuclear norm is therefore at most . The matrix dual-norm inequality and imply (20). The triangle and reverse triangle inequalities give (21). Since both Hessians are symmetric, the Rayleigh-quotient bound for unit proves (22).
F Proofs of the regional and solution-error bounds
F.1 Proof of Proposition 6.1
Proof. Apply Theorem 5.1 separately at every with the same constant candidates. Every expression for an error magnitude is nondecreasing in its nonnegative upper-bound inputs, with a strictly positive lower bound for . Hence uniform residual upper bounds give uniform output bounds. The determinant claim is the triangle inequality. Interval evaluation provides the required simultaneous enclosures; it is not an assumption that a floating-point residual is already an upper bound.
F.2 Proof of Corollary 6.2
Proof. Every point belongs to a certified covering element, so the appropriate local bound is at most the maximum. Parameterization of the circle transfers the angular bounds to the whole boundary.
F.3 Proof of Proposition 6.3
Proof. Set . It vanishes on the circle, is convex, and satisfies . For every positive semidefinite matrix ,
Thus is convex, has boundary values at most those of , and has determinant at least . The convex Monge–Ampère comparison principle gives . Interchanging gives . The two inequalities imply the result. The comparison principle is standard; see Figalli (2017, Theorem 2.10) or Nyström & Vestberg (2023, Theorem 2.2).
G Finite-unroll derivative recurrences
The certificate is independent of how its approximate quantities are obtained. For completeness, derivatives of the finite iteration can be computed without symbolic differentiation. Start with , and . At step , define
Then the chain rule gives
At depth , take , and . The certificate coefficients must be recomputed at ; they are not automatically the coefficients from the preceding unroll step. For a finite unroll, the derivative residuals in (12)–(13) are generally nonzero.