Expressivity of ReLU-Networks under Convex Relaxations

Maximilian Baader, Mark Niklas Mueller, Yuhao Mao, Martin VechevICLR 2024

The Accuracy Gap in Trustworthy AI

In the realm of "trustworthy AI," achieving high accuracy is only half the battle; models must also be provably robust. To guarantee that small input perturbations (like adversarial noise) won't alter a model's prediction, researchers rely on formal verification techniques, specifically convex relaxations.

However, a persistent and frustrating trade-off exists: neural networks trained to be "certifiable" typically suffer from significantly lower standard accuracy compared to their non-robust counterparts. This raises a fundamental question: Is this accuracy gap a result of poor optimization algorithms, or is there a mathematical ceiling to what these "relaxed" networks can learn?

Previous studies demonstrated that Interval Bound Propagation (IBP)—the simplest relaxation method—fails to precisely represent even basic functions like the absolute value. This paper investigates whether more sophisticated, industry-standard relaxations, such as DeepPoly or the "Triangle" relaxation, can overcome this expressivity bottleneck.

Analyzing Convex Relaxations

The authors conduct a rigorous theoretical analysis of ReLU networks under various convex relaxations. A relaxation is deemed "precise" if it can compute the exact output range of a network for a given input region without any over-approximation error.

The study categorizes functions into Continuous Piecewise Linear (CPWL) functions—the natural language of ReLU networks—and examines restrictions like monotone (M-CPWL) and convex (C-CPWL) subsets. The expressive power of several popular relaxation frameworks is then tested:

  1. IBP: The simplest, box-based approach.
  2. DeepPoly (DP-0/DP-1): Uses linear constraints to bound neurons.
  3. Triangle ($\Delta$): The most precise single-neuron relaxation, utilizing the convex hull of the ReLU function.
Triangle Relaxation

Key Insights: From 1D Success to the Multivariate Wall

The Univariate Hierarchy

For one-dimensional (1D) functions, the authors identify a clear hierarchy of expressivity. IBP is the weakest, only capable of precisely handling monotone functions. DeepPoly and Triangle relaxations represent a significant step up, as they can precisely represent any univariate convex function. Multi-neuron relaxations serve as the gold standard here, capable of representing all univariate CPWL functions precisely.

The "Solution Space" Explosion

Interestingly, even when two different relaxations can represent the same function, the more precise one (like the Triangle relaxation) allows for an exponentially larger set of network weights to achieve that precision. This mathematical flexibility suggests that better relaxations create a much more forgiving "optimization landscape," making it easier for training algorithms to find robust solutions.

The Multivariate Wall

Despite the successes in 1D, the paper's most striking finding is a hard mathematical limit in higher dimensions. For functions with more than one input ($d \ge 2$), no single-neuron convex relaxation can precisely represent the class of monotone, convex CPWL functions.

Even a function as simple as $f(x, y) = \max(x, y)$—which can be expressed with a single ReLU neuron as $y + \text{ReLU}(x-y)$—cannot be precisely analyzed by the Triangle relaxation across all input regions. This implies that current state-of-the-art verifiers relying on single-neuron bounds will always introduce approximation errors when dealing with multi-dimensional interactions.

Multi-Neuron vs Single-Neuron

Conclusion and Future Directions

The findings reveal that the "robustness gap" in high-dimensional tasks, such as image recognition, is likely tied to the fundamental limitations of analyzing neurons in isolation. While single-neuron relaxations hit a mathematical ceiling, the authors suggest that moving beyond them is the key to progress.

Future work must focus on developing more efficient multi-neuron or non-convex certification methods to break through the multivariate expressivity barrier. Additionally, exploring specific network architectures, such as those with skip connections, may help mitigate these inherent expressivity limits and pave the way for highly accurate, provably robust AI.

Summary updated

BibTeX
@inproceedings{baader2024expressivity,
  author = {Maximilian Baader and Mark Niklas Mueller and Yuhao Mao and Martin Vechev},
  title = {{Expressivity of ReLU-Networks under Convex Relaxations}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=awHTL3Hpto},
}
Figure