In traditional reinforcement learning, agents are often "lone wolves," mastering tasks through exhaustive trial and error. While knowledge distillation has historically been used to transfer expertise from a pre-trained "teacher" to a "student," a growing body of research explores a more democratic alternative: Peer-to-Peer (P2P) Distillation. In this paradigm, a cohort of novice agents learns simultaneously, acting as both students and teachers to one another without any pre-existing expert guidance.
Learning from Scratch via Mutual Advice
The core intuition behind P2P distillation is that even if no single agent has mastered a task, different agents will discover optimal strategies for different parts of the state space at different times. By sharing these localized discoveries, the group can collectively accelerate its learning.
Cedric Derstroff and Mattia Cerrato demonstrate in Peer Learning: Learning Complex Policies in Groups from Scratch via Action Recommendations that groups of agents can achieve higher performance than solo learners by exchanging action recommendations. This mechanism allows a discovery made by one agent to be immediately utilized by its peers, effectively using the diverse environmental exploration of the cohort to prevent individuals from converging on local optima.
Dynamic Roles and Confidence-Based Sharing
A critical challenge in peer learning is determining when to listen to a peer. If every agent is a novice, blind imitation could lead to the propagation of "bad advice." To solve this, researchers have introduced decentralized mechanisms for role assignment.
In the LeCTR framework, Miao Liu and Dong Ki Kim show that agents can learn to dynamically switch between student and teacher roles. Similarly, Felipe Leno da Silva and Anna Helena Reali Costa propose using local confidence metrics to trigger requests for help. When an agent is uncertain about a state but a peer demonstrates high proficiency, knowledge is transferred—often through "disadvantageous distillation," where agents focus specifically on states where their peers are performing better (Daochen Zha et al., Dual Policy Distillation).
Robustness and Generalization
Beyond speed, P2P distillation serves as a powerful regularizer. In Robust Domain Randomised Reinforcement Learning through Peer-to-Peer Distillation, Chenyang Zhao and Timothy Hospedales use a cohort where each agent optimizes for a specific environment variation. By regularizing their behavior against one another, the agents discover policies that are effective across a wide range of conditions, achieving superior generalization without a centralized master policy.
This decentralized approach also prevents "curriculum stalls." In adversarial training environments, online distillation allows a lagging agent to learn from the successful trajectories of a peer, ensuring that the entire system continues to progress even when some individuals struggle with a specific task.
Scaling Knowledge Diffusion
The principles of peer learning extend beyond simple policy imitation to broader knowledge diffusion. Amy K. Hoover and colleagues introduced NKDIFF, which trains populations of neural networks by letting them provide their current predictions as targets for their peers. This mimics human study groups, creating an "ensemble" effect that is resistant to noise and reduces the need for expensive ground-truth data. By treating peer outputs as advice rather than absolute truth, these systems turn a collection of weak learners into a robust, self-improving collective.