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

Evaluating the Robustness of Neural Networks: An Extreme Value Theory Approach

Tsui-Wei Weng*, Huan Zhang*, Pin-Yu Chen, Jinfeng Yi, Dong Su, Yupeng Gao, Cho-Jui Hsieh, Luca Daniel

Executive Summary

The authors introduce CLEVER (Cross Lipschitz Extreme Value for nEtwork Robustness), the first attack-agnostic robustness metric for neural networks that scales to large-scale models like those used for ImageNet. By leveraging Extreme Value Theory (EVT) to estimate local Lipschitz constants, CLEVER provides a reliable lower bound on the minimum perturbation needed to create an adversarial example. This offers a principled way to measure security without relying on specific, potentially flawed attack algorithms.

The Challenge of Measuring Intrinsic Robustness

How do we know if a neural network is truly "robust"? Traditionally, researchers have answered this by throwing specific adversarial attacks (like FGSM or the Carlini & Wagner attack) at a model. If the attacks fail or require large perturbations, the model is deemed robust.

However, this approach is inherently attack-dependent. A model might be robust against Attack A but completely vulnerable to a yet-undiscovered Attack B. This "cat-and-mouse" game makes it difficult to measure a network's intrinsic robustness. While some "formal verification" methods exist to provide guaranteed lower bounds on robustness, they are computationally expensive and generally do not scale beyond tiny, toy networks.

The authors seek a middle ground: a metric that is independent of any specific attack, theoretically grounded, and computationally feasible for state-of-the-art architectures.

Methodology: Lipschitz Continuity and Extreme Value Theory

The core idea of the paper is to treat robustness as a local Lipschitz constant estimation problem.

1. Lipschitz Continuity as a Safety Radius

In simple terms, the Lipschitz constant of a function measures how much the output can change for a given change in input. If we can find the maximum possible gradient (the Lipschitz constant) around a specific image, we can calculate a "safety radius" within which no adversarial example can possibly exist.

1D illustration of how the local Lipschitz constant bounds the function output, creating a safety radius against adversarial perturbations.

2. The Challenge of Dimensionality

For deep networks, finding the exact maximum local gradient is an NP-hard problem. Exhaustive search is impossible in high-dimensional spaces like those required for ImageNet classification.

3. Extreme Value Theory (EVT)

This is the paper's primary methodological breakthrough. Instead of searching for the absolute maximum, the authors randomly sample local gradients around an input image. According to EVT (specifically the Fisher-Tippett-Gnedenko theorem), the maximum values of these samples will follow a known distribution—the Reverse Weibull distribution.

Histogram of cross Lipschitz constant samples fitted to a Reverse Weibull distribution using Extreme Value Theory.

4. The CLEVER Score

By fitting their samples to this distribution, the authors can statistically estimate the "extreme value" (the local Lipschitz constant). This estimate is then used to compute the CLEVER score, which represents a lower bound on the distortion required to fool the network.

Experimental Validation

The authors evaluated CLEVER across a range of standard benchmarks and architectures, from smaller MLP and CNN architectures on MNIST and CIFAR-10 to massive pre-trained models on ImageNet (including ResNet-50, Inception-v3, and MobileNet).

Key Insights and Results

  • Attack-Agnosticism: CLEVER measures the geometry of the network's decision boundary itself, rather than the success of a specific optimization trick. It acts as a "security floor." If a new attack produces adversarial examples with distortions smaller than the CLEVER score, it suggests the attack is highly efficient.
  • Alignment with Attacks: Experimental results showed that CLEVER scores are closely aligned with the actual $L_2$ and $L_\infty$ distortions produced by the powerful Carlini & Wagner (CW) attack. CLEVER consistently provided a lower bound that was "tight" enough to be useful.
  • Defense Validation: The metric successfully identified that defended networks (like those using Defensive Distillation or Bounded ReLU) actually have higher intrinsic robustness, confirming that these defenses aren't just "security through obscurity."
  • Scalability and Efficiency: By moving from deterministic formal verification to statistical estimation via EVT, the authors bypassed the computational bottleneck. On a single GPU, computing a CLEVER score for a large ImageNet model takes only a few seconds per image.

Limitations and Future Work

Unlike formal verification, CLEVER provides a statistical estimate based on sampling. While the EVT framework is robust, it is not a 100% mathematical guarantee. Furthermore, the accuracy of the score depends on the number of samples; while 50–100 batches are often sufficient, extremely complex decision boundaries might require more.

Looking forward, the authors suggest that CLEVER could be used as a regularization term during training to directly optimize for intrinsic robustness, rather than just training on adversarial examples.

Summary updated

BibTeX
@inproceedings{weng2018evaluating,
  author = {Tsui-Wei Weng* and Huan Zhang* and Pin-Yu Chen and Jinfeng Yi and Dong Su and Yupeng Gao and Cho-Jui Hsieh and Luca Daniel},
  title = {{Evaluating the Robustness of Neural Networks: An Extreme Value Theory Approach}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=BkUHlMZ0b},
}
Figure