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 task-agnostic lifelong imitation learning framework for robots that combats catastrophic forgetting without the massive storage overhead of raw data replay. By replaying compact multimodal representations entirely within a latent space and applying an angular-margin regularization loss, the method achieves state-of-the-art performance on the LIBERO robotic manipulation benchmarks, boosting average success rates (AUC) by 10–17 points while slashing forgetting by up to 65%.

What Problem Does This Paper Address?

When training robots using Imitation Learning (IL), we typically train them on a fixed set of tasks. However, real-world environments are dynamic; a household robot will continuously encounter new tools, layouts, and objectives.

In Lifelong Imitation Learning (LIL), the goal is to let the agent continuously acquire new skills sequentially. The core challenge here is catastrophic forgetting—as the network updates to learn a new task, it overwrites the weights required for previous tasks.

Existing solutions have major drawbacks:

  1. Task-dependent architectures require knowing the exact task ID during evaluation to route inputs to specific network "adapters," which isn't realistic for an autonomous agent.
  2. Standard Experience Replay (ER) stores raw trajectories (like high-dimensional video frames), which quickly exhausts onboard memory.
  3. Representation Drift: When new tasks are semantically similar to old ones (e.g., "pick up the glass" vs. "pick up the dish"), their representations overlap in the shared embedding space, causing cross-task interference.

Methods

The authors propose a task-ID-agnostic framework consisting of two primary components:

  1. Multimodal Latent Replay (MLR): Instead of saving raw images and trajectories in a replay buffer, the framework stores compact, joint latent features that combine visual, linguistic, and robot state data. During the lifelong learning stage, the underlying unimodal encoders (like CLIP for vision and language) remain completely frozen, and only the temporal decoder and policy head are updated.
  2. Incremental Feature Adjustment (IFA): To stop new task embeddings from drifting into old task spaces, IFA introduces a regularization loss based on angular distances. It uses the stable, fixed language embedding of a task as an anchor. The loss applies an attractive force pushing a task's global representation toward its own language anchor, and a repulsive force pushing it away from other tasks' anchors.
Figure 2. Our method is a general multimodal architecture composed of modality-specific encoders (language, vision, and state), a modu- lation network, a temporal decoder, and a policy head. During the pretraining phase, all architecture modules are trained. In the lifelong learning phase, only the temporal decoder and policy head are updated using both the new task data and the samples stochastically stored in the replay buffer. The buffer stores the multimodal features, output of the modulation layer. The model is jointly supervised by both the Behavior Cloning and the Incremental Feature Adjustment loss, processing the current task and previously stored tasks.

Datasets

The framework was evaluated on the LIBERO benchmark, a standard suite for lifelong robotic manipulation:

  • LIBERO-OBJECT (10 tasks): Evaluates the robot's ability to manipulate different objects.
  • LIBERO-GOAL (10 tasks): Focuses on achieving different goal states with identical initial scenes.
  • LIBERO-50 (50 tasks): A long, complex sequence of diverse kitchen tasks designed to test scalability.

Key Insights and Ideas

  • Latents are Enough: You don't need to store raw pixels to prevent forgetting. Replaying compact, multi-modal features from frozen backbones provides enough signal to stabilize the policy network while drastically reducing the memory footprint.
  • Language as a Stable Anchor: The authors experimented with using the "mean global representation" of a task as an anchor, but found it drifted as the model updated. Text instructions, passed through a frozen language encoder, provide a perfectly stable, semantically meaningful reference point that never changes.
  • Angles Over Cosine: Standard cosine distance saturates when vectors are very close, making it hard for a loss function to distinguish small variations between highly similar tasks. By using an angular formulation ($\arccos$), the framework expands this high-similarity region, providing stable resolution and better feature disentanglement.
The mathematical difference between cosine and angular distance in high-similarity regimes.

Key Results

The combination of MLR and IFA established a new state-of-the-art across all three LIBERO benchmarks, outperforming prominent baselines like LOTUS and M2Distill.

  • Higher Success, Less Forgetting: On the LIBERO-GOAL suite, the method improved the Area Under the Curve (AUC) success rate to 77.2% (compared to 60.5% for the next best method, ISCIL) while dropping Negative Backward Transfer (forgetting) down to just 6.9%.
  • Scalability: On the massive 50-task LIBERO-50 benchmark, the framework achieved a 56.1% AUC, outperforming all baselines by a wide margin.
  • Clearer Latent Spaces: Visualizing the latent space via UMAP demonstrates that enforcing the IFA loss forces task representations into tight, distinct clusters, preventing the overlapping clutter that leads to catastrophic forgetting.
UMAP visualization showing intertwined task embeddings without IFA (left) versus distinct, well-separated clusters with IFA (right).

Limitations and Future Work

While the framework proves highly effective on simulated benchmarks, the authors note a few areas for expansion:

  • Real-World Deployment: The method has yet to be validated on physical hardware where noisy sensory inputs and real-world dynamics might test the limits of frozen CLIP embeddings.
  • Longer Horizons: While 50 tasks is substantial for current benchmarks, true lifelong learning requires scaling to hundreds or thousands of tasks.
  • Reinforcement Learning Integration: Combining this imitation learning setup with reinforcement learning could allow the robot to autonomously refine its policies beyond human demonstrations.

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