Attention Is All You Need
Problem: decouple sequence transduction from recurrent and convolutional structures and let attention alone carry the dependencies between input and output, so training can be parallelised.
Where the evidence sits: the per-layer complexity, minimum sequential operations and maximum path length comparison across layer types is Table 1 in Section 4, "Why Self-Attention".
What the authors say about limits: the conclusion states no limitation of the method itself and offers only two future-work items — extending the model to modalities other than text, and making generation less sequential. The one place in the paper that comes close to a cost statement is Section 2 (Background), which concedes that averaging attention-weighted positions reduces effective resolution and says multi-head attention counteracts it.
What it does not claim: the paper does not compare training cost across scales, nor claim effectiveness beyond machine translation; "making generation less sequential" is a research goal, not a delivered result.
Key specs
- 证据位置 / evidence
- Section 4, Table 1(复杂度、顺序操作数、最大路径长度)
- 局限位置 / limits
- Section 7 结论:无局限声明,仅两条未来工作
- 代价表述 / cost
- Section 2 Background:注意力加权平均会降低有效分辨率
- 复现状态 / reproduction
- 未复现
What the source says
The dominant sequence transduction models are based on complex recurrent or convolutional neural networks that include an encoder and a decoder.
In the Transformer this is reduced to a constant number of operations, albeit at the cost of reduced effective resolution due to averaging attention-weighted positions, an effect we counteract with Multi-Head Attention as described in section 3.2.
We plan to extend the Transformer to problems involving input and output modalities other than text and to investigate local, restricted attention mechanisms to efficiently handle large inputs and outputs such as images, audio and video.
Source and licence
- Source checked
- 2026-11-07
- Licence / kind
- arxiv-preprint
- Licence evidence
- https://arxiv.org/abs/1706.03762
- Category
- Architecture
How to read the numbers
Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards