arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.03120

In-Distribution Forcing for Long Video Generation at Test Time

Jeongwoo Shin, Youngyoon Choi, Sangwoo Jo, Hyunmog Kim, Sungjoon Choi, Joonseok Lee, Jaewoong Choi, Jaemoo Choi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jeongwoo Shin 1∗^{1*}, Youngyoon Choi 1∗^{1*}, Sangwoo Jo 2^{2}, Hyunmog Kim 2^{2}, Sungjoon Choi 2†^{2\dagger}, Joonseok Lee 1†^{1\dagger}, Jaewoong Choi 3†^{3\dagger}, Jaemoo Choi 4†^{4\dagger}

1^{1}Seoul National University, 2^{2}Korea University,

3^{3}Sungkyunkwan University, 4^{4}Georgia Institute of Technology

{swswss, yongyoon911, joonseok}@snu.ac.kr

{jasonjo97, sungjoonc}@korea.ac.kr, hyunmog2020@alumni.kaist.ac.kr

jaewoongchoi@skku.edu, jchoi843@gatech.edu

Figure

ID-Forcing: In-Distribution KV caching & KV conditioning → Color and texture preserved, dynamics sustained

"A cinematic and grainy photograph captures a white and orange tabby cat joyfully darting through a dense garden, as if chasing something. The cat's eyes are wide and..."

Self-Forcing: Out-of-Distribution extrapolation

→ Color and texture drift, dynamics decay

0s

20s

Video Length

40s

60s

Figure 1: ID-Forcing extends autoregressive video generation far beyond the training horizon. In-distribution KV operations suppress color and motion drift, enabling stable minute-scale generation.

ABSTRACT

Modern autoregressive (AR) video diffusion models excel at short-horizon video generation, yet generating long videos remains challenging due to drifting, where colors and textures shift, and motion dynamics decay. Existing works primarily rely on KV conditioning, which selects or modifies cached key-value (KV) entries to mitigate drifting. However, we observe that KV conditioning alone is insufficient as it assumes cached KV entries remain in-distribution. This assumption fails beyond the training horizon: nothing constrains the construction of KV entries during rollout, giving rise to the KV-provenance problem where cached entries themselves become out-of-distribution (OOD). To address this, we propose In-Distribution Forcing (ID-Forcing), a test-time framework that aligns both KV caching and KV conditioning with training configurations. Its key mechanism, self-caching, prevents OOD KV entries at their source. Each chunk is cached without attending to prior KV entry, keeping the rolling window exactly in-distribution. Consequently, ID-Forcing seamlessly extends short-horizon models to minute-scale video generation. Extensive evaluations show that our method remains competitive on standard video generation benchmark while substantially outperforming prior work in mitigating drifting, as validated by both our drift metrics and a user study.

Project page: https://in-distribution-forcing.github.io/

∗^{*}Equal contribution. †\daggerCorresponding author.

1 INTRODUCTION

Recent advances in video diffusion models (Google DeepMind, 2025; Kling Team, Kuaishou Technology, 2025; OpenAI, 2025; Wan et al., 2025) enable high-fidelity synthesis of short video clips with coherent motion, yet interactive applications such as world models (Hong et al., 2025; Shen et al., 2026; Huang et al., 2025a), streaming content (Kodaira et al., 2026; Henschel et al., 2025; Chen et al., 2025), and long-form storytelling (Elmoghany et al., 2026; Luo et al., 2026) demand generation far beyond a few seconds. To enable such long-horizon generation, autoregressive (AR) video diffusion (Yin et al., 2025; Chen et al., 2024; Huang et al., 2025b; Yang et al., 2026) has emerged as the standard paradigm, generating videos sequentially in chunks while conditioning each new chunk on the key-value (KV) cache of previously generated content. Specifically, Self-Forcing (Huang et al., 2025b) reduces the training-inference gap by training on autoregressive rollouts, while LongLive (Yang et al., 2026) extends generation to longer horizons through streaming long-video tuning.

