Source-linked AI summary

Wild Patterns: Ten Years After the Rise of Adversarial Machine Learning

Battista Biggio, Fabio Roli

arXiv:1712.03141v2cs.CVcs.CRcs.GTcs.LG

TL;DR

Learning systems perform well across vision and cybersecurity but can be subverted by adversarial perturbations at training or test time. This paper surveys the field’s evolution, connects earlier and deep-learning research, reviews threat models and attacks, and identifies limitations and future challenges for more secure learning algorithms.

  • Problem

    Learning-based classifiers can be easily subverted by carefully crafted adversarial inputs, creating a need to understand their security and suitable countermeasures.

  • Method

    The paper provides a historical and interdisciplinary overview, connecting non-deep and deep-learning security research while reviewing threat models, attacks, and defenses.

  • Results

    The survey presents a clearer historical picture and guidelines for assessing and improving machine-learning security against adversarial attacks.

  • Takeaways & Limitations

    Secure learning requires proactive threat modeling, attack simulation, and defense design that account for the attacker during system development.

  • Takeaways & Limitations

    Secure learning algorithms cannot distinguish adversarial examples whose feature vectors are indistinguishable from training samples of different classes, making robust features an additional requirement.

Abstract

from arXiv · show

Learning-based pattern classifiers, including deep networks, have shown impressive performance in several application domains, ranging from computer vision to cybersecurity. However, it has also been shown that adversarial input perturbations carefully crafted either at training or at test time can easily subvert their predictions. The vulnerability of machine learning to such wild patterns (also referred to as adversarial examples), along with the design of suitable countermeasures, have been investigated in the research field of adversarial machine learning. In this work, we provide a thorough overview of the evolution of this research area over the last ten years and beyond, starting from pioneering, earlier work on the security of non-deep learning algorithms up to more recent work aimed to understand the security properties of deep learning algorithms, in the context of computer vision and cybersecurity tasks. We report interesting connections between these apparently-different lines of work, highlighting common misconceptions related to the security evaluation of machine-learning algorithms. We review the main threat models and attacks defined to this end, and discuss the main limitations of current work, along with the corresponding future challenges towards the design of more secure learning algorithms.

1. Introduction

Adversarial machine learning studies how carefully perturbed inputs can subvert learning systems and how to secure them. This survey places recent deep-learning work within a longer history of attacks, defenses, and security-evaluation methods.

  • Motivation: Adversarial examples can fool high-performing learning systems in applications spanning computer vision and cybersecurity.The paper describes carefully perturbed test-time inputs as a source of misclassification.
  • Historical context: Adversarial machine learning was established before 2014, despite recent work often treating deep-network attacks as the field’s starting point.The paper identifies earlier workshops and research on machine-learning security and emphasizes that the field’s origin predates deep learning’s renewed attention.
  • Historical context: Dalvi et al. and Lowd and Meek showed in 2004 that linear spam classifiers could be tricked by a few carefully crafted, readable email changes.This work is presented as the first adversarial-example research against linear spam-filtering classifiers.
  • Research evolution: The field has developed training-time poisoning and test-time evasion attacks, systematic security evaluations, and countermeasures.The cited work covers attacks against machine learning at both training and test time and related evaluation methodologies.
  • Paper scope: The survey connects non-deep and deep-learning security research while highlighting misconceptions about how learning algorithms should be evaluated.Its scope spans computer vision and cybersecurity tasks and includes historical and methodological synthesis.

2. Arms Race and Security by Design

Machine-learning security evolves as an arms race between increasingly sophisticated attacks and defenses. The paper advocates proactive security by design, in which threats and countermeasures are simulated before deployment rather than addressed only after new attacks appear.

  • Arms race: Machine-learning and pattern-recognition security systems participate in an arms race as attacks increase in number, variability, and sophistication.Automatic attack-design tools and phishing kits make stealthier attacks practical at scale.
  • Spam arms race: In spam filtering, spammers obfuscate message content to evade rule-based filters and text classifiers.Examples include misspelling words associated with spam and adding words associated with legitimate messages.
  • Reactive and proactive security: Reactive defenses respond to newly deployed attacks but cannot prevent the risk of previously unseen attacks.The proactive alternative anticipates relevant threats before deployment.
  • Reactive and proactive security: Proactive security by design identifies and simulates relevant threats, devises countermeasures when necessary, and repeats the process before deployment.The cycle explicitly models the attacker as part of system design.

3. Know Your Adversary: Modeling Threats

