Introduction
Reinforcement Learning (RL) has demonstrated remarkable success in complex control tasks but remains notoriously data-hungry, often requiring millions of environment interactions. Model-Based Reinforcement Learning (MBRL) mitigates this by learning a "World Model"—an internal simulator—allowing agents to plan or "dream" trajectories. However, even MBRL agents typically start learning each new task from scratch. While Transfer Learning (TL) offers a solution by reusing knowledge from prior tasks, traditional methods often fall into a binary trap: either fully retaining weights (which can be too rigid) or completely randomizing them (which discards valuable information).
Methodology: Fractional Transfer Learning (FTL)
To address the limitations of binary transfer, researchers introduced Fractional Transfer Learning (FTL). Built upon the Dreamer architecture, FTL utilizes a Recurrent State Space Model (RSSM) to imagine future states. The core innovation lies in how weights are initialized when moving from source tasks to a target task.
Instead of randomizing output layers, FTL initializes weights ($W_T$) using a combination of random noise ($W_{random}$) and a fraction ($\omega$) of the source weights ($W_S$): $$W_T = W_{random} + \omega W_S$$
The researchers categorized the agent's components into three distinct transfer strategies:
- Full Transfer: Applied to the Encoder, Decoder, and RSSM dynamics model, as the underlying physics of the environment remains constant across tasks.
- Random Initialization: Applied to the Action model, as different tasks typically require entirely new movement patterns.
- Fractional Transfer: Applied to the Reward and Value models. This "nudges" the agent toward prior knowledge of what constitutes "value" without being strictly bound by previous reward triggers.
Experimental Setup
The approach was evaluated using the PyBullet physics engine across six continuous control environments: locomotion tasks (Hopper, Ant, Walker2D, HalfCheetah) and pendulum tasks (InvertedPendulum, InvertedDoublePendulum). The study employed Simultaneous Multi-Source Training, where agents were pre-trained on combinations of 2, 3, or 4 tasks to encourage the development of a generalized World Model before transferring to a final target task.
Key Results
Empirical results demonstrate that FTL consistently outperforms both learning from scratch and standard transfer methods. By providing a "just right" initialization, FTL accelerates convergence and improves final performance.
Key findings include:
- Performance Gains: In the "Hopper" task, FTL from 3 source tasks reached an average return of ~8274, a significant improvement over the baseline's ~2241.
- Optimal Source Count: Transferring from 2 or 3 tasks generally yielded the best results. Increasing the source count to 4 sometimes led to diminishing returns, likely due to the dilution of task-specific features.
- Negative Transfer: The "Ant" environment proved challenging, occasionally suffering from negative transfer when source tasks were too dissimilar, highlighting the importance of task relatedness in TL.
Conclusion and Future Work
Fractional Transfer Learning provides a simple yet effective mechanism to bridge the gap between rigid weight retention and information-losing randomization. While the current implementation requires manual tuning of the fraction parameter $\omega$ (with $0.2$ being a recommended starting point), future work may explore automated hyperparameter optimization. Beyond MBRL, FTL holds potential for broader applications in deep learning where fine-tuning output layers is a common practice.
Summary updated