Command Palette
Search for a command to run...
StateWeaver: Multi-Agenten-Koordination von Story-State-Übergängen für die Langzeit-Videogenerierung
StateWeaver: Multi-Agenten-Koordination von Story-State-Übergängen für die Langzeit-Videogenerierung
Modi Jin Xuying Zhang Yijing Guo Haoran Li Yanwen Ma Jing Wang Chenyu Ge Ming-Ming Cheng Haoyang Huang
Zusammenfassung
Moderne Video-Foundation-Modelle erzeugen hochwertige kurze Clips, doch die Bewahrung der Konsistenz langer Videos und die korrekte Darstellung ereignisgetriebener Zustandsänderungen bleiben herausfordernd. Bestehende agentenbasierte Workflows stoßen hier an Grenzen, da fortlaufende Planung und Reparatur Kontext akkumulieren, während Referenzaktualisierungen begrenzt bleiben. Wir stellen StateWeaver vor, das Active States und Hierarchical Collaboration kombiniert, um review-gesteuerte visuelle Referenzaktualisierungen mit schussübergreifender Zustandsvererbung zu verbinden. Active States übersetzen während des Reviews identifizierte Zustandsabweichungen in konkrete Anforderungen an visuelle Assets, die die Referenzerstellung, -validierung und -regenerierung leiten, wobei Identität und bereits korrekte Inhalte erhalten bleiben, während Zielattribute repariert werden. Bestätigte Generierungsergebnisse werden mit den entsprechenden Asset-Zuständen, der Story-Zeit und den Referenzversionen verknüpft, um sie für nachfolgende Shots zu verifizieren und wiederzuverwenden. Hierarchical Collaboration isoliert Ausführungskontexte nach Aufgabe, Clip und Reparaturrunde und nutzt hierarchisches Gedächtnis, um diesen Prozess über mehrere Sets hinweg zu organisieren. Über mehrere Benchmarks hinweg übertrifft StateWeaver bestehende Methoden und erzeugt lange Videos mit anhaltender schussübergreifender Konsistenz sowohl bei vordefinierten als auch bei autonom geplanten Storyboards.
One-sentence Summary
Researchers from Nankai University, Joy Future Academy, JD, ShanghaiTech University, and Beihang University propose StateWeaver, a multi-agent framework for coordinating story-state transitions in long-horizon video generation that combines Active States and Hierarchical Collaboration to translate review-identified state discrepancies into visual asset requirements, enabling cross-shot state inheritance, targeted repair without altering correct content, and hierarchical memory organization while outperforming existing methods across multiple benchmarks.
Key Contributions
- Active States translates review-identified state discrepancies into state-refinement and visual-reference supplementation requirements, links confirmed outputs to asset states and story time, and supports targeted repair while preserving identity and already-correct content.
- Hierarchical Collaboration isolates execution contexts by task, clip, and repair round, retrieves relevant plans and references through hierarchical memory, and coordinates evidence-based state handoffs across sets for continual planning, local repair, and parallel production.
- Results on four benchmarks show that StateWeaver outperforms existing frameworks and maintains cross-shot consistency under predefined and autonomously planned storyboards, with ablations and human evaluation validating state refinement, reference supplementation, and context isolation mechanisms.
Introduction
Video foundation models now generate high-quality short clips, but filmmaking, short-drama production, and embodied simulation require long-horizon video that maintains continuity across many shots. Native long-video models struggle with quality degradation and error accumulation, while prior agentic frameworks that use short-clip generators as renderers often rely on predefined plans or explicit states without ensuring that review feedback leads to confirmed visual repair and that repaired states are inherited by later shots. The authors introduce StateWeaver, a multi-agent framework that combines Active States with Hierarchical Collaboration. Active States translate review findings into concrete visual reference requirements, validate regenerated outputs, and bind confirmed results to asset states, story time, and reference versions. Hierarchical Collaboration isolates execution context by task, clip, and repair round and coordinates evidence-based state handoffs across story sets, allowing local repair and long-range coherence to be addressed jointly.
Method
The authors design StateWeaver as a comprehensive multi-agent production workflow for generating consistent video content. The process begins with a screenwriter expanding a brief request into a detailed screenplay that specifies characters, events, and causal relations. A chief director then partitions temporally and spatially continuous sub-stories into distinct sets, each defined by an event scope and specific production objectives. Within this hierarchy, set directors are responsible for planning, generating, reviewing, and repairing clips. Executive directors handle delegated tasks such as asset preparation, repair diagnosis, candidate reassessment, and blocked task resolution. The chief director coordinates across sets and confirms shared evidence to maintain global consistency. When no tasks are ready, the system waits for running tasks to complete or requires chief-directed intervention before scheduling resumes. This entire production pipeline is supported by two core mechanisms: Active States for state planning and local repair, and Hierarchical Collaboration for sustaining operations across isolated contexts.
As shown in the figure below:
To maintain consistent story facts and visual continuity, the system leverages Active States to organize events and their associated story time. These states are recorded separately from playback order and generation rounds. The chief director first specifies base asset states and set entry and exit requirements, establishing initial plans for states with concrete reference purposes. Each state is associated with an applicable story interval to support accurate reference usage in flashbacks, cross-set revisits, and parallel production. A state tree records the origins of an asset changes, where each node is represented as:
s=(a,τ,x,p,E)Here, a represents the stable asset identity, τ is the applicable story interval, x contains mutable attributes such as appearance and location, p is the principal parent state of the same asset, and E denotes the supporting story evidence. Successor states retain unchanged parent attributes and update only those affected by the current event.
State and reference refinement are driven by state-transition reviews. The set director checks identity, key actions, and visual consequences against event requirements and actual references. Discrepancies are organized into defects Di(t), content to preserve Pi(t), and asset requirements Ni(t). When existing references are insufficient, the system requests reference expansion or employs defect-conditioned reference synthesis. The framework-level repair procedure generates the next candidate using the following formulation:
Ri(t+1)=Validate(Prepare(Ri(t),Ni(t)∣Oi)) Vi(t+1)=F(Ci∣Ri(t+1),Di(t),Pi(t),Oi,Vi(t))In this process, Ri(t) contains the current references, Ci specifies shot constraints, Oi contains accepted source evidence, Vi(t) is the candidate under review, and F denotes the repair procedure. The video model receives the revised prompt and validated visual references to generate the next candidate, which undergoes further review to ensure intended state transitions are realized.
To sustain these operations across multiple sets, the authors implement Hierarchical Collaboration through isolated contexts and structured memory. Task-context isolation creates independent contexts for specialized tasks, while clip and repair-round planning-context isolation ensures that each planning phase reads only the current plan and relevant evidence. The system utilizes global memory MG for story facts and confirmed observations shared across sets, and set memory MS for local plans and repair decisions. Both memory levels are filtered by event and story interval to ensure agents access only valid, task-relevant records.
Furthermore, StateWeaver enables dependency-driven parallel generation by constructing a directed dependency graph from the states and visual evidence required by each task. The system determines the ready-task set Q by checking dependency requirements against currently valid evidence:
Q={Tk,i∈Tpending∣Satisfied(Dep(Tk,i),Eacc)}Here, Tk,i is the generation task for clip i in set k, Tpending is the set of pending tasks, Dep(Tk,i) specifies upstream evidence requirements, and Eacc contains currently valid confirmed observations. Tasks with satisfied dependencies execute in parallel, while unresolved tasks can begin shot planning that does not require upstream observations. Once a source clip is selected, the chief director performs observed-state handoff verification to ensure downstream attributes are supported by confirmed observations, binding task inputs to the specific observations and source versions used.
Experiment
The experiments evaluate StateWeaver against four baselines on 75 text-driven video production tasks, using both predefined storyboards and autonomously planned shots. StateWeaver achieves strong overall performance, ranking first on ViMax-Bench and EntityBench and showing clear advantages in autonomous planning, continuity, and narrative alignment. Ablations confirm that active states, hierarchical collaboration, memory filtering, and state handoffs all contribute to long-horizon consistency and video quality. Human evaluation further indicates substantial gains in cross-shot continuity and state transitions, while visual quality remains comparable to strong baselines.
StateWeaver achieves top overall results on ViMax-Bench and EntityBench, and ranks second on ST-Bench with the best aesthetics and competitive cross-shot consistency. On autonomously planned DirectorBench, it maintains a clear advantage in temporal coherence and narrative alignment. The results indicate strong preservation of visual entities and state continuity while retaining competitive per-shot quality and text alignment. StateWeaver leads overall on ViMax-Bench and EntityBench and is second on ST-Bench with the strongest aesthetics. Under autonomous storyboard planning, StateWeaver shows a clear advantage in cross-shot coherence and narrative alignment. It maintains visual entities and their states across continuous production without sacrificing per-shot fidelity or text alignment.
The full StateWeaver configuration achieves the highest overall score, and every ablation that disables an active state or hierarchical collaboration component lowers aggregate performance. Frozen references mainly reduce long-horizon performance, while removing defect-conditioned synthesis produces broader declines across categories. Task-context isolation and planning-context isolation affect story and video scores differently, and disabling both leads to the largest overall drop. The complete model has the best overall result compared with all ablations. Replacing adaptive references with frozen references keeps story performance relatively stable but sharply reduces long-horizon performance. Removing defect-conditioned synthesis causes declines across story, video, and long-horizon categories. Removing task-context isolation lowers story scores, whereas removing clip- and repair-round planning-context isolation lowers video scores. Disabling both hierarchical collaboration components yields the lowest aggregate score, indicating complementary roles.
Removing memory scope filtering or observed-state handoff verification reduces performance across story, video, and long-horizon benchmarks. The combined removal produces the largest decline, while the full configuration achieves the highest scores in every category. The two mechanisms appear complementary rather than interchangeable. The full configuration outperforms all ablation variants across story, video, and long-horizon categories. Removing both filtering and handoff verification yields the largest overall performance drop. Memory scope filtering has a stronger long-horizon impact, while observed-state handoff verification shows a comparatively smaller overall effect.
In pairwise human evaluations, StateWeaver shows clear preferences over baselines on cross-shot continuity and state transitions, with the largest overall advantage against ATAS. Visual quality differences are smaller and less consistent, showing near parity or a slight deficit against some baselines while remaining positive against others. Overall scores are positive across all comparisons, driven mainly by continuity and state-transition preferences. StateWeaver's largest overall preference is against ATAS, with wide margins in continuity and state transitions and a clear visual preference. Cross-shot continuity is the strongest dimension, with StateWeaver preferred over every baseline by a substantial majority. State transitions also favor StateWeaver across all baselines, though less strongly than continuity. Visual quality is the weakest separator, showing near parity with MovieAgent and ViMax and a slight deficit against MovieAgent.
The evaluation includes benchmark comparisons, ablation studies, and pairwise human assessments. StateWeaver leads overall on ViMax-Bench and EntityBench, ranks second on ST-Bench, and shows clear advantages in temporal coherence and narrative alignment on DirectorBench, indicating strong entity and state continuity without sacrificing per-shot fidelity or text alignment. Ablations confirm that adaptive references, defect-conditioned synthesis, hierarchical collaboration, memory scope filtering, and observed-state handoff verification all contribute, with combined removals causing the largest performance drops. Human evaluations show consistent preferences for StateWeaver on cross-shot continuity and state transitions, while visual quality differences remain smaller and less consistent.