Abstract
Deep Reinforcement Learning (RL) typically requires training agents from scratch for every new task, leading to significant computational overhead. This paper investigates "neural consolidation"—a process of distilling knowledge from multiple RL experts into a single student network—to facilitate more efficient transfer learning. We demonstrate that this process extracts general visual features that provide a significant "jumpstart" for learning new tasks and helps mitigate the risks of negative transfer.
Introduction
Transfer learning aims to reuse knowledge from previous tasks to accelerate the learning of new ones. However, predicting when transfer will be beneficial (positive transfer) versus detrimental (negative transfer) remains a challenge. Inspired by biological theories of memory consolidation, such as Complementary Learning Systems (CLS), we explore whether distilling multiple expert policies into a single central network creates a superior foundation for general intelligence compared to simple task-to-task fine-tuning.
Methodology
The study employs the Actor-Mimic Network (AMN) algorithm within a training protocol designed to emulate biological "day-night" cycles:
- Active Phase (Day): Individual expert networks are trained independently on specific Atari games (Breakout, Carnival, Pong, Space Invaders, and Video Pinball) using the Rainbow RL algorithm.
- Passive Phase (Night): Knowledge from these experts is consolidated into a single student network (the AMN) via distillation. This process involves policy regression (mimicking expert actions) and feature regression (replicating internal representations).
Researchers evaluated different task-scheduling strategies during consolidation, specifically comparing a "composite loss" (simultaneous training) against "alternating losses" (sequential task switching).
Key Insights
Consolidation as a Filter for Negative Transfer
A primary finding is that consolidation acts as a safety mechanism. While direct transfer between dissimilar tasks often results in negative transfer, the consolidation process tends to preserve beneficial features while filtering out task-specific noise that causes interference.
Feature Extraction vs. Policy Convergence
The student network does not need to perfectly master the experts' games to be effective for transfer. Even when the AMN reached only 75% of an expert's performance, it had already extracted the necessary features to provide a full jumpstart to a new agent.
The Importance of Scheduling
The frequency of task switching during consolidation is critical. Switching between tasks only at the end of full episodes yielded significantly better results than switching every few steps, which often prevented meaningful learning.
Key Results
- Significant Jumpstart: Agents initialized with consolidated AMN weights started with much higher initial scores than randomly initialized baselines across all tested games.
- Scaling Benefits: In games like Breakout, the quality of the transfer improved almost linearly with the number of different games used in the prior consolidation phase.
- Robustness to Task Selection: The transfer benefit to new games was remarkably stable regardless of the specific subset of source games used, provided that visually complex games were included in the training set.
Conclusion and Future Work
Neural consolidation provides a robust pathway for transferring knowledge in RL. While it provides a significant jumpstart, it does not always improve final asymptotic performance. Future research will focus on expanding the diversity of tasks and developing mathematical models to predict transferability between specific environments.
Summary updated