Use as Many Surrogates as You Want: Selective Ensemble Attack to Unleash Transferability without Sacrificing Resource Efficiency
Bo Yang, Hengwei Zhang, Jindong Wang, Yuchen Ren, Chenhao Lin, Chao Shen, Zhengyu Zhao
TL;DR
The paper identifies a fundamental trade-off in transfer-based adversarial attacks: increasing transferability by using more surrogate models typically worsens resource efficiency when models are kept identical across iterations. It introduces Selective Ensemble Attack (SEA), a method that decouples within-iteration and cross-iteration diversity by dynamically selecting diverse surrogates from a pool of pre-trained models across iterations while keeping the per-iteration model count fixed. SEA achieves higher transferability than traditional ensemble attacks and other advanced strategies, demonstrated on ImageNet and in real-world scenarios such as commercial vision APIs and LVLMs, with about an 8.5% average gains under similar resource budgets. The approach offers a practical, adaptable framework for balancing transferability and efficiency and can potentially extend to domains beyond image classification.
Abstract
In surrogate ensemble attacks, using more surrogate models yields higher transferability but lower resource efficiency. This practical trade-off between transferability and efficiency has largely limited existing attacks despite many pre-trained models are easily accessible online. In this paper, we argue that such a trade-off is caused by an unnecessary common assumption, i.e., all models should be \textit{identical} across iterations. By lifting this assumption, we can use as many surrogates as we want to unleash transferability without sacrificing efficiency. Concretely, we propose Selective Ensemble Attack (SEA), which dynamically selects diverse models (from easily accessible pre-trained models) across iterations based on our new interpretation of decoupling within-iteration and cross-iteration model diversity. In this way, the number of within-iteration models is fixed for maintaining efficiency, while only cross-iteration model diversity is increased for higher transferability. Experiments on ImageNet demonstrate the superiority of SEA in various scenarios. For example, when dynamically selecting 4 from 20 accessible models, SEA yields 8.5% higher transferability than existing attacks under the same efficiency. The superiority of SEA also generalizes to real-world systems, such as commercial vision APIs and large vision-language models. Overall, SEA opens up the possibility of adaptively balancing transferability and efficiency according to specific resource requirements.
