RIFLEx: A Free Lunch for Length Extrapolation in Video Diffusion Transformers
About
Recent advancements in video generation have enabled models to synthesize high-quality, minute-long videos. However, generating even longer videos with temporal coherence remains a major challenge and existing length extrapolation methods lead to temporal repetition or motion deceleration. In this work, we systematically analyze the role of frequency components in positional embeddings and identify an intrinsic frequency that primarily governs extrapolation behavior. Based on this insight, we propose RIFLEx, a minimal yet effective approach that reduces the intrinsic frequency to suppress repetition while preserving motion consistency, without requiring any additional modifications. RIFLEx offers a true free lunch--achieving high-quality 2x extrapolation on state-of-the-art video diffusion transformers in a completely training-free manner. Moreover, it enhances quality and enables 3x extrapolation by minimal fine-tuning without long videos. Project page and codes: https://riflex-video.github.io/.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Video Generation | VBench HunyuanVideo | Consistency99.06 | 15 | |
| Long Video Generation | VBench 4x extended video lengths 1.0 | Subject Consistency98.69 | 12 | |
| Long Video Generation | VBench 2x extension 1.0 | Subject Consistency97.32 | 12 | |
| Video Extrapolation | VBench CogVideoX with 2x extrapolation v1.0 (test) | NoRepeat Score99.42 | 7 | |
| Video Extrapolation | VBench CogVideoX with 4x extrapolation v1.0 (test) | NoRepeat Score97 | 7 | |
| Video Extrapolation | VBench Wan with 2x extrapolation v1.0 (test) | Dynamic Score32 | 7 | |
| Video Extrapolation | VBench CogVideoX with 3x extrapolation v1.0 (test) | NoRepeat Score97.86 | 7 | |
| Video Extrapolation | VBench HunyuanVideo with 2x extrapolation v1.0 (test) | NoRepeat Score97.27 | 7 | |
| Video Extrapolation | VBench HunyuanVideo with 5x extrapolation v1.0 (test) | NoRepeat Score53.65 | 7 | |
| Text-to-Video Generation | User Study long videos Wan2.1-T2V-1.3B base model | Content Consistency3.31 | 6 |