← Paper Digest

LongContextVLA: Scaling Robot Memory to Hundreds of Images via Reasoning

Ji Woong Kim, Ke Wang, Ajay Sridhar, Aneesh Muppidi, Marcel Torne, Chelsea Finn

December 2026

Shell game with an unseen six-swap sequence at 1x speed, with the model's live reasoning on the right.

TL;DR A VLA built on Qwen3.5-4B that keeps hundreds of past camera frames in context, learns to reason over them before acting, and caches them so each decision stays fast. On real-robot shell-game and drawer put-away tasks it averages 74.4% success, versus 44.4% for the best baseline, at 381 ms per decision with 3.6k images of history.

What they do

Most VLAs condition on the current frame or a few past frames. LongContextVLA keeps every top-down image since the episode began (sampled at 2 Hz) in the context of a Qwen3.5-4B model, trains it to explain that history before acting, and uses caching and parallel decoding to stay real-time.

How it works

  • Inputs and outputs. Top-down history (72 tokens per frame), current wrist images, instruction and proprioception in; reasoning, a subtask and tokenized actions out.
  • Reasoning supervision. A separate LLM writes timestamped reasoning labels about past events. Training mixes subtask-only, autoregressive reasoning and parallel reasoning, where reserved tokens are decoded in one forward pass.
  • Streaming cache. The history’s KV cache and recurrent states persist across decisions while each decision’s own inputs are rolled back, so only the newest image is encoded.
  • Grouped actions. Action tokens are predicted in groups, five or six sequential calls per chunk.

Results

  • Real robot, unseen configurations, 30 trials per task: 74.4% average success, versus 53.3% (reasoning + subtask), 51.1% (subtask only), 44.4% SimpleMemVLA, 33.3% MemER and 24.4% π0.7. Per task: 76.7% on five-swap shell games, 70% on six swaps (trained only on five), 76.7% on drawer queries.
  • Cached latency on one H100: 258 ms with 14 images, 312 ms with 1,792, 381 ms at 258k tokens (3,584 images) and 824 ms at 1M tokens, about 450x faster than full recomputation (370.6 s).
  • Given a ten-second human sorting video as memory, it sorts three objects with 100% success and five objects (two unseen) with 90%, over 10 trials each.

Limitations

Parallel decoding produces jumbled reasoning text that has the right details but lacks coherence. The tasks are short (the shell game spans about 15 s) compared with the context the model can hold, so hour-scale memory is untested, and all experiments are stationary tabletop tasks.

Videos

Drawer put-away on an unseen setup, sped up, as the model notes which drawer each object came from.
Usage-count queries on an unseen drawer setup, with the model keeping a running tally of each object's drawer and uses.

Figures

From Figure 1: LongContextVLA reasons over hundreds of top-down images in real time. It is evaluated on three memory ...
From Figure 1: LongContextVLA reasons over hundreds of top-down images in real time. It is evaluated on three memory tasks: tracking a hidden object in a shell game, returning objects to drawers based on their usage history, and sorting objects by following a human video.
From Figure 2: Architecture. The model takes the top-down image history since the start of the episode plus the curre...
From Figure 2: Architecture. The model takes the top-down image history since the start of the episode plus the current wrist images, instruction and robot state. Cached features are reused so only new images are encoded; timestamped reasoning is decoded in parallel in one forward pass, then the subtask and action tokens in groups.
From Figure 5: Success on unseen shell-game sequences and drawer configurations. Left: real-robot trials; right: offl...
From Figure 5: Success on unseen shell-game sequences and drawer configurations. Left: real-robot trials; right: offline accuracy of the generated subtask on larger held-out sets. The full LC-VLA model beats all baselines and its own ablations in every panel.
From Figure 6: Inference latency on one H100 versus visual history length. (a) Full recomputation versus cached infer...
From Figure 6: Inference latency on one H100 versus visual history length. (a) Full recomputation versus cached inference; (b) cached latency broken down by stage. At one million visual tokens, inference takes 0.82 s.
Abstract

Many robot tasks require long-horizon memory, yet most vision-language-action (VLA) models condition only on current observations or a small set of past frames. We present LongContextVLA, a VLA model that reasons over hundreds of past images while maintaining real-time inference speed. Built on Qwen3.5-4B, LongContextVLA combines dense visual history with reasoning supervision that explicitly teaches the policy to interpret past events before generating actions. To reduce inference latency, we reuse cached visual features and model states, decode reasoning in parallel, and predict action tokens in groups. In real-robot shell-game and drawer put-away tasks, LongContextVLA generalizes to unseen shuffle sequences and drawer configurations, achieving an average success rate of 74.4%, compared with 44.4% for the strongest competing baseline. Ablation experiments show a 23.3-percentage-point improvement over training with subtask supervision alone. Separate latency evaluations measure inference times of 381 ms at 258k visual tokens (3.6k images) and 824 ms at one million tokens (13.9k images) on a single H100 GPU. Finally, we show that the memory context can support visual prompting, allowing the robot to infer sorting rules directly from human demonstration videos. Together, our results show that VLAs can reason over long, dense visual histories while maintaining real-time inference speed. Our project website is here: https://jwbkim.github.io/longcontextvla/

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.