RECAP: Reciprocal Sparse Attention and Hierarchical Caching for Efficient Video Diffusion
Abstract
Diffusion transformers generate high-quality videos but remain computationally expensive. Sparse attention and temporal caching reduce computation within and across denoising steps, respectively, offering a natural composition. However, predictions produced with sparse attention become sources for temporal reuse, coupling their errors along the sampling trajectory. We observe that improving the accuracy of these sources recovers fidelity without changing the reuse schedule, and that sparsification errors remain directionally aligned across nearby steps, suggesting that correction information can be shared rather than recomputed. These observations motivate RECAP, a training-free method that couples sparse attention with hierarchical caching through reciprocal correction, adaptively coordinated by online error feedback. Cached dense refinement corrects omitted interactions in current sparse estimates, while fresh sparse statistics track input changes and regulate the aging correction. The resulting predictions then renew the sources for whole-step prediction reuse, allowing prediction history to advance between dense refreshes. We evaluate RECAP on multiple video diffusion models against sparse-attention methods, caching methods, and their direct compositions. On HunyuanVideo at 720p 5-second generation, RECAP achieves a 3.05x speedup and outperforms all tested direct compositions in both fidelity and inference speed.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- Code is available at https://github.com/lyraxtg/RECAP
Related papers
Dynamics-Aware Sparse Attention for Efficient Autoregressive Video Diffusion
Shared title terminologycs.CVYuanyu He, Zhuokun Chen, Yefei He et al.
OceanFix: Reference-Guided Diffusion for Sparse-View Underwater 3D Reconstruction
Shared title terminologycs.CVGen Li, Maoxin Chen, Yao Xiao et al.
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
DualCast: Dual-Image Conditioned Diffusion Transformers for Digital Human E-Commerce Video Generation
Shared title terminologycs.CVLifan Jiang, Yifan Huang, Jixuan Zhang et al.
What Is Redundant at High Resolution? Efficient Attention and Feed-Forward Design for All-in-One Image Restoration
Shared title terminologycs.CVDongheon Lee, DongJae Lee, Sewhan Chun et al.
GazeLens for Efficient Egocentric Video Question Answering with Simple Gaze-Driven Adaptive Token Reduction
Shared title terminologycs.CVTrong-Thang Pham, Anh Nguyen, Hien Van Nguyen et al.