arXiv:2611.04164cs.CVNov 2026

Manuscript Offprint

arXiv:2611.04164

What Remains in Sight? Autoregressive Video Decoding as Representation-Guided Context Rewriting

Lixuan He, Jihyeon Je, Yang You, Leonidas Guibas

Abstract

Long-horizon video generation is increasingly moving toward autoregressive rollout, where each newly generated segment becomes part of the evidence used for future prediction. Recent causal decoders, long-context training, and KV-cache mechanisms have extended feasible duration, but most inference pipelines still decide the visible past implicitly through recent windows, compressed caches, or external memory. This raises a direct question: can the choice of which past frames or segments to show to the decoder be treated as an explicit test-time decision? We answer this question with RECR, a training-free method that formulates autoregressive video decoding as representation-guided context rewriting. At each step, RECR builds a selected visible context from the generated history by using internal decoder representations to favor context units that match the global rollout state, avoid redundancy with the recent continuation, preserve temporal boundary coverage, and widen the range of spatial layouts in view. The selected units are then mapped onto a compact causal axis before decoding the next block. Across long-horizon text-to-video benchmarks, RECR consistently improves multiple autoregressive backbones under matched visible-token budgets. Empirical analyses such as representation-space diagnostics and transition-count prompt switching further show that improving what remains visible is an effective path toward more stable long-video decoding. Our code is available at https://github.com/lixuan27/ReCR.

1 Introduction

Long-horizon video generation is moving from short, self-contained clips toward continuous and controllable synthesis over much longer durations. Autoregressive video models are especially suited to this setting because they generate new content by repeatedly conditioning on previously generated content. Recent progress has improved this direction through self-rollout training, causal distillation, next-frame prediction, long-context supervision, semi-autoregressive block generation, and horizon-extension strategies [26, 11, 40, 10, 68, 70, 80, 8, 73, 71, 28, 84, 7, 35]. These methods show that causal video generation can scale beyond the short-clip setting, while also making a key failure mode more visible: as generation proceeds, the model repeatedly reads its own past, so any imbalance in the visible context can propagate into identity drift, scene inconsistency, motion decay, or delayed response to new directives.

†Corresponding authors.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Qualitative overview of ReCR across backbones. ReCR is applied as a training-free context rewriting module on top of different autoregressive video backbones. On 60-second rollouts, ReCR reduces common long-horizon failures such as scene drift, visual artifacts, and oversaturation. On 300-second ultra-long rollouts, ReCR further extends backbones with stable visual continuity.

A large part of recent work has addressed this difficulty by improving how long histories are stored, compressed, or accelerated. Memory-based methods introduce explicit history encoders, state-space memory, entity-level memory banks, or recurrent attention to preserve long-range consistency [73, 85, 83, 14, 79]. System-oriented methods reduce the cost of long histories through KV-cache compaction, quantization, token pruning, cache reuse, sparse attention, and block-level attention caching [36, 5, 65, 16, 56, 46, 57, 9, 49, 1]. These advances are essential for efficient long video synthesis, but they mainly ask how to make a long context cheaper or more stable. They leave a more direct inference-time question underexplored: under a fixed visible context budget, how should the decoder choose which parts of the generated past to read for the next prediction?

This question is important because the useful past in a long video is unlikely to be uniformly determined by recency. A recent window is often necessary for local temporal continuity, yet it may overemphasize the immediate continuation and underuse earlier evidence that stabilizes identity, layout, or object state. Conversely, retaining the full context can be expensive and can introduce redundant or stale evidence. Recent studies on history encoding, unstable-token pruning, reward feedback, adaptive sampling, prompt switching, and controllable autoregressive generation all suggest that long-horizon failures often depend on which trajectory evidence is reused during inference [70, 76, 18, 57, 66, 13, 60, 51, 55, 74, 61]. We therefore treat context choice itself as the object of study. The central problem is to directly construct a useful visible context from the generated history at every rollout step, rather than relying only on chronological recency, full-history retention, or cache-level compression.

We propose RECR, a training-free decoding strategy for representation-guided context rewriting. At each rollout step, ReCR uses internal decoder representations to score candidate context units, selects a sparse visible context under a fixed budget, refines it with at most one spatial-range exchange, and presents the selected units on a compact causal axis before decoding the next block. This design is complementary to long-context training and KV-cache methods: those approaches mainly improve the model, the memory system, or the efficiency of retaining history, while ReCR changes the composition of the context that the decoder actually reads. Across standard long-video benchmarks, drift diagnostics, representation-space analysis, and transition-count prompt switching, ReCR improves long-horizon stability and motion evolution under matched visible-token budgets. Our contributions are threefold:

  • We formulate long-horizon autoregressive video decoding as a context selection problem, where the key inference-time decision is to directly choose a sparse visible context from the generated history under a fixed budget.
  • We propose RECR, a training-free context rewriting method that uses internal representations to select useful context units, balance global compatibility with recent-context redundancy, and present the selected units on a compact causal axis.
  • We provide a mechanistic evaluation of visible context construction, including dynamic context composition, representation-space diagnostics, and transition-count prompt switching, showing that ReCR improves evidence allocation beyond contiguous recent context.

References (87)