Introduction
In the quest to build sample-efficient AI, meta-learning (learning to learn) has emerged as a popular way to help agents adapt to new tasks using past knowledge. In the computer vision community, researchers recently realized that simple pretraining followed by fine-tuning often matches or beats complex meta-learning algorithms. However, in the reinforcement learning (RL) community, meta-RL is still widely considered superior to simple fine-tuning.
This paper demonstrates that this discrepancy largely exists because of how the RL community evaluates its algorithms. Meta-RL is predominantly tested on "variation adaptation"—adapting to the same task with tweaked friction parameters or reversed reward functions. In contrast, computer vision tests on entirely distinct classes (e.g., dogs vs. airplanes). Furthermore, most meta-RL benchmarks use fully observable states and shaped rewards, ignoring the messy reality of high-dimensional images and sparse rewards.
This work asks a critical question: how do state-of-the-art meta-RL algorithms actually stack up against simple multi-task fine-tuning when forced to adapt to truly distinct, vision-based tasks? The findings show that when evaluated on distinct, unseen tasks, simple multi-task pretraining followed by fine-tuning performs equally well or better than complex meta-RL methods.
Methods and Baselines
The authors compare three prominent meta-RL paradigms against a simple baseline across various base RL algorithms (PPO, C2F-ARM, RainbowDQN):
- Reptile: A first-order, gradient-based meta-learning method (similar to MAML) that finds easily adaptable initial network parameters.
- PEARL: A context-based, off-policy method that uses probabilistic filtering to infer how to solve a task based on recent experiences.
- RL$^2$: A recurrence-based method that uses an LSTM to embed agent experiences, effectively encoding an RL update rule into the RNN weights.
- The Baseline (MTRL + Fine-tuning): Multi-Task Reinforcement Learning (MTRL) trains a single policy to solve all training tasks simultaneously. At test time, this policy is simply fine-tuned on the new task using standard gradient descent.
Datasets
The study evaluates cross-task adaptation on three vision-based benchmarks of increasing difficulty:
- Procgen (Coinrun): Procedurally generated 2D platformer levels. Difficulty: Easy. The embodiment and objects are consistent; only layouts and colors change (cross-level adaptation).
- RLBench: A 3D robotic manipulation environment with sparse rewards. Difficulty: Medium. The embodiment (a robot arm) is consistent, but the objects and goals vary drastically (e.g., picking up a cup vs. pushing a button).
- Atari (ALE): Classic arcade games. Difficulty: Hard. Embodiment, objects, and goals all vary completely between games (cross-game adaptation).
Key Results and Insights
The paper draws a hard line between adapting to a variation (same state-action space, different dynamics) and a new task (disjoint state-action spaces). Meta-RL excels at the former but struggles at the latter.
- Simplicity Wins: MTRL + fine-tuning is conceptually simpler, computationally cheaper, and empirically superior (or equal) to complex meta-RL architectures when dealing with diverse visual tasks.
- Procgen: MTRL + fine-tuning achieved the best sample efficiency and final performance on unseen levels. RL$^2$ failed to improve performance on unseen levels, indicating its hidden state couldn't adapt to new layouts.
- RLBench: Given 0 test-time demonstrations, MTRL + fine-tuning matched Reptile's performance and significantly outperformed both PEARL and training from scratch across 5 unseen test tasks. In this sparse-reward environment, multi-task pretraining followed by fine-tuning drastically reduced the need for test-time expert demonstrations.
- Context Encoders Fail on Disjoint Tasks: PEARL failed completely on RLBench. Because the training tasks were visually disjoint, the agent never learned to extract high-quality context embeddings to figure out which task it was doing. PEARL's architecture assumes tasks are visually similar enough that the agent must rely on context to disentangle them.
- Atari: Transferring knowledge across entirely different Atari games proved exceptionally difficult for all methods. While pretraining on 10 games gave Reptile a slight edge on the game Assault, training from scratch remained highly competitive across the board. Neither meta-RL nor MTRL effectively bridged the massive visual and control gap between distinct Atari games.
Limitations and Future Work
The authors acknowledge that the number of available pre-training tasks in RLBench (10 tasks) and Atari (10 games) is relatively small. This limited scale might prevent the agents from learning the rich, generalizable representations required for optimal zero-shot or few-shot adaptation.
For future work, the authors strongly advocate that the RL community shift toward evaluating meta-RL on more challenging, distinct tasks rather than simple variations. Most importantly, researchers should always include multi-task pretraining with fine-tuning as a mandatory, simple-yet-strong baseline to prove their meta-learning algorithms are actually providing unique value.
Summary updated