Skip to content
Robotics.world

Research

Mem4Act: Learning Effective Latent Memory for Long-Horizon Robotic Manipulation

Long-horizon manipulation often requires remembering things that are no longer visible — a block's color before it was covered, which object was moved earlier, how far a multi-step procedure has…

The paper’s first page · arXiv:2610.22323
arXiv
2610.22323 · Preprint · not peer-reviewed
Published
2026-10-15
Authors
Yun Zhang, Zhiyu Huang, Tianhui Cai, Chen Tang, Wei Wang, Jiaqi Ma

In plain words

Long-horizon manipulation often requires remembering things that are no longer visible — a block's color before it was covered, which object was moved earlier, how far a multi-step procedure has progressed.

AI summary

Overview

  • Research area: Robotics — specifically Vision-Language-Action (VLA) models for long-horizon robotic manipulation, with a focus on memory architectures under partial observability.
  • Technical level: Advanced. The paper assumes familiarity with transformer attention, VLA backbones (π0.5 / PaliGemma / SigLIP), flow-matching action heads, and self-supervised visual features (DINO).
  • Scope: The paper proposes Mem4Act, a framework that compresses an episode's history into a fixed-size latent memory of 512 tokens and trains a VLA policy to actually use that memory, evaluated on 29 manipulation tasks across two simulators and four real-world tasks.

What This Paper Is About

Long-horizon manipulation often requires remembering things that are no longer visible — a block's color before it was covered, which object was moved earlier, how far a multi-step procedure has progressed. Most VLA policies act mainly from the current observation, and existing ways of adding history (feeding full frame stacks, keeping selected keyframes, compressing per-frame tokens, or writing language summaries) either blow up the policy's context or throw away information that turns out to matter later. The goal of this work is to learn a compact, fixed-size latent memory that covers a long history, retains the right content, and is genuinely relied upon by the action policy.

Key Contributions

  1. Structured latent memory via multi-granularity temporal attention. Memory tokens are organized into a fine-to-coarse hierarchy of temporal windows (default 32 → 16 → 8 windows across three memory layers), so a fixed budget of 512 tokens spreads coverage across local events and long-range context instead of redundantly attending to the same salient moments.
  2. Memory-specific supervision beyond the action loss. Memory is directly trained with two complementary objectives: question-answering supervision over subgoal-derived questions (task facts, past events, current and next actions, demonstration context) and reconstruction of frozen DINO features for up to K keyframes (perceptual detail).
  3. Memory-first two-stage training. Stage 1 freezes the pretrained VLA backbone and grounds the memory encoder using only the QA and DINO objectives; Stage 2 jointly adapts memory and policy for action generation, updating the memory encoder at a reduced 0.1× learning rate.
  4. A single shared memory policy across tasks. Unlike several RMBench baselines that train a separate model per task, one Mem4Act policy is trained jointly across all nine RMBench tasks and still achieves the best overall success rate.

Main Findings

  • State-of-the-art on RoboMME: 49.88% overall success across 16 single-arm tasks (4 tasks per memory category, 50 rollouts each), beating the strongest baseline FrameSamp+Modul (44.51%) by 5.37 percentage points. Per category: Counting 72.50, Permanence 31.50, Reference 39.50, Imitation 56.00.
  • Permanence is the weak spot: MemER scores higher on the Permanence (spatial memory) category at 53.17% versus Mem4Act's 31.50%, even though Mem4Act wins overall.
  • Large gains on the hardest RMBench tasks: 61.0% overall across nine dual-arm tasks (100 rollouts each), 12.3 points above NativeMEM (48.7%). On ℳ(1) tasks the two are close (76.8% vs 75.8%); on the longer ℳ(n) tasks Mem4Act reaches 41.3% versus NativeMEM's 14.8%, a 26.5-point gap. It scores 99–100% on Rearrange, Put Back, Swap, and Cover.
  • Real-world advantage grows with episode length: 81.50% average over four tasks and 50 trials per task, versus 42.50% for GPT-6 Astra (xhigh) and 42.00% for FrameSamp+Modul. Per task: Cover Blocks 78, Swap Blocks 70, Rearrange Blocks 100, Put Block Back 78. The authors attribute the larger real-world gap to episode length — real-world episodes have a median of 982 frames versus 430 in RoboMME, while trials average roughly 1,200 frames, and a 512-token image-based baseline can use only up to 32 images.
  • Temporal structure matters more than raw capacity: At a fixed 512 tokens, an unstructured full-history model scores 33.25% and repeated 32→32→32 aggregation 36.88%, while the default 32→16→8 hierarchy reaches 49.88%. Scaling memory from 128 to 256 to 512 tokens improves success from 40.13% to 44.25% to 49.88%, but 1024 tokens drops to 42.75%. The structured 128-token model (40.13%) already outperforms unmasked full-history attention with 512 tokens (33.25%).
  • Semantic and perceptual supervision are complementary: QA supervision helps most on semantic tasks (58.80% vs 55.60% for DINO alone), DINO supervision helps most on perceptual tasks (50.67% vs 45.33% for QA alone), and combining both gives the best joint-task score (37.60%) and best overall (49.88%).
  • Memory must be adapted, but slowly: Freezing the pretrained memory in Stage 2 collapses performance to 18.38%. Updating it at 1.0× the action learning rate gives 43.25%; at 0.1× it gives the best result, 49.88%.
  • The policy genuinely uses memory: When the historical prefix is swapped with another rollout of the same task (keeping the current observation, state, and instruction correct), the 0.1× two-stage model drops from 49.88% to 16.13% — a much larger degradation than one-stage training (33.38% to 16.63%), indicating stronger reliance on rollout-specific memory.

Methodology in Plain English

The system is built on top of an existing VLA model (π0.5) and adds a separate "memory" module beside it.

Encoding history. For every past frame (third-person view only), a frozen SigLIP vision encoder produces a feature grid that is pooled into 16 visual tokens. Each token is tagged with the robot's proprioceptive state, how old the frame is, and whether it came from a demonstration or from live execution. RoboMME keeps up to 164 frames sampled every 15 steps; RMBench and the real-world setup keep up to 128 frames sampled every 30 steps.

Compressing into memory. A set of 512 learnable memory tokens is repeatedly updated by attending to the history — but not all at once. In the first layer, tokens are split into 32 groups, each looking only at one contiguous slice of the timeline. In the next layer the same tokens are regrouped into 16 groups covering wider windows, then 8 groups covering wider windows still, and finally a global self-attention step lets all tokens exchange information. This forces the memory to spread its limited slots across the whole episode rather than piling onto one interesting moment.

Teaching memory what to keep. Action labels alone are a weak signal, because two different histories can justify the same next action. So the memory is projected into a language-model embedding space and asked to answer automatically generated questions about the task (what just happened, what the demonstration showed, what step we are on, what comes next), and separately a small predictor must reconstruct frozen DINO features of a handful of keyframes from the memory alone. Question/answer pairs and keyframes are built from existing subgoal annotations; no extra human labeling is needed, and neither is required at test time.

Getting the policy to use it. Inside each action-expert layer, the action features cross-attend to the memory, and the result produces a scale and shift that modulate the feed-forward branch, leaving the residual stream and the normal processing of the current image and instruction intact. Actions are generated with a standard flow-matching loss.

Training order. Stage 1 freezes the VLA backbone and trains only memory-related parts on the QA and DINO objectives, so the memory is informative before any action learning happens. Stage 2 adds the action loss and fine-tunes everything jointly, with the memory encoder on a 0.1× learning rate. Training used eight NVIDIA RTX PRO 6000 Blackwell GPUs; RoboMME runs used an 80k-step budget (20k memory pretraining + 60k joint), and real-world policies were trained for 40k steps (10k + 30k).

Why This Matters

Impact on research. The paper reframes memory as a learned, bounded latent state that is supervised and staged, rather than as a longer context window or a retrieval buffer. Its ablations isolate three design axes — where memory attends, what it is trained to retain, and when the policy is allowed to depend on it — and show that temporal structure beats raw capacity. The history-substitution test is also a reusable diagnostic for asking whether a policy uses memory at all or is just reactive.

Real-world applications:

  • Household and service robots where objects get covered, moved, or hidden mid-task and the relevant evidence is gone from the current camera view.
  • Multi-step assembly, packing, and kitting, where the robot must track procedural progress and recall earlier placements.
  • Warehouse and logistics rearrangement, where items are moved between containers and success depends on remembering prior configurations.
  • Dual-arm tabletop tasks (the real-world setup uses YAM dual arms with head and wrist cameras) such as swapping, covering, and restoring blocks.

Industry relevance. A fixed 512-token memory interface means inference cost does not grow with episode length — attractive for robots running long shifts rather than short scripted demos. The approach also reuses subgoal annotations that many robot datasets already contain, and it trains one policy across tasks instead of one model per task, both of which lower deployment and maintenance overhead.

Future Directions

  • Closing the Permanence gap. Mem4Act trails MemER on spatial/permanence memory (31.50% vs 53.17%) and scores only 31.50% on that RoboMME category, so spatial recall under occlusion remains unresolved.
  • Improving ℳ(n) performance. RMBench's multi-observation tasks sit at 41.3% and the Cover task scores 10% — accumulating and cross-referencing several past observations is clearly still hard.
  • Reducing dependence on subgoal annotations. QA targets and keyframes are derived from subgoal labels; whether these signals can be obtained from unlabeled or weakly labeled data (or from the policy's own rollouts) is not addressed.
  • Richer perceptual inputs and longer horizons. Memory currently uses only the third-person view, with wrist images given only as the current observation; whether multi-view or proprioceptive history helps, and how the approach scales to hours-long or multi-session tasks beyond the reported episodes (median 982 frames real-world), are open questions. The paper also does not report inference latency.

Target Audience

Robotics and embodied-AI researchers working on VLA models, long-horizon manipulation, and memory architectures will get the most from this paper, particularly those already familiar with π0.5-style policies and flow-matching action heads. It is also relevant to engineers building deployed manipulation systems who need bounded inference cost over long episodes, and to graduate students looking for a clear template of how to diagnose whether a model actually uses its memory (the history-substitution experiment) rather than merely possessing one.

Authors’ abstract

Long-horizon robotic manipulation fundamentally requires memory: agents must retain task-relevant information from past observations and interactions and use it to guide future actions. Existing approaches typically preserve raw historical observations, compressed visual tokens, or language summaries, but these representations either expose the action policy to increasingly long histories or risk discarding task-relevant temporal, semantic, and perceptual information. We…

The full abstract on arXiv
Read the original paper

Related papers