Introduction: The Challenge of Multi-Agent MBRL
Reinforcement learning (RL) is traditionally divided into two paradigms: Model-Free (MFRL), where agents learn direct mappings from states to actions, and Model-Based (MBRL), where agents learn a "world model" of environment dynamics to plan future trajectories. While MBRL is theoretically more sample-efficient, it frequently suffers from "compounding errors." In these scenarios, small inaccuracies in the world model accumulate rapidly as an agent imagines the future, leading to divergent and unrealistic predictions.
Recent advancements addressed this for single-agent systems by using generative models to predict entire trajectory "chunks" (Temporal Segment Models). However, extending this to multi-agent settings introduces the problem of behavioral entanglement. Standard models often fail to separate the decision-making processes of individual agents, leading to "optimistic" hallucinations where a model predicts an opponent will not interfere simply because such an interaction was absent in the training data.
Methodology: Disentangled Multi-Step Generative Models
This paper proposes a framework that builds upon Temporal Segment Models (TSMs) using Conditional Variational Auto-Encoders (CVAEs). The goal is to map high-dimensional trajectory segments into a compact, disentangled latent space ($Z_x$ for agent $x$ and $Z_y$ for agent $y$). To ensure these latent variables represent independent strategies, two primary techniques are employed:
- Gradient Penalty: A loss term is introduced to penalize the model if the predicted actions of one agent show mathematical dependence on the other agent's latent variable.
- Mutual Information (MI) Maximization: Drawing from InfoGAN architectures, the model maximizes the mutual information between an agent’s latent variable and its resulting actions. This forces the latent space to capture the core "essence" of an agent's behavior independently of external influences.
Planning is then performed by searching through this learned "strategy space" using gradient descent, allowing agents to choose high-level behaviors (e.g., "circle around") rather than individual motor torques.
Addressing the Asymmetry Trap
A critical insight of this work is the "Asymmetry Trap." In simple conditional models, one agent often gains an unrealistic advantage in imagination because the model has not yet "decided" on the other agent's response. Disentanglement allows for true min-max planning, where the potential strategies of all agents are considered simultaneously and independently.
Experimental Evaluation
The approach was evaluated across three simulated environments:
- Continuous Predator-Prey: A 2D obstacle-filled arena.
- Box Bumper: A domain designed to test navigation through narrow passages where entanglement causes failure.
- 2-Robot Manipulation (Unity ML-Agents): A 3D simulation involving robotic arms in both cooperative (joint pushing) and competitive (blocking) tasks.
Results and Discussion
The proposed multi-step model significantly outperformed both single-step MBRL and model-free baselines. In the 2-robot task, the MBRL approach achieved higher rewards with only 650k steps, compared to the 3.3 million steps required by the state-of-the-art MADDPG baseline.
Furthermore, the model demonstrated remarkable versatility. A world model trained on cooperative data could be repurposed for competitive tasks simply by changing the reward function, without retraining the underlying dynamics. This suggests that the learned latent space effectively captures the fundamental physics and interaction possibilities of the environment.
Conclusion
By disentangling the latent strategy spaces of multiple agents within a multi-step generative framework, this research provides a robust solution to compounding errors and behavioral entanglement in MBRL. While currently focused on two-agent scenarios, the framework offers a scalable path toward more complex multi-agent interactions and human-robot collaboration.
Summary updated