T4CT: Learning to Act from Test-Time Associative Memory

Youngju Na, Sangmin Lee, Taegeun Yang, Taeyeon Kim, Sebin Lee, Jumin Lee, Yoonki Cho, Sung-Eui YoonarXiv 2026

TL;DR

Robots with episodic memory can remember what happened earlier—like which color cube was hidden under a cup—yet still reach for the wrong object. This paper uncovers why: during flow-matching training, partially noised target actions accidentally leak the answer, giving the policy little reason to actually use its memory. The authors introduce T4CT, which trains memory through a direct action readout (no leaks allowed) and uses that readout to initialize flow generation, achieving state-of-the-art results on memory-dependent manipulation benchmarks and real-world dual-arm tasks.

What Problem Does This Paper Address?

Vision-language-action (VLA) models typically decide what to do based only on what they see right now. That breaks down in non-Markovian tasks, where a crucial cue appears early and then vanishes—for example, seeing a red cube before it gets covered by a cup, and later having to pick up a matching red cube from a lineup.

To handle this, recent robot policies use test-time associative memory: fast weights that are updated online during an episode to store past observations. Typically, this memory is paired with a flow-matching action expert, which generates smooth robot trajectories by transforming Gaussian noise into an action chunk.

Here is the puzzle the authors noticed: even when the memory successfully stores and retrieves the right cue (linear probes recover it with 97% accuracy), the robot still ignores it when acting! In a 5-cube color-recall task, a standard memory-conditioned flow-matching policy only reaches for the cued cube 39% of the time (where random chance is 20%).

Figure 1. (a) On a bimanual robot, (P1) a red cue cube is shown, (P2) it is hidden under a cup, and (P3) the arm grasps the matching cube. At P2, we replace the policy’s memory S with one stored from a cue of each of the other three colors. (b) With memory-conditioned FM, trained with the flow-matching (FM) loss alone, the arm still reaches toward the original cue across swaps and follows the new memory in only 2 of 9 runs. (c) With T4CT, the arm reaches the cube matching the color in memory in all 9 runs (3 memory swaps × 3 noise draws). (d) Average success rate on MIKASA-Robo-VLA [12] and RMBench [9].

Methods

The authors diagnose the root cause as the interpolant shortcut. During flow-matching training, the model predicts a velocity from a partially noised action $x_\tau = (1-\tau)a_t^\star + \tau \epsilon$. Unless the noise is near maximum ($\tau \approx 1$), $x_\tau$ already reveals which target the robot is supposed to move toward. Worse, once the robot starts moving, the current camera view also gives away the target. Memory only helps in a tiny "decision window" (high noise, first few frames), so gradients elsewhere drown it out.

T4CT (Test-Time Training to Act) fixes this by decoupling mode selection (deciding what to do) from trajectory refinement (figuring out how to move smoothly):

  1. Test-Time Regression (Standard backbone + fast weights): Built on $\pi_{0.5}$, T4CT adds a fast-weight matrix $S_t$ to each of 18 VLM layers, updated online via closed-form key–value regression. Before writing the current frame, it reads from $S_{t-1}$ using scene-conditioned queries.
  2. Deterministic Action Readout (New): A lightweight 3-layer transformer decoder $D_\psi$ predicts an action chunk $\hat{a}_t$ directly from the current observation and retrieved memory—without seeing the noised training action $x_\tau$. Trained with a simple L2 loss via truncated backpropagation through time (TBPTT), this forces the memory to actually govern action selection.
  3. Memory-Initialized Flow (New): Instead of starting flow generation from pure Gaussian noise $\mathcal{N}(0, I)$, T4CT centers the flow source on the detached readout: $x_1 = \text{sg}(\hat{a}_t) + \sigma\epsilon$ ($\sigma = 0.1$). The flow-matching expert then refines this choice into precise, continuous motion.

Datasets

The authors evaluate T4CT on two simulation benchmarks and three real-world bimanual tasks:

  • MIKASA-Robo-VLA: 5 tasks covering visual cue recall (RememberColor5, RememberShapeAndColor3x3), spatial memory (ShellGamePush, TakeItBack), and motion tracking (InterceptMedium). Trained on 250 demos per task, evaluated on 50 episodes.
  • RMBench: 9 bimanual tasks split into 5 single-cue recall tasks, M(1), and 4 multi-step state accumulation tasks, M(n). Trained on 50 demos per task, evaluated on 50 episodes.
  • Real-World AgileX Cobot Magic: 3 custom dual-arm tasks—Restore the Layout (returning two cubes to their original slots), Press by Hidden Digits (pressing buttons a previously shown number of times), and Recall the Hidden Color (picking the cube matching a hidden cue).

Key Insights and Ideas

  • Memory retention $\neq$ memory usage: A policy can have near-perfect memory recall in its internal representations yet completely ignore that memory when generating actions.
  • The interpolant shortcut: Flow-matching's training interpolant leaks the target action mode across most noise levels, starving the memory module of useful training gradients.
  • Warm-starting flow pays double dividends: Initializing the flow from the memory-informed readout $\hat{a}_t$ not only preserves the right action choice, it also shrinks the transport distance—allowing T4CT to beat a 10-step Gaussian-source baseline in just 2 integration steps.

Key Results

  • MIKASA-Robo-VLA: T4CT achieves 85.6% mean success, outperforming memory-free $\pi_{0.5}$ (36.4%) and associative-memory baseline MemBodied (51.4%), and matching/edging out regression-based $\mu$VLA (84.0%). On RememberColor5, T4CT hits 96% vs. at most 24% for other flow-matching baselines.
  • RMBench: T4CT reaches 78.4% overall success, beating explicit keyframe baseline EventVLA (67.9%) and associative-memory baseline DRAM (57.8%). The gap is widest on multi-step M(n) tasks (74.5% vs. 54.0% for EventVLA).
  • Real-World Tasks: T4CT achieves 96% (Restore the Layout), 72% (Press by Hidden Digits), and 95% (Recall the Hidden Color), while $\pi_{0.5}$ and MemBodied stay near random chance.
  • Counterfactual Swaps: When swapping the stored memory mid-episode for a different color, T4CT follows the new cue in 95% of simulation actions (and 9/9 real-world runs), compared to just 16% (and 2/9 real-world runs) for memory-conditioned FM.

Limitations and Future Work

The current setup assumes static tabletop manipulation where task cues are clearly revealed early on. In real-world mobile manipulation, camera viewpoints shift constantly and cues may be partial, noisy, or require active exploration to find. Under those conditions, relying on a single deterministic point estimate could be brittle. The authors suggest extending T4CT with uncertainty-aware memory updates and active information gathering.

Summary updated

BibTeX
@misc{na2026t,
  author = {Youngju Na and Sangmin Lee and Taegeun Yang and Taeyeon Kim and Sebin Lee and Jumin Lee and Yoonki Cho and Sung-Eui Yoon},
  title = {{T4CT: Learning to Act from Test-Time Associative Memory}},
  year = {2026},
  eprint = {2611.40505},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40505},
}
Figure