Attention Surgery: An Efficient Recipe to Linearize Your Video Diffusion Transformer
On the map: Diffusion models → Video generation
Abstract (arXiv)
Transformer-based video diffusion models (VDMs) deliver state-of-the-art video generation quality but are constrained by the quadratic cost of self-attention, making long sequences and high resolutions computationally expensive. While linear attention offers sub-quadratic complexity, previous approaches have failed to match the expressiveness of softmax attention unless retrained at significant computational cost. We introduce Attention Surgery, an efficient framework that enables linear or hybrid attention in pretrained VDMs, eliminating the need for training from scratch. Inspired by recent advances in language models, our method combines a novel hybrid attention mechanism-mixing softmax and linear tokens-with a lightweight distillation and fine-tuning pipeline requiring only a few GPU-days. Additionally, we incorporate a cost-aware block-rate strategy to balance expressiveness and efficiency across layers. Applied to Wan2.1 1.3B, a state-of-the-art efficient transformer VDM and evaluated on VBench, VBench2.0 and a human preference study, Attention Surgery achieves competitive results. Furthermore, measurements of on-mobile latency, memory usage, and FLOPs demonstrate notable improvements in scaling behavior for longer videos. Project page is available at: https://qualcomm-ai-research.github.io/attention-surgery.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Video generation, one of 14 directions in Diffusion models. Builds on 45 of its 51 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
45 of 51 references.
Closest ancestors · 17
Same direction, newest first
- 2025VSA: Faster Video Diffusion with Trainable Sparse Attention19 May
- 2025Survey of Video Diffusion Models: Foundations, Implementations, and Applications22 Apr
- 2025Efficient-vDiT: Efficient Video Diffusion Transformers With Attention Tile10 Feb
- 2025Fast Video Generation with Sliding Tile Attention6 Feb
- 2025On-device Sora: Enabling Training-Free Diffusion-based Text-to-Video Generation for Mobile Devices5 Feb
- 2024LTX-Video: Realtime Video Latent Diffusion30 Dec
- 2024SnapGen-V: Generating a Five-Second Video within Five Seconds on a Mobile Device13 Dec
- 2024LinGen: Towards High-Resolution Minute-Length Text-to-Video Generation with Linear Computational Complexity13 Dec
- 2024Mobile Video Diffusion10 Dec
- 2024MoViE: Mobile Diffusion for Video Editing9 Dec
- 2024Pyramidal Flow Matching for Efficient Video Generative Modeling8 Oct
- 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer12 Aug
5 more
- 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention28 May
- 2024Video Diffusion Models: A Survey6 May
- 2024VideoCrafter2: Overcoming Data Limitations for High-Quality Video Diffusion Models17 Jan
- 2024Object-Centric Diffusion for Efficient Video Editing11 Jan
- 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasets25 Nov
Other references · 28
- 2017Attention Is All You Needcited by 59,932
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,536
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,755
- 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,597
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2024Open-Sora: Democratizing Efficient Video Production for Allcited by 637
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2025VBench-2.0: Advancing Video Generation Benchmark Suite for Intrinsic Faithfulnesscited by 289
16 more
- 2024Open-Sora Plan: Open-Source Large Video Generation Modelcited by 286
- 2023Token Merging for Fast Stable Diffusioncited by 220
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 119
- 2024Scalable High-Resolution Pixel-Space Image Synthesis with Hourglass Diffusion Transformerscited by 116
- 2024Linearizing Large Language Modelscited by 51
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Modelscited by 41
- 2024Dimba: Transformer-Mamba Diffusion Modelscited by 26
- 2025Exploring Diffusion Transformer Designs via Graftingcited by 12
- 2025M4V: Multimodal Mamba for Efficient Text-to-Video Generationcited by 11
- 2025AMD-Hummingbird: Towards an Efficient Text-to-Video Modelcited by 8
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformercited by 5
- 2025Compact Attention: Exploiting Structured Spatio-Temporal Sparsity for Fast Video Generationcited by 5
- 2025Diffusion Transformer-to-Mamba Distillation for High-Resolution Image Generationcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 11.
13 papers.
Sort:
By area:
- 2025MoAlign: Motion-Centric Representation Alignment for Video Diffusion Modelscited by 13
- 2025Neodragon: Mobile Video Generation using Diffusion Transformercited by 10
- 2026ReHyAt: Recurrent Hybrid Attention for Video Diffusion Transformerscited by 6
- 2026Efficient Video Diffusion Models: Advancements and Challengescited by 6
- 2026PyramidalWan: On Making Pretrained Video Model Pyramidal for Efficient Inferencecited by 3
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attentioncited by 3
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusioncited by 3
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusioncited by 3
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generationcited by 2
- 2026HLA: Hadamard Linear Attentioncited by 1
- 2026FrameDiT: Diffusion Transformer with Matrix Attention for Efficient Video Generationcited by 1
- 2026SQuad: Sub-Quadratic Attention Distillation for Efficient Video Generationcited by 0
1 more
- 2026Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion25 Sep 2026
- 2026SQuad: Sub-Quadratic Attention Distillation for Efficient Video Generation17 Aug 2026
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generation23 Jul 2026
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusion7 Jul 2026
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusion15 May 2026
- 2026Efficient Video Diffusion Models: Advancements and Challenges17 Apr 2026
- 2026FrameDiT: Diffusion Transformer with Matrix Attention for Efficient Video Generation10 Mar 2026
- 2026HLA: Hadamard Linear Attention12 Feb 2026
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attention29 Jan 2026
- 2026PyramidalWan: On Making Pretrained Video Model Pyramidal for Efficient Inference8 Jan 2026
- 2026ReHyAt: Recurrent Hybrid Attention for Video Diffusion Transformers7 Jan 2026
- 2025Neodragon: Mobile Video Generation using Diffusion Transformer8 Nov 2025
1 more
- 2025MoAlign: Motion-Centric Representation Alignment for Video Diffusion Modelscited by 13
- 2025Neodragon: Mobile Video Generation using Diffusion Transformercited by 10
- 2026ReHyAt: Recurrent Hybrid Attention for Video Diffusion Transformerscited by 6
- 2026Efficient Video Diffusion Models: Advancements and Challengescited by 6
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attentioncited by 3
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusioncited by 3
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusioncited by 3
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generationcited by 2
- 2026FrameDiT: Diffusion Transformer with Matrix Attention for Efficient Video Generationcited by 1
- 2026SQuad: Sub-Quadratic Attention Distillation for Efficient Video Generationcited by 0
- 2026Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusioncited by 0
- 2026Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion25 Sep 2026
- 2026SQuad: Sub-Quadratic Attention Distillation for Efficient Video Generation17 Aug 2026
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generation23 Jul 2026
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusion7 Jul 2026
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusion15 May 2026
- 2026Efficient Video Diffusion Models: Advancements and Challenges17 Apr 2026
- 2026FrameDiT: Diffusion Transformer with Matrix Attention for Efficient Video Generation10 Mar 2026
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attention29 Jan 2026
- 2026ReHyAt: Recurrent Hybrid Attention for Video Diffusion Transformers7 Jan 2026
- 2025Neodragon: Mobile Video Generation using Diffusion Transformer8 Nov 2025
- 2025MoAlign: Motion-Centric Representation Alignment for Video Diffusion Models21 Oct 2025
- 2026PyramidalWan: On Making Pretrained Video Model Pyramidal for Efficient Inferencecited by 3
- 2026HLA: Hadamard Linear Attentioncited by 1
- 2026HLA: Hadamard Linear Attention12 Feb 2026
- 2026PyramidalWan: On Making Pretrained Video Model Pyramidal for Efficient Inference8 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026SALAD: Achieve High-Sparsity Attention via Efficient Linear Attention Tuning for Video Diffusion Transformer
- 2025Sparse-vDiT: Unleashing the Power of Sparse Attention to Accelerate Video Diffusion Transformers
- 2026SPADE: An Input-Adaptive Sparse Attention Engine for Fast Video Diffusion Models Inference
- 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsification
- 2025SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention
- 2025UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers
- 2025VORTA: Efficient Video Diffusion via Routing Sparse Attention
- 2026LVSA: Training-Free Sparse Attention for Long Video Diffusion