TL;DR
WanPE introduces a massive 397B-parameter prompt enhancement model that redefines text-to-video prompting as director-level cinematic planning. By combining a novel video-grounded reverse training strategy with semantic-consistency reinforcement learning (SC-GRPO), WanPE generates detailed, multi-shot screenplays that dramatically boost video quality and instruction adherence, especially for long-form 30-second video generation.
What Problem Does This Paper Address?
While modern text-to-video (T2V) generators can synthesize up to 30 seconds of high-quality video, raw user prompts are rarely detailed enough to guide complex elements like camera trajectories, lighting changes, and multi-shot transitions over long durations.
To bridge this gap, traditional systems use "forward prompt expansion"—employing an LLM to rewrite a short user prompt into a longer, more descriptive one. However, the authors identify two critical flaws in this approach:
- The Distribution Gap: Synthetically expanded prompts do not match the linguistic style and structure of the real-world video captions that video generators were trained on.
- Semantic Drifting: As a prompt enhancer expands a scene into a multi-shot sequence, it frequently drops, alters, or contradicts the user's original instructions (e.g., forgetting a character or swapping their actions).
Methods
To turn prompt enhancement into a scalable cinematic planning architecture, the authors developed two core techniques:
- Video-Grounded Reverse SFT (Supervised Fine-Tuning): Instead of training the model to expand text forward, the authors flipped the pipeline. They took a massive corpus of real-world videos, used a multimodal captioner to generate highly detailed, hierarchical cinematic plans ($y$), and then used an LLM to reconstruct the simplified user request ($x$) that would have produced that video. Training the model on these reversed $(x, y)$ pairs ensures its outputs perfectly align with real-world video distributions.
- Semantic-Consistency GRPO (SC-GRPO): To enforce strict adherence to user requests across long sequences, the model is fine-tuned using Group Relative Policy Optimization (GRPO). It utilizes a 9-dimensional reward function (evaluating style, subjects, actions, dialogue, sound, camera, lighting, spatial relations, and scene) scored by a strong LLM evaluator to heavily penalize omissions, incorrect attribute bindings, or cross-shot contradictions.
Datasets
- Training Data: The reverse SFT phase utilized 1.05M real-world video clips (segmented to a maximum of 30 seconds) spanning 10 diverse content categories. The SC-GRPO alignment phase used a dataset of ~15K prompts, combining broad-coverage human requests with challenging cases flagged during human inspection.
- Evaluation Benchmark (WanPEval): The authors introduced WanPEval, a curated testbed of 249 human-written requests stratified across four durations (5s, 10s, 15s, 30s) and three prompt granularities (intent-level, scene-level, and shot-level). Evaluation was validated using roughly 11K blind pairwise human preference assessments conducted by film industry experts.
Key Insights and Ideas
- Learning from Real-World Direction: The core "aha moment" is that professional cinematic structure—coordinating acting, cinematography, and editing—is best learned directly from realized real-world videos rather than being synthetically imagined by a standard text-only LLM.
- Text as a Production Blueprint: For long-form video generation, text should not just be a static description; it must function as a time-stamped screenplay that orchestrates production elements dynamically across shots.
- Cross-Generator Portability: Remarkably, the cinematic planning capabilities learned by WanPE are not locked to a single video model. When adapted to different conditioning formats, WanPE successfully boosted the performance of entirely separate downstream video generators like LTX-2.5 and MiniMax-H3.
Key Results
- Massive Preference Boosts: When powering the Wan3.0 video generator, WanPE-397B improved human preference scores over raw user prompts by 10.66–18.84 points for 5–15 second videos, and by a staggering 50.86 points in the 30-second arena.
- Outperforming Commercial Alternatives: On the 5–15s subset, WanPE-397B achieved an overall preference score of 50.61, leading commercial offerings including Seedance 2.0 (43.42), MiniMax-H3 (36.40), and Kling 3.0 (20.80). At 30 seconds, it achieved a score of 60.24, remaining highly competitive with Seedance 2.5 (59.76).
- Ablation Validation: Reverse construction outperformed traditional forward rewriting by 10.37 points, while SC-GRPO robustly improved semantic consistency by 18.6–23.3 points across all model scales (4B to 397B).
Limitations and Future Work
- Format Adaptation Overhead: Because different video generators utilize distinct conditioning formats, WanPE requires an intermediate LLM translation step (e.g., via GPT) to map its cinematic plans to non-native video models.
- Inference Compute Costs: Running a 397B-parameter prompt enhancement model introduces significant computational overhead before the actual pixel-rendering stage begins.
- Evaluation Bottlenecks: The reinforcement learning loop relies heavily on large, proprietary LLM evaluators (like Qwen3.7-Max) to score the 9-dimensional consistency rewards, which can be costly and difficult to replicate open-source.
Summary updated