StateWeaver: Multi-Agent Coordination of Story-State Transitions for Long-Horizon Video Generation
Organizations: Nankai University · Joy Future Academy, JD · ShanghaiTech University · Beihang University
Abstract
Modern video foundation models generate high-quality short clips, but preserving long-video consistency and correctly depicting event-driven state changes remain challenging. Existing agentic workflows face these challenges because continual planning and repair accumulate context, while reference updates remain limited. We introduce StateWeaver, which combines Active States and Hierarchical Collaboration to connect review-driven visual reference updates with cross-shot state inheritance. Active States translate state discrepancies identified during review into concrete visual asset requirements that guide reference construction, validation, and regeneration, preserving identity and already-correct content while repairing target attributes. Confirmed generation results are linked to the corresponding asset states, story time, and reference versions for verification and reuse by subsequent shots. Hierarchical Collaboration isolates execution contexts by task, clip, and repair round, and uses hierarchical memory to organize this process across multiple sets. Across multiple benchmarks, StateWeaver outperforms existing methods and produces long videos with sustained cross-shot consistency under predefined and autonomously planned storyboards.
Figures & tables
| Method | Visual Quality | Text Alignment | Cross-shot Consistency | Overall | |||
|---|---|---|---|---|---|---|---|
| AQ | Global | Shot | Top-10 | All | |||
| MovieAgent [ 84 ] | 0.632 | 0.264 | 0.214 | 0.589 | 0.548 | 0.449 | |
| ViMax [ 25 ] | 0.630 | 0.254 | 0.204 | 0.567 | 0.524 | 0.436 | |
| StoryEngine [ 80 ] | 0.642 | 0.257 | 0.202 | 0.579 | 0.546 | 0.445 | |
| ATAS [ 77 ] | 0.636 | 0.255 | 0.202 | 0.622 | 0.571 | 0.457 | |
| ST-Bench | StateWeaver (Ours) | 0.648 | 0.251 | 0.204 | 0.596 | 0.558 | 0.451 |
| Method | Active States | Hierarchical Collaboration | Results | |||||
| RE | DCS | TCI | CCI | Story | Video | Long-horizon | Overall | |
| StateWeaver with Frozen Refs. | – | 0.779 | 0.734 | 0.622 | 0.703 | |||
| StateWeaver w/o DCS | 0.748 | 0.727 | 0.640 | 0.699 | ||||
| Method | Story | Video | Long-horizon | Overall |
|---|---|---|---|---|
| StateWeaver w/o SF | 0.766 | 0.727 | 0.640 | 0.704 |
| StateWeaver w/o OH | 0.762 | 0.731 | 0.662 | 0.713 |
| StateWeaver w/o SF & OH | 0.742 | 0.721 | 0.642 | 0.696 |
| Comparison | Continuity | State Transitions | Visual | Total Score | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G | S | B | Score | G | S | B | Score | G | S | B | Score | ||
| Ours vs. MovieAgent [ 84 ] | 76.0 | 17.3 | 6.7 | 69.3 | 56.0 | 34.7 | 9.3 | 46.7 | 41.3 | 14.7 | 44.0 | -2.7 | 37.8 |
| Ours vs. ViMax [ 25 ] | 56.0 | 38.7 | 5.3 | 50.7 | 46.7 | 46.7 | 6.7 | 40.0 | 38.7 | 38.7 | 22.7 | 16.0 | 35.6 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Group or ID format Selected tasks |
|---|---|
| ST-Bench [ 101 ] | Script name artist , astronaut , bean , black , cat , dog , explorer , harry , jane , japan , jobs , little_sheldon , neo , phd , qin , queen , robinson , robot , superman , titanic |
| ViMax-Bench [ 25 ] | Character persistence (A) 2 , 3 , 4 , 8 , 9 , 10 Background persistence (B) 15 , 16 , 17 , 18 , 22 , 24 Multi-character interaction (C) 26 , 27 , 28 , 29 , 30 , 32 , 33 , 35 |
| EntityBench [ 16 ] | Medium run34__i0_j23 , run152__i5_j56 , run317__i25_j60 , run338__i25_j34 , run367__i60_j68 , run406__i40_j66 Hard run238__i0_j34 , run247__i0_j47 , run264__i50_j98 , run298__i40_j64 |
| DirectorBench [ 6 ] | Prefix DB_ 001 , 005 , 012 , 014 , 016 , 017 , 018 , 022 , 024 , 027 , 031 , 036 , 039 , 040 , 042 , 043 , 044 , 047 , 058 , 061 , 063 , 064 , 066 , 071 , 072 |
Long-Horizon Video Generation
Long-horizon video generation creates coherent, controllable videos over extended durations despite limited context and accumulating errors.
See all 203 papers