TransferBench: Benchmarking Ensemble-Based Black-Box Transfer Attacks

Abstract

Ensemble-based black-box transfer attacks optimize adversarial examples on a set of surrogate models, claiming to reach high success rates by querying the (unknown) target model only a few times. In this work, we show that prior evaluations are systematically biased, as such methods are tested only under overly optimistic scenarios, without considering (i) how the choice of surrogate models influences transferability, (ii) how they perform against robust target models, and (iii) whether querying the target to refine the attack is really required. To address these gaps, we introduce TransferBench, a framework for evaluating ensemble-based black-box transfer attacks under more realistic and challenging scenarios than prior work. Our framework considers 17 distinct settings on CIFAR-10 and ImageNet, including diverse surrogate-target combinations, robust targets, and comparisons to baseline methods that do not use any query-based refinement mechanism. Our findings reveal that existing methods fail to generalize to more challenging scenarios, and that query-based refinement offers little to no benefit, contradicting prior claims. These results highlight that building reliable and query-efficient black-box transfer attacks remains an open challenge. We release our benchmark and evaluation code at: https://github.com/pralab/transfer-bench.

Cite

Text

Brau et al. "TransferBench: Benchmarking Ensemble-Based Black-Box Transfer Attacks." Advances in Neural Information Processing Systems, 2025.

Markdown

[Brau et al. "TransferBench: Benchmarking Ensemble-Based Black-Box Transfer Attacks." Advances in Neural Information Processing Systems, 2025.](https://mlanthology.org/neurips/2025/brau2025neurips-transferbench/)

BibTeX

@inproceedings{brau2025neurips-transferbench,
  title     = {{TransferBench: Benchmarking Ensemble-Based Black-Box Transfer Attacks}},
  author    = {Brau, Fabio and Pintor, Maura and Cinà, Antonio Emanuele and Mura, Raffaele and Scionis, Luca and Oneto, Luca and Roli, Fabio and Biggio, Battista},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2025},
  url       = {https://mlanthology.org/neurips/2025/brau2025neurips-transferbench/}
}