arXiv(opens in a new tab)cs.CVAug 2026Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:2608.26794

Ring Forcing: Towards Precise Long-Term Memory for Autoregressive Video Diffusion

Bowen Xue, Brandon Y. Feng, Chenguo Lin, Yuchen Lin, Yujia Zeng, Lvmin Zhang, Maneesh Agrawala, Honglei Yan, Panwang Pan

Bowen Xue 1^{1}, Brandon Y. Feng 2^{2}, Chenguo Lin 3^{3}, Yuchen Lin 3^{3}, Yujia Zeng 4^{4}, Lvmin Zhang 1^{1}, Maneesh Agrawala 1^{1}, Honglei Yan 5^{5}, and Panwang Pan 5∗^{5*}

1^{1} Stanford University, Stanford, CA, USA

bowenxue2005@gmail.com, {lvmin,maneesh}@cs.stanford.edu

2^{2} Massachusetts Institute of Technology, Cambridge, MA, USA

brandon.fengys@gmail.com

3^{3} Peking University, Beijing, China

{chenguolin,linyuchen}@stu.pku.edu.cn

4^{4} University of California, Berkeley, Berkeley, CA, USA

yujiazng@gmail.com

5^{5} ByteDance, Beijing, China

yanhonglei@bytedance.com, paulpanwang@gmail.com

Project Page: https://ringforcing.com

Ring Forcing (Ours) Previous SOTA

Appear

→1s Disappearance Gap

→Reappear

Figure

(a) Object Permanence Comparison

Appear→60s Disappearance Gap→Reappear

(b) Disappearance Time Gap

Appear→30s Disappearance Gap→Reappear

Figure

(c) Precise Long-Term Memory Retrieval

(d) Extrapolation from Real-World Context

Fig. 1: Ring Forcing endows autoregressive video diffusion models with precise long-term memory and robust object permanence. It preserves exact object identity through prolonged occlusions and disappearances, significantly outperforming SOTA baselines (a, b). Even across an extreme 60-second gap, our method faithfully recovers complex high-frequency details from distant history (c). This effectively overcomes the limitations of short context windows and generalizes robustly to unconstrained real-world video histories (d).

Abstract. Scaling video generation to long durations reveals a critical bottleneck: current models lack robust long-term memory. This deficiency can be studied along two critical aspects: object permanence, the

∗^{*} Project lead and corresponding author.

B. Xue et al.

ability to precisely reproduce the appearance of objects upon re-entry; and memory capacity, the ability to process ultra-long context and use information from distant history. Robust long-term memory requires both: object permanence without sufficient context handling limits the temporal scope, while long context length without permanence fails to maintain identity. To address this, we present Ring Forcing, an autoregressive video diffusion framework designed to robustly construct and precisely utilize long-term memory. Our ring-structured training strategy enforces retrieval from distant history, effectively reconciling the trade-off between strict historical adherence and generative diversity. To expand memory capacity, we introduce a compression and timestep composition strategy. Under fixed sequence length constraints, this method extends the effective historical span to minutes-long durations and achieves a comprehensive receptive field over the entire history. Furthermore, we present a sparse RoPE mechanism to enable flexible, scalable memory adaptation while fully exploiting pre-trained priors. Extensive experiments demonstrate that Ring Forcing achieves superior minutes-long coherence and object permanence, significantly outperforming state-of-the-art methods.

Keywords: Long Video Generation · Autoregressive Video Diffusion · Long-term Memory

1 Introduction

Diffusion Transformers have recently advanced video generation, producing short clips with striking realism [11,22,33,34,44]. However, the research frontier is no longer confined to a few seconds: emerging applications increasingly demand minutes-long rollouts with sustained narrative coherence [19,38,41,51]. At this horizon, the central obstacle is not local smoothness but long-term memory: the ability to preserve and reuse information that may disappear from view and return much later. Autoregressive video models [19,27,33,50] still struggle with object permanence. A canonical failure occurs when an object exits the camera frustum and later re-enters: despite being observed earlier, the model frequently regenerates it with a different identity (Fig. 1a). Crucially, this behavior is not solely explained by limited context length; even when long histories are provided, models often treat distant observations as weak evidence. In effect, they learn to continue the immediate visual stream but fail to retrieve decisive information from the distant past.

We identify the root cause of this limitation to a misalignment between training objectives and inference requirements. Standard video training data typically presents a “linear narrative” bias, where objects rarely exit and reappear within a short context window. Constrained by this bias, models tend to learn “myopic” transition probabilities (i.e., inferring xt+1x_{t+1} solely from xtx_t), with little incentive to learn how to retrieve information from distant history (as visualized in Fig. 2a). In essence, the model learns to smoothly continue the video sequence but fails to learn how to retrieve answers from history, rendering long-term context effectively useless during inference even when provided.

Figure

(b) Ring-Structured Training (Ours): Explicit Retrieval

Fig. 2: Attention allocation of Predicted Frames to History Frames. (a) Standard Linear Training suffers from myopic attention bias, failing to retrieve effective information from distant history. (b) Ring-Structured Training (Ours) enables the model to extract more information from the past, achieving precise retrieval of historical frames.

