Three Research Frontiers: Neural Network Certification, Part 7

7 minute read

On this page

April reaches the edge of our map

The first six posts followed one small classifier for April the Siberian cat. We stated a robustness claim, propagated bounds, tightened them, split an inconclusive region, and trained networks whose robustness is easier to prove.

Those tools raise a deeper question:

What limits certified neural networks: what a model can represent, what training can find, or what a verifier can prove?

These are three different questions:

  1. Exist: Is there a network with the behavior and certificate we want?
  2. Find: Can a training algorithm reach such a network?
  3. Prove: Can the verifier preserve enough information to certify it?

The distinction matters because the answers can point in different directions. Interval bound propagation (IBP) is expressive enough in principle to approximate every continuous target on a compact input domain: a closed and bounded region such as a box. A tighter relaxation can nevertheless produce a worse model during training. Multi-neuron relaxations can prove relationships that every single-neuron relaxation misses. A further barrier appears when a verifier repeatedly keeps only convex information about small parts of a network.

Frontier 1: Can an IBP-certified network approximate any continuous function?

The ordinary universal approximation theorem says that sufficiently large neural networks can approximate any continuous function on a closed and bounded input region. For certification, matching the function at individual inputs is only half the job. We also propagate an entire input region through the network.

Suppose brightness is summarized by one number $t$, and $s(t)$ is April’s cat score. For an interval $B=[t_1,t_2]$, the exact output range is

\[s(B)=\{s(t):t\in B\}.\]

An ordinary approximating network $n$ should make $n(t)$ close to $s(t)$ for every $t$. An interval-certified approximator must additionally make the IBP range $n^#(B)$ close to the true range $s(B)$. IBP carries lower and upper intervals through each layer. Its bounds are sound: they contain every value the network can actually produce. The symbol $n^#(B)$ means: run those interval rules from Part 3 through $n$, starting from $B$.

The universal approximation theorem for interval-certified ReLU networks says that, for every continuous $s$ and every desired error tolerance, a ReLU network exists that satisfies both requirements. The pointwise curve can be accurate, and its simple IBP bounds can be arbitrarily close to the best output range of $s$ on each input box.

A continuous target score and a nearby piecewise-linear network curve. Each of three input intervals has one exact vertical output range and a slightly wider sound IBP range.
Interval approximation asks the curve and its propagated ranges to agree with the target.

This result is stronger than saying that IBP happens to work on some friendly network. It says that the class of interval-certifiable networks is rich enough to represent any continuous target to arbitrary precision. A later interval universal approximation theorem extends the result from ReLU to a broad family of activation functions.

Existence leads to a construction question

The theorem begins with “there exists.” Training begins with random weights and must produce a useful network with finite computation.

The generalized interval-approximation result studies this gap directly. Its constructive proof grows exponentially with the approximation domain, and the paper establishes hardness for constructing networks whose interval ranges are arbitrarily precise. The existence theorem therefore resolves the representation question while leaving a concrete optimization challenge:

How do we reliably find compact, accurate networks that IBP can certify?

This is where Part 6’s training objectives return. A bound participates in training thousands of times, so its behavior as the weights move also matters, alongside its value at one finished network.

Frontier 2: Why can a tighter bound train a worse certifiable model?

Fix a trained network. If relaxation $A$ gives a smaller sound upper bound than relaxation $B$, then $A$ is more precise for that network. It can only help the verification decision.

During training, the weights are not fixed. Each gradient step changes the network and therefore changes the bound used as the next loss. The optimizer must follow a whole surface

\[\theta\longmapsto L_{\mathrm{cert}}(\theta),\]

where $\theta$ contains the weights. Tightness describes the pointwise vertical gap between this certified loss and the exact worst-case loss. Training also depends on how the surface changes from one nearby $\theta$ to another.

The paradox of certified training is that loose interval-based training often produces networks with higher certified robustness than training with tighter relaxations. The study identifies two properties that help explain the result:

  • Continuity: a small change in the weights should not make the training bound jump abruptly.
  • Sensitivity: the bound should not become algebraically nonlinear and complicated too quickly as the weights change. High sensitivity can create an optimization landscape with many local optima and saddle points.
Two panels compare verification and training. At fixed weights a tighter interval sits closer to the exact loss. Across changing weights a schematic loose loss varies smoothly while a tighter loss has abrupt and sensitive changes that make gradient steps harder to follow.
Tightness answers a fixed-network question; continuity and sensitivity shape the training journey.

The curves illustrate the three properties schematically.

At fixed weights, a tighter sound bound remains better for verification. The training result adds a second criterion: ranking optimization objectives requires more than precision. A promising certified-training loss must combine useful precision with dynamics that gradient-based optimization can follow.

