AVQ-Attention-2: Adaptive Vector-Quantized Attention with Exact Local Blocks and Linear-Cost Training
Not on the map. Why?
Abstract (arXiv)
Attention costs O(N2) in the number of tokens. Vector-quantized attention reduces this to O(NM) by clustering the N keys, attending to the M codewords instead, and its adaptive form, AVQ-attention, concentrates codebook resolution where a query's attention mass actually falls. We present AVQ-Attention-2, a better design that merges it with exact local attention and attends to the mean of each cluster's keys rather than to a codeword. We show three improvements: consistently better quality at comparable cost; training that now also costs O(NM) rather than O(N2); and an approximation accurate enough that the layer can be dropped into a pretrained transformer without fine-tuning. Across a variety of sequence lengths the result is competitive not merely with other approximate attention but with exact dense attention, running faster than FlashAttention at little to no loss in quality.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 34 of its 42 references that are in the map. Submitted 24 Nov 2026, announced 25 Nov 2026.
Builds on
34 of 42 references.
References · 34
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,365
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
- 2021Vision Transformers for Dense Predictioncited by 1,883
- 2020Rethinking Attention with Performerscited by 1,669
- 2019Generating Long Sequences with Sparse Transformerscited by 1,641
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,555
22 more
- 2022Token Merging: Your ViT But Fastercited by 1,142
- 2025V-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planningcited by 1,043
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 591
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 491
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
- 2019Scaling Autoregressive Video Modelscited by 195
- 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 191
- 2026V-JEPA 2.1: Unlocking Dense Features in Video Self-Supervised Learningcited by 188
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 96
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 50
- 2022VSA: Learning Varied-Size Window Attention in Vision Transformerscited by 44
- 2025CommVQ: Commutative Vector Quantization for KV Cache Compressioncited by 33
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 30
- 2026SVG-EAR: Parameter-Free Linear Compensation for Sparse Video Generation via Error-aware Routingcited by 28
- 2022BOAT: Bilateral Local Attention Vision Transformercited by 13
- 2022Multi Resolution Analysis (MRA) for Approximate Self-Attentioncited by 12
- 2023Fast Multipole Attention: A Scalable Multilevel Attention Mechanism for Text and Imagescited by 8
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weightscited by 4
- 2026Online Vector Quantized Attentioncited by 2
- 2026AVQ-Attention: Adaptive Vector-Quantized Attentioncited by 2
Built on by
Not cited yet.