TL;DR
HO-FMN introduces a modular and automatically tuned version of the Fast Minimum-Norm (FMN) adversarial attack. By leveraging Bayesian Optimization to select the best loss functions, optimizers, and hyperparameters for a specific model, it provides a more accurate and complete evaluation of adversarial robustness than traditional fixed-budget attacks.
What Problem Does This Paper Address?
Evaluating the robustness of machine learning models against adversarial attacks is notoriously difficult. Most researchers rely on gradient-based attacks like Projected Gradient Descent (PGD) or AutoAttack. However, these methods have two major drawbacks:
- Optimistic Bias: Attacks are often run with default hyperparameters (like learning rate or step size) and fixed loss functions. If the attack fails to break a model, it might just be because the attack was poorly tuned, not because the model is actually robust.
- Limited Scope: Many evaluations use "fixed-budget" attacks that only test robustness at a single perturbation level (e.g., $\epsilon = 8/255$). This provides a single data point rather than a complete picture of how a model behaves as the perturbation size increases.
The authors address these gaps by creating a flexible attack framework that tunes itself to the specific model it is trying to break.
Methods
The core of the paper is HO-FMN (Hyperparameter Optimization for Fast Minimum-Norm). The approach consists of two main parts:
- Modular FMN: The authors took the existing Fast Minimum-Norm attack and broke it down into interchangeable components. Instead of being locked into one configuration, the attack can now use different Loss Functions (Logit Loss, Cross-Entropy, or Difference of Logit Ratio), Optimizers (SGD, Adam, or AdaMax), and Step-size Schedulers (Cosine Annealing or a custom sample-wise "Reduced on Plateau").
- Bayesian Optimization (BO): To avoid the "curse of dimensionality" in manual tuning, the authors use BO to automatically find the best hyperparameters for these components. Specifically, they use Gaussian Process Regression to predict which hyperparameters will result in the smallest adversarial perturbations.
Unlike fixed-budget attacks, FMN is a minimum-norm attack. It doesn't just ask "can I break this model at $\epsilon=0.03$?"; it asks "what is the smallest possible change I can make to this image to flip the model's prediction?" This allows the researchers to generate a full "Robustness Evaluation Curve" from a single run.
Datasets
The authors evaluated their method using:
- CIFAR-10: A standard dataset of small images across 10 classes. They used a subset of 4,096 samples for tuning and 1,000 for final testing.
- ImageNet: A large-scale image dataset. They used 1,000 samples to demonstrate the scalability of their approach.
- RobustBench Models: They tested HO-FMN against 12 state-of-the-art robust models ($M_1$ through $M_{12}$), including models trained with denoising diffusion and synthetic data.
Key Insights and Ideas
- DLR Loss is Superior: The Difference of Logit Ratio (DLR) loss consistently outperformed standard Logit Loss and Cross-Entropy. The authors attribute this to DLR being more "scale-invariant," which makes the optimization process more stable across different models.
- No "One-Size-Fits-All" Attack: The best attack configuration varied by model. Some models were more vulnerable to Adam-based attacks, while others required Gradient Descent with specific schedulers. This proves that "default" attack settings are insufficient for rigorous evaluation.
- Efficiency via Minimum-Norm: While fixed-budget attacks like APGD require multiple runs to find the minimum perturbation (using binary search), HO-FMN finds it in one go. This makes it significantly more efficient for generating full robustness curves.
Key Results
- Better Attacks: HO-FMN outperformed the baseline FMN and the popular APGD attack in 10 out of 12 models tested. It consistently found smaller adversarial perturbations, meaning the models were less robust than previously thought.
- ImageNet Success: On ImageNet, HO-FMN beat all baseline attacks for every model tested.
- Acceptable Overhead: The Bayesian Optimization step adds roughly 23 seconds of overhead for 32 trials on a batch of 128 samples. The authors argue this is a small price to pay for a much more reliable robustness estimate.
Limitations and Future Work
- Search Space Complexity: As more components and hyperparameters are added to the modular framework, the optimization time will increase. The authors suggest developing heuristics to "filter" out bad configurations early in the process.
- Norm Constraints: This study focused primarily on the $\ell_\infty$ norm (limiting the maximum change to any single pixel). The authors plan to extend this work to other norms like $\ell_0, \ell_1,$ and $\ell_2$.
- Initialization: Currently, the attack starts from the original image ($\delta=0$). Future work could explore different initialization strategies to further improve the attack's success rate.
Summary updated