TL;DR
FlashMotion is a novel three-stage training framework that enables high-quality, trajectory-controllable video generation in just 4 steps. By combining score distillation with a hybrid diffusion-adversarial fine-tuning strategy, it achieves a 47x speedup over previous multi-step models while maintaining precise motion control and visual fidelity.
What Problem Does This Paper Address?
Trajectory-controllable video generation allows users to dictate the movement of objects by drawing paths, bounding boxes, or masks. While recent models excel at this, they rely on iterative multi-step diffusion processes (often 50+ denoising steps), creating massive computational overhead and latency.
Standard video distillation techniques can compress these models into fast, few-step generators. However, directly applying them to trajectory-controlled workflows fails catastrophically. As shown in the paper's motivation, if you pair a fast generator with an adapter trained on a slow model, you get a nasty trade-off: either the video becomes extremely blurry, or the object completely ignores the intended trajectory. This happens because few-step generators follow entirely different denoising paths than their multi-step counterparts, rendering the original trajectory adapters incompatible.
Methods
To bridge this gap, FlashMotion introduces a three-stage training pipeline designed to align trajectory control with accelerated generation:
- Stage 1: Training the SlowAdapter: The authors first train a trajectory adapter on a standard multi-step video generator (SlowGenerator) using a dense-to-sparse strategy—initially training with dense segmentation masks and then fine-tuning with sparse bounding boxes.
- Stage 2: Training the FastGenerator: The SlowGenerator is distilled into a 4-step FastGenerator using Distribution Matching Distillation (DMD), minimizing the KL-divergence between the student and teacher distributions.
- Stage 3: Training the FastAdapter: To make the adapter compatible with the new few-step generator, it is fine-tuned using a hybrid objective. It combines a pixel-level diffusion loss (to ensure the object follows the path) with an adversarial loss via a specialized diffusion discriminator (to eliminate blur and match real video distributions).
A dynamic diffusion loss scaling mechanism is also introduced to balance these two objectives during training.
The architecture accommodates both lightweight ResNet-based adapters and robust ControlNet-based adapters. The diffusion discriminator leverages a frozen Diffusion Transformer (DiT) backbone cloned from the slow generator, adding an attention-based classifier head to distinguish real video latents from generated ones.
Datasets
- Training: MagicData, containing 23K high-quality videos complete with text prompts and trajectory annotations (bounding boxes and segmentation masks).
- Evaluation: Standard benchmarks MagicBench and DAVIS were used.
- New Benchmark: The authors introduce FlashBench, a large-scale benchmark specifically designed for long-sequence trajectory-controllable video generation (up to 121 frames). It categorizes videos into six groups based on the number of foreground objects to rigorously evaluate multi-object tracking and consistency.
Key Insights and Ideas
- The Denoising Path Mismatch: Trajectory adapters trained on multi-step models expect conditions to slowly guide initial noise through progressive refinement. Fast generators synthesize videos in just a few steps, completely altering the denoising path and breaking naive adapter transfers.
- Pixel Loss Alone Causes Blur: Fine-tuning the adapter using only a standard diffusion loss yields good trajectory alignment but severely blurry videos. This is because pixel-level supervision lacks the capacity to enforce distribution-level consistency.
- The Power of the Diffusion Discriminator: Introducing an adversarial objective via a diffusion discriminator bridges the distribution gap, acting as the primary driver for visual crispness and eliminating artifacts.
- Dynamic Scaling is Essential: Early in Stage 3, the gradients of the diffusion loss are significantly larger than the GAN loss. Progressively scaling up the diffusion loss weight ($\lambda$) prevents the model from getting stuck in blurry local minima.
Key Results
- Massive Speedup: FlashMotion achieves a 47x speedup over the previous state-of-the-art multi-step model (MagicMotion), reducing denoising time for a 121-frame video from over 19 minutes to just 11.72 seconds on a single A100 GPU (using the ResNet adapter).
- Quantitative Superiority: On the new FlashBench dataset using a ControlNet adapter, FlashMotion achieved an FVD of 96.08 and a Box IoU of 75.38%. This significantly outperforms few-step consistency baselines like LCM (FVD 340.29, Box IoU 64.83%) and even beats the original multi-step teacher models in visual quality.
Limitations and Future Work
While FlashMotion demonstrates excellent performance, the authors note a practical engineering constraint: during Stage 3 fine-tuning, certain distillation baselines (like DMD and GAN) encountered CUDA Out-Of-Memory (OOM) errors when paired with the heavier ControlNet adapter architecture. This indicates that memory efficiency remains a bottleneck when scaling up adversarial distillation frameworks for large-scale video generation models. Future work will likely target more memory-friendly discriminator designs and scaling to even longer video horizons.
Summary updated