Ensemble-in-One: Ensemble Learning within Random Gated Networks for Enhanced Adversarial Robustness

Authors

  • Yi Cai Tsinghua University
  • Xuefei Ning Tsinghua University
  • Huazhong Yang Tsinghua University
  • Yu Wang Tsinghua University

DOI:

https://doi.org/10.1609/aaai.v37i12.26722

Keywords:

General

Abstract

Adversarial attacks have threatened modern deep learning systems by crafting adversarial examples with small perturbations to fool the convolutional neural networks (CNNs). To alleviate that, ensemble training methods are proposed to facilitate better adversarial robustness by diversifying the vulnerabilities among the sub-models, simultaneously maintaining comparable natural accuracy as standard training. Previous practices also demonstrate that enlarging the ensemble can improve the robustness. However, conventional ensemble methods are with poor scalability, owing to the rapidly increasing complexity when containing more sub-models in the ensemble. Moreover, it is usually infeasible to train or deploy an ensemble with substantial sub-models, owing to the tight hardware resource budget and latency requirement. In this work, we propose Ensemble-in-One (EIO), a simple but effective method to efficiently enlarge the ensemble with a random gated network (RGN). EIO augments a candidate model by replacing the parametrized layers with multi-path random gated blocks (RGBs) to construct an RGN. The scalability is significantly boosted because the number of paths exponentially increases with the RGN depth. Then by learning from the vulnerabilities of numerous other paths within the RGN, every path obtains better adversarial robustness. Our experiments demonstrate that EIO consistently outperforms previous ensemble training methods with smaller computational overheads, simultaneously achieving better accuracy-robustness trade-offs than adversarial training methods under black-box transfer attacks. Code is available at https://github.com/cai-y13/Ensemble-in-One.git

Downloads

Published

2023-06-26

How to Cite

Cai, Y., Ning, X., Yang, H., & Wang, Y. (2023). Ensemble-in-One: Ensemble Learning within Random Gated Networks for Enhanced Adversarial Robustness. Proceedings of the AAAI Conference on Artificial Intelligence, 37(12), 14738-14747. https://doi.org/10.1609/aaai.v37i12.26722

Issue

Section

AAAI Special Track on Safe and Robust AI