Robustness from Simple Classifiers

Sharon Qian, Dimitris Kalimeris, Gal Kaplun, Yaron SingerarXiv 2020

Abstract

Adversarial robustness remains a significant challenge in deep learning, where small perturbations can lead to misclassification. This paper explores the relationship between task complexity and robustness, demonstrating that simpler classifiers with fewer output classes are inherently more resilient to attacks. We introduce ROBIN (RObust BINary Aggregation), a method that decomposes multiclass problems into ensembles of binary classifiers, achieving superior robustness without compromising standard accuracy.

Introduction

Deep Neural Networks (DNNs) are notoriously fragile to adversarial attacks—carefully crafted, imperceptible noise that triggers incorrect predictions. While adversarial training offers some protection, the fundamental drivers of vulnerability are not fully understood. This research investigates whether the complexity of a classification task—specifically the number of target classes—impacts a model's susceptibility to attack. Contrary to standard learning paradigms where more granular labels often improve performance, we find that elaborate label information can actively harm adversarial robustness.

Methods: RObust BINary Aggregation (ROBIN)

To leverage the inherent robustness of simpler tasks, we propose ROBIN. The approach follows a three-step process:

  1. Decomposition: A $k$-class problem is broken down into $k$ independent binary "one-vs-all" classification tasks.
  2. Adversarial Training: Each binary classifier is trained independently using Projected Gradient Descent (PGD) to ensure local robustness.
  3. Aggregation: Final predictions are made by selecting the class corresponding to the binary classifier with the highest confidence score.

To validate ROBIN, it was tested against strong white-box attacks, including a specialized SOFTMAX attack designed to exploit the aggregation logic, ensuring the defense is not merely a result of gradient obfuscation.

A key finding of this work is that the "safe zone" around data points is significantly larger in simpler models. In a multiclass setting, the proximity of numerous decision boundaries makes it easier for an attacker to push a sample into an incorrect region.

Figure 1: Distribution of distances to the decision boundary. Binary classifiers exhibit a larger average distance to the boundary compared to multiclass models, providing a greater margin of safety against perturbations.

Furthermore, the adversarial directions for different binary "arms" in the ROBIN ensemble tend to be misaligned (orthogonal). An attack optimized to fool one binary classifier is unlikely to succeed against others, creating a natural defensive "disagreement" within the ensemble.

Experimental Results

The authors evaluated ROBIN on MNIST and CIFAR-10 datasets using architectures like ResNet-18 and ResNet-50. The results consistently show that as the number of classes in a task increases, robust accuracy tends to decline, even when standard accuracy remains high or improves.

Figure 6: The impact of class count on accuracy. As the number of classes increases, robust accuracy (teal) significantly decreases, while standard accuracy (blue) remains stable or improves, highlighting the trade-off between task complexity and security.

On CIFAR-10 with a ResNet-18, ROBIN achieved a 1-3% improvement in robust accuracy over standard multiclass baselines. On simpler CNN architectures, these gains reached over 10%. Importantly, ROBIN is complementary to other defense mechanisms like TRADES and MART, acting as a performance multiplier for state-of-the-art robust training methods.

Limitations and Conclusion

While effective, ROBIN introduces a "complexity tax" in terms of parameters, as the model count scales linearly with the number of classes. This presents scalability challenges for massive datasets like ImageNet. Future work will focus on more efficient aggregation strategies and hierarchical decompositions to mitigate these overheads.

By shifting the focus from model size to task decomposition, this research provides a compelling strategy for building more resilient AI systems through the power of simplicity.

Summary updated

BibTeX
@misc{qian2020robustness,
  author = {Sharon Qian and Dimitris Kalimeris and Gal Kaplun and Yaron Singer},
  title = {{Robustness from Simple Classifiers}},
  year = {2020},
  eprint = {2002.09422},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.09422},
}
Figure