Hetero-Associative Visuomotor Memory: Soft Recall as a Base for Learned Residuals in Few-Demonstration Imitation
Organizations: Technical University of Munich
Abstract
Retrieve-and-correct policies typically refine the nearest retrieved demonstration chunk, the readout that works best when executed directly. We study what a demonstration memory should supply to the corrector instead and find that a smooth, softmax-weighted recall over the whole memory is a much better base. On ALOHA cube transfer (40 human demonstrations), soft recall is no better to execute alone than the nearest chunk; however, with keys, candidates, and training fixed, correcting it raises success by 22.4 points on fresh resets with new encoders and by 7.4 against a closed-loop-tuned top-1 corrector. On robomimic Square, it leads by 7.9 points with the two better operators and by 6.7 on a label-free draw of equal size. This gain holds on sparse, varied demonstrations under an action-aware key and leave-one-demonstration-out training, and fades or slightly reverses on dense, scripted, or generated data. Building on this finding, our hetero-associative visuomotor memory (HAVM, 14M parameters) trains offline in about five minutes, including a learned retrieval temperature , and runs in 1.1 ms. Across six fresh ALOHA encoders, it reaches 76.4% within 24 s, comparable to a 264M Diffusion Policy trained for 6.7 h (78.8%) and ahead of ACT (71.7%) and fine-tuned VLAs (65.2-75.2%), while leading every 40-demonstration baseline within the benchmark's 8 s limit (74.6%; +6.5 over Diffusion Policy, +15.1 over ACT). On LIBERO, one 40-task memory reaches 92.2% and loses far less than SmolVLA to rewording; on a real SO-101 arm, it sustains 30 Hz control without stalling. Unlike pretrained foundation policies aimed at zero-shot generalization to unseen tasks and workspaces, HAVM trades broad out-of-distribution generalization for rapid adaptation to the available demonstrations.
Figures & tables
| Method | Base | Correction |
|---|---|---|
| MCNN [ 10 ] | nearest Neural-Gas memory | bounded net, blended by |
| REGENT [ 11 ] | 1-NN action, 19 neighbors read | transformer, blended with 1-NN |
| ReCAP [ 12 ] | nearest chunk | residual from a frozen policy |
| DARP [ 13 ] | neighbors | mean of neighbor proposals |
| BPC [ 14 ] | signed sum of windows | closed-form ridge residual |
| RL4IL [ 36 ] | fusion of 32 labels | MLP on the fused label |
| encoder | soft alone | top-1 alone | top-1 + head | TOP ∗ | soft + head |
|---|---|---|---|---|---|
| E1 | 66.0 | 62.0 | 49.7 | 65.5 | 75.0 |
| E2 | 55.0 | 51.0 | 45.8 | 61.8 | 64.0 |
| E3 | 36.5 | 53.0 | 45.7 | 58.7 | 69.3 |
| mean | 52.5 | 55.3 | 47.1 | 62.0 | 69.4 |
| Human | Scripted | ||||||
| Policy | parameters | training | 24 s | 8 s | strict | 24 s | policy call |
| ACT [ 2 ] | 52 M | 2 h 03 | 71.7 | 59.5 | 65.3 | – | 3.7 ms |
| Diffusion Policy [ 3 ] | 264 M | 6 h 43 | 78.8 | 68.2 | 70.2 | – | 364 ms ‡ |
| ACT, released (50 demos) | 52 M | – | 87.2 | 71.8 | 80.5 | – | 3.6 ms |
| X-VLA [ 7 ] , fine-tuned | 880 M | 1 h 28 | 75.2 | 61.0 | 68.0 | – | 44 ms |
| SmolVLA [ 6 ] , fine-tuned | 450 M | 2 h 32 | 65.2 | 62.5 | 60.8 | – | 86 ms |
| Policy | Square | Stack | Threading |
|---|---|---|---|
| BC (DARP’s code, R3M) | 10.2 | 15.5 | 19.7 |
| DARP [ 13 ] | 34.5 | 42.8 | 51.0 |
| DARP, distance-weighted | 36.2 | 38.7 | 51.0 |
| DARP, other-demo neighbors | 34.0 | 44.0 | 57.5 |
| HAVM, valid. | 39.2 | 35.5 | 19.5 |
| HAVM ( ) | 44.8 | 42.8 | 36.7 |
| Spatial | Object ∗ | Goal | Long | mean | |
| Soft recall alone | 92.0 | 99.1 | 95.9 | 81.3 | 92.1 |
| HAVM | 95.7 | 97.5 | 93.9 | 81.8 | 92.2 |
| SmolVLA (0.45 B) | 90 | 96 | 92 | 71 | 87.3 |
| , fine-tuned | 96.8 | 98.8 | 95.8 | 85.2 | 94.2 |
| OpenVLA-OFT | 97.6 | 98.4 | 97.9 | 94.5 | 97.1 |
| verb substitutions, original / rewritten | |||||
| ALOHA Human | ALOHA Scripted | MimicGen | |
| demonstrations | 40 human | 40 scripted | 100 generated |
| closure spread | 0.62 s | 0 | 0.34–0.57 s |
| soft top-1 | [19.1, 25.7] | [1.6, 3.9] | |
| memory none | [30.7, 41.0] | – | , , |
| abs. sq. loss b | [6.4, 18.0] | [ , ] | –, , |
| Policy | Bank, cameras | , | Head | |
|---|---|---|---|---|
| ALOHA Human | 40 demos, top | 50/25 | 10 † , 4 | validation |
| ALOHA Scripted | 40 demos, top | 50/25 | 40 † , 4 | validation |
| ALOHA Human, all 50 | 50 demos, 40-demo encoder | 50/25 | 10, 4 | abs. or sq.; epoch 10 fixed |
| robomimic Can, Square | 180 demos, global + wrist | 16/8 | 20, 4 | validation |
| MimicGen (DARP protocol) | 90 demos, global + wrist | 16/8 | 1, 4 | validation |
| Threading + correction vision | as above, trainable last ResNet stage | 16/8 | 1, 0 | validation |
| Test (resets) | Outcome |
|---|---|
| against (600 each) | held: , |
| Soft against top-1, two correctors (200 dev.) | held: , |
| Mechanisms under equal tuning (200) | held: 85.0 against at most 51.5 % |
| DARP’s code, its protocol (200 trials) | Square , Stack 0, Threading |
| Soft base, Square (1 000), Scripted (600) | , , both separated |
| MH gain above PH gain, robomimic (1 000) | failed : Square , Can |
| Human (40 teleoperated) | Scripted (40 scripted) | |||||||
| readout | alone | +head | alone | +head | ||||
| top-1 | 1 | 61.0 | 38.2 | 1 | 80.0 | 93.7 | ||
| 80 | 25 | 62.5 | 56.2 | 320 | 6 | 55.0 | 93.7 | |
| 40 | 92 | 61.5 | 70.2 | 160 | 11 | 56.0 | 93.7 | |
| valid. | 20 | 479 | 44.0 | 78.8 | 80 | 23 | 58.5 | 94.7 |
| adopted, | 10 | 2 454 | 14.0 | 82.5 | 40 | 53 | 58.0 | 97.2 |
| Memory | source | spacing | soft / top-1 | soft top-1 |
|---|---|---|---|---|
| ALOHA Human (40) | human | 1.39 cm | 69.4 / 47.1 | |
| Square MH, better (90) | human, 2 op. | 0.81 cm | 63.2 / 55.3 | |
| Square MH, mixed (90) | human, 6 op. | 0.99 cm | 32.2 / 25.5 | |
| Square MH-40 | human, 6 op. | 1.29 cm | 14.5 / 8.4 | |
| Square PH-40 | human, 1 op. | 1.52 cm | 23.9 / 20.5 | |
| ALOHA Scripted (40) | scripted | 1.49 cm | 97.2 / 94.5 |
| Change | Result |
|---|---|
| Flow matching on the memory | no consistent gain over soft recall; worse on Human when started from memory |
| Dynamic readouts (adaptive , motion reranking, search, potential fields) | none beat the static readout with the same candidates; 0.6–4.2 s per re-plan for field rollouts |
| Self-collected success and recovery memories | no gain; simulator-labeled |
| Three heads averaged | Square D0 (Holm 0.006); Human |
| Disagreement gate | , , on three tasks |
| Directional hold-out | [ , ] |
| Mechanism (selected setting) | 24 s | strict |
|---|---|---|
| Retrieve-and-play (1-NN) | 39.5 | 33.0 |
| VINN ( ) | 39.2 | 26.2 |
| ALT (our adaptation: image key + robot state) | 39.5 | 27.7 |
| ALT, authors’ recipe (images only) | 24.2 | 8.7 |
| BPC mechanism (every step) | 0.0 | 0.0 |
| REGENT mechanism ( ) | 2.8 | 0.8 |
Visuomotor Policy Learning
Visuomotor policy learning trains robots to turn camera observations, often with language and proprioception, into actions for manipulation and navigation.
See all 321 papers