Vision Transformers are Circulant Attention Learners
Not on the map. Why?
Abstract (arXiv)
The self-attention mechanism has been a key factor in the advancement of vision Transformers. However, its quadratic complexity imposes a heavy computational burden in high-resolution scenarios, restricting the practical application. Previous methods attempt to mitigate this issue by introducing handcrafted patterns such as locality or sparsity, which inevitably compromise model capacity. In this paper, we present a novel attention paradigm termed Circulant Attention by exploiting the inherent efficient pattern of self-attention. Specifically, we first identify that the self-attention matrix in vision Transformers often approximates the Block Circulant matrix with Circulant Blocks (BCCB), a kind of structured matrix whose multiplication with other matrices can be performed in O(Nlog N) time. Leveraging this interesting pattern, we explicitly model the attention map as its nearest BCCB matrix and propose an efficient computation algorithm for fast calculation. The resulting approach closely mirrors vanilla self-attention, differing only in its use of BCCB matrices. Since our design is inspired by the inherent efficient paradigm, it not only delivers O(Nlog N) computation complexity, but also largely maintains the capacity of standard self-attention. Extensive experiments on diverse visual tasks demonstrate the effectiveness of our approach, establishing circulant attention as a promising alternative to self-attention for vision Transformer architectures. Code is available at https://github.com/LeapLabTHU/Circulant-Attention.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 29 of its 39 references that are in the map. First posted on arXiv 25 Dec 2025.
Builds on
29 of 39 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
17 more
- 2017Random Erasing Data Augmentationcited by 1,239
- 2019Panoptic Feature Pyramid Networkscited by 645
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2021Global Filter Networks for Image Classificationcited by 260
- 2021Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformerscited by 248
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
- 2022Efficient Frequency Domain-based Transformers for High-Quality Image Deblurringcited by 165
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 90
- 2023FasterViT: Fast Vision Transformers with Hierarchical Attentioncited by 65
- 2023Adaptive Frequency Filters As Efficient Global Token Mixerscited by 45
- 2025PolaFormer: Polarity-aware Linear Attention for Vision Transformerscited by 32
- 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernelscited by 25
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
- 2024SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch Normalizationcited by 17
- 2025Emulating Human-like Adaptive Vision for Efficient and Flexible Machine Visual Perceptioncited by 15
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Linearizing Vision Transformer with Test-Time Trainingcited by 3
- 2026Linear-Time Global Visual Modeling without Explicit Attentioncited by 0
- 2026Weighted Reverse Convolution for Feature Upsamplingcited by 0
- 2026Copy the Same, Distill the Difference: Initializing Linear Vision Transformerscited by 0
- 2026Copy the Same, Distill the Difference: Initializing Linear Vision Transformers28 Sep 2026
- 2026Weighted Reverse Convolution for Feature Upsampling17 May 2026
- 2026Linearizing Vision Transformer with Test-Time Training4 May 2026
- 2026Linear-Time Global Visual Modeling without Explicit Attention3 May 2026