Memory Anchors for Continual Robot Learning

Maximilian Du, Zhanyi Sun, Chen Xu, Paarth Shah, Masha Itkina, Shuran SongarXiv 2026

TL;DR

When robots learn new tasks sequentially, they often suffer from "catastrophic forgetting," especially when a new task looks identical to an old one but requires a completely different action. This paper reveals that a tiny fraction of past experiences—termed Memory Anchors—are disproportionately responsible for preventing this forgetting. By identifying and actively safeguarding these high-conflict memories using a new algorithm called ANCHORER, the authors drastically reduce forgetting in both simulation and real-world manipulation tasks.

What Problem Does This Paper Address?

Imagine a robot that has mastered opening a jar by turning it counter-clockwise. Now, you want to teach it to open a new type of jar by turning it clockwise. Because the jars look visually similar, the robot's neural network maps them to the same internal representation space. Without careful intervention, learning the new clockwise behavior completely overwrites the old counter-clockwise knowledge.

To combat this, roboticists typically use Experience Replay (ER), maintaining a replay buffer of past experiences to rehearse alongside new data. Conventionally, this buffer is sampled uniformly. However, the authors show that uniform sampling introduces massive performance variance; some random samples preserve past tasks perfectly, while others fail miserably. This paper addresses the core question: Which specific past experiences are actually critical for anchoring a robot's memory, and how can we systematically find them?

Figure 1: Memory Anchors. New tasks may be visually similar to old tasks while requiring different, some- times even opposite actions, causing catastrophic forgetting (Right). We claim that a small proportion of old data plays a large role in anchoring past task performance. While these Memory Anchors may appear naturally in randomly selected memories, their concentration is especially important with conflicting tasks. We propose a method for finding Memory Anchors and supplementing the ER buffer with them to reduce catastrophic for- getting for these worst-case scenarios (Left).

Methods

The authors discover that the most critical memories lie in "conflict regions"—where the visual/semantic inputs of a new task overlap heavily with an old task, but the required actions are completely different. They introduce a three-step pipeline to extract these Memory Anchors:

  1. Find State Representation Overlap: The new task data is passed through the existing policy's latent space to find data points that geometrically cluster close to old task experiences.
  2. Isolate Action Disagreements: For these overlapping states, the method evaluates the difference between the policy's predicted actions and the ground-truth actions required by the new task. Because modern robot policies often use generative models (like Diffusion Policies), the authors use a clever noise-denoise approach to robustly measure action disagreement without getting tripped up by multi-modal action distributions.
  3. Extract Memory Anchors: The old task data points that are closest to these high-disagreement new states are retrieved from the dataset.

The authors then propose ANCHORER, an enhanced ER algorithm that explicitly reserves a portion of the replay buffer (e.g., 10%) for these critical Memory Anchors rather than relying on purely random sampling.

Figure 4: New Data Overlaps Past Tasks. When new and old tasks share visual or se- mantic similarities, a policy can collapse a new task (red) into an existing task’s repre- sentation space (orange), causing conflict.

Datasets

The method was evaluated across both simulated and real-world benchmarks:

  • LIBERO: A standard simulation benchmark for lifelong robot learning consisting of four distinct suites (LIBERO-Long, LIBERO-Goal, LIBERO-Object, and LIBERO-Spatial), each containing 10 manipulation tasks trained in sequence.
  • OpenJar (New Real-Robot Suite): A real-world suite featuring visually identical jars that require three distinct, conflicting strategies to open: counter-clockwise rotation, clockwise rotation, or a direct vertical lift.
  • SweaterFold (New Real-Robot Suite): A bimanual, language-conditioned garment-folding setup requiring the robot to execute conflicting folding trajectories (fold left, fold right, fold up) on the same sweater.

Key Insights and Ideas

  • The 10% That Matters: Forgetting is not a uniform degradation across all past data. A very small subset of experiences does the heavy lifting of anchoring past performance.
  • The Danger of Uniform Sampling: Randomly sampling a replay buffer is a gamble. If a random draw happens to miss the conflict regions, the robot will experience severe catastrophic forgetting.
  • Localized Interference: In homogeneous environments (like LIBERO-Goal or the real-world jar setup), more than 50% of all negative backward transfer (forgetting) is driven by just a couple of highly conflicting task pairs.
Figure 2: Sensitivity of Experience Replay (ER) to Data Selection. The standard ER practice (FixedER) samples at the trajectory level and does not resample DER after a new task. If we sample uniformly at the transition level and resample DER for every new task (RandER), we get more consistent performance across tasks (A). However, remaining variance exists between samples of DER (B), indicating sensitivity to the exact data present in DER.

Key Results

  • The Subtraction Test: Sabotaging the replay buffer by removing just the top 10% of identified Memory Anchors caused a massive 4.5x increase in catastrophic forgetting across the LIBERO benchmarks.
  • Mitigating Conflict: By actively enriching the replay buffer with Memory Anchors, ANCHORER reduced forgetting on the most severe, high-conflict task pairings by 63%.
  • Real-Robot Success: On the physical ARX robot arm setups (OpenJar and SweaterFold), standard uniform ER often caused the robot to lose its ability to learn new tasks (loss of plasticity) or completely forget old ones. ANCHORER successfully balanced stability and plasticity, achieving a 1.7x higher overall success rate than the uniform baseline.

Limitations and Future Work

While highly effective, the proposed Memory Anchor extraction process has a few notable limitations:

  • White-Box Dependency: It requires direct access to the policy's internal latent space and action outputs, making it difficult to apply to proprietary, black-box models or APIs.
  • Computational Overhead: Computing latent representations for entire past datasets at the start of every new task is computationally heavy and may scale poorly to massive, open-ended task sequences.
  • Short Sequences: The evaluation was limited to relatively short sequences of 3 to 10 tasks. Testing how Memory Anchors behave over hundreds of sequential tasks remains an open area for exploration.

Summary updated

BibTeX
@misc{du2026memory,
  author = {Maximilian Du and Zhanyi Sun and Chen Xu and Paarth Shah and Masha Itkina and Shuran Song},
  title = {{Memory Anchors for Continual Robot Learning}},
  year = {2026},
  eprint = {2608.26545},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.26545},
}
Figure