An Efficient Transfer Learning Framework for Multiagent Reinforcement Learning

Tianpei Yang, Weixun Wang, Hongyao Tang, Jianye Hao, Zhaopeng Meng, Hangyu Mao, Dong Li, Wulong Liu, Yingfeng Chen, Yujing Hu, Changjie Fan, Chengwei Zhang

This paper introduces the Multiagent Policy Transfer Framework (MAPTF), a method designed to accelerate Multiagent Reinforcement Learning (MARL) by allowing agents to intelligently "borrow" policies from one another. By treating policy transfer as an option learning problem and utilizing Successor Representations, the authors overcome the common pitfalls of inconsistent agent experiences and partial observability.

The Challenge of Multiagent Transfer

In Multiagent Reinforcement Learning, agents often struggle with the "curse of dimensionality"—the state space grows exponentially with the number of agents. While transfer learning (reusing knowledge) helps mitigate this, most MARL transfer methods are limited. They often only work for two agents, require a rigid two-stage "learn then transfer" process, or fail entirely when agents have different goals and local observations.

The core challenge the authors tackle is sample inconsistency. In a partially observable environment, Agent A’s experience might look like nonsense to Agent B. If Agent B tries to learn from Agent A’s value function directly, the conflicting rewards and observations can lead to unstable learning and "negative transfer" (where "help" actually degrades performance).

Proposed Methods: MAPTF and SRO

The authors propose two primary innovations to solve these issues:

1. MAPTF (The Framework)

Instead of just copying a policy, an agent treats "following Agent X" as an Option (a temporally extended action). The framework learns an internal "option-value" to decide which agent's policy is best to reuse at any given moment. Crucially, it also learns a termination function to decide when to stop reusing that policy and return to its own self-learned behavior.

MAPTF Architecture

The framework uses an adaptive weighting factor that encourages agents to rely heavily on others at the start of training (when they know nothing) and gradually shift toward their own specialized policies as they gain experience.

2. SRO (Successor Representation Option) Learning

To solve the sample inconsistency problem, the authors use Successor Representations (SR). SR decouples the environment's dynamics (where you go) from the rewards (what you want).

By learning the expected future state occupancy (the SR) separately from the reward weights, the option module can estimate the value of a policy based on an individual agent's specific preferences, even if the data came from an agent with a completely different goal.

Key Insights

  • Transfer as a Temporal Extension: Reusing a policy isn't a single action; it's a commitment over time. Modeling this as an "option" allows the agent to benefit from the high-level logic of a peer without getting bogged down in step-by-step imitation.
  • The Power of Decoupling: Using Successor Representations bridges the gap between agents. Because SR focuses on state transitions, it provides a "universal language" that allows Agent B to understand the utility of Agent A's pathing, regardless of Agent A's original reward structure.
  • Scalability through Sharing: Experiments show that as the number of agents increases, the benefit of MAPTF actually grows. More agents mean more "big picture" information is available to be synthesized.

Key Results

The researchers evaluated MAPTF on two well-known reinforcement learning benchmarks: Pac-Man (a mixed cooperative-competitive maze game) and the Multiagent Particle Environment (MPE) (including Predator-Prey and Cooperative Navigation tasks).

Performance on Pac-Man scenarios
  • Performance Boost: MAPTF significantly outperformed vanilla PPO, MADDPG, and QMIX across all tasks.
  • Superiority over Distillation: It beat DVM (Policy Distillation), a common transfer method. Unlike DVM, which transfers knowledge indiscriminately, MAPTF’s termination function successfully avoided "negative transfer."
  • Efficiency: In the OriginalClassic Pac-Man scenario, MAPTF reached a high reward level in roughly half the training episodes required by standard PPO.
  • Ablation Success: Removing the SRO component (using "traditional" option learning instead) led to a significant drop in performance, proving that decoupling dynamics from rewards is essential for handling partial observability.

Limitations and Future Work

While highly effective, the framework has a few limitations. First is the Coordination Gap: MAPTF focuses on transferring knowledge rather than explicitly solving coordination (credit assignment). An agent might learn a great policy from a peer but still fail to synchronize perfectly with the rest of the team. Second, the weighting factor controlling the decay of transfer is currently set manually; automating this hyperparameter would make the framework more robust. Finally, future work could involve designing an option module that uses centralized training to better account for the joint actions of all agents simultaneously.

Summary updated

BibTeX
@inproceedings{yang2021efficient,
  author = {Tianpei Yang and Weixun Wang and Hongyao Tang and Jianye HAO and Zhaopeng Meng and Hangyu Mao and Dong Li and Wulong Liu and Yingfeng Chen and Yujing Hu and Changjie Fan and Chengwei Zhang},
  title = {{An Efficient Transfer Learning Framework for Multiagent Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=GAiM0RXrMfF},
}
Figure