RecallFlow: Episodic Memory as the Source Distribution of Generative Robot Policies

Xuji Zhang, Qilin Zhong, Zichen Zhang, Wei Zhai, Jian Di, Kun Li, Yang Cao, Wenjun Lv

TL;DR

RecallFlow is a novel framework for robot policies that treats episodic memory as the starting point (source distribution) for action generation, rather than just an extra input condition. By "relocalizing" past observations into the current view and starting the generation process near the intended action, it achieves state-of-the-art performance on complex, memory-dependent manipulation tasks while remaining computationally efficient.

What Problem Does This Paper Address?

Imagine a robot playing a "shell game": it sees a ball placed under one of three identical cups, which are then shuffled. To succeed, the robot must remember which cup hides the ball, even though all cups look exactly the same "now."

Most modern robot policies use generative models like Diffusion or Flow Matching. Typically, these models start with a "blank slate" of random Gaussian noise and use the robot's history as a condition to guide the denoising process. However, the authors identify two major flaws in this approach:

  1. Information Overload: As the history grows, the policy struggles to pick out the relevant "cue" from a sea of redundant data, leading to "spurious correlations"—the robot might mistakenly associate a random arm movement with success.
  2. Uninformed Starting Points: Starting from random noise means the model has no initial "hunch" about what to do. It has to do all the heavy lifting of "remembering" during the generation process itself.
Figure 1. Start from what you remember. In memory-dependent manipulation, the evidence that decides which action to take (cue) disappears before the robot acts (now). (a) Feeding the memory to the policy as a condition still starts generation from uninformed noise. (b) RecallFlow starts generation from what it remembers: the episodic memory is the source, and the transport network sees only the present.

Methods

RecallFlow introduces a "division of labor": memory decides where generation starts, and the present decides how to get there. It modifies the standard flow-matching pipeline with two key components:

  1. Recall–Relocalization (RR): The robot maintains a "memory bank" of visual tokens from past frames. When it needs to act, it uses "recall slots" (learnable queries) to look at the memory bank and find those features in the current view. This is crucial because the robot or objects might have moved; the system needs to know where that "remembered" cup is now.
  2. Recall Anchors (RA): Instead of starting with pure Gaussian noise, RecallFlow turns each recall slot into a "Gaussian anchor" in action space. These anchors form a mixture source distribution. If the robot remembers a specific target, it starts its action generation very close to that target.

The final Transport Network then takes a sample from this memory-informed source and refines it into a precise action chunk using only the current observation. Because the heavy lifting of "remembering" is handled by the source distribution, the transport network stays lightweight and fast.

Figure 2. Overview of RecallFlow. The present observation is encoded into tokens Zt. Recall–Relocalization lets Zt read the episodic memory bank and decodes K recall slots, each attending to the current view through a heatmap Hk. Recall Anchors turns each slot into a Gaussian anchor in action space; with a standard Gaussian, the anchors form the source p0. A transport network conditioned only on Zt carries x0 ∼p0 to the action chunk, so memory reaches the action solely through the source.

Datasets

The authors evaluated RecallFlow across several challenging environments:

  • RecallSuite: A new benchmark introduced in this paper featuring five tasks with varying "memory loads," such as NoRepeat (touching several identical containers exactly once) and CountSwing (swinging a cube a specific number of times based on a visual indicator).
  • MIKASA-Robo: A public benchmark for memory-intensive robotic tasks.
  • RoboMimic: Used to verify that adding memory doesn't hurt performance on tasks where the current view is sufficient.
  • Real-Robot Tasks: Four tasks deployed on a physical xArm 7 robot, including a real-world shell game and a color-matching task.
Figure 3. Evaluation tasks in simulation. (a) RecallSuite consists of five memory-dependent tasks: the cue is seen only earlier in the episode, and the candidates look identical when the robot must decide. (b), (c) Tasks from MIKASA-Robo and RoboMimic.

Key Insights and Ideas

  • Memory as Source, Not Condition: This is the core "aha" moment. By moving memory from the conditioning (the "how") to the source distribution (the "where"), the model avoids the confusion of sifting through long histories during active generation.
  • Relocalization is Essential: Simply remembering "the ball was at coordinates (x,y)" isn't enough if the camera has moved. The RR module's ability to map past features to the current visual field is what makes the memory actionable.
  • Efficiency Gains: Because the "choice" is made in the source distribution, the actual generation process is much simpler. The authors found that RecallFlow can often succeed with just a single integration step, whereas standard models might need eight or more.
  • Robustness to "Memory Load": Standard history-conditioned models degrade rapidly as more items need to be remembered. RecallFlow maintains high success rates even in multi-item tasks like NoRepeat-4.

Key Results

  • New State-of-the-Art: On the MIKASA-Robo benchmark, RecallFlow achieved an average success rate of 80.4%, surpassing the previous best of 75.1%.
  • Massive Gains on Complex Tasks: On the NoRepeat-4 task (high memory load), RecallFlow reached 64.7% success, while the strongest history-conditioned baseline managed only 15.0%.
  • Real-World Success: On four real-robot tasks, RecallFlow outperformed the strongest baseline by 18.8 percentage points, achieving an average success rate of 82.3%.
  • Minimal Overhead: RecallFlow adds only about 1.1 ms of latency per action chunk compared to a memoryless policy, making it significantly faster than other history-heavy methods.

Limitations and Future Work

The authors note that their current memory bank has a fixed capacity and stores raw visual tokens. For extremely long or dense episodes, a more sophisticated memory summarization technique might be needed. Additionally, while the current work focuses on single-arm tabletop manipulation, extending this "memory-as-source" idea to multi-task or language-conditioned policies is a promising next step.

Summary updated

Abstract

Diffusion and flow-matching policies have become a standard choice for visuomotor imitation learning, owing to their ability to model multimodal action distributions. In memory-dependent manipulation, the robot must act on information that is no longer visible. Existing methods feed the observation history to the policy as an additional condition, while action generation still starts from Gaussian noise. However, the policy must then pick out the relevant target from a long and redundant history, leading to spurious correlations and unreliable decisions as the memory load grows. Additionally, the initial noise carries no information about what the robot has seen, leaving generation without guidance toward the remembered target. To address these issues, we propose RecallFlow, a flow-policy framework that builds the source distribution from episodic memory. Recall-Relocalization relates the memory to the current view through a few recall slots, so that the source reflects where the remembered targets are now. Recall Anchors then turns each slot into a Gaussian component of the source, enabling generation to start close to the intended action instead of from noise. The transport network then completes the action from the current observation alone, keeping inference nearly as cheap as a memoryless policy. We further build a suite of memory-dependent tasks grouped by memory load and compare all policies under a matched protocol. Extensive experiments show that RecallFlow achieves a state-of-the-art average success rate of 80.4% on the public MIKASA-Robo memory benchmark, and outperforms the strongest baseline by 20.3 points on our suite and by 18.8 points on four real-robot tasks.
BibTeX
@misc{zhang2026recallflow,
  author = {Xuji Zhang and Qilin Zhong and Zichen Zhang and Wei Zhai and Jian Di and Kun Li and Yang Cao and Wenjun Lv},
  title = {{RecallFlow: Episodic Memory as the Source Distribution of Generative Robot Policies}},
  year = {2026},
  eprint = {2611.23731},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.23731},
}
Figure