Training addressed whether we can find good weights. Now freeze the weights again and ask what information a verifier can retain.

Frontier 3: What can one-neuron-at-a-time reasoning express?

Triangle and DeepPoly from Part 4 use a convex relaxation: a tractable convex superset of the network’s exact behaviors. They enclose each unstable ReLU, whose input interval crosses zero, with linear inequalities one ReLU at a time. Even the tightest such shape for one ReLU can forget how it depends on other values in the same layer.

Consider the network

\[a=x_1-x_2,\qquad b=x_2,\qquad c=\operatorname{ReLU}(a),\qquad d=b,\]

with output

\[f=c+d=x_2+\operatorname{ReLU}(x_1-x_2) =\max(x_1,x_2).\]

Let $(x_1,x_2)\in[0,1]^2$. The exact output range is plainly $[0,1]$.

A single-neuron Triangle relaxation sees only $a\in[-1,1]$ when it relaxes $c=\operatorname{ReLU}(a)$. Its upper line is

\[c\leq\frac{a+1}{2}.\]

At $x_1=x_2=1$, this permits $a=0$, $b=1$, and $c=0.5$. The relaxed output can therefore reach

\[f=c+d=1.5,\]

although the exact network output there is $1$. The ReLU envelope is optimal for $c$ as a function of $a$ alone. The missing fact is the relationship with $b=x_2$.

Multi-neuron relaxations remember joint geometry

A multi-neuron relaxation studies a group of values together. For the same network, the joint convex hull supplies two additional constraints:

\[c\leq 1-b,\qquad c\leq a+b.\]

The first immediately gives

\[f=c+b\leq 1.\]

The exact lower bound $f\geq0$ follows from $c\geq0$ and $b\geq0$, so the multi-neuron relaxation recovers the exact range $[0,1]$.

The max of two inputs is encoded by a ReLU network. A single-neuron Triangle constraint permits a relaxed output of 1.5 at input 1,1. A joint constraint between the ReLU output and the second input removes that impossible value and proves the exact upper bound 1.
The ReLU envelope is locally tight; the joint relationship supplies the missing proof.

This example comes from the current expressiveness analysis of multi-neuron convex relaxations. It establishes a genuine separation: no single-neuron relaxation can exactly bound every ReLU network encoding the two-dimensional max function, while a suitable multi-neuron relaxation can bound the construction above exactly. Practical methods such as PRIMA approximate convex hulls—the smallest convex sets containing all exact feasible points—over small neuron groups.

How much joint information is enough?

Joint reasoning is more expressive. The same study proves a precise boundary: no verifier that repeatedly convexifies only a bounded-size neuron group or a bounded window of consecutive layers is exact for every network. The global convex hull would give exact scalar bounds, but computing it is generally intractable.

The paper then shows why multi-neuron reasoning still changes what is possible. It gives an existential completeness result: an exact construction is guaranteed to exist, although the theorem does not supply an efficient way to find it. On a fixed input domain, one can transform a network without changing its function so an optimal layerwise relaxation—the tightest convex set available at every layer—becomes exact. Finding those tightest sets may still be intractable. It also studies branch-and-bound, which splits activation or input cases and verifies every resulting subproblem. For its nested-max encoding in $d$ dimensions, the optimal layerwise multi-neuron construction uses $O(d)$ constraints, meaning that the count grows linearly with $d$, in one subproblem. An exact DeepPoly branch-and-bound proof uses $2^{d-1}$ activation-pattern subproblems.

The frontier is therefore more precise than “larger groups are tighter.” The research question is:

Which joint relationships should a verifier preserve, and how can it expose them without paying for every possible relationship?

Put the three frontiers on one map

We can now answer the opening question one verb at a time.

Question What we learned Research direction
Can a certifiable model exist? Interval-certified networks can approximate every continuous target on a compact input domain. Construct interval-friendly architectures efficiently.
Can training find it? Tightness, continuity, and sensitivity jointly shape certified training. Design precise objectives with navigable optimization surfaces.
Can a verifier prove it? Joint relaxations express facts that one-neuron-at-a-time relaxations lose, while convexity leaves a general barrier. Select useful groups, transformations, and partitions at manageable cost.

Existence belongs to the network class. Finding belongs to optimization. Proving belongs to the verifier’s abstraction. A new result in neural network certification becomes easier to understand once we ask which frontier it moves.

Part 8 will approach certification through a different mathematical object: the probability that April’s label wins when random noise is added to the input.

Tags: abstract interpretation, certification, neural networks, theory

Initial Release:

Written by PIRA at