Tuning for Two Adversaries: Enhancing the Robustness Against Transfer and Query-Based Attacks using Hyperparameter Tuning
Pascal Zimmer, Ghassan Karame

TL;DR
This paper analyzes how hyperparameter tuning affects model robustness against transfer and query-based attacks, revealing opposing effects of learning rate adjustments and proposing joint tuning strategies for improved security.
Contribution
It provides the first detailed analysis of hyperparameter impacts on robustness against different attack types, supported by theory and experiments across various training setups.
Findings
Decreasing learning rate improves robustness against transfer attacks by up to 64%.
Increasing learning rate enhances robustness against query attacks by up to 28%.
Distributed training models benefit most from hyperparameter tuning, balancing both attack defenses.
Abstract
In this paper, we present the first detailed analysis of how training hyperparameters -- such as learning rate, weight decay, momentum, and batch size -- influence robustness against both transfer-based and query-based attacks. Supported by theory and experiments, our study spans a variety of practical deployment settings, including centralized training, ensemble learning, and distributed training. We uncover a striking dichotomy: for transfer-based attacks, decreasing the learning rate significantly enhances robustness by up to . In contrast, for query-based attacks, increasing the learning rate consistently leads to improved robustness by up to across various settings and data distributions. Leveraging these findings, we explore -- for the first time -- the training hyperparameter space to jointly enhance robustness against both transfer-based and query-based attacks. Our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Privacy-Preserving Technologies in Data · Domain Adaptation and Few-Shot Learning
