Lifelong Imitation Learning with Multimodal Latent Replay and Incremental Adjustment

Fanqi Yu, Matteo Tiezzi, Tommaso Apicella, Cigdem Beyan, Vittorio Murino

TL;DR

This paper introduces a lifelong imitation learning framework for robots that tackles catastrophic forgetting by storing compact multimodal latent features instead of raw data. By combining this memory-efficient replay with an adaptive angular margin loss, the method prevents representation drift and sets a new state-of-the-art on the LIBERO robotics benchmark with up to 65% less forgetting.

What Problem Does This Paper Address?

Lifelong Imitation Learning (LIL) aims to enable robotic agents to continuously acquire new skills over time. However, neural networks suffer from catastrophic forgetting—overwriting previously learned skills when adapting to new ones.

Traditional experience replay mitigates this by storing past trajectories and interleaving them with new data during training. However, saving raw, high-dimensional video frames from robot cameras is incredibly memory-intensive. Furthermore, when a robot encounters a new task that is semantically similar to an old one (e.g., "pick up the glass" vs. "pick up the dish"), their representations can overlap in the shared embedding space. This representation drift causes inter-task interference, degrading the robot's performance across both tasks.

Methods

The authors propose a framework consisting of two main components built on top of a base policy architecture (which uses frozen CLIP vision/language encoders, an MLP state encoder, FiLM modulation layers, and a GPT-2 temporal decoder):

  1. Multimodal Latent Replay (MLR): Instead of saving raw images and trajectories, the framework saves compact, joint latent features (vision, language, robot state) in the replay buffer. During the lifelong learning stage, the heavy unimodal encoders remain completely frozen, and only the temporal decoder and policy head are updated. This drastically reduces the memory footprint.
  2. Incremental Feature Adjustment (IFA): To prevent representation drift, IFA introduces an angular distance-based regularization loss. It uses the stable language embedding of a task instruction as a reference anchor. The loss ensures that a new task's latent representation stays closer to its own language anchor ($D_{\text{own}}$) than to the anchors of previous tasks ($D_{\text{other}}$) by at least an adaptive margin $\delta$.

The overall architecture and the feature adjustment mechanism are illustrated below:

Overall architecture showing the multi-task pretraining and lifelong learning stages.
Illustration of how IFA enforces inter-task distinctiveness using an angular margin constraint.

Datasets

The method was evaluated on the LIBERO lifelong robotic manipulation benchmark, utilizing three distinct task suites:

  • LIBERO-OBJECT: 10 tasks focusing on manipulating different objects.
  • LIBERO-GOAL: 10 tasks focusing on achieving different goals with identical initial layouts.
  • LIBERO-50: A long sequence of 50 complex kitchen tasks designed to test long-horizon scalability.

Key Insights and Ideas

  • Frozen Backbones are Sufficient: Unlike many recent methods that rely on Parameter-Efficient Fine-Tuning (PEFT) like LoRA to adapt encoders to new tasks, this paper proves that keeping the CLIP backbone entirely frozen during lifelong learning works exceptionally well—provided the downstream temporal alignment and feature spaces are properly regularized.
  • Angles Matter More Than Cosine Similarity: Traditional cosine distance compresses small distinctions between highly similar tasks. By using an angular formulation ($\arccos$) for the margin constraint, the loss magnifies differences between close task representations, leading to much cleaner task separation.
  • Language as a Stable Anchor: Using the text embedding of the task instruction as the reference anchor performs better than using the moving average (centroid) of the visual or global representations. This is because language provides a fixed, semantically grounded coordinate system that does not drift as the policy updates.

Key Results

The combination of MLR and IFA achieved a new state-of-the-art across all three LIBERO benchmarks, evaluated using Forward Transfer (FWT), Negative Backward Transfer (NBT/forgetting), and Area Under the Curve (AUC):

  • Massive AUC Gains: The framework improved AUC by 10–17 points compared to previous leading methods like LOTUS and M2Distill.
  • Drastic Forgetting Reduction: On LIBERO-GOAL, it reduced forgetting (NBT) to just 6.9%, compared to 19.4% for ISCIL and 30.0% for LOTUS.
  • Scalability: On the challenging 50-task sequence (LIBERO-50), MLR+IFA outperformed all baselines by a large margin, achieving an AUC of 56.1% (the next best baseline was 45.0%).

The impact of IFA on the latent space is clearly visible via UMAP clustering, showing how it forces intertwined task representations into distinct, well-separated clusters:

UMAP visualization showing intertwined clusters without IFA vs. distinct, well-separated task clusters with IFA.

Limitations and Future Work

  • Task Similarity Boundary: While IFA handles high-similarity tasks well via its adaptive margin, extremely identical tasks might still exhibit some representation overlap because the margin is inherently tied to the distance between task instructions.
  • Future Directions: The authors suggest exploring even longer and more complex task sequences, cross-domain transfer (e.g., simulation to real-world), deployments on physical hardware, and integrating this framework with reinforcement learning to allow autonomous exploration.

Summary updated

BibTeX
@inproceedings{yu2026lifelong,
  author = {Fanqi Yu and Matteo Tiezzi and Tommaso Apicella and Cigdem Beyan and Vittorio Murino},
  title = {{Lifelong Imitation Learning with Multimodal Latent Replay and Incremental Adjustment}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=SscFMFyf9v},
}
Figure