Weave Forcing: Compositional Memory Routing for Interactive Long Video Generation

Ziyi Wang, Junchi Yao, Heqian Qiu, Wenbo Shi, Chengjiu Wang +3 more
10/2/2026
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Recent advances in autoregressive video generation have improved temporal consistency over extended durations, yet interactive storytelling requires more than continuous scene extension: a new shot may combine characters and backgrounds from different historical shots. Whole prompt retrieval can overlook the distinct reference needs of individual components, while directly combining all historical memories may introduce unrelated visual content.

Show full abstract

To address these problems, we present Weave Forcing, a training-free framework for compositional memory reuse in interactive long video generation. First, we use an LLM for semantic slot routing to decompose user prompts into character and background descriptions and explicitly select suitable historical references for each component. To isolate the required content, masked memory weaving uses contrasting attention maps conditioned on semantic slots to construct refined semantic masks, selectively exposing relevant tokens from compressed historical KV memories to guide the generation of the current shot. We further introduce coverage adaptive RoPE to adjust temporal offsets and memory retention according to no, partial, or full reference coverage, addressing visual artifacts observed when incomplete historical references are positioned close to the current generation. Extensive experiments demonstrate that Weave Forcing improves cross-shot subject and background consistency while maintaining competitive visual quality and text alignment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026weave,
  title  = {Weave Forcing: Compositional Memory Routing for Interactive Long Video Generation},
  author = {Ziyi Wang and Junchi Yao and Heqian Qiu and Wenbo Shi and Chengjiu Wang and Jinyang He and Binkai Hong and Hongliang Li},
  year   = {2026},
  eprint = {2610.03510},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.03510v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.03510.svg)](https://codeofpaper.com/paper/2610.03510)

Discussion