Abstract
Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial perturbations. We introduce Bamboo, a novel data augmentation technique that enhances robustness by sampling virtual data points from the surface of an $r$-radius hypersphere centered at each training sample. Unlike traditional adversarial training, Bamboo provides "all-direction" protection without requiring prior knowledge of specific attack algorithms, all while maintaining significantly lower computational overhead.
Introduction
Deep Neural Networks are fragile; human-indistinguishable perturbations can easily lead to misclassification. Existing defenses typically fall into two categories: adversarial training and robust optimization. Adversarial training, such as using PGD or FGSM, is computationally expensive and often overfits to specific attack types. Robust optimization methods, while theoretically grounded, often suffer from high computational burdens and scalability issues.
Bamboo addresses this gap by providing a general, efficient defense that makes no assumptions about the type of attack. By leveraging Vicinity Risk Minimization (VRM), Bamboo trains the model on a "vicinity" around each data point, specifically the surface of an $L_2$ ball.
Methodology: Hypersphere Sampling
The core innovation of Bamboo is its geometric approach to data augmentation. Instead of sampling points inside a ball, which can be data-inefficient, Bamboo samples $N$ virtual points uniformly from the surface of an $L_2$ ball with radius $r$.
Geometric Intuition
DNN decision boundaries are typically smooth with low curvature near training points. By forcing the model to correctly classify points on the "edge" of a safety radius, the decision boundary is naturally pushed further away from the original data. This increases the minimum perturbation required for a successful attack.
The algorithm is straightforward: for every training point $(x, y)$, Bamboo generates $N$ virtual points by creating a random noise vector $\delta$, normalizing it to the surface of a ball of radius $r$, and assigning it the original label $y$. This pre-processing step avoids the expensive inner-loop optimization of adversarial training.
Experimental Results
The authors evaluated Bamboo on MNIST, CIFAR-10, and ImageNet to demonstrate its scalability and generalizability.
Robustness and Boundary Smoothing
Bamboo consistently results in smoother decision boundaries that are significantly further from the training data compared to standard techniques. Quantitative analysis shows that Bamboo ("ball") achieves superior average distance to the decision boundary across datasets compared to baselines like FGSM training, Mixup, and Madry's adversarial training.
Key performance highlights include:
- MNIST Robustness: Bamboo achieved a CW robustness score of 3.554, outperforming both the original model (2.442) and PGD-based adversarial training (2.343).
- Noise Resilience: On MNIST, Bamboo maintained 95.56% accuracy under high Gaussian noise, compared to 63.58% for the baseline.
- ImageNet Performance: On the large-scale ImageNet dataset, Top-1 accuracy improved to 60.52% (from 57.33%) while simultaneously increasing robustness against FGSM attacks.
Conclusion
Bamboo offers a computationally efficient and effective "all-direction" defense against adversarial attacks. By sampling from the surface of a hypersphere, it pushes decision boundaries away from training data without overfitting to specific gradient directions. Future research will focus on formalizing the relationship between parameters $r$ and $N$ and establishing tighter theoretical robustness bounds.
Summary updated