mlsanityData to 7 Oct 2026

BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformers

arXiv 2603.09582 ↗First posted 10 Mar 2026cs.CVcited by 0

On the map: Diffusion models → Video generation

Abstract (arXiv)

Transformers have achieved widespread and remarkable success, while the computational complexity of their attention modules remains a major bottleneck for vision tasks. Existing methods mainly employ 8-bit or 4-bit quantization to balance efficiency and accuracy. In this paper, with theoretical justification, we indicate that binarization of attention preserves the essential similarity relationships, and propose BinaryAttention, an effective method for fast and accurate 1-bit qk-attention. Specifically, we retain only the sign of queries and keys in computing the attention, and replace the floating dot products with bit-wise operations, significantly reducing the computational cost. We mitigate the inherent information loss under 1-bit quantization by incorporating a learnable bias, and enable end-to-end acceleration. To maintain the accuracy of attention, we adopt quantization-aware training and self-distillation techniques, mitigating quantization errors while ensuring sign-aligned similarity. BinaryAttention is more than 2x faster than FlashAttention2 on A100 GPUs. Extensive experiments on vision transformer and diffusion transformer benchmarks demonstrate that BinaryAttention matches or even exceeds full-precision attention, validating its effectiveness. Our work provides a highly efficient and effective alternative to full-precision attention, pushing the frontier of low-bit vision and diffusion transformers. The codes and models can be found at https://github.com/EdwardChasel/BinaryAttention.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Video generation, one of 14 directions in Diffusion models. Builds on 81 of its 92 references that are in the map. First posted on arXiv 10 Mar 2026.

Builds on

81 of 92 references.

References · 81

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  7. 2023GPT-4 Technical Reportcited by 18,132
  8. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  9. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  10. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  11. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  12. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
38 more
  1. 2023Visual Instruction Tuningcited by 7,792
  2. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  3. 2017Mask R-CNNcited by 7,259
  4. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  5. 2022Scalable Diffusion Models with Transformerscited by 5,931
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
  10. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  11. 2020Longformer: The Long-Document Transformercited by 3,362
  12. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  13. 2016Improved Techniques for Training GANscited by 2,938
  14. 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
  15. 2024LLaVA-OneVision: Easy Visual Task Transfercited by 2,669
  16. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  17. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  18. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  19. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  20. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  21. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  22. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  23. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  24. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  25. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  26. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
  27. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  28. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  29. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
  30. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
  31. 2019Improved Precision and Recall Metric for Assessing Generative Modelscited by 925
  32. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  33. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
  34. 2020Efficient Transformers: A Surveycited by 784
  35. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
  36. 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 707
  37. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  38. 2021MetaFormer Is Actually What You Need for Visioncited by 523

50 most cited of 81 All 81 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation
  2. 2025QuantSparse: Comprehensively Compressing Video Diffusion Transformer with Model Quantization and Attention Sparsification
  3. 2025Attention Surgery: An Efficient Recipe to Linearize Your Video Diffusion Transformer
  4. 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformer
  5. 2025VSA: Faster Video Diffusion with Trainable Sparse Attention
  6. 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers
  7. 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models
  8. 2026Amortized-Precision Quantization for Early-Exit Vision Transformers