The Hammer and the Nut: Is Bilevel Optimization Really Needed to Poison Linear Classifiers?

Antonio Emanuele Cinà, Sebastiano Vascon, Ambra Demontis, Battista Biggio, Fabio Roli +1 more
3/23/2021
cs.LGcs.AIcs.CR

Official code: Cinofix/beta_poisoning (2 stars, Python, last commit 2021-07-18).

Abstract

One of the most concerning threats for modern AI systems is data poisoning, where the attacker injects maliciously crafted training data to corrupt the system's behavior at test time. Availability poisoning is a particularly worrisome subset of poisoning attacks where the attacker aims to cause a Denial-of-Service (DoS) attack.

Show full abstract

However, the state-of-the-art algorithms are computationally expensive because they try to solve a complex bi-level optimization problem (the "hammer"). We observed that in particular conditions, namely, where the target model is linear (the "nut"), the usage of computationally costly procedures can be avoided. We propose a counter-intuitive but efficient heuristic that allows contaminating the training set such that the target system's performance is highly compromised. We further suggest a re-parameterization trick to decrease the number of variables to be optimized. Finally, we demonstrate that, under the considered settings, our framework achieves comparable, or even better, performances in terms of the attacker's objective while being significantly more computationally efficient.

View on arXivView PDF

Code Implementations(1)

Official implementation of 'The Hammer and the Nut: Is Bilevel Optimization Really Needed to Poison Linear Classifiers?' [Submitted to IJCNN 2021]

21Python, ShellFeb 10, 20215 years ago

Similar Papers

Cite this paper

@article{cin2021hammer,
  title  = {The Hammer and the Nut: Is Bilevel Optimization Really Needed to Poison Linear Classifiers?},
  author = {Antonio Emanuele Cinà and Sebastiano Vascon and Ambra Demontis and Battista Biggio and Fabio Roli and Marcello Pelillo},
  year   = {2021},
  eprint = {2103.12399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.12399}
}

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

Discussion