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

Boosting Sample Efficiency and Generalization in Multi-agent Reinforcement Learning via Equivariance

Joshua McClellan, Naveed Haghani, John Winder, Furong Huang, Pratap Tokekar

TL;DR

Researchers have developed E2GN2, a novel neural network architecture that exploits spatial symmetries (like rotations and reflections) to make Multi-Agent Reinforcement Learning (MARL) up to five times more sample-efficient. By fixing a hidden "exploration bias" found in standard equivariant networks, E2GN2 achieves superior generalization and faster convergence on complex benchmarks like StarCraft II.

What Problem Does This Paper Address?

Multi-Agent Reinforcement Learning (MARL) is notoriously difficult. Agents often require millions of trials to learn basic coordination, and even then, they struggle to generalize. For example, if a team of robots learns to navigate a room, they might completely fail if the entire setup is simply rotated 90 degrees.

Rotational symmetry in a multi-agent spatial task.

The root of the problem is a lack of inductive bias. Standard neural networks, like Multi-Layer Perceptrons (MLPs), treat every orientation of a scene as a brand-new problem. They lack the innate understanding that the laws of physics and optimal strategies are usually identical regardless of whether you are facing North or South.

While Equivariant Graph Neural Networks (EGNNs) were originally designed to exploit these exact symmetries, a naive application to Reinforcement Learning (RL) fails. Standard EGNNs suffer from an early exploration bias: at the start of training, their mathematical structure accidentally nudges agents to move away from the center of the map, preventing them from finding goals and severely stunting early learning.

Methods: Introducing E2GN2

To solve this, the authors introduce Exploration-enhanced Equivariant Graph Neural Networks (E2GN2). This approach builds on Geometric Deep Learning to bake rotational and reflectional symmetry (the $O(n)$ group) directly into the model's architecture, while correcting the flaws of standard EGNNs.

Key innovations include:

  • The "Anti-Bias" Term: The authors mathematically prove that standard EGNNs produce a non-zero mean action at initialization, causing agents to drift aimlessly outward. E2GN2 adds a specific learned MLP term ($\phi_{u2}$) that offsets this drift, ensuring agents start with a neutral, zero-mean exploration strategy.
  • Hybrid Action Heads: To handle complex games, the model splits its output. It uses invariant features (which don't change when the world rotates) for discrete decisions like "should I shoot?" and equivariant features (which rotate with the world) for spatial actions like "which direction should I move?".
  • Entity-Based Scaling: By leveraging a graph structure, the model can scale to different numbers of agents or enemies without needing to be retrained.
Training curves demonstrating the poor early learning of standard EGNNs compared to the improved E2GN2 architecture.

Key Insights

  • Symmetry is a Search-Space Shortcut: By forcing the policy to be equivariant, the model effectively "shrinks" the space of possible strategies it needs to explore. If it learns the best move for one orientation, it automatically knows the best move for all rotated versions of that state.
  • The Initialization Trap: A major insight of this paper is the discovery that architectures which work well for predicting static properties (like standard EGNNs in chemistry) can be disastrous for RL. In RL, initial random actions are critical; if the architecture forces those random actions to be biased in one direction, the agent may never discover the reward signal.
  • Breaking Translation for the Better: Interestingly, E2GN2 is not translation-equivariant. The authors argue that in MARL, absolute positions (like map boundaries or specific zones) often matter. Therefore, ignoring translation while keeping rotation and reflection symmetry is the "sweet spot" for performance.

Datasets and Results

The researchers evaluated E2GN2 against standard MLPs, GNNs, and other equivariant models using the Multi-agent Particle Environment (MPE) and SMACv2 (StarCraft Multi-agent Challenge v2).

  • Sample Efficiency: On SMACv2 (Terran and Protoss challenges), E2GN2 reached target win rates 2x to 5x faster than standard GNNs.
  • Zero-Shot Generalization: In tests where agents were trained on one side of a map and tested on the other (or in rotated configurations), E2GN2 maintained its performance. In contrast, standard MLPs and GNNs saw their win rates plummet from ~50% down to ~10%.
  • Computational Speed: Unlike previous equivariant methods that rely on expensive spherical harmonics, E2GN2 is computationally efficient, training in a fraction of the wall-clock time while achieving higher rewards.

Limitations and Future Work

While E2GN2 is a significant step forward, the authors note a few areas for improvement. The main results assume agents can see the whole map; more work is needed to handle "broken" symmetries caused by limited line-of-sight in partially observable settings. Additionally, the current model doesn't explicitly account for complex dynamics like angular momentum or acceleration. Future work could explore incorporating even more complex symmetries or learning to handle "approximate" symmetries where the environment isn't perfectly balanced.

Summary updated

BibTeX
@inproceedings{mcclellan2024boosting,
  author = {Joshua McClellan and Naveed Haghani and John Winder and Furong Huang and Pratap Tokekar},
  title = {{Boosting Sample Efficiency and Generalization in Multi-agent Reinforcement Learning via Equivariance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=MQIET1VfoV},
}
Figure