arXiv(opens in a new tab)cs.ROAug 2026Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2608.26545

Memory Anchors for Continual Robot Learning

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Maximilian Du

Stanford University

maxjdu@stanford.edu

Paarth Shah

Toyota Research Institute

paarth.shah@tri.global

Zhanyi Sun

Stanford University

zhanyis@stanford.edu

Masha Itkina

Toyota Research Institute

masha.itkina@tri.global

Chen Xu

Toyota Research Institute

chen.xu@tri.global

Shuran Song

Stanford University

shuran@stanford.edu

Abstract: Robot policies deployed in the wild should have the capability to continually learn new tasks without forgetting existing behaviors. A common approach to combat such catastrophic forgetting is to train on new task data with a replay buffer of previously learned task data. Although this buffer is commonly sampled randomly from all prior experiences, we show that a small set of these experiences contributes greatly in anchoring past performance. We call these experiences Memory Anchors. We identify Memory Anchors in regions where representations of new-task observations collapse onto those of old-task observations even though the tasks require conflicting actions, like when a familiar object must be manipulated in a new way. Rehearsing old data in this region plays a key role in preventing destructive overwriting of past task knowledge, serving as this critical Memory Anchor role. Excluding only 10% Memory Anchors before sampling the buffer leads to more than a 4.5x increase in catastrophic forgetting on the LIBERO benchmark suites. Conversely, enriching the replay buffer with Memory Anchors can decrease high-conflict task forgetting by 63% and enables successful continual learning of two task sequences on a real robot.

Keywords: continual learning, robot imitation learning, catastrophic forgetting

1 Introduction

As learned robot policies become increasingly capable, their continuous deployment raises the challenge of acquiring new capabilities without losing existing behaviors. New tasks are rarely independent of those already present in the policy: they may share observational similarities while requiring conflicting behaviors. For example, a robot opening a jar clockwise must both draw on and distinguish this new behavior from its experience opening jars counter-clockwise. Capturing these task relationships by balancing commonalities and contradictions is therefore essential for successful continual learning (CL). Failing to do so can lead to catastrophic forgetting: large drops in past task performance after learning the new task [1, 2].

Existing continual learning approaches tackle catastrophic forgetting by regularizing new task learning with past knowledge [3, 4]. A popular approach is Experience Replay (ER) [5], which maintains a replay buffer of past data that is trained jointly with new task data, encouraging the policy to find solutions that keep both old and new task losses low. ER is appealing due to its simplicity and agnosticism to architectures and training techniques [6, 5].

The benefits of ER generally carry over to robotic continual learning [6], but in this work, we claim that their underlying mechanism is more nuanced. We discover that a randomly-sampled ER buffer preserves some tasks easily during new task training, while other tasks degrade drastically. The affected tasks have conflict regions with the new task: high observation representation overlap (input) with very different required actions (output). Therefore, the small set of memories that

Sequential Continual Learning

Figure

Figure 1: Memory Anchors. New tasks may be visually similar to old tasks while requiring different, sometimes 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 forgetting for these worst-case scenarios (Left).

regularize these conflicts play a disproportionately large role in anchoring past task performance. We call this set: Memory Anchors.

To test our hypothesis, we propose a three-step Memory Anchor extraction process. First, we find the region of new task data that overlaps with old task data in the policy's latent space. Second, from this overlap, we extract the new data with the highest action disagreement: the difference between the policy's predicted actions and ground truth actions. Third, we use the policy's latent space to retrieve Memory Anchors: the old task data most similar to this conflict set. Using this method, we study how Memory Anchors influence catastrophic forgetting and also propose enriching their presence to improve past task retention. Concretely, our contributions are as follows:

• Memory Anchors Analysis for Past Task Retention: We posit that some data in the ER buffer contributes disproportionately to past task retention for robot continual learning. We extract these critical task-anchoring experiences (Memory Anchors) using the policy’s predictions and representation space ( §4§4). We demonstrate the impact of these Memory Anchors by both reducing and enriching their presence in the ER buffer ( §5§5).

• ANCHORER Algorithm for Reducing Catastrophic Forgetting: We propose ANCHORER, a method that enriches ER buffers with additional Memory Anchors to reduce catastrophic forgetting, especially for tasks that conflict when trained in sequence ( §5.2§5.2).

• Challenging Real-Robot Study: Continual learning in robotics has mostly been studied in simulation benchmarks [6, 7]. From our Memory Anchor findings, we claim that homogeneous tasks (tasks that are observationally similar but conflict in action) are the most difficult to learn sequentially. We design real robot task suites around this finding and validate ANCHORER on it ( §5.4§5.4).

On the LIBERO benchmark [6], we find that reducing access to just 10% of the best Memory Anchors leads to a 4.5x increase in catastrophic forgetting on the same ER buffer size ( §5.1§5.1). Furthermore, reserving 10% of an ER buffer for Memory Anchors (ANCHORER) leads to a 63% drop in catastrophic forgetting for the most conflicting task pairings ( §5.2§5.2). The benefits of ANCHORER transfer to a real robot continual learning task ( §5.4§5.4), where it improved the total task success by 1.7x over a random ER buffer. Videos and additional visualizations can be found on our website: robot-adaptation.github.io/MemoryAnchors.

References (46)