KeyMemVLA: Subtask-Guided Key Memory for Long-Horizon Robotic Manipulation
Authors: Yongwei Zhang, Tao Chen, Sicheng Ma, Yuanzhe Xing, Pengwei Zhang, Yongen Zhao, Yaoqing Hu, Zhikun She, Ce Hao
Organizations: Beihang University · Zhongguancun Academy · Nanjing University · Institute of Automation, Chinese Academy of Sciences · University of Chinese Academy of Sciences · Tianjin University · Fujian Key Laboratory of Financial Information Processing, Putian University
Memory-dependent long-horizon manipulation requires vision-language-action (VLA) policies to infer task progress and recall evidence absent from current observations. Under a limited memory budget, the challenge is to retain history that resolves stage ambiguity and supports subsequent decisions. We present KeyMemVLA, a subtask-guided key memory framework based on progress indication and decision-evidence retention. A two-level annotation process selects subtasks satisfying either criterion and labels their final frames as keyframes to supervise online memory writes. A shared vision-language backbone jointly learns subtask, action, and keyframe prediction. At inference, the policy first predicts the current subtask from the instruction, visual context, and memory, then uses this semantic condition to predict actions and future memory-write positions. Actual observations are retained at the selected times during execution. We introduce KMBench to evaluate active memory retention for decisions across subtasks. Evaluations on RMBench-M(n), RoboTwin-MeM, KMBench, and real-world manipulation tasks show higher average success rates than the compared baselines. Ablation studies and representation analysis support the roles of key memory and explicit task-progress semantics. These results highlight the value of coupling sparse key memory with online progress inference for history-dependent control.
Figures & tables
Figure 1: Overview of KeyMemVLA. (a) In Find Heaviest , selecting the heaviest box requires tracking weighing progress and recalling scale readouts after they disappear. (b) Four keyframes at the ends of key subtasks preserve progress cues and measurement evidence from a 1,316-frame trajectory. (c) Keyframe memory and online current-subtask prediction complement the instruction and visual context for action generation. (d) RMBench- M(n) shows the w/o KPH variant jointly trained on all nine tasks; both KeyMemVLA and EventVLA are evaluated without keyframe memory. The remaining evaluations use the full KeyMemVLA policy.
Figure 2: KeyMemVLA framework. (a) A shared vision-language backbone supports subtask, action, and keyframe prediction. Dashed paths show subtask feedback and memory updates during online inference. (b) Cross-attention uses Qt as queries and visual features Ot from the current main-view image as keys and values. Gated residual fusion and an MLP head produce the keyframe scores pt . (c) Current-subtask text is re-predicted at each replan, while visual key memory is retained across replans.
Figure 3: KMBench task overview. Eight tasks cover (a) memory-guided selection, (b) multi-cue retention, (c) counting memory, and (d) evidence reasoning. Each strip shows representative observations from one episode; cyan borders mark annotated keyframes.
Memory-guided selection
Multi-cue retention
Counting memory
Evidence reasoning
Method
Weight Rank
Bin Color Query
Scan and Route
Button Pair
Two-Bin Count
Conveyor Color Count
Calibrated Sort
Battery Charge
Average
▼ Non-Memory-Based Policies
ACT [ 40 ]
0%
0%
0%
12%
0%
3%
0%
0%
1.88%
DP [ 7 ]
0%
0%
0%
0%
8%
0%
0%
0%
1.00%
π0.5 [ 22 ]
10%
3%
3%
4%
24%
1%
1%
14%
7.50%
▼ Memory-Based Vision-Language-Action Models
Table 3: Task success rates on KMBench.
Figure 4: Real-world task overview. Representative observations from four tasks on the Flexiv Rizon4s: (a) Find Block , (b) Sequential Grasp , (c) Find Heaviest , and (d) Press Button . Blue borders mark annotated keyframes.
Method
Find Block
Sequential Grasp
Find Heaviest
Press Button
Average
π0.5 [ 22 ]
0%
0%
0%
10%
2.5%
MemER [ 26 ]
20%
40%
20%
20%
25.0%
KeyMemVLA
50%
50%
30%
60%
47.5%
Table 4: Real-world task success rates.
Model
KPH
SPH
Success
Drop (pp)
RoboTwin-MeM
KeyMemVLA
✓
✓
92.63%
—
w/o KPH
×
✓
31.63%
61.00
w/o SPH
✓
×
62.13%
30.50
KMBench
KeyMemVLA
✓
✓
68.88%
—
Table 5: Component ablations on RoboTwin-MeM and KMBench.
Figure 5: Linear probing of temporal progress. Average predictions for Press Button Keyframe and Find Seal and Seal Stamp , using 10 episodes per task held out from probe training. Shading denotes pointwise 95% confidence intervals; the dashed line y=x marks perfect agreement between predicted and ground-truth temporal progress.
Mode
Keyframes
Text history
Success
Image
✓
×
92.63%
ImageAndText
✓
✓
72.25%
Text
×
✓
53.88%
Table 6: Key memory modes on RoboTwin-MeM.
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
Mode
Visual anchors
Historical images
Historical text
Image
✓
✓
×
ImageAndText
✓
✓
✓
Text
✓
×
✓
Appendix
Table 7: Inputs for the three key memory modes.
Configuration
Value
Network architecture and basic training
Base VLM
Qwen3-VL-4B-Instruct
Image resolution
256×256
Action head
Residual MLP (Qwen-OFT)
Action horizon ( L )
50
Optimizer
AdamW
Appendix
Table 8: RoboTwin-MeM hyperparameters.
Configuration
Value
Network architecture and basic training
Base VLM
Qwen3-VL-4B-Instruct
Image resolution
256×256
Action head
Residual MLP (Qwen-OFT)
Action horizon ( L )
50
Optimizer
AdamW
Appendix
Table 9: RMBench hyperparameters (w/o KPH).
Configuration
Value
Network architecture and basic training
Base VLM
Qwen3-VL-4B-Instruct
Image resolution
256×256
Action head
Residual MLP (Qwen-OFT)
Action horizon ( L )
50
Optimizer
AdamW
Appendix
Table 10: KMBench hyperparameters.
Configuration
Value
Network architecture and basic training
Base VLM
Qwen3-VL-4B (VLAct-pretrained)
Image resolution
256×256
Action head
Residual MLP (Qwen-OFT)
Action horizon ( L )
30
Optimizer
AdamW
Appendix
Table 11: Real-world hyperparameters.
Item
Setting
Simulation environment
RoboTwin 2.0
Task suite
8 bimanual tasks
Memory categories
4
Training demonstrations
50 per task (400 total)
Evaluation trials
100 per method per task
Per-task metric
Task success rate (%)
Appendix
Table 12: KMBench setup and evaluation protocol.
Task
Demonstrations
Frames
Weight Rank
50
70,596
Bin Color Query
50
27,663
Scan and Route
50
46,677
Button Pair
50
23,693
Two-Bin Count
50
39,137
Conveyor Color Count
50
50,153
Appendix
Table 13: KMBench training demonstrations.
Item
Setting
Robot platform
Flexiv Rizon4s with Flexiv-GN01 gripper
Task suite
4 real-world tasks
Training demonstrations
50 per task (200 total)
Evaluation trials
10 per method per task
Per-task metrics
Task success rate (TSR) and subtask success rate (SSR), in %
Overall metric
Equal-weight average TSR across four tasks
Appendix
Table 14: Real-world setup and evaluation protocol.
Table 18: Real-world inference efficiency on a single NVIDIA A100 GPU.
Task
Full
w/o KPH
w/o SPH
Cover Blocks Hard
91%
6%
94%
Find Seal and Seal Stamp
80%
69%
48%
Pick Objects in Order
100%
11%
72%
Pick the Unhidden Block
100%
27%
43%
Press Button Keyframe
74%
30%
61%
Put Back Block Hard
100%
38%
100%
Appendix
Table 19: Per-task ablation success rates on RoboTwin-MeM.
Task
Full
w/o KPH
w/o SPH
Weight Rank
26%
35%
19%
Bin Color Query
90%
0%
100%
Scan and Route
48%
17%
33%
Button Pair
97%
17%
83%
Two-Bin Count
97%
38%
76%
Conveyor Color Count
57%
11%
60%
Appendix
Table 20: Per-task ablation success rates on KMBench.
Task
w/o SPH MAE
w/ SPH MAE
Reduction
Cover Blocks Hard
0.09496
0.08621
9.21%
Find Seal and Seal Stamp
0.13256
0.09550
27.96%
Pick Objects in Order
0.10476
0.09554
8.80%
Pick the Unhidden Block
0.08758
0.07261
17.10%
Press Button Keyframe
0.20162
0.06063
69.93%
Put Back Block Hard
0.08616
0.10324
−19.82%
Appendix
Table 21: Linear-probe test MAE by task on RoboTwin-MeM.
Task
Image
ImageAndText
Text
Cover Blocks Hard
91%
79%
5%
Find Seal and Seal Stamp
80%
60%
35%
Pick Objects in Order
100%
33%
36%
Pick the Unhidden Block
100%
100%
26%
Press Button Keyframe
74%
28%
39%
Put Back Block Hard
100%
100%
100%
Appendix
Table 22: Per-task success rates by key memory mode on RoboTwin-MeM.
Figure 6: Weight Rank rollout. The displayed target rank is 2. The robot weighs the four boxes, returns them to their original locations, and places the second-lightest box, shown in green, on the central pad.
Figure 7: Bin Color Query rollout. The robot deposits the blue, green, and pink blocks into the left, middle, and right bins, respectively. After the blocks disappear into the bins, it answers the blue query by pressing the left button.
Figure 8: Scan and Route rollout. The initial station identifiers are 2, 1, and 3 from left to right. Registration assigns the pink, blue, and green items to stations 2, 1, and 3, respectively. After the readouts clear, the robot delivers the items to the corresponding stations.
Figure 9: Button Pair rollout. The robot tests candidates on each side and observes the light feedback. It releases the buttons and resets the arms after each side’s exploration, then simultaneously presses the middle button on each side. Both indicators light up in the last frame.
Figure 10: Two-Bin Count rollout. The initial targets are three deposits into each bin. The robot fills the left bin first, then the right. Deposited blocks disappear and the stock is replenished, so the robot must track completed transfers. The last frame shows the final deposit.
Figure 11: Conveyor Color Count rollout. The target is two pink-block exits. The robot transfers a blue block followed by two pink blocks to the output conveyor. After the second pink block exits, it presses the completion button, leaving the next blue block on the input conveyor.
Figure 12: Calibrated Sort rollout. Reference and test readouts are 13 and 12, with a threshold of 11. Calibration gives v=12−13+10=9<11 , so the test block is placed on the left pad. The readouts clear after object removal.
Figure 13: Battery Charge rollout. The green battery remains in the right slot while the purple, red, and cyan batteries are tested in the left slot, producing yellow, red, and green feedback, respectively. The robot returns the tested batteries and places the lowest-charge battery, shown in red, on the central pad.
Figure 14: Find Block rollout. Sequential cup inspection is followed by revisiting the cup covering the orange block, moving that cup, and grasping and lifting the block.
Figure 15: Sequential Grasp rollout. The sequence shows placement and return of the green, red, and orange objects in order, followed by the completion-button interaction.
Figure 16: Find Heaviest rollout. Successive weighing and return operations are followed by picking a previously weighed block and placing it on the scale.
Figure 17: Press Button rollout. The visible target is N=5 . Repeated left-button interactions are interleaved with release motions, followed by the right-button interaction in the last frame.
Harbin Institute of Technology, Harbin, China. · Medical Intelligence and Robotic Cognition (MIRoC) Lab, Department of Mechanical Engineering, The University of Hong Kong (HKU), Hong Kong SAR, China. · Department of Computing, The Hong Kong Polytechnic University, Hong Kong SAR, China