The Old Scene Lives in the Cache: Diagnosing and Shedding Stale History in Streaming Video Generation

Hao Zhou, Ziyang Xu, Chenhan Jin, Hao Qin, Shengze Xu, Tieyong ZengarXiv 2026

TL;DR

When you ask a streaming AI video generator to move a character from a city street into an aquarium, you get a frustrating choice: either yellow taxis float awkwardly alongside the fish, or the street vanishes—taking your character's original face with it. This paper diagnoses why visual memory clings so stubbornly to obsolete backgrounds and introduces Molt Forcing, a clever, training-free cache surgery that sheds the old scene while keeping the original subject intact.

What Problem Does This Paper Address?

Autoregressive video diffusion models generate video block by block, maintaining temporal consistency by looking back at a Key-Value (KV) cache of visual history. Typically, this cache has two parts: an attention sink (anchoring the very first frames so the video doesn't drift) and a local window (holding recent frames for smooth motion).

In interactive streaming, a sudden scene switch exposes a fundamental conflict in this memory. The cache stores the subject and the background together. If you keep the cache to preserve the person's identity, old-scene objects refuse to leave. If you wipe the cache for a clean "hard cut," the environment updates beautifully, but the model regenerates the subject from scratch using only text—giving you a stranger in the same suit.

Figure 1. The same history can preserve the subject and retain the old scene. The prompt switches from a city street to an aquarium tunnel (0 s). LongLive recache retains street objects alongside fish; Echo-Forcing hard cut changes the environment but changes the face; Molt Forcing shows the aquarium with closer resemblance to its pre-switch subject. Right: manual face crops before the switch and at +15.7 s. Echo uses its official cache configuration and therefore its own pre-switch video. Businessman, seed 0, author-selected; rule- selected examples are in Fig. 5.

Methods

Unlike standard approaches that flush or recompute the entire cache uniformly, Molt Forcing requires no training or external reference images. Instead, it performs spatial surgery on the KV cache at the moment of the switch (built on top of the LongLive generator):

  1. Cold-Start Target Sink: At the switch, a parallel branch generates a few frames of the new scene in an empty cache using a cleaned-up target prompt. This supplies fresh, uncontaminated target-scene context.
  2. Boundary-Tightened Switch Block: Using offline segmentation (CLIPSeg + SAM) on pre-switch frames, the method masks the subject. During the transition ("bridge") block, the local window is restricted to read only native subject tokens. Crucially, the authors shrink (erode) the outer contour of this mask so old background pixels don't leak along the edges, while leaving interior holes (like a coffee cup held in the hand) unmasked so they blend naturally.
  3. Native Subject Identity Anchor: Once the transition frames roll out of the local window, the subject would normally drift. To prevent this, Molt Forcing builds a new persistent attention sink combining the newly generated bridge background with eroded subject tokens transplanted directly from the original pre-switch sink.

Datasets

Because this method is training-free, no training datasets are used. For evaluation, the authors construct a custom test suite:

  • Main Evaluation Set: 16 "scene families" (10 human, 6 non-human, 2 seeds each = 32 videos), where each family pairs an initial scene, a target scene, preserved subject attributes, and three explicit old-scene objects that must disappear (after developing on 2 separate families).
  • Motion Set: 15 cold-start action pairs (30 videos) to test whether cache surgery interrupts ongoing movement.

Key Insights and Ideas

  • Shortening or recomputing history is not forgetting it: Standard tricks like flushing the local window down to one frame or recomputing cached keys/values under the new text prompt clear 0 out of 32 videos. As long as native visual latents remain in the read context, the old scene survives.
  • Both cache parts harbour ghosts: Replacing only the attention sink clears just 3/32 videos (often superimposing fish over asphalt); replacing only the local window clears 20/32; replacing both clears 31/32.
Diagnostic comparison showing how shortening or recomputing history retains the street, whereas replacing both sink and window clears it.
  • Backgrounds follow where history is read: When the authors shifted the horizontal positional embeddings (RoPE) of cached history keys without changing visual content, the generated background shifted pixel-for-pixel with the offset, whereas the subject region barely budged. Background generation is tightly bound to spatial token positions—which is why spatial masking works, and why sloppy mask borders leak old scenery like a collage.
  • Negation backfires: Mentioning old objects negatively in the prompt (e.g., "no taxis") can actually cause them to reappear after a hard cut.

Key Results

  • Joint Removal & Identity: Across 32 videos, Molt Forcing clears all designated old objects in 30/32 videos at +6.7s, matching or beating the state-of-the-art Echo-Forcing hard cut (28/32) and approaching a full cold restart (31/32).
  • Face Preservation: Right after the cut (+0.7s), Echo-Forcing's ArcFace cosine similarity to the pre-switch face drops to .39 (vs. .82 with no switch), whereas Molt Forcing holds at .70. At +6.7s across 20 human videos, Molt Forcing achieves .587 face similarity vs. .373 for Echo hard cut and .350 for cold restart.
  • Longevity & Cost: Molt Forcing's statistically significant identity advantage holds through ~16 seconds post-switch, while adding only ~5.5 seconds of compute per switch (excluding offline masking).

Limitations and Future Work

The authors are admirably transparent about the boundaries of their work:

  • Scope: Tested on a single 1.3B backbone, single subjects, and one known hard cut per video using manually rewritten prompts and offline segmentation masks. Gradual transitions, multi-switch narratives, returning to earlier scenes, and automatic switch triggering remain open problems.
  • Spatial vs. Semantic Masking: Masks select grid positions rather than pure identity features, meaning mask boundaries can still occasionally damage subjects or redraw held objects imperfectly.
  • Long-Horizon Drift: By 60 seconds post-switch, the confidence interval for the facial similarity gap over Echo-Forcing narrows enough to include zero, leaving ultra-long-term identity anchoring after cuts an open challenge.

Summary updated

Abstract

Switching scenes while preserving the original subject in streaming video generation exposes a conflict: cached history helps maintain the subject but also sustains old-scene objects that should disappear. Through controlled interventions on text conditioning, denoising steps, the local window, and the attention sink, we identify how cached visual history keeps this obsolete content. When the original frames remain in the cache, KV flush and sink recomputation still leave old-scene objects in the generated videos. Replacing this history with target-scene history largely removes those objects, but also changes the subject, reducing face similarity to the pre-switch subject. We then propose Molt Forcing, a training-free method that rebuilds scene history from a cold-start target scene while selectively retaining subject tokens from the original cache. Across 16 scene families, Molt Forcing removes old-scene objects at least as reliably as an Echo-Forcing hard cut while keeping the subject much closer to its pre-switch appearance.
BibTeX
@misc{zhou2026old,
  author = {Hao Zhou and Ziyang Xu and Chenhan Jin and Hao Qin and Shengze Xu and Tieyong Zeng},
  title = {{The Old Scene Lives in the Cache: Diagnosing and Shedding Stale History in Streaming Video Generation}},
  year = {2026},
  eprint = {2611.32116},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32116},
}
Figure