Beyond the training paradigm, another fundamental bottleneck lies in the inability to precisely utilize distant historical information. Most existing long-video solutions operate at the frame or token level, creating an inherent dilemma: expanding the receptive field to cover long history requires increasing the sequence length, which incurs prohibitive computational costs; conversely, reducing the sequence length inevitably shrinks the receptive field. This trade-off fundamentally limits the construction of long-term memory required for consistent long-video generation.

To address both bottlenecks, we propose Ring Forcing, an autoregressive video diffusion framework designed for robust long-term memory construction and precise utilization. Our core insight is to create training instances where the supervision for the current target is anchored in the distant past. Specifically, we introduce a ring-structured data construction where “the future becomes the history,” embedding the ground-truth target clip into historical frames. This turns long-range retrieval from an optional behavior into a necessity for minimizing training error, yielding a highly precise retrieval focus on the distant target (Fig. 2b). To prevent degenerate shortcuts and to balance strict history adherence with open-ended continuation, we further employ a random head-cropping and context-drop strategy that controls whether the history contains direct supervisory evidence.

Ring Forcing also targets scalability. Leveraging the empirical prior that diffusion models emphasize global structure at high noise levels and fine details at low noise levels, we propose compression and timestep composition to expose complementary views of history across timesteps. This design extends the effective history length to cover minutes-long durations under a fixed sequence-length budget while maintaining full historical coverage. Finally, to maximize transfer from pretrained priors under variable compression and history length, we introduce sparse Rotary Positional Embedding (RoPE) that anchors compressed tokens to their physical spatiotemporal coordinates. Experiments show that Ring Forcing improves object permanence and enables faithful reuse of minutes-long

B. Xue et al.

history (Fig. 1), establishing a strong baseline for long-term memory in video generation.

Our main contributions are summarized as follows:

– We introduce Ring Forcing, an autoregressive video diffusion framework that equips long-duration generation with precise long-term memory and improved object permanence.

– We devise ring-structured training that embeds targets into distant history and enforces explicit long-range retrieval, together with a cropping and context-drop mechanism that balances fidelity and diversity.

– We propose timestep-composed long-context conditioning integrated with sparse rotary positional encoding. This approach achieves a significant expansion in effective context under fixed sequence length constraints, enabling the faithful reproduction of minutes-long history and significantly outperforming SOTA methods.

References (49)

  • Mixture of contexts for long video generation
  • Sam 3: Segment anything with concepts
  • Diffusion forcing: Next-token prediction meets full-sequence diffusion
  • Sana-video: Efficient video generation with block linear diffusion transformer
  • Deep compression autoencoder for efficient high-resolution diffusion models
  • Self-forcing++: Towards minute-scale high-quality video generation
  • One-minute video generation with test-time training
  • FlashAttention-2: Faster attention with better parallelism and work partitioning
  • FlashAttention: Fast and memory-efficient exact attention with IO-awareness
  • Scaling rectified flow transformers for high-resolution image synthesis
  • Long-context autoregressive video modeling with next-frame prediction
  • End-to-end training for autoregressive video diffusion via self-resampling
  • Ltx-video: Realtime video latent diffusion
  • Streamingt2v: Consistent, dynamic, and extendable long video generation from text
  • RELIC: Interactive video world model with long-horizon memory
  • LoRA: Low-rank adaptation of large language models
  • Memory forcing: Spatio-temporal memory for consistent scene generation on minecraft
  • Self forcing: Bridging the train-test gap in autoregressive video diffusion
  • Streamdit: Real-time streaming text-to-video generation
  • Stable video infinity: Infinite-length video generation with error recycling
  • Radial attention: O(n log n) sparse attention with energy decay for long video generation
  • AMT: all-pairs multi-field transforms for efficient frame interpolation
  • Rolling forcing: Autoregressive long video diffusion in real time
  • Flow straight and fast: Learning to generate and transfer data with rectified flow
  • Distinctive image features from scale-invariant keypoints
  • Freelong: Training-free long video generation with spectralblend temporal attention
  • Freelong++: Training-free long video generation via multi-band spectralfusion
  • X-CLIP: End-to-end multi-grained contrastive learning for video-text retrieval (opens the publisher in a new tab)
  • WorldPack: Compressed memory improves spatial consistency in video world modeling
  • Long-context state-space video world models
  • Qwen3-VL Technical Report
  • Improved aesthetic predictor
  • History-guided video diffusion
  • Loftr: Detector-free local feature matching with transformers
  • Pack and force your memory: Long-form and consistent video generation
  • WORLD-MEM: long-term consistent world simulation with memory
  • Ultravideo: High-quality uhd video dataset with comprehensive captions
  • Longlive: Real-time interactive long video generation
  • Infinity-rope: Action-controllable infinite video generation emerges from autoregressive self-rollout
  • Deep forcing: Training-free long video generation with deep sink and participative compression
  • From slow bidirectional to fast autoregressive video diffusion models
  • Context as memory: Scene-consistent interactive long video generation with memory retrieval
  • Videoossm: Autoregressive long video generation with hybrid state-space memory
  • Sageattention2: Efficient attention with thorough outlier smoothing and per-thread int4 quantization
  • Sageattention3: Microscaling fp4 attention for inference and an exploration of 8-bit training
  • Sageattention: Accurate 8-bit attention for plug-and-play inference acceleration
  • Frame context packing and drift prevention in next-frame-prediction video diffusion models
  • Tinyhistory: Lightweight video history embeddings via two-stage context learning
  • The unreasonable effectiveness of deep features as a perceptual metric