Peer Learning: Learning Complex Policies in Groups from Scratch via Action Recommendations

Cedric Derstroff, Mattia Cerrato, Jannis Brugger, Jan Peters, Stefan Kramer

Introduction

In Reinforcement Learning (RL), agents typically operate as "lone wolves," learning complex tasks through isolated trial and error. This process is often slow and computationally intensive. In contrast, human learning is inherently social; we observe peers, seek advice, and identify experts within a group. Researchers from TU Darmstadt and collaborating institutions have introduced a framework that brings this social intuition to AI: Peer Learning. This approach allows a group of novice agents to learn together, sharing action recommendations to improve collective performance without requiring a pre-trained expert.

Conceptual overview of Peer Learning where agents share action recommendations.

The Challenge of Isolated Learning

Standard RL relies on individual exploration, which can be inefficient. While "Action Advising" exists, it usually assumes a teacher-student dynamic involving a pre-trained expert. Peer Learning addresses two critical gaps:

  1. The Expert Bottleneck: Many real-world scenarios lack pre-trained experts.
  2. The Trust Issue: In a group of novices, agents must determine whose advice is reliable to avoid "the blind leading the blind" or falling victim to adversarial "poisoning attacks."

Methodology: The Peer Learning Framework

The framework formalizes Peer Learning by having $n$ agents operate in identical but separate instances of the same environment.

The Advice Loop

At each step, an agent can request action recommendations from its peers based on their current policies. The agent then employs a Peer Policy to decide which action to actually execute.

Trust Mechanisms

To manage the reliability of advice, the authors propose three primary trust mechanisms:

  • Critic-based Evaluation: Using an internal "Critic" (Q-function) to estimate the value of a suggested action.
  • Local Trust Values: Maintaining a "scorecard" for each peer based on the rewards received after following their advice.
  • Global Leaderboard: Utilizing a shared experience buffer to identify top-performing agents across the entire group.

This setup is treated as a non-stationary multi-armed bandit problem, as agents must continuously re-evaluate peers whose capabilities evolve during training.

Experimental Evaluation

The framework was evaluated on two benchmarks:

  1. MuJoCo Control Suite: Continuous robot control tasks including HalfCheetah-v4, Walker2d-v4, Ant-v4, and Hopper-v4.
  2. Room Grid-World: Discrete environments designed to test robustness against adversarial agents providing intentionally poor advice.

Key Results and Insights

Peer Learning demonstrated significant advantages over traditional RL and existing baselines:

  • Superior Performance: In most MuJoCo environments, Peer Learning agents achieved higher rewards and faster convergence than solo learners. For instance, in Walker2d, Peer Learning reached a score of ~2160 compared to ~1558 for the single agent.
  • Robustness to Adversaries: By weighting advice based on performance, agents successfully "muted" malicious peers.
  • Scalability: Performance generally improved with group size (tested up to 10 agents), suggesting that larger groups provide a richer pool of "collective wisdom."
Quantitative comparison of Peer Learning against baselines across various environments.

Conclusion and Future Directions

Peer Learning shows that "study groups" of agents can effectively bootstrap their way to complex policies. While successful, future work may address communication overhead and explore "cross-task" learning where agents share knowledge across related but distinct environments.

Summary updated

BibTeX
@inproceedings{derstroff2024peer,
  author = {Cedric Derstroff and Mattia Cerrato and Jannis Brugger and Jan Peters and Stefan Kramer},
  title = {{Peer Learning: Learning Complex Policies in Groups from Scratch via Action Recommendations}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i10.29061},
}
Figure