The paper models adversaries by their goals, knowledge, and ability to manipulate data, then uses this threat model to evaluate attacks systematically. Security evaluation should vary both attacker knowledge and attack strength, because clean accuracy alone may favor a less robust classifier.

  • Threat-model framework: The threat model specifies the attacker’s goal, system knowledge, and capability to manipulate input data before formulating an optimal attack strategy.The framework covers supervised-learning attacks and distinguishes training-time poisoning from test-time evasion.
  • Attacker’s goal: Attack goals include integrity, availability, and privacy violations, corresponding respectively to evading detection, disrupting normal functionality, or obtaining private system information.
  • Attacker’s knowledge: Attacker knowledge ranges from perfect knowledge of training data, features, algorithms, objectives, and parameters to limited- and zero-knowledge settings.Surrogate learners can support attacks when the target algorithm is unknown or difficult to optimize directly.
  • Attacker’s knowledge: Zero-knowledge assumptions are not completely knowledge-free: attackers generally know the task and therefore the relevant feature and training-data domains.For image classifiers, the input features are known to be image pixels; for animal classification, the training data are known to contain animal images, even if exact samples are unknown.
  • Attacker’s capability: Attack influence is causative when training and test data can be manipulated, and exploratory when only test data can be manipulated.These cases are commonly called poisoning and evasion attacks, respectively.
  • Security evaluation: Security evaluation should increase attack strength, such as perturbation magnitude or injected poisoning points, rather than rely only on clean accuracy.Security curves can reverse the preference between classifiers when a more accurate classifier proves less robust under stronger attacks.

4. Be Proactive: Simulating Attacks

The paper frames evasion and poisoning as optimization problems under explicit threat models, then contrasts attack objectives, constraints, and security-evaluation strategies. It emphasizes that worst-case, maximum-confidence attacks and consistent threat assumptions are necessary for meaningful security assessment.

  • Threat modeling: Evasion manipulates test-time inputs, whereas poisoning manipulates training data or learned models to alter later behavior.The framework formalizes both attack types through attacker goals, knowledge, capabilities, and data-manipulation constraints.
  • Evasion attacks: Error-generic evasion seeks any wrong label, while error-specific evasion targets a selected competing class under a feasible perturbation domain.The closest competing class is chosen for error-generic attacks; error-specific attacks shift samples toward a designated target class.
  • Attack constraints: Image attacks use distance and box constraints to control perturbation density, magnitude, pixel values, or manipulated regions.ℓ2 and ℓ∞ perturbations typically distribute small changes across pixels, whereas ℓ1 perturbations produce sparse changes.
  • Historical remarks: 0.025% of malicious examples evaded an RBF-kernel SVM under the most aggressive tested strategy, but this apparent robustness lacked a rigorous explanation.The reported intuition attributed robustness to a difficult-to-invert nonlinear transformation.
  • Security evaluation: Worst-case threat assumptions invalidate security comparisons based on attacks tailored only to linear classifiers, because nonlinear models may appear robust to insufficiently powerful attacks.Different systems should be evaluated under the same threat model rather than inferred secure from weaker, non-targeted attacks.
  • Security evaluation: Maximum-confidence attacks and security-evaluation curves provide stronger assessment than minimally perturbed examples by tracing performance across increasing attack strength.The curves relate a perturbation bound ϵ to a corresponding allowable performance drop δ, whereas minimal examples mainly characterize sensitivity at an average perturbation level.

5. Protect Yourself: Security Measures for Learning Algorithms

The paper organizes defenses around reactive responses to past attacks and proactive measures that prevent future attacks, including security by design and security by obscurity. These approaches detect and respond to attacks, constrain adversarial effects, or alter classifier boundaries, but involve important security trade-offs and limitations.

  • Reactive defenses: Reactive defenses counter past attacks through timely detection, classifier retraining, and consistency checks against training data and ground-truth labels.
  • Proactive defenses: Proactive defenses aim to prevent future attacks through security-by-design methods that incorporate adversarial manipulation into learning and security-by-obscurity methods that hide information.
  • Security-by-design defenses: Game-theoretic defenses model adversarial learning with zero-sum, Nash, or Stackelberg games, but their practical representativeness remains unresolved.
  • Security-by-design defenses: Robust optimization trains classifiers against worst-case bounded perturbations by minimizing the maximum training loss induced by manipulated training points.
  • Security-by-design defenses: Defenses can detect blind-spot samples, use ensembles, or smooth decision functions, while ensemble security depends on properly combining the base classifiers.
  • Effects on decision boundaries: Retraining and rejection mechanisms may tighten class enclosures, trading security against attacks for errors on stationary test samples, while regularization creates noise-specific margins.
  • Limitations: Secure learning algorithms cannot counter examples whose feature vectors are indistinguishable from training samples of different classes, so feature robustness remains an additional requirement.

6. Conclusions and Future Work

The paper surveys machine-learning security and proposes future work for adversarial environments, where unknown unknowns remain difficult to model and detect.

  • The paper presents a historical overview of machine-learning security to clarify the field’s development and guide assessment and improvement against adversarial attacks.
  • Open-world deployments can confidently misclassify never-before-seen inputs that differ substantially from known training data.
  • Modeling attacks depends on known unknowns, whereas unknown unknowns remain unpredictable even when proactive mitigations are used.
  • Future research should complement formal verification and certified defenses with robust anomaly or novelty detection and human intervention when needed.
  • Interpretability methods could help designers investigate underrepresented cases and decide whether to trust systems’ decisions on unknown unknowns.
Loading 1712.03141v2…