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

A Manifold View of Adversarial Risk

Wenjia Zhang, Yikai Zhang, Xiaolin Hu, Mayank Goswami, Chao Chen, Dimitris N. Metaxas · DOI

Introduction

Machine learning models are notoriously fragile. A tiny, imperceptible perturbation to an input can cause a state-of-the-art classifier to fail. While adversarial training has emerged as a primary defense, it often introduces a significant "robustness-accuracy trade-off," where gains in robustness lead to a decline in performance on clean data. This paper re-examines this phenomenon through the lens of the manifold assumption, proposing that the trade-off is not an inherent necessity but a consequence of how we treat perturbations in high-dimensional space.

The Manifold Assumption and Adversarial Risk

The manifold assumption suggests that high-dimensional data, such as images, actually lies on a much lower-dimensional manifold embedded within the ambient space. Current adversarial defense strategies typically treat all perturbations within an $\epsilon$-ball equally. However, the authors argue that the direction of these perturbations matters significantly.

They decompose adversarial risk into three distinct components based on their geometric relationship to the data manifold:

  1. In-manifold Risk ($R_{adv}^{in}$): Risk arising from perturbations that move along the manifold. These changes correspond to semantic variations (e.g., rotating an object) that remain "realistic."
  2. Normal Risk ($R_{adv}^{nor}$): Risk from perturbations that move perpendicular to the manifold, pushing data into the "empty" ambient space where no natural data exists.
  3. Nearby-Normal-Risk (NNR): A novel term representing the risk where a point on the manifold is safe, but a nearby point (within the manifold) is highly vulnerable to normal perturbations.

Theoretical Framework: Theorem 1

The core contribution of this work is a formal decomposition of adversarial risk. The authors prove Theorem 1, which establishes that total adversarial risk ($R_{adv}$) is upper-bounded by the sum of standard error ($R_{std}$), in-manifold risk, normal risk, and the NNR term:

$$R_{adv} \leq R_{std} + R_{adv}^{nor} + R_{adv}^{in} + NNR$$

This inequality suggests that by isolating and addressing specific components—particularly the normal risk—it may be possible to improve robustness without degrading standard accuracy.

Experimental Insights from Synthetic Datasets

To validate this decomposition, the authors utilized synthetic datasets where the manifold geometry is mathematically known. These included a 2D Unit Circle and a 3D Sine-Wave Plane. These controlled environments allowed for the explicit calculation of normal and tangential vectors, which is currently impossible for complex real-world datasets like ImageNet.

The experiments yielded several key insights:

  • Empirical Verification: The Right Hand Side (RHS) of the proposed inequality consistently provided a valid upper bound for measured adversarial risk across various classifier types.
  • The Pessimistic Case: Theorem 2 demonstrates that total adversarial risk can approach 100% even if both normal and in-manifold risks are zero. This occurs when the decision boundary oscillates rapidly near the manifold, a scenario captured by the NNR term.
  • Boundary Alignment: By training specifically against perturbations in the normal direction (Algorithm 1), the researchers successfully aligned the model’s decision boundaries to be perpendicular to the manifold. This alignment significantly reduced total adversarial risk without interfering with the model's performance on the manifold itself.

Discussion and Future Directions

The paper suggests that "normal" perturbations are the primary drivers of the robustness-accuracy trade-off. If a model's decision boundary is forced to be perpendicular to the data manifold, the model becomes robust to off-manifold noise without sacrificing its ability to learn the underlying data distribution.

However, a significant "manifold gap" remains. In practice, the exact equations for data manifolds are unknown. While generative models (GANs, VAEs) can approximate these manifolds, the approximations themselves introduce error. Future research must focus on developing practical "normal adversarial training" for high-dimensional datasets and exploring whether this geometric perspective explains the varying robustness of different architectures, such as Vision Transformers.

Conclusion

By viewing adversarial attacks as a geometric problem rather than a simple pixel-optimization task, this research provides a clearer roadmap for building robust models. Understanding the interplay between manifold geometry and decision boundaries is a crucial step toward resolving the long-standing trade-off between accuracy and robustness.

Summary updated

BibTeX
@inproceedings{zhang2022manifold,
  author = {Wenjia Zhang and Yikai Zhang and Xiaolin Hu and Mayank Goswami and Chao Chen and Dimitris N. Metaxas},
  title = {{A Manifold View of Adversarial Risk}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=TGzDqpTuT2},
}
Figure