CVPR Findings2026
Generalized Neighborhood Attention: Multi-dimensional Sparse Attention at the Speed of Light
Ali Hassani, Fengzhe Zhou, Aditya Kane, Jiannan Huang, Chieh-Yun Chen, Min Shi, Steven Walton, Markus Hoehnerbach, Vijay Thakkar, Mikhail Isaev, Qinsheng Zhang, Bing Xu, Haicheng Wu, Wen-mei Hwu, Ming-Yu Liu, Humphrey Shi
摘要
Many sparse attention mechanisms typically fail to deliver consistent speedups. This is largely due to the level of complexity in Attention infrastructure, and the rapid evolution of AI hardware. Meanwhile many state-of-the-art foundational models, particularly in vision, are heavily bound by attention and need sparsity to escape the complexity. In this paper, we study a class of promising sparse attention mechanisms and massively improve their infrastructure. We first introduce Generalized Neighborhood Attention (GNA), which can implement neighborhood/sliding window, strided sliding window, and blocked attention. We also create a simulator that provides realistic upper bounds for each pattern under different implementations and settings. Finally, we implement GNA on top of state-of-the-art Attention kernels designed for the Hopper and Blackwell architectures in CUT-LASS. Our implementation involves a kernel decomposition, as opposed to fusion, which enables realizing the maximum speedup theoretically possible in fully block-sparse cases, with an effective throughput of up to 1.3 PFLOPS in FP16. We plug GNA into visual generative models, such as Cosmos Predict 1, Hunyuan Video, and FLUX, and show that it can deliver 28% to 63% end-to-end speedup on B200 without any fine-tuning. Our work will be open sourced.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Faster Video Diffusion with Trainable Sparse Attention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Faster Video Diffusion with Trainable Sparse Attention 引用了 Scalable Diffusion Models with Transformers
- Segment Anything 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attention 引用了 Scalable Diffusion Models with Transformers
- Scalable Diffusion Models with Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- AnyUp: Universal Feature Upsampling 引用了 Segment Anything
- AnyUp: Universal Feature Upsampling 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- AnyUp: Universal Feature Upsampling 引用了 JAFAR: Jack up Any Feature at Any Resolution
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- JAFAR: Jack up Any Feature at Any Resolution 引用了 Segment Anything
- JAFAR: Jack up Any Feature at Any Resolution 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- JAFAR: Jack up Any Feature at Any Resolution 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- NAF: Zero-Shot Feature Upsampling via Neighborhood Attention Filtering 引用了 AnyUp: Universal Feature Upsampling
- NAF: Zero-Shot Feature Upsampling via Neighborhood Attention Filtering 引用了 JAFAR: Jack up Any Feature at Any Resolution
引用它的顶会 Paper6
- AnyUp: Universal Feature UpsamplingThomas Wimmer, Prune Truong, Marie-Julie Rakotosaona, Michael Oechsle 等ICLR 2026 · 29 次引用
- JAFAR: Jack up Any Feature at Any ResolutionPaul Couairon, Loïck Chambon, Louis Serrano, Jean-Emmanuel Haugeard 等NeurIPS 2025 · 26 次引用
- Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse AttentionChengtao Lv, Yumeng Shi, Yushi Huang, Ruihao Gong 等ICML 2026 · 10 次引用
- Faster Video Diffusion with Trainable Sparse AttentionPeiyuan Zhang, Yongqi Chen, Haofeng Huang, Will Lin 等NeurIPS 2025 · 6 次引用
- NAF: Zero-Shot Feature Upsampling via Neighborhood Attention FilteringLoïck Chambon, Paul Couairon, Éloi Zablocki, Alexandre Boulch 等CVPR 2026 · 6 次引用
它引用的 Paper22
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao 等ICCV 2023 · 13,211 次引用
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
相关 Paper
- FSA: An Alternative Efficient Implementation of Native Sparse Attention KernelRan Yan, Youhe Jiang, Zhuoming Chen, Haohui Mai 等ICLR 2026 · 10 次引用
- Faster Neighborhood Attention: Reducing the O(n^2) Cost of Self Attention at the Threadblock LevelAli Hassani, Wen-Mei Hwu, Humphrey ShiNeurIPS 2024 · 23 次引用
- HilbertA: Hilbert-Curve–Aligned Sparse Attention for 2D Structured DataShaoyi Zheng, Wenbo Lu, Yuxuan Xia, Shenji WanICML 2026
- SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit TrainingJintao Zhang, Jia Wei, Haoxu Wang, Pengle Zhang 等NeurIPS 2025 · 81 次引用
- COSA:Co-Operative Systolic Arrays for Multi-head Attention Mechanism in Neural Network using Hybrid Data Reuse and Fusion MethodologiesZhican Wang, Gang Wang, Honglan Jiang, Ningyi Xu 等DAC 2023 · 14 次引用
