Attention-Only Transformers via Unrolled Subspace Denoising

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wang, Peng, Lu, Yifu, Yu, Yaodong, Pai, Druv, Qu, Qing, Ma, Yi
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912412958982144
author Wang, Peng
Lu, Yifu
Yu, Yaodong
Pai, Druv
Qu, Qing
Ma, Yi
author_facet Wang, Peng
Lu, Yifu
Yu, Yaodong
Pai, Druv
Qu, Qing
Ma, Yi
contents Despite the popularity of transformers in practice, their architectures are empirically designed and neither mathematically justified nor interpretable. Moreover, as indicated by many empirical studies, some components of transformer architectures may be redundant. To derive a fully interpretable transformer architecture with only necessary components, we contend that the goal of representation learning is to compress a set of noisy initial token representations towards a mixture of low-dimensional subspaces. To compress these noisy token representations, an associated denoising operation naturally takes the form of a multi-head (subspace) self-attention. By unrolling such iterative denoising operations into a deep network, we arrive at a highly compact architecture that consists of \textit{only} self-attention operators with skip connections at each layer. Moreover, we show that each layer performs highly efficient denoising: it improves the signal-to-noise ratio of token representations \textit{at a linear rate} with respect to the number of layers. Despite its simplicity, extensive experiments on vision and language tasks demonstrate that such a transformer achieves performance close to that of standard transformer architectures such as GPT-2 and CRATE.
format Preprint
id arxiv_https___arxiv_org_abs_2506_03790
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Attention-Only Transformers via Unrolled Subspace Denoising
Wang, Peng
Lu, Yifu
Yu, Yaodong
Pai, Druv
Qu, Qing
Ma, Yi
Machine Learning
Despite the popularity of transformers in practice, their architectures are empirically designed and neither mathematically justified nor interpretable. Moreover, as indicated by many empirical studies, some components of transformer architectures may be redundant. To derive a fully interpretable transformer architecture with only necessary components, we contend that the goal of representation learning is to compress a set of noisy initial token representations towards a mixture of low-dimensional subspaces. To compress these noisy token representations, an associated denoising operation naturally takes the form of a multi-head (subspace) self-attention. By unrolling such iterative denoising operations into a deep network, we arrive at a highly compact architecture that consists of \textit{only} self-attention operators with skip connections at each layer. Moreover, we show that each layer performs highly efficient denoising: it improves the signal-to-noise ratio of token representations \textit{at a linear rate} with respect to the number of layers. Despite its simplicity, extensive experiments on vision and language tasks demonstrate that such a transformer achieves performance close to that of standard transformer architectures such as GPT-2 and CRATE.
title Attention-Only Transformers via Unrolled Subspace Denoising
topic Machine Learning
url https://arxiv.org/abs/2506.03790