Anti-bandit Neural Architecture Search for Model Defense

Hanlin Chen, Baochang Zhang, Song Xue, Xuan Gong, Hong Liu, Rongrong Ji, David S. Doermann · OpenReview

Introduction

Deep Convolutional Neural Networks (DCNNs) have achieved remarkable success in computer vision but remain notoriously vulnerable to adversarial perturbations—small, often imperceptible changes to input images that can trigger catastrophic misclassifications. While adversarial training is a proven defense, it is computationally prohibitive. Automating the design of robust networks through Neural Architecture Search (NAS) presents a "double whammy" of difficulty: the search space must be vast enough to include diverse defensive operations, yet the training overhead of evaluating these candidates under adversarial conditions is immense.

To address these challenges, this paper introduces ABanditNAS, a novel framework that treats architecture search as a multi-armed bandit problem. By utilizing confidence bounds to aggressively prune underperforming operations, ABanditNAS discovers highly defensive architectures with unprecedented efficiency.

The ABanditNAS Framework

ABanditNAS refines the search process by borrowing mathematical principles from reinforcement learning. The core innovation lies in its "Anti-Bandit" strategy, which balances the exploration of new operations with the exploitation of known high-performers to minimize search time.

The ABanditNAS framework overview, illustrating the cycle between sampling operations via Lower Confidence Bounds (LCB) and pruning the search space via Upper Confidence Bounds (UCB).

1. LCB for Fair Sampling

Traditional bandit algorithms often use an Upper Confidence Bound (UCB) to select the most promising "arm." However, ABanditNAS uses a Lower Confidence Bound (LCB) for sampling. This ensures "fair competition" by giving more chances to operations that have not been tested extensively. This mechanism prevents the search from prematurely converging on "fast learners" (simple operations that perform well early) and allows "slow learners" (complex, parameterized convolutions) the time needed to prove their long-term value.

2. UCB for Search Space Pruning

To manage complexity, the framework uses a UCB-based pruning strategy. If an operation's best-case potential (its UCB) falls below the performance of other candidates, it is permanently removed from the search space. This approach reduces the search complexity from exponential to polynomial, allowing the algorithm to converge on an optimal architecture in a fraction of the time required by traditional methods.

Defense-Oriented Search Space

Unlike standard NAS frameworks that focus on generic convolutions and pooling, ABanditNAS incorporates a specialized, defense-oriented search space. This includes bio-inspired Gabor filters, which are mathematically more robust to spatial perturbations, and dedicated denoising blocks designed to filter out adversarial noise before it propagates through the network.

Architectural components of the search space, including (a) the cell-based DAG structure, (b) Gabor filters, and (c) the residual denoising operation block.

Key structural insights emerged from the search: the discovered architectures consistently placed Gabor filters and denoising blocks at the beginning of the network cells. This suggests that "cleaning" the input signal early is a fundamental requirement for structural robustness.

Experimental Results

The efficiency of ABanditNAS is a significant breakthrough. The entire search process on CIFAR-10 takes approximately 1.93 to 1.94 hours on a single NVIDIA Titan V GPU—a massive speedup compared to reinforcement learning-based NAS, which can require thousands of GPU days.

In terms of performance, ABanditNAS achieved 58.74% accuracy under a standard PGD-7 white-box attack on CIFAR-10. This represents an 8.73% improvement over previous NAS-based defense methods. Furthermore, the discovered models demonstrated strong transferability, outperforming manually designed robust architectures like Wide-ResNet even against "black-box" attacks where the internal parameters of the model are unknown to the attacker.

Conclusion

ABanditNAS demonstrates that robust neural architectures can be discovered efficiently by framing the search as an anti-bandit problem. By combining aggressive UCB-based pruning with a defense-centric search space, the framework provides a practical path for researchers to develop secure DCNNs without requiring massive computational clusters. Future work will explore how these robust cells scale to larger datasets like ImageNet and investigate more flexible, non-cell-based macro-architectures.

Summary updated

BibTeX
@inproceedings{chen2020anti,
  author = {Hanlin Chen and Baochang Zhang and Song Xue and Xuan Gong and Hong Liu and Rongrong Ji and David S. Doermann},
  title = {{Anti-bandit Neural Architecture Search for Model Defense}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58601-0\_5},
}
Figure