OmniMem

Scalable and Adaptive Memory Retrieval for Long Video Generation

Lin Zhao1,2*, Yushu Wu1*, Yifan Gong2, Yanzhi Wang1, Pu Zhao1†

1Northeastern University   2Adobe Research

*Equal contribution  Corresponding author

TL;DR — OmniMem does explicit sparse KV retrieval over the full history for autoregressive long-video generation, keeping the query-relevant details that are lost when the KV cache is truncated or compressed, and improves Dynamic Degree by 52.3% at comparable memory cost.

Abstract

Autoregressive (AR) video generation extends videos by producing latent chunks sequentially, but scaling to long videos requires repeated access to a growing historical KV cache. Existing methods reduce this cost by truncating the KV cache or compressing it into implicit memory, but both lose explicit access to query-relevant historical details. We propose OmniMem, an explicit full-range memory retrieval framework that performs sparse KV retrieval over the historical cache. To make this practical for chunk-based AR video generation, OmniMem addresses two issues: (i) local bias in sparse KV selection and (ii) Union Explosion in memory access. Adaptive Window Exclusion removes local-window blocks from the selection candidates when sufficient long-range history is available, preserving the sparse budget for informative long-range retrieval. Query-Shared KV Selection reduces cross-query diversity, while Per-Head Scattered KV Access avoids expanding head-specific selections into a large selected KV buffer. This allows each attention head to retrieve non-contiguous KV blocks according to its own selection pattern. Experiments on long-video generation show that OmniMem improves Dynamic Degree by 52.3% and preserves strong consistency over strong baselines, while maintaining comparable memory usage.

BibTeX

@article{zhao2026omnimem,
  title   = {OmniMem: Scalable and Adaptive Memory Retrieval for Long Video Generation},
  author  = {Zhao, Lin and Wu, Yushu and Gong, Yifan and Wang, Yanzhi and Zhao, Pu},
  journal = {arXiv preprint arXiv:2605.30519},
  year    = {2026}
}