Adversarial Example Soups: Improving Transferability and Stealthiness for Free
Bo Yang, Hengwei Zhang, Jindong Wang, Yulong Yang, Chenhao Lin, Chao Shen, Zhengyu Zhao
TL;DR
This work tackles the inefficiency in adversarial transferability research stemming from discarding suboptimal perturbations during hyperparameter tuning and stability tests. It introduces Adversarial Example Soups (AES), which averages multiple discarded adversarial samples (AES-tune and AES-rand) to improve transferability and stealthiness, drawing inspiration from model soups. Across 10 state-of-the-art attacks and 10 defensive target models, AES yields significant gains and can be applied to integrated attacks and in-the-wild scenarios. The approach enhances loss landscape flatness and produces higher-quality adversarial images, offering a practical, broadly applicable boost to black-box transfer attacks while also informing defense strategies.
Abstract
Transferable adversarial examples cause practical security risks since they can mislead a target model without knowing its internal knowledge. A conventional recipe for maximizing transferability is to keep only the optimal adversarial example from all those obtained in the optimization pipeline. In this paper, for the first time, we revisit this convention and demonstrate that those discarded, sub-optimal adversarial examples can be reused to boost transferability. Specifically, we propose ``Adversarial Example Soups'' (AES), with AES-tune for averaging discarded adversarial examples in hyperparameter tuning and AES-rand for stability testing. In addition, our AES is inspired by ``model soups'', which averages weights of multiple fine-tuned models for improved accuracy without increasing inference time. Extensive experiments validate the global effectiveness of our AES, boosting 10 state-of-the-art transfer attacks and their combinations by up to 13\% against 10 diverse (defensive) target models. We also show the possibility of generalizing AES to other types, \textit{e.g.}, directly averaging multiple in-the-wild adversarial examples that yield comparable success. A promising byproduct of AES is the improved stealthiness of adversarial examples since the perturbation variances are naturally reduced.
