Abstract
Multi-agent reinforcement learning (MARL) often struggles with coordination due to the exponential growth of joint action spaces, a challenge known as the "curse of dimensionality." While auto-regressive policies provide a structured approach to decision-making, they frequently fail to capture the downstream impact of an agent's actions on its peers' learning processes. We present Back-Propagation Through Agents (BPTA), a framework that treats sequential agents in a multi-agent system as layers in a neural network. By enabling gradient flow through the actions of subsequent agents, BPTA facilitates "peer feedback," allowing agents to coordinate far more effectively than traditional methods. Our proposed algorithm, Bidirectional Proximal Policy Optimisation (BPPO), demonstrates superior performance and stability across challenging benchmarks, including SMACv2, MA-MuJoCo, and Google Research Football.
Introduction
In MARL, agents must learn to cooperate to maximize a shared reward. A common strategy to manage complex joint action spaces is the use of auto-regressive policies, where agents act in a sequence: Agent 1 acts, then Agent 2 observes Agent 1's action before acting, and so on. While this helps the "forward" decision-making process, it often fails during the "backward" learning phase. Standard algorithms do not account for how an earlier agent's action affects a later agent's learning signal. This leads to relative overgeneralization, where agents settle for safe but sub-optimal strategies because they cannot effectively communicate the consequences of their actions through the learning signal.
Methodology: Back-Propagation Through Agents (BPTA)
Inspired by Back-Propagation Through Time (BPTT) in recurrent neural networks, BPTA treats the sequence of agent actions as a differentiable chain. The framework relies on three key technical pillars:
- The Reparameterization Trick: By treating an agent's action as a differentiable variable rather than a discrete choice, the gradient of the team's total reward can pass through one agent's action into the policy parameters of the preceding agent.
- Conditional Multi-Agent Stochastic Policy Gradient Theorem: This mathematical foundation splits the policy gradient into "Own Learning" (improving one's own choice) and "Peer Learning" (adjusting actions to help subsequent agents perform better).
- Bidirectional Proximal Policy Optimisation (BPPO): We integrate BPTA into the PPO algorithm using a sequential update scheme. Agents are updated in reverse order of their execution, ensuring that feedback from later agents is incorporated into the updates of earlier ones.
Experimental Evaluation
We evaluated BPPO across four diverse environments: Matrix Games, StarCraft Multi-Agent Challenge Version 2 (SMACv2), Multi-agent MuJoCo (MA-MuJoCo), and Google Research Football (GRF).
In SMACv2, BPPO demonstrated significantly higher win rates and lower variance compared to state-of-the-art baselines like MAPPO and HAPPO. This stability is particularly evident in high-dimensional combat scenarios involving diverse unit types (Protoss, Zerg, and Terran).
Key Results
- Matrix Games: BPPO achieved 100% convergence to Pareto-optimal equilibria, whereas ARMAPPO (auto-regressive without backward gradients) failed to find the global optimum.
- MA-MuJoCo: In complex "6x1" tasks where six agents control a single robot, BPPO outperformed rivals by a massive margin, continuing to improve while baselines often produced negative rewards.
- Google Research Football: BPPO achieved the highest scores in 5-vs-5 full-game scenarios, where other algorithms struggled to learn basic scoring behaviors.
Discussion and Future Work
BPTA effectively closes the causality loop in MARL. While traditional methods only feature a forward causal flow (Agent A acts, then Agent B reacts), BPTA completes the loop with a backward flow where Agent B's reaction sends a gradient back to Agent A. This mechanism successfully bridges the "coordination gap" that plagues independent learning methods.
Currently, the algorithm requires a fixed execution order for agents. Future research will focus on adaptive order learning, allowing the system to dynamically determine the optimal sequence for agents to act and pass gradients, further maximizing coordination in complex, real-world environments.
Summary updated