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 and 7 others

NVIDIA · Stanford University · UIUC

Published December 2, 2026 · on the feed December 3, 2026 · ▲ 6 · arXiv 2612.04174

Video3D, worlds & gamesVision & multimodal No code arXiv ↗Hugging Face ↗

The abstract

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 18times 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.

The Brief

1:47

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Fast and Adaptive Visual Memory for Video and World Models. By Liyuan Zhu and fourteen others, from NVIDIA, Stanford University, and one other institution. Published on the second of December.

Long-context video models and world models need some way of remembering what they have already seen. The default is dense attention over every token of every past frame. That is the baseline the work sets itself against, both for cost and for quality.

CodecMem replaces that dense history with a codec. It is described as fast, at more than one hundred frames per second, and adaptive, and the authors present it as the first motion-compensated tubelet codec designed for generative video models. Video models are then conditioned on this codec memory, which spans the whole history, instead of attending densely over everything that came before.

Encoding a new observation works by prediction first. The codec warps its own reconstruction of the previous frame using estimated flow. Only where that warping fails does it store anything extra, in the form of multi-scale tubelets. Parts of the scene that the warp already explains cost nothing further, which is where the adaptivity comes from.

The authors build a benchmark that jointly tests retrieval, tracking and spatial memory with up to sixty seconds of context. On it, CodecMem ranks first among twelve compressed-memory baselines, using eighteen times fewer inference FLOPs than dense attention, and it surpasses dense attention on tracking beyond the training length.

Beyond that benchmark, it learns the best long-context policy among world action models on RoboMME. It enables in-context learning over multiple trials. And in long video generation, it preserves subject consistency better than dense attention, at lower cost.

CodecMem treats memory as a compression problem. Store what the motion cannot predict, skip what it can, and a memory that spans the whole history costs less than attending to every past frame.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.