In-context learning (ICL) offers robots a way to acquire new skills from a single demonstration without parameter updates. However, existing robotic ICL methods either rely on large-scale pretraining constrained by scarce, costly robot interaction data or require additional annotations yet struggle to generalize across tasks. To bridge this gap, we propose MXI-MemICL, a framework for memory-guided ICL in vision-language-action (VLA) models. By treating demonstrations as retrievable memory, MXI-MemICL enables in-context manipulation without additional large-scale pretraining or specialized annotations. Specifically, a visual-action causal encoder turns actions and their observed effects in demonstrations and completed interactions into reusable memory to guide execution. To retrieve experience suited to upcoming execution, an intention predictor forecasts the next stage's intent and uses it to query memory. The retrieved experience conditions the language backbone through experience-token prefixes and gated cross-attention, guiding action generation with a learned gate that regulates its influence. MXI-MemICL improves success over the baseline by +8.2% and +14.4% on RoboCasa365 and RoboTwin 2.0. Real-robot experiments show a +9.0% gain, with demonstrations adding +5.0% on seen and +16.7% on unseen tasks. The code will be made publicly available.
Figures & tables
Figure 1: Overall architecture of MXI-MemICL. Stage embeddings from observations and instructions combine with predicted intent for retrieval. A visual–action causal encoder encodes completed interactions and optional demonstrations into memory. Retrieved experience and recent context form n experience tokens that condition the shared backbone via prefixes and gated cross-attention, whose learned gates regulate injection strength. Backbone outputs support action generation and next-step intent prediction. The intention decoder and intention predictor use residual MLPs. Detailed diagrams of all modules are provided in the supplementary material.
Method
RoboTwin 2.0 (Hard)
Grab Roller
Hammer Block
Move Card Away
Place A2B Right
Place Shoe
Put Object in Cabinet
Rank Blocks (RGB)
Scan Object
Stack 2 Blocks
Stack 3 Bowls
Fast-WAM [ 40 ]
2
0
0
1
0
0
0
0
0
0
Discrete Forcing [ 34 ]
36
4
4
2
6
0
0
4
8
4
π0 [ 4 ]
80
21
22
6
6
18
5
1
1
24
X-VLA [ 41 ]
20
9
5
13
39
21
4
9
2
9
Xiaomi-Robotics-0 [ 7 ]
12
16
12
2
29
5
8
8
22
35
Table 1: Performance comparison on RoboTwin 2.0. Per-task success rates (%) over 100 rollouts under the Hard setting. † denotes our reproduced result. Other baselines are from the leaderboard. Results on additional 12 tasks are provided in the supplementary material.
Method
TurnOn ElectricKettle
CloseToaster OvenDoor
TurnOn Microwave
CoffeeSetup Mug
OpenStand MixerHead
Avg.
Xiaomi-Robotics-1 [ 36 ]
80.0
76.0
62.0
44.0
92.0
70.8
Fast-WAM [ 40 ]
76.0
72.0
36.0
20.0
78.0
56.4
Cosmos3-Nano [ 27 ]
90.0
68.0
26.0
16.0
80.0
56.0
LingBot-VA [ 21 ]
82.0
48.0
10.0
6.0
86.0
46.4
τ0 -WM [ 43 ]
68.0
30.0
20.0
38.0
70.0
45.2
π0.5 [ 3 ]
84.0
80.0
64.0
30.0
94.0
70.4
Table 2: Performance comparison on RoboCasa365. Per-task SR (%) over 50 rollouts per run. All results are reproduced by us. Eight additional tasks are reported in the supplementary material.
Table 3: Performance comparison on real-robot tasks. We report per-task SR over 20 rollouts on ARX X5. All results are reproduced by us. MXI-MemICL outperforms the π0.5 baseline and other models on both short- and long-horizon tasks.
Method
TurnOn ElectricKettle
CloseToaster OvenDoor
TurnOn Microwave
CoffeeSetup Mug
OpenStand MixerHead
Avg.
Short
Long
84.0
80.0
64.0
30.0
94.0
70.4
✓
92.0
77.0
63.0
46.0
94.0
74.4
✓
94.0
78.0
58.0
38.0
96.0
72.8
✓
✓
94.0
86.0
64.0
53.0
96.0
78.6
Table 4: Memory-timescale ablation on RoboCasa365. We report per-task SR (%) over 50 rollouts.
Figure 3: Memory-window ablations on RoboCasa365. (a) Shared count n for the short-term window, retrieval/readout slots, and experience tokens. (b) Long-term memory window. Dashed lines denote the base policy.
Figure 4: Demonstration-guided real-robot execution. Rows show (a) a human demonstration, (b) MXI-MemICL with the demonstration, and (c) the MXI-MemICL without the demonstration. Frames progress from left to right. The right panel shows trajectories: solid/dashed lines denote left/right hands, and stars/diamonds mark grasp/handover events.
Task
Fast-WAM [ 40 ]
Discrete Forcing [ 34 ]
π0 [ 4 ]
X-VLA [ 41 ]
Xiaomi- Robotics-0 [ 7 ]
EventVLA [ 39 ]
π0.5 [ 3 ] †
MXI-MemICL
Rank Blocks (Size)
0.0
2.0
1.0
25.0
1.0
1.0
22.0
25.0
Handover Mic
0.0
2.0
13.0
1.0
6.0
5.0
46.0
52.0
Move Pill Bottle to Pad
0.0
0.0
1.0
3.0
3.0
3.0
11.0
16.0
Move Stapler to Pad
0.0
0.0
2.0
0.0
0.0
2.0
10.0
13.0
Pick Diverse Bottles
0.0
10.0
6.0
30.0
12.0
9.0
46.0
49.0
Place A2B Left
0.0
10.0
1.0
15.0
6.0
20.0
39.0
40.0
Table S1 : Performance comparison on additional RoboTwin 2.0 tasks. Per-task SR (%) over 100 rollouts per run under the Hard setting. These 12 selected tasks show positive gains over our reproduced π0.5 beyond main-paper Table 1. † denotes our reproduced result. Other baselines are from the leaderboard.
Task
π0.5
MXI-MemICL
Get Toasted Bread
34.0
36.0
Load Dishwasher
30.0
44.0
Open Cabinet
82.0
84.0
Open Drawer
78.0
78.0
Prepare Coffee
26.0
24.0
Slide Dishwasher Rack
82.0
86.0
Table S2 : Performance comparison on eight additional RoboCasa365 tasks. Per-task SR (%) over 50 matched scenes per run, with one rollout per scene.
Method
Spatial
Object
Goal
LIBERO-10
Avg.
Diffusion Policy [ 11 ]
78.3
92.5
68.3
50.5
72.4
GR00T N1 [ 2 ]
94.4
97.6
93.0
90.6
93.9
OpenVLA [ 20 ]
84.7
88.4
79.2
53.7
76.5
OpenVLA-OFT [ 19 ]
97.6
98.4
97.9
94.5
97.1
MemoryVLA [ 30 ]
98.4
98.4
96.4
93.4
96.7
Unified VLA [ 35 ]
95.4
98.8
93.6
94.0
95.5
Table S3 : Performance comparison on LIBERO. Per-suite SR (%). † denotes our reproduced result.
Variant
Avg.
π0.5
70.4
Current stage ( qt=st )
72.2
Current-feature top- k
73.6
No intent loss
74.0
MXI-MemICL (ours)
78.6
Table S4 : Intention and retrieval controls on RoboCasa365. Mean SR (%) over two runs on the same 250 scenes.
Table S5 : Latency and execution time on RoboCasa365. Per-task completion times (s), inference latency (ms), and SR (%) on five selected tasks. Completion times average successful rollouts and exclude scene setup.
Figure S3 : Visual sensitivity of action generation. Paired rows compare π0.5 and MXI-MemICL on identical observations from Coffee Setup Mug and Turn On Electric Kettle. Warmer colors indicate larger changes in predicted actions under image-patch occlusion. Each task uses its own logarithmic scale, shared across both policies and all eight frames.