Evading classifiers in discrete domains with provable optimality guarantees

Bogdan Kulynych, Jamie Hayes, Nikita Samarin, Carmela Troncoso
10/25/2018
22 citations
cs.LGcs.CRstat.ML

Official code: spring-epfl/trickster (47 stars, Jupyter Notebook, MIT, last commit 2022-12-08).

Abstract

Machine-learning models for security-critical applications such as bot, malware, or spam detection, operate in constrained discrete domains. These applications would benefit from having provable guarantees against adversarial examples.

Show full abstract

The existing literature on provable adversarial robustness of models, however, exclusively focuses on robustness to gradient-based attacks in domains such as images. These attacks model the adversarial cost, e.g., amount of distortion applied to an image, as a $p$-norm. We argue that this approach is not well-suited to model adversarial costs in constrained domains where not all examples are feasible. We introduce a graphical framework that (1) generalizes existing attacks in discrete domains, (2) can accommodate complex cost functions beyond $p$-norms, including financial cost incurred when attacking a classifier, and (3) efficiently produces valid adversarial examples with guarantees of minimal adversarial cost. These guarantees directly translate into a notion of adversarial robustness that takes into account domain constraints and the adversary's capabilities. We show how our framework can be used to evaluate security by crafting adversarial examples that evade a Twitter-bot detection classifier with provably minimal number of changes; and to build privacy defenses by crafting adversarial examples that evade a privacy-invasive website-fingerprinting classifier.

View on arXivView PDF

Code Implementations(1)

MIT

Library and experiments for attacking machine learning in discrete domains

472Jupyter Notebook, PythonMay 4, 20183 years agoMIT
adversarial-machine-learninggraph-algorithmsmachine-learning

Similar Papers

Cite this paper

@article{kulynych2018evading,
  title  = {Evading classifiers in discrete domains with provable optimality guarantees},
  author = {Bogdan Kulynych and Jamie Hayes and Nikita Samarin and Carmela Troncoso},
  year   = {2018},
  eprint = {1810.10939},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.10939}
}

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

Discussion