MemRoPE: Training-Free Infinite Video Generation via Evolving Memory Tokens

Youngrae Kim, Qixin Hu, C. -C. Jay Kuo, Peter A. Beerel
3/12/2026
34 citations
cs.CV

No official code found. Best implementation: YoungRaeKimm/MemRoPE (61 stars, Apache-2.0, last commit 2026-06-24).

Abstract

Autoregressive diffusion enables real-time frame streaming, yet existing sliding-window caches discard past context, causing fidelity degradation, identity drift, and motion stagnation over long horizons. Current approaches preserve a fixed set of early tokens as attention sinks, but this static anchor cannot reflect the evolving content of a growing video.

Show full abstract

We introduce MemRoPE, a training-free framework with two co-designed components. Memory Tokens continuously compress all past keys into dual long-term and short-term streams via exponential moving averages, maintaining both global identity and recent dynamics within a fixed-size cache. Online RoPE Indexing caches unrotated keys and applies positional embeddings dynamically at attention time, ensuring the aggregation is free of conflicting positional phases. These two mechanisms are mutually enabling: positional decoupling makes temporal aggregation well-defined, while aggregation makes fixed-size caching viable for unbounded generation. Extensive experiments validate that MemRoPE outperforms existing methods in temporal coherence, visual fidelity, and subject consistency across minute- to hour-scale generation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ECCV 2026] Official implementation of "MemRoPE: Training-Free Infinite Video Generation via Evolving Memory Tokens"

613Mar 12, 20265 months agoApache-2.0
autoregressive-videodiffusion-modelsdiffusion-transformerditeccv2026+6 more

Similar Papers

Cite this paper

@article{kim2026memrope,
  title  = {MemRoPE: Training-Free Infinite Video Generation via Evolving Memory Tokens},
  author = {Youngrae Kim and Qixin Hu and C. -C. Jay Kuo and Peter A. Beerel},
  year   = {2026},
  eprint = {2603.12513},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.12513v1},
  journal = {ECCV 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.12513.svg)](https://codeofpaper.com/paper/2603.12513)

Discussion