Consensus-based optimization for closed-box adversarial attacks and a connection to evolution strategies

Tim Roith, Leon Bungert, Philipp Wacker
6/30/2025
math.OCcs.LG

No official code found. Best implementation: TimRoith/AdversarialCBO (3 stars, last commit 2025-07-04).

Abstract

Consensus-based optimization (CBO) has established itself as an efficient gradient-free optimization scheme, with attractive mathematical properties, such as mean-field convergence results for non-convex loss functions. In this work, we study CBO in the context of closed-box adversarial attacks, which are imperceptible input perturbations that aim to fool a classifier, without accessing its gradient. Our contribution is to establish a connection between the so-called consensus hopping as introduced by Riedl et al. and natural evolution strategies (NES) commonly applied in the context of adversarial attacks and to rigorously relate both methods to gradient-based optimization schemes. Beyond that, we provide a comprehensive experimental study that shows that despite the conceptual similarities, CBO can outperform NES and other evolutionary strategies in certain scenarios.

View on arXivView PDF

Code Implementations(1)

30PythonMar 27, 20231 years ago

Similar Papers

Cite this paper

@article{roith2025consensusbased,
  title  = {Consensus-based optimization for closed-box adversarial attacks and a connection to evolution strategies},
  author = {Tim Roith and Leon Bungert and Philipp Wacker},
  year   = {2025},
  eprint = {2506.24048},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.24048v1}
}

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/2506.24048.svg)](https://codeofpaper.com/paper/2506.24048)

Discussion