Introduction
In multi-agent reinforcement learning (MARL), cooperation is often studied in isolation. However, real-world scenarios frequently involve a team of agents operating under the watchful eye of an adversary. In such contexts, agents must not only achieve their primary objectives but also learn deceptive behaviors to protect sensitive information. This paper introduces a graph-based MARL framework designed to train agents to mask their true goals, effectively "tricking" an opponent while maintaining operational efficiency.
The Challenge of Adversarial Environments
The core problem addressed is deception in a multi-agent setting. Consider a team of "good" agents tasked with covering several landmarks, only one of which is a high-value target. If the agents move directly toward the true target, an observing adversary can easily identify it. The challenge is two-fold:
- Scalability and Generalization: Traditional reinforcement learning models often struggle when the number of entities (agents or landmarks) changes between training and execution.
- Complex Objectives: Balancing the primary task (reaching a goal) with the secondary task (hiding the goal) is cognitively demanding and often leads to training instability.
Proposed Framework
To address these challenges, the researchers developed a modular architecture based on Graph Neural Networks (GNNs). By representing the environment as a graph where agents and landmarks are nodes, the model becomes invariant to the number or order of entities, allowing for zero-shot transfer to scenarios with more agents than seen during training.
As illustrated in the framework overview, each agent consists of four specialized neural modules:
- Agent State Encoder: Processes local kinematic data (position and velocity).
- Environment Encoder: Uses a GNN and dot-product attention to create a fixed-size representation of all landmarks.
- Opponent Encoder: A novel component dedicated to observing and encoding the adversary's state.
- Inter-Agent Communication Module: Facilitates coordination through a sophisticated attention mechanism.
Attention-Driven Communication
Effective deception requires tight coordination. The agents "talk" to each other using an attention mechanism that allows them to weigh the importance of information from different teammates dynamically.
As shown in the communication module diagram, each agent generates Query ($Q$), Key ($K$), and Value ($V$) vectors. The attention weights $w^{ij}$ are calculated via a softmax function, ensuring that agents focus on the most relevant peer information to synchronize their deceptive maneuvers.
Training Strategy: Two-Stage Curriculum Learning
The researchers found that training for deception from the outset often led to failure. To stabilize learning, they employed a Two-Stage Curriculum Learning process:
- Stage 1: Coverage Mastery. Agents are initially rewarded solely for spreading out and covering all landmarks. This establishes a baseline of functional behavior.
- Stage 2: Deception Integration. A "Deception Reward" is gradually introduced, rewarding the team when the adversary is far from the true target. This forces the agents to refine their coverage strategy into a deceptive one.
Key Insights and Results
The framework was tested in the Multi-Agent Particle Environment (MPE) "Deception" task. Several key findings emerged:
- The "Stay Away" Strategy: An emergent behavior was observed where the agent assigned to the real target learned to stay slightly further away from it than agents at "fake" targets. This subtle distance lures the adversary toward the wrong locations.
- Performance Trade-offs: Sensitivity analysis revealed a clear trade-off between task accuracy and deception. As the weight of the deception reward increased, the adversary's target selection rate dropped (e.g., from 19.8% to 11.6% for 2 agents), but the agents' precision in covering landmarks (bipartite distance) slightly decreased.
- Convergence Limits: If the deception reward is too high, the primary task signal is lost, and the agents fail to converge, highlighting the necessity of the curriculum approach.
Conclusion and Future Work
This research demonstrates that GNN-based architectures combined with curriculum learning can successfully train agents to perform complex cognitive tasks like deception. While the current work primarily utilizes heuristic adversaries and simple 2D physics, it lays the groundwork for more advanced applications. Future research will focus on testing these policies against adaptive, learning adversaries and scaling the coordination to larger swarms in high-fidelity simulations.
Summary updated