Saved in:
Bibliographic Details
Main Authors: He, Ruize, Han, Dongchen, Huang, Gao
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.01711
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913093139824640
author He, Ruize
Han, Dongchen
Huang, Gao
author_facet He, Ruize
Han, Dongchen
Huang, Gao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_01711
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Linear-Time Global Visual Modeling without Explicit Attention
He, Ruize
Han, Dongchen
Huang, Gao
Computer Vision and Pattern Recognition
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.
title Linear-Time Global Visual Modeling without Explicit Attention
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2605.01711