TL;DR
ReCAT is a language-conditioned robot policy that uses a structured recurrent memory to solve "non-Markovian" tasks—situations where a robot must remember the past to decide what to do now. By combining Mamba-2 layers for efficient tracking with a causal attention layer for precise recall, ReCAT excels at counting repetitions, timing intervals, and remembering object locations, achieving a 66.7% success rate on complex real-robot memory tasks where standard baselines largely fail.
What Problem Does This Paper Address?
Most current robot policies are "Markovian," meaning they decide the next action based only on the current camera frame (or a very short window of recent frames). However, real-world manipulation often requires a deeper sense of history.
Consider the PLANT task shown in the paper: a robot must scoop soil into a pot exactly twice before moving on to planting a flower. At the "decision point," the visual observation of the shovel over the pot looks identical whether it's the first scoop or the second. Without a memory of how many scoops have already occurred, the robot cannot know whether to scoop again or put the shovel away. This paper addresses the challenge of building a compact, efficient memory that can handle three distinct demands: spatial recall (where was that object?), event counting (how many times did I do that?), and interval timing (how long has it been?).
Methods
ReCAT (Remember, Count, and Time) consists of three primary components:
- Instruction-Conditioned Observation Encoder: This module processes RGB images (via a LoRA-adapted DynaFLIP), language instructions (via T5), and proprioception. It uses a hybrid stack of Mamba-2 and bidirectional attention layers to fuse these modalities into a single feature vector ($z_t$) for every timestep.
- Structured Recurrent Memory: This is the "brain" that tracks history. It takes the current feature $z_t$ and updates a hidden state. The architecture is a hybrid: five Mamba-2 layers (State Space Models) provide efficient, constant-cost recurrence for tracking progress, while one causal attention layer allows the model to "look back" at specific earlier frames.
- Flow-Matching Transformer Decoder: To generate actions, ReCAT uses a flow-matching decoder. Crucially, in every block of the transformer, the decoder performs separate cross-attention to both the current observation ($z_t$) and the historical memory readout ($m_t$). This ensures the robot doesn't lose sight of the present while considering the past.
Datasets
The authors evaluated ReCAT across a mix of simulation benchmarks and custom real-world challenges:
- LIBERO: A standard benchmark for language-conditioned manipulation.
- RMBench: A benchmark containing long-horizon bimanual tasks, including several that depend on past events.
- Real-Robot Tasks: Three specifically designed tasks—PLANT (counting), POT TIMER (timing a 30s wait), and SPONGE (spatial recall of a starting position)—using a Franka Emika Panda robot.
Key Insights and Ideas
- Hybrid Memory is Key: Pure recurrence (SSMs) is great for counting and timing but struggles with exact recall. Pure attention scales poorly with long episodes. Mixing them provides the best of both worlds.
- Update Rules Matter: The authors found that the mathematical "update rule" of the memory changes its behavior. Additive updates (like Mamba-2) are superior for counting and timing because they naturally accumulate evidence. Delta-rule updates (which erase and rewrite) are better for spatial recall, where the most recent location of an object is what matters.
- Direct Access to the Present: A major finding was that the decoder needs to see the current observation and the memory through separate paths in every block. "Late fusion" (only showing memory at the end) or "weak conditioning" (like AdaLN) significantly degraded performance, especially in counting tasks.
- Efficiency: Despite its memory capacity, ReCAT is fast. It has an inference latency of just 59ms, making it faster than many short-history baselines like DP-H or X-VLA-H.
Key Results
- Simulation: ReCAT achieved a 95.3% average success rate on LIBERO and 62.4% on RMBench, outperforming or tying with much larger models (some with 10x more parameters).
- Real-Robot: On the three memory-intensive tasks, ReCAT reached a 66.7% average success rate. In contrast, the strongest short-history baseline (X-VLA-H) managed only 8.3%, failing almost entirely at the critical decision points.
- Counting & Timing: In the POT TIMER task, ReCAT variants waited the correct interval in 100% of rollouts. In the PLANT task, Mamba-based variants completed the two-scoop requirement with high reliability (85-90%).
Limitations and Future Work
While ReCAT performs well, the authors note a few areas for improvement:
- Spatial Precision: While ReCAT can recall where an object was (SPONGE task), it still faces a trade-off between memory use and the fine-grained spatial control needed for perfect placement.
- Generalization: The current real-robot evaluation is limited to specific tasks. Future work is needed to see how well these memory structures generalize across different robot embodiments and more diverse language instructions (e.g., "scoop three times instead of two").
- Ablation Granularity: The study removed the recurrent and attention layers together in ablations; future work could further disentangle their individual contributions to specific sub-skills.
Summary updated