The Convex Relaxation Barrier, Revisited: Tightened Single-Neuron Relaxations for Neural Network Verification

Christian Tjandraatmadja, Ross Anderson, Joey Huchette, Will Ma, Krunal Patel, Juan Pablo Vielma

TL;DR

This paper introduces a tighter convex relaxation for ReLU neurons by analyzing the multivariate input space of the preceding affine function rather than just the univariate ReLU input. This approach successfully bypasses the widely accepted "convex relaxation barrier" for single-neuron verification, enabling significantly more accurate neural network robustness certification with minimal computational overhead.

What Problem Does This Paper Address?

Deep neural networks are notoriously vulnerable to adversarial attacks. To trust them in safety-critical applications, we need verification algorithms that mathematically prove a network is robust within a certain neighborhood of an input. Exact verification is NP-hard and scales poorly to large networks. Relaxed verifiers (like Linear Programming or fast bound propagation methods) scale well but suffer from high false-negative rates because their approximations are too loose.

Most relaxed verifiers rely on the single-neuron $\Delta$-relaxation (also known as the triangle relaxation). Recent work showed that this creates a fundamental "convex relaxation barrier," limiting the effectiveness of all propagation-based fast verifiers. This paper tackles how to break through this barrier without sacrificing the speed and simplicity of single-neuron relaxations.

Methods

The authors' key move is eliding the pre-activation variables. Instead of treating the affine transformation ($\hat{z} = w \cdot z + b$) and the ReLU activation ($z = \max(0, \hat{z})$) as two separate steps to relax independently, they look at the combined multivariate mapping directly over a box domain.

Using submodularity and convex geometry, they derive the exact convex hull for this single multivariate neuron structure. Although this exact description requires an exponential number of linear inequalities in the worst case, the authors prove a remarkable property: these inequalities can be separated in linear time ($O(n)$). This means an algorithm can quickly find the most violated constraint on the fly rather than evaluating them all.

They introduce two polynomial-time verification algorithms:

  1. OptC2V: An LP-based method that dynamically adds these tight inequalities as cutting planes.
  2. FastC2V: A fast propagation-based method (generalizing algorithms like DeepPoly and Fast-Lin) that dynamically updates its bounding functions using the new inequalities.
Figure 1: A simple neural network with m “ 2 dimensional input and one intermediate neuron (N “ 3). (Left) The feasible region for γ∆, and (Right) The feasible region for γElide. The x, y, and ˆz variables, which depend affinely on the others, are projected out.

Datasets

The methods were evaluated on standard robustness verification benchmarks from the publicly available ERAN dataset. The networks tested include:

  • Fully connected MNIST networks (6x100, 9x100, 6x200, 9x200) trained without adversarial defense.
  • Convolutional MNIST networks (ConvSmall and ConvBig) trained with DiffAI or without adversarial training.
  • A convolutional CIFAR-10 network (ConvSmall) trained using PGD adversarial training.

Key Insights and Ideas

  • Pre-activation variables are a "devil in disguise": Retaining the intermediate pre-activation variable $\hat{z}$ forces relaxations to be univariate, throwing away crucial coordinate-wise bound information from the preceding layer. Dropping it opens the door to multivariate relaxations that are strictly tighter.
  • Exponential doesn't mean impractical: An exponential number of constraints sounds scary, but because they can be separated in linear time, you only ever need to instantiate a tiny fraction of them during optimization.
  • Less can be more: In practice, FastC2V (which uses a two-inequality relaxation with one carefully chosen multivariate upper bound) often verifies more images than a standard LP using the three-inequality $\Delta$-relaxation. Choosing one smart constraint beats using three loose ones.

Key Results

The proposed methods significantly outperform their baseline counterparts across all tested networks:

  • FastC2V vs. DeepPoly: FastC2V verified substantially more images (e.g., 274 vs 162 on MNIST ConvSmall) while keeping average verification times well under a minute per image.
  • Bypassing the Barrier: FastC2V actually verified more instances than the standard $\Delta$-relaxation LP baseline, proving it successfully breaks the single-neuron convex barrier.
  • Competitive with State-of-the-Art: OptC2V and FastC2V proved highly competitive with much more expensive, fine-tuned, or multi-neuron methods like RefineZono and kPoly, even certifying more images in several test cases.

Limitations and Future Work

  • Multi-neuron interactions: The relaxation is still fundamentally a single-neuron approach. It does not explicitly capture correlations between multiple neurons in the same layer (unlike methods like kPoly). Combining this multivariate single-neuron relaxation with multi-neuron frameworks is an open direction.
  • Diminishing returns on iteration: For the propagation algorithm (FastC2V), running more than one iteration of updating inequalities did not yield better results, likely due to the difficulty of balancing tighter bounds in one part of the input space with looser bounds in another.
  • Numerical stability: The LP-based method encountered numerical instability on convolutional networks due to very small weights, requiring a heuristic thresholding step (zeroing out weights $< 10^{-5}$).

Summary updated

BibTeX
@inproceedings{tjandraatmadja2020convex,
  author = {Christian Tjandraatmadja and Ross Anderson and Joey Huchette and Will Ma and Krunal Patel and Juan Pablo Vielma},
  title = {{The Convex Relaxation Barrier, Revisited: Tightened Single-Neuron Relaxations for Neural Network Verification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=yjRAPalL9_U},
}
Figure