TAIL: Task-specific Adapters for Imitation Learning with Large Pretrained Models

Zuxin Liu, Jesse Zhang, Kavosh Asadi, Yao Liu, Ding Zhao, Shoham Sabach, Rasool Fakoor

Executive Summary

TAIL (Task-specific Adapters for Imitation Learning) is a novel framework designed to allow large pretrained robotic models to learn a continuous stream of new tasks without "forgetting" old ones. By leveraging Low-Rank Adaptation (LoRA), TAIL achieves significantly higher success rates than full fine-tuning while training only ~1% of the total parameters. This makes it both highly effective and computationally efficient for real-world robotic applications.

The Challenge: Data Scarcity and Catastrophic Forgetting

In the realms of vision and language, "foundation models" have revolutionized how AI adapts to new tasks. However, bringing this same flexibility to robotics is notoriously difficult due to two major hurdles:

  1. Data Scarcity: Unlike the internet-scale text available for Large Language Models (LLMs), high-quality robotic demonstration data is rare, expensive, and time-consuming to collect.
  2. The Plasticity-Stability Dilemma: When fine-tuning a large model on a new task (e.g., "opening a drawer"), it often suffers from catastrophic forgetting—losing the ability to perform previously learned tasks (e.g., "picking up a cup"). Conversely, if the model is overly constrained to protect old knowledge, it loses its plasticity, becoming too "stiff" to learn new skills efficiently.

Standard approaches typically either fine-tune the entire model (which is computationally expensive and prone to forgetting) or use "linear probing" (freezing the model and only tuning the final layer), which is often too simplistic to handle complex, out-of-distribution tasks.

The TAIL Framework: Parameter-Efficient Fine-Tuning

To address these challenges, the authors introduce TAIL, which applies Parameter-Efficient Fine-Tuning (PEFT)—a concept popularized in LLMs—to the domain of imitation learning.

TAIL Architecture and Adaptation Strategy

Instead of updating the millions of parameters in a pretrained "backbone" model, TAIL inserts tiny, trainable "adapter" modules into the architecture. The core backbone remains frozen, preserving the rich, generalizable features learned during pretraining. For every new task, the robot initializes a new set of lightweight adapter weights and trains only those on a few human demonstrations.

The researchers evaluated several adapter styles within the transformer architecture:

Various PEFT methods integrated into the Transformer architecture
  • LoRA (Low-Rank Adaptation): Adds pairs of rank-decomposition matrices in parallel to existing weight layers. This emerged as the top performer.
  • Bottleneck Adapters: Small residual blocks inserted sequentially between layers.
  • Prefix Tuning: Adding learnable "virtual tokens" to the input sequence that the model attends to.
  • RoboAdapter: A recent sequential adapter specifically designed for robotics.

Experimental Setup

The study utilizes the LIBERO benchmark, a diverse suite for robotic manipulation. The authors created a "Kitchen" suite with 40 diverse tasks to build the base pretrained model. They then tested the model's ability to transfer knowledge to five distinct 8-task adaptation suites: Spatial (changing layouts), Goal (changing objectives), Object (new items), Living Room, and Study Room. They also evaluated long-horizon, multi-step tasks using the LIBERO-10 dataset.

Key Findings and Results

  • LoRA is the "Sweet Spot": Parallel integration via LoRA significantly outperformed sequential adapters. The authors suggest that well-pretrained models have a low "intrinsic dimension" for control tasks, meaning a very small number of parameters is sufficient to steer the model toward a new behavior.
  • Full Fine-Tuning (FFT) is Counter-Productive: Surprisingly, tuning the whole model led to worse performance on new tasks compared to adapters. FFT tends to "contaminate" the high-quality features of pretrained encoders when trained on small, niche datasets, leading to rapid overfitting.
  • Preserving Plasticity: TAIL maintains "adaptation plasticity." While FFT models became progressively worse at learning new tasks the further they got into a sequence, TAIL models remained just as capable of learning the 50th task as they were the 1st.
  • Zero Forgetting by Design: Because adapters are modular, a robot can simply store the tiny adapter weights for a specific task and reload them later. This completely bypasses catastrophic forgetting.

Performance Metrics: * Efficiency: TAIL-LoRA uses only 1.17% of the trainable parameters required by full fine-tuning. * Memory Savings: It requires 23% less GPU memory during training, allowing for larger batch sizes or training on humbler hardware. * Superior Performance: On the LIBERO-10 long-horizon benchmark, TAIL-LoRA achieved a 0.70 success rate, vastly outperforming Full Fine-Tuning (0.48) and standard continual learning baselines like Experience Replay (0.45) and EWC (0.30).

Limitations and Future Work

While highly effective, TAIL relies heavily on the quality of the frozen pretrained model. If the base model hasn't "seen" features relevant to a new environment, the adapters might struggle to compensate. Future work could explore "AdapterFusion"—combining multiple learned adapters to solve complex tasks requiring skills from different previous domains—and extending the TAIL framework beyond imitation learning into Reinforcement Learning.

Summary updated

BibTeX
@inproceedings{liu2024tail,
  author = {Zuxin Liu and Jesse Zhang and Kavosh Asadi and Yao Liu and Ding Zhao and Shoham Sabach and Rasool Fakoor},
  title = {{TAIL: Task-specific Adapters for Imitation Learning with Large Pretrained Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=RRayv1ZPN3},
}
Figure