Abstract
Adversarial examples pose a security threat to many critical systems built on neural networks. Given that deterministic robustness often comes with significantly reduced accuracy, probabilistic robustness (i.e., the probability of having the same label with a vicinity is $\ge 1-\kappa$) has been proposed as a promising way of achieving robustness whilst maintaining accuracy. However, existing training methods for probabilistic robustness still experience non-trivial accuracy loss. It is unclear whether there is an upper bound on the accuracy when optimising towards probabilistic robustness, and whether there is a certain relationship between $\kappa$ and this bound. This work studies these problems from a Bayes error perspective. We find that while Bayes uncertainty does affect probabilistic robustness, its impact is smaller than that on deterministic robustness. This reduced Bayes uncertainty allows a higher upper bound on probabilistic robust accuracy than that on deterministic robust accuracy. Further, we prove that with optimal probabilistic robustness, each probabilistically robust input is also deterministically robust in a smaller vicinity. We also show that voting within the vicinity always improves probabilistic robust accuracy and the upper bound of probabilistic robust accuracy monotonically increases as $\kappa$ grows. Our empirical findings also align with our results.
Introduction: The Robustness-Accuracy Trade-off
In AI security, a persistent challenge is the trade-off between robustness and accuracy. Achieving "deterministic robustness" (DR)—where a model's prediction remains unchanged for any perturbation within a defined neighborhood—often results in a significant drop in clean accuracy, sometimes exceeding 35%.
To mitigate this, researchers introduced probabilistic robustness (PR). PR allows for a small tolerance level ($\kappa$), requiring the model to maintain the correct label for at least a $(1-\kappa)$ fraction of points within a vicinity. While PR models often outperform DR models in practice, their theoretical limits remained unexplored. This paper establishes the "speed limit" for PR by analyzing the Bayes error—the inherent uncertainty in data—and provides a framework to calculate the upper bound of probabilistic robust accuracy.
Theoretical Framework: The Shrinking Vicinity
The authors derive the theoretical limits of PR using statistical learning theory and geometry. A central contribution is the "Shrinking Vicinity" Theorem, which proves that a point probabilistically robust in a large neighborhood is mathematically equivalent to a point deterministically robust in a smaller, "shrunken" neighborhood.
By establishing this relationship, the authors translate the known Bayes error for deterministic robustness into a new, higher bound for probabilistic robustness. They specifically quantify how this bound scales with data dimensionality ($n$) and the tolerance level ($\kappa$). For the $L_\infty$ norm, the shrunken vicinity size is quantified as $\epsilon(1 - (2\kappa)^{1/n})$, showing how high dimensionality actually benefits probabilistic robustness.
Empirical Results and Validation
The theoretical bounds were validated across four datasets: synthetic 2D datasets (Moons and Chan) and image benchmarks (FashionMNIST and CIFAR-10).
Key findings from the empirical study include:
- Higher Accuracy Ceilings: The upper bound for PR accuracy is strictly higher than that for DR. On CIFAR-10, the PR bound was over 27% higher than the deterministic counterpart.
- Model Alignment: State-of-the-art training methods, including Data Augmentation (DA), Randomized Smoothing (RS), and Condition Value-at-Risk (CVaR), all respected the theoretical upper bounds. On CIFAR-10, CVaR methods performed within 0.2% of the theoretical limit.
- Optimal Strategy: The theory suggests that "voting" within a vicinity—predicting the most popular label—is optimal. Empirically, adding a voting mechanism to existing models improved robust accuracy by an average of 1.58%.
Key Insights
- Dimensionality Advantage: In high-dimensional spaces, the "shrunken" vicinity remains relatively large, explaining why PR is more efficient than DR for complex tasks like image recognition.
- Monotonicity of Tolerance: The accuracy upper bound increases predictably as the tolerance $\kappa$ grows. The most significant gains occur at small values of $\kappa$, suggesting that even minimal flexibility in robustness requirements can yield substantial accuracy improvements.
Limitations and Future Outlook
While providing a rigorous theoretical foundation, the work has limitations. Calculating the exact upper bound requires knowledge of the "true" posterior probability distribution, which is typically unknown in real-world scenarios. Additionally, while the logic is general, specific geometric derivations focused on the $L_\infty$ norm. Future research could extend these derivations to other norms like $L_2$ and develop new training algorithms directly optimized for the MAP decision rule identified in this study.
Summary updated