NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adversarial Machine Learning: Bayesian Perspectives

David Rı́os Insua, Roi Naveiro, Víctor Gallego, Jason PoulosJournal of the American Statistical Association 2020

TL;DR

This paper proposes a Bayesian approach to Adversarial Machine Learning (AML) that moves beyond traditional game-theoretic models by explicitly accounting for uncertainty about adversaries' beliefs and intentions. This leads to more robust defenses against attacks, particularly in realistic security scenarios where common knowledge assumptions don't hold.

What Problem Does This Paper Address?

Machine learning (ML) systems are increasingly deployed in security-sensitive applications, but they are vulnerable to adversarial attacks where malicious actors manipulate input data to fool the system. Existing defenses often rely on game-theoretic models that assume perfect knowledge between the attacker and defender (common knowledge). This assumption is unrealistic in real-world security contexts, where adversaries try to hide their intentions and capabilities. The paper addresses this gap by proposing a framework that explicitly models the defender's uncertainty about the attacker, leading to more robust and realistic defenses.

Methods

The core of the paper's contribution is a Bayesian decision-theoretic framework for AML, building on Adversarial Risk Analysis (ARA). Instead of assuming common knowledge, the framework models the adversary's decision-making process by placing priors on unknown quantities, reflecting the defender's uncertainty. This allows for probabilistic forecasts of adversarial actions and leads to more robust inferences. The authors outline a three-stage workflow:

  1. Gathering Intelligence: Modeling the attacker's goals, knowledge, and capabilities.
  2. Forecasting Likely Attacks: Producing probabilistic models of adversarial manipulations, encoding uncertainties.
  3. Protecting ML Algorithms: Developing defenses based on these probabilistic attack models, either during training or operation.

The paper also discusses how existing game-theoretic approaches (like adversarial training) can be seen as special cases of their framework under strong common knowledge assumptions.

Datasets

  • Spambase Data Set: Used for evaluating spam detection algorithms.
  • MNIST Data Set: Used for evaluating vision algorithms (handwritten digit recognition).
  • Fashion-MNIST: Used for evaluating deep neural networks in clothing classification.
  • Kuzushiji-MNIST: Used for evaluating deep neural networks in handwritten character recognition.

Key Insights and Ideas

  • Uncertainty is Key: The paper strongly argues that explicitly modeling uncertainty about adversaries is crucial for robust ML security, as common knowledge assumptions are rarely met in practice.
  • Bayesian Approach for Realism: A Bayesian framework naturally handles uncertainty, allowing for more realistic modeling of attacker behavior and leading to more resilient defenses.
  • Beyond Deterministic Attacks: The proposed method moves away from assuming deterministic attacks (where the attacker's actions are fully predictable) to probabilistic attacks, reflecting the inherent uncertainty in security scenarios.
  • Regularizing Effect of Adversaries: In some cases, explicitly accounting for adversaries can act as a regularizer, improving the base algorithm's accuracy even on clean data.

Key Results

  • Spam Detection: The proposed ARA defense significantly reduces performance degradation on attacked spam emails compared to standard defenses, and in some cases, even outperforms the original algorithm on clean data.
  • Vision Systems: For image classification tasks (Fashion-MNIST and Kuzushiji-MNIST), the ARA defense mechanism shows superior robustness against PGD attacks compared to standard defenses (NONE and Adversarial Training), especially as attack intensity increases.
  • Robustness to Deviations: Experiments show that the ARA defense is more resilient to deviations in the attacker's assumed behavior compared to standard common-knowledge defenses.

Limitations and Future Work

  • Computational Cost: The Bayesian approach, while more robust and flexible, comes with higher computational and modeling costs. Investigating ways to alleviate these costs is an open research question.
  • Multiple Agents: The current framework primarily focuses on scenarios with one defender and one attacker. Future work could extend this to multi-agent settings, including cooperative attackers or defenders.
  • Algorithmic Enhancements: Exploring more efficient algorithms, such as gradient-based techniques for bi-level optimization and advanced MCMC samplers, is suggested.
  • Broader ML Applications: Further research is needed for unsupervised learning, dynamic linear models, and natural language processing models.
  • Causal Inference: Leveraging ideas from causal inference to improve adversarial robustness is identified as a promising avenue.

Summary updated

BibTeX
@article{insua2020adversarial,
  author = {David Rı́os Insua and Roi Naveiro and Víctor Gallego and Jason Poulos},
  title = {{Adversarial Machine Learning: Bayesian Perspectives}},
  journal = {Journal of the American Statistical Association},
  year = {2020},
}
Figure