paper-with-me

홈 › Papers

Representational Strengths and Limitations of Transformers

2023-06-05 · NeurIPS 2023 11

Attention layers, as commonly used in transformers, form the backbone of modern deep learning, yet there is no mathematical description of their benefits and deficiencies as compared with other architectures. In this work we establish both positive and negative results on the representation power of attention layers, with a focus on intrinsic complexity parameters such as width, depth, and embedding dimension. On the positive side, we present a sparse averaging task, where recurrent networks and feedforward networks all have complexity scaling polynomially in the input size, whereas transformers scale merely logarithmically in the input size; furthermore, we use the same construction to show the necessity and role of a large embedding dimension in a transformer. On the negative side, we present a triple detection task, where attention layers in turn have complexity scaling linearly in the input size; as this scenario seems rare in practice, we also present natural variants that can be efficiently solved by attention layers. The proof techniques emphasize the value of communication complexity in the analysis of transformers and related models, and the role of sparse averaging as a prototypical attention task, which even finds use in the analysis of triple detection.

📄 PDF Abstract BibTeX arXiv:2306.02896

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Language Model Based Text-to-Audio Generation: Anti-Causally Aligned Collaborative Residual Transformers

2025-10-06 · Juncheng Wang, Chao Xu, Cheng Yu, Zhe Hu 외 arxiv

While language models (LMs) paired with residual vector quantization (RVQ) tokenizers have shown promise in text-to-audio (T2A) generation, they still lag behind diffusion-based models by a non-trivial margin. We identif…

Reinforcement LearningAudio Generation

On Structural Expressive Power of Graph Transformers

2023-05-23 · Wenhao Zhu, Tianyu Wen, Guojie Song, Liang Wang 외

Graph Transformer has recently received wide attention in the research community with its outstanding performance, yet its structural expressive power has not been well analyzed. Inspired by the connections between Weisf…

Graph Neural Network

Introduction to Transformers: an NLP Perspective

2023-11-29 · Tong Xiao, Jingbo Zhu

Transformers have dominated empirical machine learning models of natural language processing. In this paper, we introduce basic concepts of Transformers and present key techniques that form the recent advances of these m…

SiameseNorm: Breaking the Barrier to Reconciling Pre/Post-Norm

2026-02-08 · Tianyu Li, Dongchen Han, Zixuan Cao, Haofeng Huang 외 arxiv

The long-standing tension between Pre- and Post-Norm remains an open problem in Transformer architecture, reflecting a fundamental trade-off between training stability and representational capacity. Prior attempts to com…

To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformers

2025-05-25 · Kevin Xu, Issei Sato

Chain-of-Thought (CoT) and Looped Transformers have been shown to empirically improve performance on reasoning tasks and to theoretically enhance expressivity by recursively increasing the number of computational steps. …