The Boundaries of Verifiable Accuracy, Robustness, and Generalisation in Deep Learning

Alexander Bastounis, Alexander N. Gorban, Anders C. Hansen, Desmond J. Higham, Danil V. Prokhorov, Oliver J. Sutton, Ivan Yu. Tyukin, Qinghua Zhou

Abstract

In the pursuit of reliable artificial intelligence, three pillars are paramount: accuracy, generalization, and robustness. However, recent theoretical research suggests that achieving all three simultaneously may be fundamentally constrained by the geometry of high-dimensional space. This paper provides a sobering analysis of why neural networks can achieve perfect accuracy while remaining inherently unstable, and why our current training and verification paradigms may be unable to bridge this gap.

Introduction

Deep learning models have achieved remarkable success in classification tasks, yet they remain notoriously susceptible to adversarial attacks—tiny, often imperceptible changes to input data that lead to incorrect predictions. While empirical methods like adversarial training attempt to mitigate this, a fundamental question remains: is it theoretically possible to guarantee both accuracy and robustness?

"The Boundaries of Verifiable Accuracy, Robustness, and Generalisation in Deep Learning" addresses this by exploring the mathematical limits of neural network stability. The authors demonstrate that for a wide range of classification tasks, a model can be perfectly accurate on a dataset while remaining "inevitably" unstable on nearly half of its inputs. Crucially, they argue that standard training algorithms cannot distinguish between these fragile models and their robust counterparts.

Theoretical Framework and Methodology

Unlike many deep learning papers that rely on empirical benchmarks like ImageNet, this study employs a distribution-agnostic framework based on mathematical proofs. The authors construct a family of "well-behaved" synthetic data distributions ($D_\delta$) and neural architectures to analyze the inherent limitations of learning.

Geometric Arguments and Theorem 1

The core of the research lies in Theorem 1, which utilizes geometric arguments in $n$-dimensional space. By examining how unit balls and hypercubes interact and applying probability theory (specifically Hoeffding’s inequality), the authors prove that "bad" (unstable) solutions are statistically likely and often indistinguishable from "good" (stable) ones during the training process. This analysis applies to a broad class of activation functions ($K_\theta$), including ReLU and its common variants, ensuring the findings are relevant to modern architectures.

Key Insights: The Illusion of Stability

The "Unstable Twin" Phenomenon

One of the paper's most striking findings is the existence of the "unstable twin." For every perfectly robust and accurate network, there exists a corresponding network with the same architecture and nearly identical weights that, while accurate, fails catastrophically when inputs are slightly nudged. Because the difference in biases between these two networks can be made arbitrarily small, a training algorithm looking only at the loss function has no signal to prefer the stable version over the fragile one.

The 50% Instability Rule

In high-dimensional spaces, the research shows that an accurate model can be unstable on nearly half of the training or validation data. This is not a rare edge case but a statistical likelihood. This suggests that a model might pass every robustness test on a current sample, yet there remains an uncountably large family of distributions where that same model will fail on the very next data point—a concept the authors relate to "dark data."

The Limits of Regularization

Common techniques used to improve model behavior, such as weight decay or Lipschitz constraints (which limit how fast a function can change), are shown to be insufficient. The instability is not merely a result of "large weights" but is inherent to how the decision boundary is positioned relative to data points in high dimensions.

Implications for Verification

The results present a significant challenge for the field of formal verification. To truly certify a model as robust in high dimensions, the mathematical evidence suggests that a validation set would need to be exponentially large relative to the number of dimensions. This makes traditional verification computationally impossible for complex, real-world tasks.

Limitations and Future Directions

While the paper provides a rigorous look at the boundaries of deep learning, it notes several areas for further exploration:

  • Activation Functions: The current proofs focus on ReLU-like and monotone functions; extending this analysis to sigmoidal (S-shaped) activations is a planned area for future work.
  • Worst-Case vs. Average-Case: As a theoretical piece, the focus is on the existence of these boundaries. Quantifying how often these failures occur in specific applications like medical imaging or autonomous driving remains an empirical challenge.
  • Computational Costs: While adversarial training is a potential countermeasure, the authors acknowledge it is often computationally overwhelming for high-dimensional data, leaving a need for more efficient robust training methods.

Conclusion

This research highlights a fundamental tension in deep learning: the very features that allow models to be highly accurate in high dimensions may also make them inherently difficult to stabilize and verify. Understanding these geometric boundaries is a critical step toward developing the next generation of truly robust artificial intelligence.

Summary updated

BibTeX
@inproceedings{bastounis2023boundaries,
  author = {Alexander Bastounis and Alexander N. Gorban and Anders C. Hansen and Desmond J. Higham and Danil V. Prokhorov and Oliver J. Sutton and Ivan Yu. Tyukin and Qinghua Zhou},
  title = {{The Boundaries of Verifiable Accuracy, Robustness, and Generalisation in Deep Learning}},
  booktitle = {ICANN},
  year = {2023},
  doi = {10.1007/978-3-031-44207-0\_44},
}
Figure