Revisiting Transformers with Insights from Image Filtering and Boosting
Laziz U. Abdullaev, Maksim Tkachenko, Tan M. Nguyen

TL;DR
This paper develops a unifying image processing framework to interpret self-attention in transformers, explaining architectural components and demonstrating that image filtering insights can improve accuracy and robustness in language and vision tasks.
Contribution
It introduces a comprehensive framework for understanding self-attention and its components, and proposes architectural modifications inspired by image processing that enhance transformer performance.
Findings
Framework explains self-attention and its components.
Image processing-inspired modifications improve accuracy and robustness.
Enhanced understanding aids in designing better transformer architectures.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Adversarial Robustness in Machine Learning · Generative Adversarial Networks and Image Synthesis
MethodsFocus
