Revisiting Transformers with Insights from Image Filtering and Boosting
Not on the map. Why?
Abstract (arXiv)
The self-attention mechanism, a cornerstone of Transformer-based state-of-the-art deep learning architectures, is largely heuristic-driven and fundamentally challenging to interpret. Establishing a robust theoretical foundation to explain its remarkable success and limitations has therefore become an increasingly prominent focus in recent research. Some notable directions have explored understanding self-attention through the lens of image denoising and nonparametric regression. While promising, existing frameworks still lack a deeper mechanistic interpretation of various architectural components that enhance self-attention, both in its original formulation and subsequent variants. In this work, we aim to advance this understanding by developing a unifying image processing framework, capable of explaining not only the self-attention computation itself but also the role of components such as positional encoding and residual connections, including numerous later variants. We also pinpoint potential distinctions between the two concepts building upon our framework, and make effort to close this gap. We introduce two independent architectural modifications within transformers. While our primary objective is interpretability, we empirically observe that image processing-inspired modifications can also lead to notably improved accuracy and robustness against data contamination and adversaries across language and vision tasks as well as better long sequence understanding.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 43 of its 67 references that are in the map. First posted on arXiv 12 Jun 2025.
Builds on
43 of 67 references.
References · 43
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2017Graph Attention Networkscited by 8,923
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2016Pointer Sentinel Mixture Modelscited by 3,096
31 more
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
- 2021Transformers in Vision: A Surveycited by 1,013
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2021A Survey of Transformerscited by 401
- 2016The Little Engine that Could: Regularization by Denoising (RED)cited by 307
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2023A mathematical perspective on Transformerscited by 164
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2022Understanding The Robustness in Vision Transformerscited by 144
- 2017On the Properties of the Softmax Function with Application in Game Theory and Reinforcement Learningcited by 142
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
- 2020A Mathematical Theory of Attentioncited by 46
- 2024Dynamic metastability in the self-attention modelcited by 46
- 2024Infinite Limits of Multi-head Transformer Dynamicscited by 39
- 2024Emergence of meta-stable clustering in mean-field transformer modelscited by 39
- 2023Mitigating Over-smoothing in Transformers via Regularized Nonlocal Functionalscited by 32
- 2023Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representationcited by 29
- 2025Mixture of Experts Made Intrinsically Interpretablecited by 24
- 2015Boosting of Image Denoising Algorithmscited by 13
- 2024PIDformer: Transformer Meets Control Theorycited by 11
- 2023Towards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language Modelcited by 9
- 2025Tight Clusters Make Specialized Expertscited by 8
- 2024Elliptical Attentioncited by 7
- 2025Transformer Meets Twicing: Harnessing Unattended Residual Informationcited by 3
Built on by
Not cited yet.