TL;DR
This paper explores the vulnerability of Reinforcement Learning (RL) agents trained for Command and Control (C2) tasks in complex simulations like StarCraft II to adversarial attacks. The authors demonstrate that even small, imperceptible perturbations to an agent's observations can significantly degrade its performance, highlighting a critical security concern for deploying RL in real-world military applications.
What Problem Does This Paper Address?
Deep Reinforcement Learning (DRL) has shown remarkable success in mastering complex strategy games like StarCraft and Dota, leading to increased interest in applying these techniques to military Command and Control (C2) scenarios. These simulations are valuable for operational planning and battlefield modeling. However, a significant challenge arises when these DRL agents are deployed in environments where information might be corrupted or intentionally manipulated by an adversary. This paper addresses the critical gap in understanding the robustness of DRL-based C2 agents against such adversarial perturbations, particularly during inference time when the agent is already trained and operating. The core problem is that current DRL agents, while proficient in benign environments, may become unreliable or even detrimental when faced with subtly altered inputs, posing a serious risk in high-stakes military operations.
Methods
The researchers investigate the robustness of C2 agents trained using two popular RL algorithms: Asynchronous Advantage Actor-Critic (A3C) and Proximal Policy Optimization (PPO). They employ an inference-time adversarial attack methodology, inspired by the Fast Gradient Sign Method (FGSM) commonly used for image classifiers. This attack involves adding small, imperceptible perturbations to the agent's input observations (specifically, the screen representation and non-spatial features) with the goal of inducing suboptimal actions. The attack assumes white-box access to the agent's policy network, allowing the attacker to craft perturbations that maximize the loss function. The effectiveness of the attack is evaluated by measuring the drop in the agent's reward and analyzing changes in its behavior and strategy.
Datasets
The experiments were conducted using custom scenarios within the StarCraft II Learning Environment (SCLE). Two specific scenarios were developed:
- TigerClaw: An attacking scenario where the BlueForce (controlled by the RL agent) must cross a riverbed and defeat defending RedForce units.
- National Training Center (NTC): A defending scenario where the BlueForce must defend Fort Irwin against an advancing RedForce.
These scenarios were designed to emulate realistic combat characteristics, with units scaled to estimate platform capabilities for RL training. The SC2LE environment itself, along with the RLlib library, was used to facilitate the training and evaluation process. No new benchmark datasets were introduced; rather, existing game environments were adapted.
Key Insights and Ideas
- High Susceptibility to Subtle Perturbations: Even very small adversarial perturbations (e.g., ε = 0.05, 0.08) can lead to a significant decrease in the agent's performance, as measured by its reward. This suggests that current RL training methods do not inherently build robustness against such attacks.
- Training Stage Matters: Partially trained agents appear to be more resistant to noise than fully trained agents. This implies that the learning process itself might introduce vulnerabilities as agents become more specialized.
- Attack Effectiveness is Algorithm-Agnostic (to an extent): The attack's effectiveness is largely consistent across both A3C and PPO algorithms, indicating that the vulnerability is a general issue with current DRL approaches rather than specific to one algorithm.
- Screen Input is a Key Target: Perturbations to the screen representation (visual input) are more impactful than those to the non-spatial features, likely due to the screen encoding richer spatial and positional information crucial for decision-making.
- Behavioral Shifts are Significant: Adversarial attacks don't just reduce rewards; they fundamentally alter the agent's strategy, leading to erratic movements, misdirected attacks, and ultimately, mission failure.
Key Results
- Reward Degradation: Figures 6 and 7 show a steep decline in the median reward for both PPO and A3C agents, even with minimal perturbation budgets (ε = 0.05, 0.08). For instance, in the TigerClaw scenario, the reward drops significantly as ε increases.
- Strategic Misdirection: Analysis of action distributions (Figure 9 and 10) reveals that attacked agents sample actions that misdirect BlueForce units to areas without enemy presence, leading to them being outmaneuvered and defeated.
- Increased Casualties and Reduced Win Rates: In the TigerClaw scenario, attacks resulted in higher BlueForce casualties and a lower partial win rate (Figure 12a, 12b). Similarly, in the NTC scenario, attacks led to increased RedForce health and decreased BlueForce health (Figure 13).
- Attack Effectiveness Correlates with Agent Quality: The attack was less effective against a poorly trained A3C agent compared to a well-trained PPO agent, suggesting that the quality of the learned policy plays a role in its susceptibility.
Limitations and Future Work
- Limitations:
- The study assumes white-box access to the policy network, which might not always be feasible in real-world scenarios.
- The attack's reliability can be low for very small perturbations, leading to high variance in rewards, though this is mitigated by increasing the perturbation budget (at the cost of secrecy).
- The paper notes that the A3C/TigerClaw agent's inherent lower reward in benign conditions makes it harder to definitively assess the attack's impact compared to a baseline.
- Future Work:
- Developing explainable and controllable approaches for COA generation using RL.
- Creating robustness mechanisms for RL agents that work both during inference and training, potentially involving adversarial perturbation detection and prevention.
- Augmenting existing training algorithms to create agents that are certifiably robust to malicious noise, with adversarial training being a promising avenue.
- Further research is needed to quantify the relationship between the flatness of the loss landscape and an agent's apparent robustness.
Summary updated