Autoregressive Video Decoding as Context Rewriting: Which Past Stays Visible
Under a fixed visible-context budget, choosing which generated segments the decoder reads beats a plain recent window, but it patches representation, not model capacity.
On this page
You have a 60-second generated clip that holds together for 20 seconds and then drifts, but the decision on your desk is not whether to retrain the backbone — it is whether to change what the decoder is allowed to look at. The usual advice is that long-video consistency comes from the model, the training data, or the cache policy, so the answer is almost always "train longer" or "compress harder". This paper adds a fourth knob: at every rollout step, explicitly choose which already-generated segments stay visible to the decoder, with no parameter updates at all [1].
The Default Is a Recent Window, and That Is an Assumption
The paper decomposes a video into latent frames y1, y2, …, yT, each called a context unit. The decoder does not emit one frame at a time; it emits a block, with block length L=3 for every backbone in the paper [1]. At step t the model holds a generated history H_t, and standard decoding feeds back only a contiguous recent window W_t, which quietly assumes that recency is a good proxy for usefulness.
Across long rollouts that assumption breaks in two directions at once. A recent window preserves local continuity but over-weights the immediate continuation, pushing out early evidence that stabilizes identity, layout and object state. Keeping the full history is expensive and drags redundant or stale evidence into attention. The paper therefore reformulates the decision as a budgeted selection problem over a subset C_t of H_t.
| Strategy | What the decoder sees | Cost | Typical failure |
|---|---|---|---|
| Recent window | One contiguous recent span | Cheapest | Early identity and layout evidence drops out |
| Full history | Every generated unit | Grows with rollout length | Redundant and stale evidence enters together |
| ReCR | A budgeted sparse subset | Scoring and selection, but no extra decoder pass | Wrong selection loses evidence; depends on representation quality |
Scoring With the Decoder's Own Representations, No Training, No Extra Pass
ReCR first gives every unit a reusable representation. At a fixed decoder layer ℓ, it averages that unit's output tokens at that layer and normalizes the mean, producing a vector u_j. The important part is reuse: the vector is computed once at commit time, in the clean pass that re-encodes a finished block at zero noise to write it to the cache, and it is read again at every later step, so the paper states that ReCR adds no decoder forward pass [1].
Two reference directions follow. An early-biased weighted average of unit vectors gives the global summary g_t, and a recent-biased weighted average gives the recent summary ℓ_t. The utility score is:
s_t(j) = kappa * - lambda * log(eps + exp(kappa * ))The first term rewards units that agree with the broader rollout state; the second penalizes units that look like the recent continuation, so similarity to the recent summary subtracts. A high score therefore marks a unit that is compatible with the global state while adding evidence the recent window does not already carry. It is not nearest-neighbor retrieval, and it is not a search for the frame most similar to the current one.
Spending a Fixed Budget: Coverage, Redundancy, One Exchange, Reindexing
Scores alone are not enough, because the budget is finite. With budget B counted in history units and excluding the L units of the current block, ReCR maximizes a sum of three terms — total representation utility, a boundary-coverage term Φ, and a redundancy penalty Ψ — subject to selecting exactly min(B, t−1) units. Four desiderata drive the objective:
- agree with the global rollout state (first utility term);
- add information beyond the recent continuation (second utility term);
- keep boundary coverage over early and recent history (Φ mixes an early-biased and a recent-biased weight);
- widen the spread of spatial layouts in view (handled by the exchange step).
Φ stops sparse selection from dropping early and recent evidence together: it takes a log of the selected mass under the early weights and another under the recent weights, and adds them, so both ends are wanted. Ψ sums pairwise similarities inside the selected set as a penalty, which discourages picking a cluster of near-duplicate frames. The combinatorial problem is solved with a greedy approximation (Appendix A.2), and when t−1 ≤ B the method simply returns the whole history, which means no selection happens at all.
One refinement step follows, called spatial-range exchange. Mean pooling erases where things sit inside a frame, so the paper tracks a scalar ρ_j measuring the first-order spatial moments of layer-ℓ tokens relative to their mean. At most one exchange happens per step: when the history exceeds the budget and the latest L units are all selected, the history extreme of ρ_j lying farthest outside the covered range replaces the lowest-utility selected unit that is neither among the latest L units nor temporally adjacent to another selected unit, and only if the covered range does not shrink [1]. The cap of one exchange keeps the selection from oscillating.
Finally comes temporal reindexing. Selected units are sparse in the original history, so their position indices contain large gaps; feeding those raw positions back would let the causal decoder read the gaps as part of the visible sequence. ReCR maps selected units in chronological order onto a compact axis 1…N_t, with the current block at N_t+1…N_t+L. In practice keys and values are stored before positional encoding, and RoPE is applied to the selected keys at those compact positions on each use.
What the Evidence Covers: 60 Seconds, 300 Seconds, Two Backbones
The keyword in the experiments is matched budget. The paper reports consistent gains across multiple autoregressive backbones under matched visible-token budgets [1]. Two backbones are named: Deep Forcing and Infinity-RoPE. In the qualitative comparison on two 60-second prompts, ReCR stacked on either one improves temporal consistency and visual fidelity — mainly reducing drift and artifacts on Deep Forcing, and further improving stability and text alignment on Infinity-RoPE. That is why the authors position it as a complementary module on top of strong training-free methods.
Two time scales carry numbers. On 60-second rollouts ReCR reduces scene drift, visual artifacts and oversaturation; on 300-second ultra-long rollouts it extends backbones with stable visual continuity. Two further analyses support the argument: representation-space diagnostics, and a transition-count prompt-switching test.
One caveat matters for anyone sourcing a decision from this. In the excerpt the benchmarks appear only as long-horizon text-to-video benchmarks: no named benchmark datasets and no per-metric numeric tables. The conclusions above are therefore directional, and a buyer should ask for the full table broken down by benchmark, backbone and visible-token budget.
When This Method Does Not Apply
First, it does not change the model. Parameters stay fixed and no long-context training happens, so anything the backbone cannot draw will not appear no matter how well the context is selected; a scene that never entered the history cannot be selected.
Second, it does not save cache. ReCR decides what the decoder reads, not how to shrink a long history, so the KV-cache compaction, quantization and token-pruning line of work is complementary rather than replaced [1].
Third, it degrades to nothing on short histories. When t−1 ≤ B the method returns the whole history, so no selection happens and the gain is zero.
Fourth, it depends on representation quality. Scoring rests entirely on averaged layer-ℓ tokens, so if those features cannot separate identity from layout, the scores inherit that confusion; the exchange step restores only a little layout signal and runs at most once per step.
Fifth, the 300-second result is an extension, not a guarantee. The paper's wording is that ReCR extends backbones with stable visual continuity, not that it solves long video. The method fails when you need capacity, new training data, or cheaper caching rather than better evidence allocation, and it does not apply when your real problem is a badly chosen benchmark or a dataset with no consistency evidence to select from.
