Residual Guidance for Real-Time Interactive Video Generation

NaHyeon Park, Kyeong-Hwan Moon, Youjin Jeon, Hyunjung ShimarXiv 2026

TL;DR

Real-time video generators promise let-you-drive interactivity, yet when you change the text prompt mid-stream, the video usually ignores you and keeps doing what it was already doing. The authors discover this happens because the visual memory of recent frames acts like a heavy anchor—a phenomenon they call context inertia—that overpowers new instructions. They solve it with Residual Guidance (RG), a clever, training-free nudge calculated outside the model's memory that lets videos pivot on command without losing visual continuity.

What Problem Does This Paper Address?

Traditional video diffusion models generate an entire clip at once, meaning you write a prompt, wait, and hope for the best. Newer streaming (autoregressive) video models generate video chunk by chunk in real time, storing past frames in a Key-Value (KV) cache—essentially a rolling short-term memory—so each new chunk flows smoothly from the last.

In theory, this lets you direct the video live by typing new prompts as it plays. In practice, models are stubbornly unresponsive: up to 80% of mid-stream prompt switches fail completely. Ask a bare tree to sprout lush green leaves, or a caterpillar to become a butterfly, and the base model just keeps rendering the bare tree or caterpillar.

Residual Guidance enables mid-stream attribute changes like a bare tree growing foliage or a caterpillar turning into a butterfly, whereas base models stay stuck in the initial state.

Previous fixes assumed the cache was holding onto stale text information and tried editing, flushing, or re-encoding the memory at prompt boundaries. Yet the stubbornness remained. And if you wipe the memory completely to force the new prompt through, the scene abruptly resets—destroying the subject's identity and background. The challenge is figuring out how to make the model listen to new directions without giving it amnesia.

Methods

Instead of tampering with the KV cache, the authors leave the memory intact and fix the prediction itself using Residual Guidance (RG), a plug-and-play method requiring zero training.

When generating a new chunk under a new prompt, RG performs a quick side-experiment:

  1. Measure outside the cache: It takes the clean latent representation of the previous chunk, adds a specific amount of noise back to it ($\tau = 850$), and denoises it in a single step using the new prompt—crucially, with an empty KV cache.
  2. Compute the residual: Subtracting the original previous chunk from this cache-free reconstruction yields a "residual." This vector captures exactly how the model wants to redraw the scene under the new prompt when freed from the peer pressure of its own history.
  3. Inject early: Streaming models typically denoise each chunk in just four steps. RG adds this residual directly into the normal, cache-conditioned predictions at steps 1 and 2 (weighted at $1.0$ and $0.5$), then lets steps 3 and 4 run normally under the full cache to smooth out details and preserve scene continuity.

Because RG never touches the KV cache, it requires just one extra forward pass per chunk and stacks effortlessly on top of existing memory-management methods.

Datasets

Because RG is training-free, no training datasets are used. The authors evaluate RG across three benchmarks of increasing length and complexity (plus a 100-pair LLM-generated development set for initial diagnostics):

  • T2V-CompBench (Dynamic Attributes): 200 prompts split into initial and final states over 5-second videos with a single mid-stream attribute switch at 2 seconds.
  • StoryEval: 100 three-event stories generated as 10-second videos with switches at 3s and 7s to test repeated transitions.
  • InteractiveBench: Following prior interactive generation protocols, 100 six-prompt scripts played out over 60-second videos (switching every 10 seconds) to test long-horizon responsiveness.

Key Insights and Ideas

  • Visuals—not stale prompts—cause context inertia: Even when you re-encode past frames under the new prompt, or strip the cache down to just a single previous chunk, up to 72% of the model's responsiveness is still suppressed. The visual pixels themselves act as an overwhelming prior.
  • The battle is won or lost at Step 1: In few-step distilled video models, the very first high-noise denoising step decides almost the entire layout and content (moving the prediction $3\times$ more than step 2 and $20\times$ more than step 4). Coincidentally, context inertia suppresses the prompt most heavily at step 1. Intervening early is essential.
  • Why standard Classifier-Free Guidance (CFG) fails: Cranking up standard text guidance doesn't fix prompt switching because both the conditional and unconditional branches of CFG still attend to the exact same KV cache. The guidance vector itself gets squashed by context inertia, and boosting it mostly amplifies visual artifacts.
  • Pushing away matters as much as pulling toward: Ablations show that half of RG's magic comes from actively erasing features imposed by the old visual context, not just boosting the new text signal.

Key Results

Tested across seven Wan2.1-1.3B-based streaming models (including Self Forcing, LongLive, Infinity-RoPE, and SWIFT) using identical hyperparameters:

  • Massive gains in responsiveness: RG boosts average switch achievement from 21% to 58% on single-attribute switches, from 47% to 66% on three-event stories, and from 66% to 81% on 60-second interactive videos. On Self Forcing, single-switch success leaps from 10.6% to 56.8%.
  • Quality and continuity hold steady: VBench visual quality scores stay within $0.01$–$0.02$ of the base models across all benchmarks.
  • Human preference: In a 20-rater user study, users preferred RG 73.1% of the time for prompt adherence and 70.7% overall (with visual consistency dipping just slightly below parity at 44.3%).
  • Real-time friendly: Adding one cache-free pass per post-switch chunk reduces generation throughput by only ~6% on an RTX A6000 GPU while making transitions happen noticeably faster.
In a three-event speed-painting story, the base model gets stuck dipping the brush, while adding RG allows the video to progress to revealing a painted portrait.

Limitations and Future Work

RG isn't a silver bullet for every kind of edit. The authors note that removing an object mid-stream remains difficult, likely because existing visual tokens in the cache strongly anchor the object's presence. Additionally, injecting the cache-free residual can occasionally alter fine background or subject details alongside the requested change. Addressing object removal and sharpening localized detail preservation are highlighted as promising directions for future work.

Summary updated

Abstract

Real-time interactive video generation allows users to change the prompt during generation to steer the evolving video. However, existing streaming models, which generate videos chunk by chunk, often keep following the previous prompt after a switch. We trace this failure to context inertia, where the previous chunk acts as a strong prior that suppresses the new prompt. Furthermore, we find that this inertia persists even when the cache retains only the previous chunk, yet discarding the context breaks visual continuity, which limits approaches that edit the cache. Rather than editing the cache, we propose Residual Guidance (RG), a simple, training-free method that counteracts context inertia with a correction measured outside the cache. Specifically, RG denoises the re-noised previous chunk once under the new prompt without the cache and adds the resulting residual to the early denoising steps of the next chunk, where its content is largely decided and the new prompt is most suppressed. Across settings ranging from a single switch to long multi-switch generation, RG substantially improves prompt switching capability on existing streaming models, including those with dedicated switching mechanisms, while largely retaining visual quality. As it requires no training or per-model tuning and adds only one forward pass per chunk, RG can be easily integrated into existing real-time video generation pipelines.
BibTeX
@misc{park2026residual,
  author = {NaHyeon Park and Kyeong-Hwan Moon and Youjin Jeon and Hyunjung Shim},
  title = {{Residual Guidance for Real-Time Interactive Video Generation}},
  year = {2026},
  eprint = {2611.32820},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32820},
}
Figure