Ares: A System-Oriented Wargame Framework for Adversarial ML

Farhan Ahmed, Pratik Vaishnavi, Kevin Eykholt, Amir Rahmati · DOI

TL;DR

This paper introduces Ares, a novel reinforcement learning-based wargame framework for evaluating adversarial machine learning (ML) defenses. Ares models the attacker-defender dynamic as a realistic, turn-based game, enabling the assessment of complex strategies and system-level metrics beyond simple accuracy. Initial experiments using Ares reveal that even state-of-the-art defenses like moving target defense (MTD) are vulnerable due to shared loss gradients between models, highlighting the need for more sophisticated evaluation methods.

What Problem Does This Paper Address?

The field of adversarial machine learning (ML) has seen a decade-long "arms race" between those developing attacks and those creating defenses. However, this research has struggled to gain traction with ML practitioners. Two key issues are identified: (1) the often unrealistic "white-box" threat model (assuming attackers have full knowledge of the model) doesn't reflect real-world scenarios, and (2) existing evaluation tools are limited, treating attackers and defenders as static entities. This lack of realistic evaluation and practical tools means that the threat of adversarial attacks isn't taken seriously by many, and proposed defenses might not be effective in practice.

Methods

The core contribution is the Ares framework, which reframes adversarial ML evaluation as a reinforcement learning (RL) environment. In Ares, an attacker agent and a defender agent engage in a turn-based game with opposing objectives.

  • RL Environment: Ares uses OpenAI Gym to create an RL environment where the attacker and defender interact with an "evaluation scenario."
  • Evaluation Scenario: This component defines the game's rules, including:
  • Threat Model: Supports white-box (full gradient access), soft black-box (probabilistic outputs), and hard black-box (label predictions) scenarios.
  • Scenario Parameters: Shared settings like the dataset, number of games, and time limits.
  • End States: Conditions that terminate a game round (e.g., successful attack, defense detection).
  • Agents (Attacker & Defender): Each agent has a policy, an algorithm (attack or defense), an action space, and a reward function. Their policies can be static, randomized, or learnable, allowing for dynamic strategies.
  • System-Level Metrics: Ares goes beyond accuracy to evaluate metrics like "time to failure" and the effectiveness of complex strategies.
  • Integration: Ares integrates with the Adversarial Robustness Toolbox (ART) for access to various attacks and defenses, but also allows custom implementations.

Datasets

  • CIFAR-10: This dataset was used for training and evaluating the ML models within the Ares framework.

Key Insights and Ideas

  • Realistic Adversarial Dynamics: Modeling the attacker-defender interaction as a dynamic RL game provides a much richer and more realistic evaluation environment than static benchmarks.
  • System-Level Evaluation: Ares enables the assessment of metrics like "time to failure," which are more indicative of real-world system resilience than just classification accuracy.
  • Vulnerability of Moving Target Defense (MTD): Even with adversarially trained models, MTDs were found to be vulnerable. The presence of naturally trained models in an MTD ensemble significantly weakened its robustness.
  • Shared Loss Gradients as the Culprit: The paper strongly hypothesizes and provides evidence that the transferability of adversarial examples, even across different model architectures and training methods, is primarily due to models sharing similar loss gradients. This makes it easier for an attacker to find a universally effective perturbation.
  • Architecture Independence: The study suggests that network architecture plays a minor role in adversarial robustness compared to the training method and the underlying loss gradient characteristics.

Key Results

  • Attacker Wins: In the initial white-box experiments against MTDs, the attacker consistently won, demonstrating the limitations of the evaluated defenses.
  • MTD Weakness: MTDs combining naturally and adversarially trained models were weaker than using only adversarially trained models, as the naturally trained models failed first.
  • Cosine Similarity of Loss Gradients: Table IV shows high cosine similarity (around 0.85-0.96) between the loss gradients of different models (ResNet-18, VGG11) under attack, regardless of training method or whether the attacker or defender won. This supports the hypothesis that shared loss gradients are the root cause of adversarial transferability.
  • Adversarial Training Helps, But Doesn't Solve: Adversarial training improved robustness compared to natural training, but the attacker still found adversarial samples relatively quickly.

Limitations and Future Work

  • Current Implementation: Ares currently supports single attacker and single defender agents. The authors are working on enabling support for multiple agents.
  • Future Threat Models: The paper plans to revisit previously "broken" defenses and evaluate their effectiveness under black-box threat models using Ares.
  • External Mitigation: Future work will explore integrating external mitigation responses, such as detecting attack campaigns, into the evaluation.
  • Gradient Diversification: The authors suggest that MTDs could be improved by training models to mitigate intra-gradient similarity, potentially through gradient diversification approaches. They plan to re-evaluate MTDs after training models with such techniques.

Summary updated

BibTeX
@misc{ahmed2022ares,
  author = {Farhan Ahmed and Pratik Vaishnavi and Kevin Eykholt and Amir Rahmati},
  title = {{Ares: A System-Oriented Wargame Framework for Adversarial ML}},
  year = {2022},
  eprint = {2210.12952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.12952},
}
Figure