HyperAIHyperAI

Command Palette

Search for a command to run...

動画生成

StateWeaver:長時間ビデオ生成のためのストーリー状態遷移のマルチエージェント協調

Modi Jin Xuying Zhang Yijing Guo Haoran Li Yanwen Ma Jing Wang Chenyu Ge Ming-Ming Cheng Haoyang Huang

概要

現代のビデオ基盤モデルは高品質な短いクリップを生成するが、長尺ビデオの一貫性を保ち、イベント駆動の状態変化を正しく描写することは依然として困難である。既存のエージェント型ワークフローは、継続的な計画と修復がコンテキストを蓄積し、参照の更新が限定的であるため、これらの課題に直面している。我々はStateWeaverを提案する。これはActive Statesと階層的協調を組み合わせ、レビュー駆動の視覚参照更新とショット間の状態継承を接続する。Active Statesは、レビュー中に特定された状態の不一致を具体的な視覚アセット要件に変換し、参照の構築、検証、再生成を導くことで、アイデンティティと既に正しい内容を保持しながら対象属性を修復する。確認された生成結果は、対応するアセット状態、ストーリー時間、参照バージョンに紐付けられ、後続ショットによる検証と再利用が可能になる。階層的協調は、タスク、クリップ、修復ラウンドごとに実行コンテキストを分離し、階層的メモリを用いて複数セットにわたるこのプロセスを組織化する。複数のベンチマークにおいて、StateWeaverは既存手法を上回り、事前定義および自律的に計画されたストーリーボードの下で、持続的なショット間一貫性を備えた長尺ビデオを生成する。

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)s = (a, \tau, \mathbf{x}, p, \mathcal{E})s=(a,τ,x,p,E)

Here, aaa represents the stable asset identity, τ\tauτ is the applicable story interval, x\mathbf{x}x contains mutable attributes such as appearance and location, ppp is the principal parent state of the same asset, and E\mathcal{E}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)D_i^{(t)}Di(t)​, content to preserve Pi(t)P_i^{(t)}Pi(t)​, and asset requirements Ni(t)N_i^{(t)}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))R_i^{(t+1)} = \text{Validate}\left(\text{Prepare}(R_i^{(t)}, N_i^{(t)} \mid O_i)\right)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))V_i^{(t+1)} = F\left(C_i \mid R_i^{(t+1)}, D_i^{(t)}, P_i^{(t)}, O_i, V_i^{(t)}\right)Vi(t+1)​=F(Ci​∣Ri(t+1)​,Di(t)​,Pi(t)​,Oi​,Vi(t)​)

In this process, Ri(t)R_i^{(t)}Ri(t)​ contains the current references, CiC_iCi​ specifies shot constraints, OiO_iOi​ contains accepted source evidence, Vi(t)V_i^{(t)}Vi(t)​ is the candidate under review, and FFF 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 MGM_GMG​ for story facts and confirmed observations shared across sets, and set memory MSM_SMS​ 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\mathcal{Q}Q by checking dependency requirements against currently valid evidence:

Q={Tk,i∈Tpending∣Satisfied(Dep(Tk,i),Eacc)}\mathcal{Q} = \left\{T_{k,i} \in \mathcal{T}_{\text{pending}} \mid \text{Satisfied}(\text{Dep}(T_{k,i}), \mathcal{E}_{\text{acc}})\right\}Q={Tk,i​∈Tpending​∣Satisfied(Dep(Tk,i​),Eacc​)}

Here, Tk,iT_{k,i}Tk,i​ is the generation task for clip iii in set kkk, Tpending\mathcal{T}_{\text{pending}}Tpending​ is the set of pending tasks, Dep(Tk,i)\text{Dep}(T_{k,i})Dep(Tk,i​) specifies upstream evidence requirements, and Eacc\mathcal{E}_{\text{acc}}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.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています