[Paper Review] A Bayes-Optimal View on Adversarial Examples
This paper introduces a tractable, realistic synthetic dataset framework where Bayes-optimal classifiers can be computed exactly, demonstrating that adversarial vulnerability is not inevitable in high-dimensional spaces. It shows that while CNNs consistently learn vulnerable classifiers even when the Bayes-optimal classifier is provably robust, RBF SVMs reliably learn robust models, indicating adversarial examples are often an avoidable failure of training methods rather than an inherent geometric limitation.
Since the discovery of adversarial examples - the ability to fool modern CNN classifiers with tiny perturbations of the input, there has been much discussion whether they are a "bug" that is specific to current neural architectures and training methods or an inevitable "feature" of high dimensional geometry. In this paper, we argue for examining adversarial examples from the perspective of Bayes-Optimal classification. We construct realistic image datasets for which the Bayes-Optimal classifier can be efficiently computed and derive analytic conditions on the distributions under which these classifiers are provably robust against any adversarial attack even in high dimensions. Our results show that even when these "gold standard" optimal classifiers are robust, CNNs trained on the same datasets consistently learn a vulnerable classifier, indicating that adversarial examples are often an avoidable "bug". We further show that RBF SVMs trained on the same data consistently learn a robust classifier. The same trend is observed in experiments with real images in different datasets.
Motivation & Objective
- To create realistic, tractable image datasets where the Bayes-optimal classifier can be efficiently computed.
- To analyze whether the Bayes-optimal classifier is provably robust or vulnerable under different data distribution conditions.
- To disentangle the source of adversarial vulnerability by comparing CNNs, linear SVMs, and RBF SVMs on the same data.
- To test whether robustness in optimal classifiers translates to real-world models, especially under symmetric vs. asymmetric data distributions.
- To evaluate whether symmetric synthetic datasets approximate real data well enough to draw conclusions about adversarial robustness.
Proposed method
- Construct synthetic image datasets using a Mixture of Factor Analyzers (MFA) model to generate realistic, high-dimensional data with controlled distributional properties.
- Define data distributions such that the Bayes-optimal classifier can be computed analytically using closed-form solutions based on Gaussian mixture components.
- Derive analytic conditions under which the Bayes-optimal classifier is provably robust to any L2-bounded adversarial perturbation.
- Train standard CNNs, linear SVMs, and RBF SVMs on the same synthetic datasets to compare their robustness relative to the Bayes-optimal benchmark.
- Evaluate generalization by training CNNs on symmetric synthetic data and testing on real CelebA and MNIST data to assess similarity to real-world distributions.
- Use perturbation magnitude (L2 norm) and visual inspection to quantify adversarial robustness across models and datasets.
Experimental results
Research questions
- RQ1Under what distributional conditions is the Bayes-optimal classifier provably robust against all adversarial attacks, even in high dimensions?
- RQ2Can standard CNN training learn a robust classifier when the Bayes-optimal classifier is robust, or is vulnerability inherent to the architecture?
- RQ3Do large-margin methods like RBF SVMs consistently learn robust classifiers on the same data where CNNs fail?
- RQ4How do symmetric vs. asymmetric data distributions affect the robustness of the Bayes-optimal classifier?
- RQ5To what extent do symmetric synthetic datasets approximate real-world data in terms of model generalization and adversarial robustness?
Key findings
- In symmetric data distributions, the Bayes-optimal classifier is provably robust, requiring large, perceptually meaningful perturbations (e.g., L2 ≈ 3.0–3.1) to fool it.
- Despite the Bayes-optimal classifier being robust, standard CNN training consistently learns a vulnerable classifier, with adversarial attack success rates of 0% to 2% on symmetric datasets.
- RBF SVMs trained on the same data consistently learn robust classifiers, achieving 86% to 100% adversarial accuracy (with 0% to 26% attack success) on symmetric datasets.
- On real CelebA data, CNNs and linear SVMs show high adversarial vulnerability (e.g., 5.3% to 16.3% attack success), while RBF SVMs show improved robustness (e.g., 10.3% to 32.3% attack success).
- CNNs trained on symmetric synthetic data generalize well to real data, with only a 5% average accuracy drop, validating the synthetic data’s realism and utility for robustness analysis.
- The results indicate that adversarial vulnerability in CNNs is not an inevitable consequence of high-dimensional geometry but rather a failure of current training methods, as optimal classifiers remain robust under symmetric conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.