Linear-Time Global Visual Modeling without Explicit Attention
Not on the map. Why?
Abstract (arXiv)
Existing research largely attributes the global sequence modeling capability of Transformers to the explicit computation of attention weights, a process that inherently incurs quadratic computational complexity. In this work, we offer a novel perspective: we demonstrate that attention can be mathematically reframed as a Multi-Layer Perceptron (MLP) equipped with dynamically predicted parameters. Through this lens, we explain attention's global modeling power not as explicit token-wise aggregation, but as an implicit process where dynamically generated parameters act as a compressed representation of the global context. Inspired by this insight, we investigate a fundamental question: can we achieve Transformer-level sequence global modeling entirely through dynamic parameterization while maintaining linear complexity, effectively replacing explicit attention? To explore this, we design various dynamic parameter prediction strategies and integrate them into standard network layers. Extensive empirical studies on vision models demonstrate that dynamic parameterization can indeed serve as a highly effective, linear-complexity alternative to explicit attention, opening new pathways for efficient sequence modeling. Code is available at https://github.com/LeapLabTHU/WeightFormer.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 44 of its 46 references that are in the map. First posted on arXiv 3 May 2026.
Builds on
44 of 46 references.
References · 44
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 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
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2022A ConvNet for the 2020scited by 3,579
- 2020Longformer: The Long-Document Transformercited by 3,413
32 more
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,223
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,333
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2017Random Erasing Data Augmentationcited by 1,239
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2016HyperNetworkscited by 1,027
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 553
- 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 543
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2019Cascade R-CNN: High Quality Object Detection and Instance Segmentationcited by 429
- 2021Dynamic Neural Networks: A Surveycited by 408
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2019Dynamic Convolution: Attention over Convolution Kernelscited by 356
- 2016Dynamic Filter Networkscited by 319
- 2019CondConv: Conditionally Parameterized Convolutions for Efficient Inferencecited by 273
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2021Involution: Inverting the Inherence of Convolution for Visual Recognitioncited by 99
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 90
- 2021On the Connection between Local Attention and Dynamic Depth-wise Convolutioncited by 62
- 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attentioncited by 56
- 2025Vision Transformers are Circulant Attention Learnerscited by 4
- 2023Interpret Vision Transformers as ConvNets with Dynamic Convolutionscited by 2
Built on by
Not cited yet.