Accelerating Text-to-Video Generation with Calibrated Sparse Attention

2026-03-05Computer Vision and Pattern Recognition

Computer Vision and Pattern Recognition
AI summary

The authors found that in video generation models using transformers, many connections in the attention process don't add much value and are often the same across different inputs. Because of this, they created CalibAtt, a way to speed up video generation by skipping these unimportant attention steps without needing to retrain the model. CalibAtt figures out these patterns ahead of time and uses them during video generation, making the process faster while keeping the output quality the same. Their tests showed notable speed improvements over other similar methods.

diffusion modelsvideo generationtransformersspatiotemporal attentiontoken-to-token connectionssparse attentioninference optimizationblock-level sparsityattention mechanismcalibrated attention
Authors
Shai Yehezkel, Shahar Yadin, Noam Elata, Yaron Ostrovsky-Berman, Bahjat Kawar
Abstract
Recent diffusion models enable high-quality video generation, but suffer from slow runtimes. The large transformer-based backbones used in these models are bottlenecked by spatiotemporal attention. In this paper, we identify that a significant fraction of token-to-token connections consistently yield negligible scores across various inputs, and their patterns often repeat across queries. Thus, the attention computation in these cases can be skipped with little to no effect on the result. This observation continues to hold for connections among local token blocks. Motivated by this, we introduce CalibAtt, a training-free method that accelerates video generation via calibrated sparse attention. CalibAtt performs an offline calibration pass that identifies block-level sparsity and repetition patterns that are stable across inputs, and compiles these patterns into optimized attention operations for each layer, head, and diffusion timestep. At inference time, we compute the selected input-dependent connections densely, and skip the unselected ones in a hardware-efficient manner. Extensive experiments on Wan 2.1 14B, Mochi 1, and few-step distilled models at various resolutions show that CalibAtt achieves up to 1.58x end-to-end speedup, outperforming existing training-free methods while maintaining video generation quality and text-video alignment.