NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Neuron Relaxations for Neural Network Verification

49 concepts24 papers1 proposal

To certify that a neural network is safe against adversarial perturbations, we must prove that for every possible input within a given region, the network's output remains within a safe boundary. The core challenge of formal verification is tracking how a set of inputs propagates through the network's non-linear activation functions, such as ReLUs.

Because computing the exact reachable set of outputs is NP-hard, verifiers rely on approximations. However, traditional verification frameworks suffer from a fundamental flaw: they treat individual neurons as independent entities, completely ignoring the structural and mathematical dependencies between them.

The Single-Neuron Barrier

To understand why independent analysis fails, imagine an input $x$ that can vary between $-1$ and $1$. Suppose we have two hidden neurons in the same layer: $z_1 = x$ and $z_2 = -x$. If we pass these through a ReLU activation function to get outputs $y_1 = \max(0, z_1)$ and $y_2 = \max(0, z_2)$, their individual ranges are both $[0, 1]$.

If a verifier treats these neurons independently, it assumes that the joint output state $(y_1, y_2) = (1, 1)$ is perfectly valid. But geometrically, this state is impossible; because $z_1$ and $z_2$ are perfectly anti-correlated, one must be zero when the other is one. The true joint activation space is a one-dimensional V-shape, but independent analysis over-approximates it as a two-dimensional square.

Independent Analysis (Loose Box)       True Joint Dependency (Tight)
       y2                                      y2
       ^                                       ^
    1  +-------+                            1  + \     /
       |       |                               |  \   /  
       |       |                               |   \ /   
       +-------+---> y1                        +----+---> y1
       0       1                               0    1
   (Permits impossible state (1,1))         (Excludes impossible states)

This over-approximation error compounds rapidly layer by layer. As Leonard Berrada et al. demonstrate, loose estimations at intermediate layers propagate through the network, resulting in final safety guarantees that are too conservative to be practically useful.

Standard methods like Interval Bound Propagation (IBP) treat each neuron as an independent range. Matthew B Mirman et al. proved that because neural networks use non-invertible functions, this independent interval analysis faces an inescapable mathematical ceiling, making it impossible to certify robustness even on simple datasets.

Furthermore, Maximilian Baader et al. proved that even the most mathematically optimized single-neuron convex relaxations are fundamentally incapable of precisely representing simple multivariate functions like $\max(x, y)$. While Christian Tjandraatmadja et al. showed that capturing the precise interaction between a single neuron and all its preceding inputs can tighten bounds, single-neuron relaxations still fail to capture the joint dependencies between multiple neurons within the same layer.

To break through this "convex barrier," verification frameworks must model how neurons couple and co-vary.

Joint Multi-Neuron Relaxations

Instead of drawing a separate convex hull around each individual activation function, multi-neuron relaxation considers the joint output range of multiple neurons simultaneously.

Gagandeep Singh et al. introduced this paradigm with the k-ReLU framework. By jointly relaxing groups of $k$ neurons rather than analyzing them in isolation, their method captures the relational constraints that are lost during independent abstraction. For example, a 2-ReLU relaxation builds a tight polyhedral envelope around the joint activation space of two neurons, explicitly cutting off impossible corners (like the $(1,1)$ state in our earlier example).

This joint perspective significantly reduces over-approximation error. To scale this concept to complete verifiers—which use branch-and-bound trees to exhaustively search for adversarial examples—Claudio Ferrari et al. developed MN-BAB. This approach leverages multi-neuron convex relaxations to produce a much tighter convex envelope around network non-linearities, drastically shrinking the search space required to formally prove safety properties.

Encoding Coupling via Semidefinite Programming

The most mathematically rigorous way to capture these inter-neuron dependencies is by treating the neural network as a system of Quadratic Constraints (QCs) and solving them via Semidefinite Programming (SDP).

In a standard linear relaxation, we can only write constraints about individual variables (e.g., $0 \le y_1 \le 1$). In an SDP relaxation, pioneered for network verification by Aditi Raghunathan et al., the optimization problem includes a matrix of variables representing the products of activations ($X_{ij} = y_i y_j$). This matrix naturally captures the correlations and dependencies between different neurons across the entire network, excluding impossible activation patterns that linear programming relaxations permit.

Mahyar Fazlyab et al. extended this by exploiting the repetition of activation functions across layers to couple their constraints. Rather than treating layers in isolation, their framework uses cross-coupling quadratic constraints to model mathematical dependencies across different layers, pruning impossible output states. In a parallel work on reachability analysis, Mahyar Fazlyab et al. demonstrated that incorporating cross-coupling constraints among multiple neurons within the same layer significantly tightens output bounds by exploiting their shared geometric properties.

