Introduction
Video generation has recently transitioned from U-Net architectures to Diffusion Transformers (DiTs), which offer superior scalability and expressiveness. However, Transformers face a significant challenge: the computational cost of self-attention scales quadratically with the number of input tokens. In high-resolution video, where tokens represent patches across both space and time, this "quadratic bottleneck" becomes a major barrier to efficiency.
Existing efficiency techniques often rely on uniform downsampling or token merging. These methods are "motion-blind," treating static backgrounds and fast-moving subjects with equal priority. This often results in blurred motion or lost temporal dynamics. ADAPTOR addresses this by intelligently allocating processing power based on motion.
The ADAPTOR Mechanism
The core innovation of ADAPTOR is its ability to exploit temporal redundancy. Instead of shrinking video frames uniformly, it employs a routing function to determine the "compressibility" of different spatial regions.
Adaptive Token Reduction
ADAPTOR calculates the cosine similarity of tokens along the temporal axis. Regions with high similarity (e.g., a static background) are compressed heavily, while regions with low similarity (indicating motion or change) retain more tokens. This ensures that the "soul" of the video—the movement—is preserved even as the overall token count is reduced.
Hierarchical Architecture
The system uses a "sandwich" structure within the Transformer blocks. The model processes full-resolution tokens in the initial layers to establish context. These tokens then pass through the ADAPTOR downsampling stage, where they are routed into different compression paths (e.g., 1x, 2x, 4x). After several layers of efficient processing in this compressed space, an upsampling stage restores the tokens to their original count.
Key Features and Implementation
- Proportional Attention: To maintain accuracy, the authors introduced a bias term to the attention mechanism. This ensures that a single compressed token representing multiple original patches contributes proportionally more to the final output.
- Denoising Schedule: Diffusion models begin with pure noise, making motion detection difficult in early stages. ADAPTOR is designed to activate only after a specific number of denoising steps ($\tau$), allowing the model to first establish a basic structural foundation.
- Skip Connections: Similar to U-Net designs, ADAPTOR utilizes skip connections to cache high-resolution information before compression, reintroducing it during upsampling to maintain fine spatial detail.
Performance and Results
Evaluated against the Open-Sora Plan base model and benchmarks like VBench, ADAPTOR demonstrates significant efficiency gains without sacrificing quality:
- Computational Efficiency: ADAPTOR reduces TFLOPs by approximately 2.85× (from 74.66 to 26.22).
- Inference Speed: On an NVIDIA A100 GPU, latency dropped from 611ms to 324ms per forward pass.
- Motion Preservation: In the VBench "Dynamic Degree" metric, ADAPTOR achieved a score of 17.50, significantly outperforming standard hierarchical downsampling (6.94).
- Visual Quality: The model maintained a high overall Quality Score of 77.88, nearly matching the full-resolution baseline of 79.17.
Conclusion
ADAPTOR provides a plug-and-play solution for making Video Diffusion Transformers more efficient. By focusing computational resources on motion rather than static backgrounds, it achieves a nearly 3x reduction in cost while preserving the dynamic quality of generated videos. Future work may explore learned routing mechanisms to further optimize token allocation.
Summary updated