Natural Language Processing Techniques Open access

Attention Is All You Need

Niki Parmar, Ashish Vaswani, Noam Shazeer, Jakob Uszkoreit and 4 more

Aug 23, 2025 | 6,491 citations

Abstract

Abstract

The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 BLEU. On the WMT 2014 English-to-French translation task, our model establishes a new single-model state-of-the-art BLEU score of 41.8 after training for 3.5 days on eight GPUs, a small fraction of the training costs of the best models from the literature. We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.

Direct answer

What can I do from this paper page?

Use this page to scan "Attention Is All You Need" quickly: start with the summary and abstract, then check the authors, source, topics, and related papers. From here, open Scollr to follow Natural Language Processing Techniques research, save the paper, or map adjacent work.

Authors

Researchers on this paper

Niki Parmar

middle | Google (United States)

Ashish Vaswani

first | Google (United States) | ORCID 0000-0002-7794-2085

Noam Shazeer

middle | Google (United States)

Jakob Uszkoreit

middle | Google (United States) | ORCID 0000-0001-5066-7530

Llion Jones

middle | Google (United States)

Aidan N. Gomez

middle | University of Toronto | ORCID 0000-0001-5601-5437

Łukasz Kaiser

middle | Google (United States) | ORCID 0000-0003-1092-6010

Illia Polosukhin

last | Google (United States)

Research areas

Follow related topics

Citation

BibTeX

@article{Parmar2025Attention,
  title = {Attention Is All You Need},
  author = {Niki Parmar and Ashish Vaswani and Noam Shazeer and Jakob Uszkoreit and Llion Jones and Aidan N. Gomez and Łukasz Kaiser and Illia Polosukhin},
  year = {2025},
  doi = {10.65215/2q58a426},
  url = {https://doi.org/10.65215/2q58a426}
}

FAQ

Using this paper in a discovery workflow

How do I find related work for this paper?

Use the related papers and topic links on this page as starting points. In Scollr, you can also open the paper and build a literature map around its references, citing papers, and related work.

How can I keep up with new Natural Language Processing Techniques research papers?

Follow Natural Language Processing Techniques research in Scollr. New papers from the topic flow into a personalized feed, and you can save useful studies to revisit later.

Can I cite this paper from this page?

This page includes a static BibTeX block for Attention Is All You Need. Always verify the DOI, source, and publication details against the publisher record before submitting a manuscript.

Follow this research in Scollr

Follow the topics and authors behind this paper, save useful studies, and build a literature map when you are ready to go deeper.

Get the app