HO-FMN: Hyperparameter Optimization for Fast Minimum-Norm Attacks

Raffaele Mura, Giuseppe Floris, Luca Scionis, Giorgio Piras, Maura Pintor +4 more
7/11/2024
cs.LG

No official code found. Best implementation: pralab/HOFMN (10 stars, MIT, last commit 2025-11-25).

Abstract

Gradient-based attacks are a primary tool to evaluate robustness of machine-learning models. However, many attacks tend to provide overly-optimistic evaluations as they use fixed loss functions, optimizers, step-size schedulers, and default hyperparameters. In this work, we tackle these limitations by proposing a parametric variation of the well-known fast minimum-norm attack algorithm, whose loss, optimizer, step-size scheduler, and hyperparameters can be dynamically adjusted. We re-evaluate 12 robust models, showing that our attack finds smaller adversarial perturbations without requiring any additional tuning. This also enables reporting adversarial robustness as a function of the perturbation budget, providing a more complete evaluation than that offered by fixed-budget attacks, while remaining efficient. We release our open-source code at https://github.com/pralab/HO-FMN.

View on arXivView PDF

Code Implementations(1)

pralab/HOFMNCommunity100%
MIT
101Python, Jupyter NotebookMay 5, 202310 months agoMIT

Similar Papers

Cite this paper

@article{mura2024hofmn,
  title  = {HO-FMN: Hyperparameter Optimization for Fast Minimum-Norm Attacks},
  author = {Raffaele Mura and Giuseppe Floris and Luca Scionis and Giorgio Piras and Maura Pintor and Ambra Demontis and Giorgio Giacinto and Battista Biggio and Fabio Roli},
  year   = {2024},
  eprint = {2407.08806},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.08806v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.08806.svg)](https://codeofpaper.com/paper/2407.08806)

Discussion