Recast the Past: Stable Long Video Generation with Full Context Memory

Yukuo Ma, Cong Liu, Junke Wang, Junqi Liu, Haibin Huang +2 more
10/20/2026
cs.CVcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

Long-horizon video generation requires retaining an ever-expanding history, but conditioning on its growing token sequence is costly. Existing methods restrict or compress historical context, potentially losing information needed for future generation.

Show full abstract

This work proposes ReCam, which groups local spatiotemporal blocks of historical latents into vectors and projects them directly into the high-dimensional hidden space of a Diffusion Transformer. The model learns to use the resulting memory tokens through native self-attention, reducing token count while retaining block-level access to the full history. To mitigate temporal drift during autoregressive rollout, we further introduce dual-pointer denoising with separate noise schedules for recent context and target frames. Among the evaluated methods, ReCam achieves the highest VBench-Long overall score of 80.1 and competitive static-scene revisitation performance on R2M-Bench. It also leads on all four consistency metrics for off-screen subject reappearance, including clothing consistency of 4.09 versus 3.03 for the best baseline.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ma2026recast,
  title  = {Recast the Past: Stable Long Video Generation with Full Context Memory},
  author = {Yukuo Ma and Cong Liu and Junke Wang and Junqi Liu and Haibin Huang and Zuxuan Wu and Xuelong Li},
  year   = {2026},
  eprint = {2610.27986},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.27986v1}
}

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/2610.27986.svg)](https://codeofpaper.com/paper/2610.27986)

Discussion