However, the ability to generate over extended horizons does not ensure that visual quality persists. As generation proceeds, colors and textures tend to shift, and motion dynamics gradually decay. This progressive degradation, known as drifting, arises because the rollout at inference differs from the rollout seen during training. Training on self-rollouts (Huang et al., 2025b; Cui et al., 2026; Yang et al., 2026; Chen et al., 2026; Liu et al., 2026) addresses this by exposing the model to its own generated context, but only within a finite training horizon. Extrapolating beyond this horizon therefore introduces conditioning configurations outside the training distribution, causing errors to accumulate over time. Yet simply extending the training horizon cannot solve this issue, as extrapolating past the horizon is inherently unavoidable in arbitrarily long video generation.

To address drifting, a large body of work controls what the model reads from the KV cache during generation, which we refer to as KV conditioning. Existing approaches typically select cached entries at the chunk level, as with attention sinks (Yi et al., 2026), or modify their temporal positional embeddings (Yesiltepe et al., 2026; Kim et al., 2026). These methods, however, are valid only under the assumption that the cached KV entries are in-distribution, as they consider only which entries to attend to and where to position them. This assumption has not been explicitly examined, and nothing ensures that it holds. Thus, understanding drifting requires examining not only the KV entries read during generation, but also the context under which they were constructed.

We observe that whether a KV entry is in-distribution is determined by KV caching, the operation that computes and stores a KV entry for each generated chunk. A KV entry depends not only on its own chunk but also on the other KV entries it attends to during KV caching, i.e., its provenance. Beyond the training horizon, every chunk is cached under a provenance never seen during training, so the resulting KV entry is out-of-distribution. We term this the KV-provenance problem (Fig. 2). Since provenance is fixed at KV caching, no KV conditioning policy can recover from it, and keeping extrapolation in-distribution requires controlling both KV caching and KV conditioning.

Motivated by this insight, we propose In-Distribution Forcing (ID-Forcing), a test-time method that aligns both KV caching and KV conditioning with the KV context configurations encountered during training. For KV caching, we introduce self-caching. Beyond the training horizon, the earlier KV entries are cached attending only to themselves, while the later ones are cached autoregressively on top of them, which prevents any unseen provenance from being constructed ( §3.1§3.1). For KV conditioning, we show that the first chunk must remain in the conditioning window for it to stay in-distribution, and that self-caching keeps the rolling window exactly in-distribution ( §3.2§3.2). Every KV operation is thus one that training executed. As a result, our method yields a remarkably simple framework: a plain rolling window with one rule for each KV operation, extending a five-second model to minute-scale generation.

Our contributions are as follows:

• We characterize the KV-provenance problem as a source of drift in long-video extrapolation and establish the importance of keeping both KV caching and KV conditioning within the configurations encountered during training ( §3.1§3.1).

• We propose In-Distribution Forcing (ID-Forcing), which introduces self-caching to control cache provenance and jointly aligns KV caching and KV conditioning with training ( §3.1§3.1, §3.2§3.2).

• We demonstrate effective suppression of drift in minute-scale generation, preserving visual quality and temporal consistency while maintaining active motion ( §4§4).

Figure

Case 1: Self-Caching (Ours)

Case 2: Self-Forcing Caching

Case 3: Sink Caching

Figure 2: Same conditioning, different provenance. We generate the next chunk x7x_7 from the same conditioning window κ1:6\kappa_{1:6}, varying only how the last chunk of the horizon, x6x_6, is cached into κ6\kappa_6. Case 1 (self-caching): x6x_6 attends to no prior entry, and x7x_7 shows no drifting. Case 2 (self-forcing caching): x6x_6 attends to a window never seen in training, and x7x_7 degrades. Case 3 (sink caching): keeping the first chunk does not help, as the window is still unseen in training. Thus, how a chunk is cached alone can determine whether the next chunk drifts.

References (37)