To push this tightness further, Jianglin Lan et al. combined SDP relaxations with the Reformulation-Linearisation Technique (RLT). By explicitly modeling both intra-layer and cross-layer neuron interactions through linear constraints, they effectively shrank the feasible space of adversarial perturbations. Similarly, Aleksei Kuvshinov et al. showed that applying a holistic, joint relaxation across all layers simultaneously via quadratic programming captures global dependencies far better than step-by-step layer-wise methods.

The Geometry of Perturbations

Modeling inter-neuron coupling becomes especially critical when dealing with non-box perturbations, such as Euclidean distance ($\ell_2$-norm) adversarial balls.

Standard linear bound propagation methods assume independent neurons, which aligns well with box-shaped ($\ell_\infty$) constraints but fails catastrophically for ball-shaped ($\ell_2$) constraints. As single author Hao Chen explains, the looseness in standard verifiers under $\ell_2$ perturbations stems directly from ignoring the geometric coupling inherent in a sphere. To fix this without the massive computational overhead of full SDP solvers, Hao Chen introduced a single optimization parameter per layer using SDP duality. This parameter explicitly captures the inter-neuron coupling under norm-based perturbations, bridging the gap between fast linear propagation and tight semidefinite relaxation.

Tracking Covariance with Relational Domains

Another perspective for maintaining dependencies is the use of relational abstract domains, which track how variables co-vary as they propagate through the network.

Instead of computing fixed scalar bounds at each step, symbolic interval propagation tracks dependencies by maintaining linear symbolic equations. Shiqi Wang et al. demonstrated that tracking these symbolic equations mitigates the dependency problem inherent in standard interval arithmetic, leading to much tighter estimations of the output range. Jianlin Li et al. further showed that maintaining these symbolic dependencies is often far more critical for verification precision than increasing the geometric complexity of the underlying bounding shapes.

When complex geometric shapes are used, integrating them with relational frameworks yields powerful results. Matt Jordan et al. integrated zonotope abstract domains into a Lagrangian relaxation framework. Zonotopes represent sets of reachable states as affine combinations of shared error terms (generators). Because multiple neurons can express their bounds using the same underlying generators, the zonotope naturally maintains information about how those neurons co-vary, preserving crucial inter-neuron dependencies that independent dual optimization loses.

Pruning the Search Space via Logical Dependencies

Inter-neuron dependencies are not just continuous geometric correlations; they can also manifest as discrete, logical relationships. In piecewise-linear networks (like those built with ReLUs), the activation state of one neuron can logically force or inhibit the state of another.

Neuron A (Active) ----[Negative Weight]----> Neuron B (Forced Inactive)

Elena Botoeva et al. leveraged this insight in the Venus toolkit. By analyzing network weights and biases, their framework identifies "dependency relations"—situations where a specific activation state in one neuron necessitates a specific state in another. Introducing these dependency-based linear constraints allows backend solvers to instantly rule out impossible neuron configurations, pruning the verification search space by over an order of magnitude.

Panagiotis Kouvaros et al. formalized this by structuring these logical relationships into an activation dependency graph. During branch-and-bound verification, this graph serves as a branching heuristic: by branching on nodes that are highly functionally intertwined with others, the verifier can resolve multiple dependent neuron states simultaneously.

Ultimately, as single author Panagiotis Kouvaros notes, moving away from isolated neuron evaluation toward intra-layer dependency pruning is what allows formal verification methods to scale. By accounting for the logical and geometric relationships inherent in the network structure, modern verifiers can successfully prune impossible states and provide tight safety certificates for large-scale architectures.

Key Foundational Work

Safety Verification and Robustness Analysis of Neural Networks via Quadratic Constraints and Semidefinite Programming (2019) — contributed 3 concept elements to this direction.
Semidefinite relaxations for certifying robustness to adversarial examples (2018) — contributed 3 concept elements to this direction.
Probabilistic Verification and Reachability Analysis of Neural Networks via Semidefinite Programming (2019) — contributed 2 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_inter_neuron_dependency_modeling_813cd94d,
  title = {inter-neuron dependency modeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inter-neuron-dependency-modeling/rdr_813cd94dd9d94972809c612e88587f8d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_inter_neuron_dependency_modeling_813cd94d_v1,
  title = {inter-neuron dependency modeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/inter-neuron-dependency-modeling/rdr_813cd94dd9d94972809c612e88587f8d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake