TL;DR
Teaching a robot a new physical skill usually means collecting fresh data and running expensive gradient updates—or hoping you have enough compute and robot trajectories to brute-force GPT-style in-context learning. MXI-MemICL sidesteps both bottlenecks by turning past robot interactions and single human demonstrations into a searchable memory bank. By predicting what it needs to do next and querying this memory on the fly, a frozen robot policy can adapt to brand-new manipulation tasks in real time without updating a single weight.
What Problem Does This Paper Address?
Vision–Language–Action (VLA) models are great at general-purpose robot control, taking camera images and text instructions and outputting physical actions. Still, the physical world is endlessly varied. When a robot encounters a new bottle cap to twist or an unfamiliar kitchen appliance, how does it adapt?
Traditionally, you have two choices: post-training (collect task-specific data and retrain) or test-time training (run gradient updates during deployment). Both require slow, costly optimization. In-context learning (ICL)—showing the model a single demonstration at test time with frozen weights—works wonders in LLMs, where internet-scale text makes ICL emerge naturally. In robotics, however, physical interaction data is scarce and expensive, limiting emergent ICL. Alternative robotic ICL methods rely on heavy semantic or motion annotations, yet still struggle to generalize to unseen tasks. The authors ask: can we build a structured memory interface on top of an existing VLA so it can learn from both its own ongoing trial-and-error and a single demonstration, zero parameter updates required?
Methods
MXI-MemICL wraps around a standard, frozen VLA base model ($\pi_{0.5}$) and equips it with an episodic memory system trained in three phases on existing robot trajectories.
Here is how the pipeline works at deployment:
- Causal Memory Encoding: Using a standard three-stream visual–action causal encoder (adapted from BehaviorVLA), the system watches completed action chunks alongside observations before and after execution. It compresses what the robot did and what changed visually into compact key–value memory pairs.
- Unified Short- and Long-Term Memory: Memories enter a bank of up to 64 pairs. What is neat here is how demonstrations are treated: a single external demonstration is encoded into the exact same memory format as the robot's own past steps. The latest $n=4$ steps of the current rollout act as short-term memory (tracking immediate progress), while older steps plus any supplied demonstration form long-term memory.
- Intention-Guided Retrieval (Novel): Looking only at the current camera frame isn't enough to fetch the right memory—you need to know where the task is heading. An intention predictor forecasts the next stage's intent and blends it with the current observation's stage embedding to query long-term memory across $n$ soft-retrieval slots.
- Two-Stream Experience Injection (Novel): Recent short-term context and retrieved long-term memories are fused into $n$ "experience tokens." These steer the frozen VLA backbone in two ways simultaneously: prepended as input token prefixes and injected into intermediate layers via gated cross-attention (initialized at zero so learned $\tanh(\gamma_l)$ gates smoothly dial in how much the model listens to memory).
Datasets
No new datasets are introduced, though the authors collect real-world episodes for physical evaluation. They evaluate across three established simulation benchmarks and one physical setup:
- RoboTwin 2.0 (Hard): 22 bimanual multi-stage manipulation tasks with heavy scene randomization.
- RoboCasa365: 13 kitchen manipulation tasks involving object placement and articulated appliances.
- LIBERO: Diverse manipulation task suites (detailed in the paper's supplement).
- Real-World ARX X5: A bimanual 6-DoF robot platform evaluated on 5 short- and long-horizon tasks (block induction, water pouring, clothes folding, bottle-cap twisting, and battery insertion), trained on 250 demonstrations per task, plus unseen variations (e.g., new bottles and clothes).
Key Insights and Ideas
- Demonstrations are just someone else's memories: Because external demonstrations and online rollouts share the exact same causal action–effect representation, the robot doesn't need special prompt formatting or annotations for ICL. Even without a demonstration, self-retrieving its own earlier steps in a rollout boosts performance—especially on multi-stage tasks where a single camera frame can't tell you if you've already aligned a battery or folded a sleeve.
- Query for the future, not just the present: Anticipating the next stage's intent allows the retriever to pull action–effect guidance for upcoming transitions rather than matching what has already happened.
- Broad history, compact context: Ablations show performance climbs steadily as the long-term memory pool grows (up to 32 records), while the injected experience tokens peak sharply at $n=4$ before dropping off. Give the retriever a big library, but hand the policy a concise summary.
- True adaptation, not trajectory replay: On unseen real-world tasks (like twisting a cap off a novel bottle), trajectories show the robot grasping and handing over objects along distinctly different spatial paths than the human demonstration—proving it extracts causal stage guidance rather than blindly parroting joint angles.
Key Results
Built on $\pi_{0.5}$, MXI-MemICL consistently outperforms base VLAs, world-action models, and prior robotic ICL baselines:
- Simulation (without demonstrations): Achieves 51.9% mean success on RoboTwin 2.0 Hard (+14.4 points over $\pi_{0.5}$; e.g., jumping from 27% to 62% on Stack 2 Blocks) and 78.6% on RoboCasa365 (+8.2 points over $\pi_{0.5}$, and +3.4 points over reproduced ICL baseline Zeva).
- Real-Robot Seen Tasks: Averages 69.0% without demonstrations (vs. 60.0% for $\pi_{0.5}$ and 43.0% for Xiaomi-Robotics-1). Adding a single demonstration pushes success to 74.0% (+5.0 points).
- Real-Robot Unseen Tasks: Where base policies struggle (21.7% for $\pi_{0.5}$, 25.0% for MXI-MemICL without demos), providing one successful demonstration jumps success to 41.7% (+16.7 points)—lifting Block induction from 50% to 75% and Clothes folding from 25% to 40%.
Limitations and Future Work
Not explicitly discussed in a dedicated section of the main text. However, the experimental results show that challenging long-horizon unseen physical tasks remain difficult even with a demonstration (for instance, unseen Bottle-cap twisting rises from 0% to just 10% success), and the memory bank is currently bounded to a fixed capacity (up to 64 key–memory pairs, with retention policies deferred to the supplementary material).
Summary updated