Video World Models · 2026-12-03

Fast and Adaptive Visual Memory for Video and World Models

Liyuan Zhu, Chao Liu, Julius Berner, Tao Sun, Ying Shen, Shengyu Huang, Tianye Li, Amrita Mazumdar, Rafa{\l} Karp, Enting Liu, Haithem Turki, Gordon Wetzstein, Iro Armeni, Shalini De Mello, Alex Trevithick

arXiv:2612.04174PDF

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

TL;DR

CodecMem is a fast (100+ fps), adaptive, motion-compensated tubelet codec for long-context video and world models. It warps its previous-frame reconstruction using estimated flow and stores additional multi-scale tubelets only where warping fails. Video/world models condition on this whole-history codec memory instead of dense attention, reducing compute while maintaining long-context behavior.

Why it matters

The authors aim to make visual memory fast, adaptive, and complete for long-context video generation and world/action modeling. CodecMem removes redundancy via motion-compensated tubelets and conditions models on the resulting codec memory rather than dense KV attention over every past token, enabling long context up to 60s and improving tracking beyond training length.

Method

  • Introduce a motion-compensated tubelet codec: warp its reconstruction of the previous frame using estimated optical flow, and add multi-scale tubelets only where warping fails (adaptive via a PSNR quality gate).
  • Condition an autoregressive video model on causal codec memory (sink frame + codec tokens from past windows) in place of dense attention over the full past history.
  • Apply codec memory to long video generation and world action models (WAMs), including RoboMME fine-tuning and long-context evaluation (up to 60s).

Limitation

Codec memory is still redundant: it predicts each window only from its reconstruction of the frame before it, so it removes redundancy between neighboring windows but not over the long term. Content that leaves the view and returns is stored again; also tubelet selection is greedy, pixel-error-driven, and not task-aware, so it may not favor regions needed later.

Abstract (from arXiv)

We present CodecMem, a fast (100+ fps) and adaptive codec for long-context video and world models. We introduce the first motion-compensated tubelet codec designed for generative video models: to encode an observation, it warps its own reconstruction of the previous frame with estimated flow and stores additional multi-scale tubelets only where this warping fails. We condition video models on this codec memory, which spans the whole history, in place of dense attention over every token of every past frame. On our benchmark that jointly tests retrieval, tracking, and spatial memory with up to 60 s of context, CodecMem ranks first among 12 compressed-memory baselines with 18$\times$ fewer inference FLOPs than dense attention, surpassing it on tracking beyond the training length. It also learns the best long-context policy among world action models (WAMs) on RoboMME, enables in-context learning over multiple trials, and preserves subject consistency better than dense attention in long video generation at lower cost.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First public release: 2026-12-02 · Indexed by Pub-AI: 2026-12-03 UTC

preprint

Fast and Adaptive Visual Memory for Video and World Models

Liyuan Zhu, Chao Liu, Julius Berner, Tao Sun, Ying Shen, Shengyu Huang, Tianye Li, Amrita Mazumdar, Rafał Karp, Enting Liu, Haithem Turki, Gordon Wetzstein, Iro Armeni, Shalini De Mello, Alex Trevithick

Preprint posted: 2026-12-02 · Original record ↗

arxiv
2612.04174
Explicit source versions (1)
  • v1 · 2026-12-02
  1. Preprint available

    Source date: 2026-12-02 · First detected: 2026-12-03 UTC · Historical baseline

    Source evidence (2)
Abstract · arxiv

We present CodecMem, a fast (100+ fps) and adaptive codec for long-context video and world models. We introduce the first motion-compensated tubelet codec designed for generative video models: to encode an observation, it warps its own reconstruction of the previous frame with estimated flow and stores additional multi-scale tubelets only where this warping fails. We condition video models on this codec memory, which spans the whole history, in place of dense attention over every token of every past frame. On our benchmark that jointly tests retrieval, tracking, and spatial memory with up to 60 s of context, CodecMem ranks first among 12 compressed-memory baselines with 18$\times$ fewer inference FLOPs than dense attention, surpassing it on tracking beyond the training length. It also learns the best long-context policy among world action models (WAMs) on RoboMME, enables in-context learning over multiple trials, and preserves subject consistency better than dense attention in long video generation at lower cost.