arXiv:2610.30853cs.LGOct 2026

Manuscript Offprint

arXiv:2610.30853

Training Mixed-Monotone Neural Networks for Verification Without Set Propagation

Jonas Fingerhut, Lukas Koller, Matthias Althoff

ABSTRACT

Most formal verification approaches for neural networks conservatively enclose the output set of the neural network. However, computing a tight output enclosure is in general computationally hard. We sidestep this challenge with a novel neural network architecture that realizes mixed-monotone functions as the difference of monotone subnetworks. By utilizing the theory on mixed-monotone systems, this reduces the computation of a tight output enclosure from complicated set propagation to two simple forward passes of opposite corners of an input interval. Moreover, because the size of the resulting enclosure is a closed-form function of the weights of the neural network, we can directly minimize it during training. We prove a lower bound on the size of any such enclosure, given by the total variation of the represented function generalized to several inputs, which makes it possible to compare the tightness of the enclosure against the optimum. Our evaluation on regression and dynamical-system benchmarks demonstrates that our training reduces the enclosure size to within 0.5% of the lower bound without sacrificing prediction accuracy. Computing our enclosure is orders of magnitude faster than CROWN and α\alpha-CROWN and on deep networks it is also tighter than zonotope propagation and CROWN, while its size exceeds that of α\alpha-CROWN by only 5.1%.

1 INTRODUCTION

Formal verification of neural networks can decide whether the output of a neural network meets a given specification for all inputs bounded by a set. Especially when learned components are deployed in safety-critical control loops, for example in autonomous driving (Ye et al., 2022), formal verification is essential. The exact image of a neural network is in general non-convex, and complete verifiers based on SMT or mixed-integer programming scale poorly in the number of neurons (Katz et al., 2017). Practical tools therefore enclose that image by propagating sets layer by layer, e.g., using intervals (Gowal et al., 2019), zonotopes (Singh et al., 2018; Koller et al., 2026), linear relaxations (Zhang et al., 2018) or polynomial zonotopes (Kochdumper & Althoff, 2021; Kochdumper et al., 2023), adding an abstraction error at every nonlinear layer. That abstraction error accumulates with the depth of the neural network and with the size of the input set. The abstraction error can be reduced with additional computations, e.g., higher-order abstractions (Kochdumper et al., 2023; Ladner & Althoff, 2023) or branch-and-bound methods (Bunel et al., 2020), making it possible to trade off small abstraction errors against high computational cost.

Main idea We overcome this tradeoff by constructing the neural network as a mixed-monotone function, which we realize as the difference of two monotone subnetworks (Fig. 1). This allows us to use the theory on mixed-monotone systems to enclose the image of the neural network for an input interval without any set propagation. We only require two forward passes at opposite corners of the input interval, independent of the depth and width of the neural network and of the input dimension.

Moreover, we use the training of the neural network to explicitly optimize the tightness of the computed enclosure. Our results show that training reduces the enclosure size to within 0.5 % of a lower bound that we prove, without sacrificing prediction accuracy. The computation of our enclosure is (i) orders of magnitude faster than CROWN and α\alpha-CROWN and (ii) on deep neural networks it is

Figure

Figure 1: Our neural network architecture is the difference of two monotone subnetworks Φ+\Phi_{+} and Φ−\Phi_{-}. Evaluating both subnetworks at the two opposite corners of the input interval yields an output enclosure without set propagation.

also tighter than zonotope propagation and CROWN, while its size exceeds that of α\alpha-CROWN by only 5.1%.

Related work Monotonicity of neural networks can be achieved using sign-constrained weights (Sill, 1997; Daniels & Velikova, 2010), lattice networks (You et al., 2017), or certification of monotonicity after training (Liu et al., 2020; Sivaraman et al., 2020); we build on the sign-constrained neural networks of Runje & Shankaranarayana (2023). That literature is motivated by fairness, interpretability, and inductive bias; to the best of our knowledge, the enforced monotonicity has not been exploited for formal verification.

Mixed-monotone approaches combine a decomposition of the plant with a separately computed inclusion function for the network (Jafarpour et al., 2023), or decompose a given neural network (Meyer, 2022). In both cases, the decomposition is obtained after the neural network is fixed, and its tightness is inherited from the used verifier. Classically, finding tight mixed-monotone decompositions is hard and the known constructions require structural assumptions, such as a sign-stable Jacobian (Yang et al., 2019; Khajenejad & Yong, 2023). In contrast, our neural network has a decomposition function by construction, and we directly optimize the tightness of the resulting enclosure during training, because the size of the enclosure is differentiable with respect to the weights.

Since the tightness of the enclosure is part of our training objective, a related field is certified training (Gowal et al., 2019; Xu et al., 2020; Müller et al., 2023), where abstraction errors are implicitly reduced by optimizing for robustness using sets that are propagated during training. Further, set-based training (Koller et al., 2025; Wendl et al., 2026) is even closer to our work, as it explicitly penalizes the size of the enclosure in the loss, but it still requires a differentiable set propagation in every training step, as required for any other certified training method.

Contributions Our main contributions are:

• A neural network architecture for mixed-monotone functions, allowing one to compute an output enclosure using two simple forward passes.

• A formula for the smallest enclosure achievable by a difference of two monotone functions: we prove that its size equals the total variation of the represented function generalized to several inputs.

• A neural network training objective that directly minimizes the size of the enclosure.

• An evaluation on static analytic models and dynamical systems, including the enclosure of reachable sets over multiple time steps and comparisons with zonotope propagation, interval bound propagation (IBP), CROWN, and α\alpha-CROWN.

References (28)