HAMLET: Switch your Vision-Language-Action Model into a History-Aware Policy

Myungkyu Koo, Daewon Choi, Taeyoung Kim, Kyungmin Lee, Changyeon Kim, Younggyo Seo, Jinwoo Shin

TL;DR

HAMLET is a plug-in framework that equips pre-trained Vision-Language-Action (VLA) robotic models with history-awareness without requiring costly retraining from scratch. By compressing past observations into compact "moment tokens" via time-contrastive learning and aggregating them with a lightweight memory module, HAMLET dramatically improves performance on long-horizon, history-dependent tasks with minimal computational overhead.

What Problem Does This Paper Address?

Most state-of-the-art Vision-Language-Action (VLA) models operate under a strict single-frame assumption: they predict the next robotic action based solely on the current camera snapshot. However, real-world manipulation tasks are inherently non-Markovian—meaning the correct next step depends heavily on what happened before. For instance, if a robot is tasked with covering a cube with a cup and then stacking another cup on top, it needs to remember where the cube was once it is occluded by the first cup.

Simply appending past video frames to the VLA input seems like an obvious fix, but it triggers two major issues:

  1. Computational Explosion: Processing multiple raw images slows down the model's forward pass by ~35% and inflates peak memory consumption by over 3.6×, severely limiting scalability.
  2. Causal Confusion: Naively feeding consecutive frames often causes the policy to pick up spurious temporal correlations, leading to poor generalization in dynamic environments.
Figure 1: Examples of history-dependent long-horizon tasks. (a) Real-world tasks that involve cases such as object occlusion (upper) or multi-step reasoning (lower) are inherently non-Markovian: proper actions cannot be determined from the current observation alone. (b) Success rates on these tasks show that HAMLET significantly outperforms both GR00T N1.5 and the na¨ıve multi-frame baseline, demonstrating its ability to leverage historical context for reliable long-horizon control.

Methods

HAMLET introduces a scalable, two-component architecture designed to inject history-awareness into any pre-trained VLA in a plug-and-play manner:

  1. Moment Tokens (Context Compression): Instead of saving full images, HAMLET appends a small set of learnable "moment tokens" to the VLM input at each timestep. These tokens compress the instantaneous visual and textual context into a low-dimensional summary. To ensure they capture meaningful temporal dynamics rather than static backgrounds, they are pre-initialized using Time-Contrastive Learning (TCL) with heavy image augmentations.
  2. Lightweight Memory Module: A shallow, causal Transformer module stores and integrates these moment tokens across past timesteps. Rather than treating all history equally, the Transformer selectively attends to the most informative past events to generate a history-augmented feature vector.

This history feature is then concatenated with the current VLM representation and passed directly to the VLA's action expert (e.g., a Diffusion Transformer) to predict the next sequence of actions.

Figure 2: An overview of HAMLET. Building on a pre-trained VLA, HAMLET adds two key components: moment tokens, appended to the VLM input and initialized with time-contrastive learning to capture task-relevant representations at each timestep, and a lightweight memory module that aggregates these tokens across timesteps for history-aware action prediction.

Datasets

The authors evaluated HAMLET across both physical hardware and simulation benchmarks:

  • Real-World Tabletop Tasks: Three handcrafted, history-dependent tasks (Pick-and-Place Twice, Cover-and-Stack, Swap Cubes) executed on a Franka Research 3 robot arm equipped with a Robotiq gripper and two cameras (exterior and wrist). 50 human demonstrations were collected per task.
  • Simulation Benchmarks:
  • RoboCasa Kitchen: Multi-step household manipulation tasks evaluated under 30, 100, and 300 demonstration setups.
  • LIBERO: A lifelong robot learning benchmark consisting of 40 tasks split into four suites (Spatial, Object, Goal, Long).
  • SimplerEnv-Bridge: Evaluation of real-to-sim transfer using a WidowX robot setup.

Key Insights and Ideas

  • The Danger of Raw Multi-Frame Inputs: The paper highlights that simply stacking past frames actually degrades performance on standard simulation benchmarks (dropping success rates by 3.3% in RoboCasa and 8.8% in LIBERO). This confirms that raw temporal stacking exacerbates causal confusion.
  • Memory Generalizability: Remarkably, the memory module learns generalized strategies for tracking history. When the authors trained the memory module on the LIBERO dataset and transferred it frozen to RoboCasa, it still provided substantial performance gains (64.5% success vs. 62.6% baseline), proving it doesn't just overfit to specific task dynamics.
  • Attention to the Past: Qualitative analysis of the memory module's attention maps showed that it dynamically shifts focus to critical past events—such as peaking back at the exact frame before an object became occluded—precisely when decision-making requires it.

Key Results

  • Real-World Superiority: Built on top of the GR00T N1.5 baseline, HAMLET achieved an average success rate of 76.4% on history-dependent real-world tasks, outperforming the single-frame baseline by 47.2% and comfortably beating the naive multi-frame approach.
  • Simulation Benchmarks: HAMLET consistently pushed the state-of-the-art across the board, boosting GR00T N1.5 from 64.1% to 66.4% on RoboCasa Kitchen (100-demo) and from 95.6% to 97.6% on LIBERO. When applied to the CogACT backbone on SimplerEnv-Bridge, it improved full task success from 52.1% to 63.5%.
  • High Efficiency: Compared to the multi-frame baseline's massive overhead, HAMLET added a mere 2% latency and maintained a highly manageable memory footprint (2.00× vs 7.00× at a history length of 8).

Limitations and Future Work

While HAMLET successfully bypasses the need to retrain massive VLA backbones from scratch, it still incurs an upfront training cost during the initial time-contrastive learning phase for the moment tokens. Additionally, the framework was primarily validated on diffusion-based action heads; the authors note that extending it seamlessly to autoregressive VLAs that rely heavily on action discretization remains an open challenge.

Future directions include scaling HAMLET across much larger, multi-robot datasets and exploring alternative hybrid memory architectures (like Mamba) to extend the effective history window even further.

Summary updated

BibTeX
@inproceedings{koo2026hamlet,
  author = {Myungkyu Koo and Daewon Choi and Taeyoung Kim and Kyungmin Lee and Changyeon Kim and Younggyo Seo and Jinwoo Shin},
  title = {{HAMLET: Switch your Vision-Language-Action Model into a History-Aware Policy}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=KcJ9U0x6kO},
}
Figure