TL;DR
Finetuning generalist robot policies on small datasets typically causes severe overfitting, destroying their original capabilities and failing to handle out-of-distribution variations. This paper introduces RETAIN, a remarkably simple yet effective method that linearly interpolates the weights of the pretrained and finetuned models to achieve robust task adaptation while fully preserving broad generalist skills.
What Problem Does This Paper Address?
Modern Vision-Language-Action (VLA) models excel at zero-shot robotic control across diverse environments. However, when deployed in the real world, they often need to be adapted to specific new tasks. Because collecting robotic demonstration data is expensive and time-consuming, practitioners usually rely on small finetuning datasets (typically fewer than 100 demonstrations).
In this low-data regime, standard behavioral cloning causes severe overfitting. As the policy adapts to the new task, it suffers from catastrophic forgetting—losing its original generalist capabilities. More surprisingly, it also becomes incredibly brittle, failing to generalize to minor out-of-distribution (OOD) variations of the new task, such as changes in object positions, backgrounds, or the presence of distractor objects.
Methods
The authors propose RETAIN (Robust finE-tuning wiTh pArameter mergINg). Instead of directly deploying a finetuned policy, RETAIN averages the weight space of the pretrained base policy ($\theta_{pre}$) and the finetuned policy ($\theta_{ft}$) using a tunable merging weight $\alpha$:
$$\tilde{\theta} = (1 - \alpha) \cdot \theta_{pre} + \alpha \cdot \theta_{ft}$$
The paper evaluates three main flavors of this approach:
- RETAIN-task-FT: Standard finetuning on the target task followed by weight merging.
- RETAIN-co-FT: Finetuning on a mix of target data and pretraining data before merging, which acts as an additional regularizer.
- Modality-Specific Merging: Given that VLA models consist of distinct modules (a vision encoder, an LLM backbone, and an action expert), the authors experiment with applying different interpolation weights to different layers.
Additionally, the authors show that RETAIN can be applied iteratively for Continual Task Adaptation, allowing a robot to sequentially learn multiple new skills over time without forgetting previously acquired ones.
Datasets
The method was rigorously evaluated across both simulated and real-world environments:
- Real-World (DROID Platform): Pretrained on the massive DROID dataset (76k episodes across 564 scenes). Finetuning and robust generalization were tested on two physical tasks:
whiteboard(wiping text with an eraser, ~50 demonstrations) andplates(inserting dishes into a drying rack, ~100 demonstrations). - Simulation (LIBERO Benchmark): Pretrained on 117 tasks across multiple suites. Finetuning was evaluated on three distinct tasks from the LIBERO-10 suite:
pot-on-stove,mugs-on-plates, anditems-into-basket(~45 demonstrations per task).
Performance was measured across three distinct dimensions: In-Distribution (ID) target tasks, Out-of-Distribution (OOD) target task variations, and original Generalist tasks.
Key Insights and Ideas
- The LLM Backbone is the Generalization Engine: Through modality-specific merging analysis, the authors discovered that the language model backbone parameters have the most significant impact on robustness. Surprisingly, merging only the LLM parameters ($\alpha_l < 1$) while leaving the vision encoder and action expert fully finetuned ($\alpha_v = \alpha_a = 1$) performs just as well as merging the entire model.
- Linear Mode Connectivity in Robotics: The success of RETAIN suggests that finetuning robot policies, much like vision and language models, operates within a low-error pathway connected to the base model. Weight averaging effectively finds a centered, more robust solution within this region.
- Data Scaling Benefits: The effectiveness of parameter merging scales directly with the volume of pretraining data. A base model trained on a larger, more diverse dataset transfers significantly higher OOD robustness to the final merged policy.
Key Results
- Massive OOD Improvements: On real-world DROID test environments, RETAIN-adapted policies outperformed standard finetuning baselines by an average of ~40% success rate on OOD variations.
- Mitigating Catastrophic Forgetting: While standard task finetuning caused performance on original generalist tasks to plummet toward zero as training progressed, RETAIN maintained generalist task performance on par with the un-finetuned base model.
- Successful Sequential Learning: In continual learning setups, RETAIN successfully accumulated multiple skills sequentially, significantly outperforming co-finetuning baselines on prior tasks.
Limitations and Future Work
- Theoretical Understanding: While empirically highly effective, a complete theoretical understanding of why weight interpolation provides such a strong regularizing effect specifically for multi-modal robotic control remains an open question.
- Hyperparameter Tuning: RETAIN relies on selecting an optimal merging coefficient $\alpha$. Although the model is relatively robust to variations in this parameter, it currently requires an OOD validation scene to tune properly. Developing automated heuristics to determine $\alpha$ without validation data is a prominent direction for future work.
Summary updated