Parallel Knowledge Transfer in Multi-Agent Reinforcement Learning

Yongyuan Liang, Bangwei LiarXiv 2020

Abstract

Multi-agent reinforcement learning is a standard framework for modeling multi-agent interactions applied in real-world scenarios. Inspired by experience sharing in human groups, learning knowledge parallel reusing between agents can potentially promote team learning performance, especially in multi-task environments. When all agents interact with the environment and learn simultaneously, how each independent agent selectively learns from other agents' behavior knowledge is a problem that we need to solve. This paper proposes a novel knowledge transfer framework in MARL, PAT (Parallel Attentional Transfer). We design two acting modes in PAT, student mode and self-learning mode. Each agent in our approach trains a decentralized student actor-critic to determine its acting mode at each time step. When agents are unfamiliar with the environment, the shared attention mechanism in student mode effectively selects learning knowledge from other agents to decide agents' actions. PAT outperforms state-of-the-art empirical evaluation results against the prior advising approaches. Our approach not only significantly improves team learning rate and global performance, but also is flexible and transferable to be applied in various multi-agent systems.

Introduction

In Multi-Agent Reinforcement Learning (MARL), agents often struggle with "non-stationarity"—the environment changes because other agents are learning and changing their behaviors simultaneously. While knowledge transfer (learning from an expert) can speed up this process, most existing methods assume a "god-like" teacher is already available.

In real-world decentralized systems, there is often no pre-existing expert. Instead, a group of "novice" agents must learn together. The challenges here are selecting which peer to listen to at any given moment, avoiding "risk contagion" where following bad advice destabilizes the team, and maintaining scalability as the number of agents grows.

Methods: Parallel Attentional Transfer (PAT)

The authors propose PAT (Parallel Attentional Transfer), which gives every agent two distinct acting modes: Self-learning Mode, where the agent acts independently using its own learned policy, and Student Mode, where the agent recognizes it is "unfamiliar" with its current state and requests advice from peers.

The PAT framework architecture, illustrating the transition between student mode and self-learning mode based on environmental feedback.

Key Components:

  • Decentralized Student Actor-Critic: Each agent has a module that decides which mode to use based on its hidden state (processed via an LSTM to include history).
  • Attention Teacher Selector (ATS): When in Student Mode, the agent uses a soft attention mechanism (Query-Key-Value) to evaluate peers. It treats its own state as a Query and the peers' states/policies as Keys and Values. This allows the agent to mathematically "attend" to the peer who is most confident or experienced in a similar situation.
  • Parallel Roles: Roles are not fixed. Agent A might be a "teacher" for Agent B in one part of the environment, while simultaneously being a "student" of Agent C in another.

Experimental Evaluation

The framework was evaluated on three cooperative environments based on the Multi-Agent Particle Environment (MPE): Grid Treasure Collection, Moving Treasure Collection, and Cooperative Navigation. These tasks require agents to coordinate collection and navigation efforts in both discrete and continuous spaces.

Key Results

PAT achieved significantly higher average rewards and better efficiency than baselines like LeCTR and AdHocTD. For example, in the 4-agent Grid Treasure task, PAT reached an average reward of ~45.6, while the next best (LeCTR) reached ~29.8.

Comparison of training performance (Episode Average Reward) across different algorithms, showing PAT's superior learning rate and final performance.
  • Scalability: While other methods saw performance drops as the team size increased to 12 agents, PAT’s attentional selector maintained high efficiency.
  • Transferability: A key discovery was that the attention parameters learned in a small team (e.g., 4 agents) could be successfully transferred to a much larger team (e.g., 12 agents), retaining nearly 90% of the performance.
  • Stability: By training a decentralized student actor-critic, PAT avoided the early-episode instability often seen in centralized-training/decentralized-execution (CTDE) models.

Conclusion and Future Work

PAT demonstrates that you don't need a master to learn quickly; you just need a way to identify which of your peers is currently doing better than you. While PAT showed a lower success rate in complex global coordination tasks like "Cooperative Navigation" due to its tendency to imitate successful individual actions, its overall performance and scalability are superior to current state-of-the-art methods. Future work will look at further reducing communication costs and extending PAT to scenarios where global rewards are harder to decompose.

Summary updated

BibTeX
@misc{liang2020parallel,
  author = {Yongyuan Liang and Bangwei Li},
  title = {{Parallel Knowledge Transfer in Multi-Agent Reinforcement Learning}},
  year = {2020},
  eprint = {2003.13085},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.13085},
}
Figure