The Fundamental Limits of Neural Networks for Interval Certified Robustness

Matthew B Mirman, Maximilian Baader, Martin VechevTMLR 2022

Abstract: Interval analysis (or interval bound propagation, IBP) is a popular technique for verifying and training provably robust deep neural networks, a fundamental challenge in the area of reliable machine learning. However, despite substantial efforts, progress on addressing this key challenge has stagnated, calling into question whether interval analysis is a viable path forward. In this paper, we present a fundamental result on the limitation of neural networks for interval-analyzable robust classification. Our main theorem shows that non-invertible functions cannot be built such that interval analysis is precise everywhere. Given this, we derive a paradox: while every dataset can be robustly classified, there are simple datasets that cannot be provably robustly classified with interval analysis.

TL;DR

Researchers from ETH Zurich have proven that Interval Bound Propagation (IBP)—the most popular method for training "provably robust" neural networks—faces a fundamental mathematical ceiling. They demonstrate that because neural networks use non-invertible functions like ReLUs, interval analysis inevitably loses precision, making it impossible to prove robustness for even some of the simplest possible datasets.

What Problem Does This Paper Address?

Deep neural networks are notoriously fragile; a tiny, imperceptible change to an image (an adversarial attack) can cause a model to flip its prediction. To fix this, researchers use formal verification to provide a mathematical guarantee that a model's output won't change within a certain "box" around an input.

The most efficient way to do this is Interval Bound Propagation (IBP). Instead of passing a single point through the network, you pass an entire interval (a box). If the output box stays within the correct label's range, the model is "certified robust."

However, progress in this field has hit a plateau. While standard accuracy on datasets like CIFAR-10 is over 95%, "certified" accuracy struggles to cross 60%. This paper asks a chilling theoretical question: Is the stagnation due to poor training algorithms, or is interval analysis fundamentally incapable of representing robust functions?

Methods

The authors tackle this using a rigorous top-down theoretical approach:

  1. The Relative Subset Relation ($\sqsubset$): They develop a new mathematical tool to track how "strict interiors" of sets behave as they move through a network. This allows them to account for cases where neurons might be "dead" (outputting zero), which usually makes standard topological definitions fail.
  2. Structural Induction: They analyze the basic building blocks of neural networks (addition, multiplication, ReLU activations, and sequential layers) to see how they transform these intervals.
  3. Imprecision Analysis: They formalize the "gap" between the actual set of possible outputs and the "box" calculated by IBP.

The Flips Dataset

As a theoretical paper, the authors don't focus on massive benchmarks like ImageNet. Instead, they use a clever, "unrealistically simple" synthetic benchmark called the Flips Dataset:

  • The 1D Flip: A set of points on a line (e.g., -2, 0, 2) with alternating labels (-1, 1, -1).
  • The Goal: Build a network that is not only robust but provably robust for these points.
Network architecture and resulting function f(x) for the Flips Dataset.

The Result: They use this dataset to show that while a standard network can easily classify these points robustly, an IBP-verified network mathematically cannot handle more than a few transitions before the analysis fails.

Key Insights: The Precision Gap

The core "aha moment" is the realization that non-invertible functions are the enemy of precision. Because ReLUs "squash" all negative values to zero, they are non-invertible. The authors prove that any network built with such functions will inevitably lose precision in interval analysis.

Propagation of intervals through affine and ReLU layers, illustrating the accumulation of imprecision.

When you pass a box through a non-invertible layer, the resulting "certified" box contains points that the network can never actually reach. This "ghost" area eventually overlaps with the wrong label, making a proof impossible even if the model is actually robust. This highlights a strange paradox: we can easily construct a network that is perfectly robust for any dataset, but we cannot construct one that is provably robust using interval analysis for those same datasets.

Key Results

  • Theorem 4.10 (Fundamental Imprecision): This proves that non-invertible functions cannot be constructed such that interval analysis remains precise everywhere.
  • Corollary 5.2: No ReLU-based neural network of any shape or depth can be "perfectly provably robust" for a simple 3-point alternating dataset.
  • Theorem 5.8: For a single-layer network, the number of points it can provably classify is bounded by $O(1/\alpha)$, where $\alpha$ is the required robustness radius. If you want a large radius, you can only prove robustness for a handful of points.

Limitations and Future Work

The authors acknowledge a few key boundaries:

  • Activation Functions: The proofs focus on ReLUs. While they note the results likely extend to other monotone activations (like Sigmoid or Tanh), non-monotonic functions might behave differently.
  • Beyond Intervals: The results specifically target interval analysis. More complex (but computationally expensive) shapes like "zonotopes" or "polyhedra" might bypass these specific limits, though they come with their own scaling challenges.
  • Future Direction: The paper suggests that instead of trying to force IBP to work, the community should look toward more "relational" verification methods that can track dependencies between neurons rather than just treating each one as an independent box.

Summary updated

BibTeX
@article{mirman2022fundamental,
  author = {Matthew B Mirman and Maximilian Baader and Martin Vechev},
  title = {{The Fundamental Limits of Neural Networks for Interval Certified Robustness}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=fsacLLU35V},
}
Figure