Preprint · 2017 · Open access

Attention Is All You Need

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, Illia Polosukhin

arXiv (Cornell University), 30, 5998–6008 · Published 12 June 2017 · DOI 10.48550/arxiv.1706.03762

Open PDFView at the publisherCite this paper

In brief

“Attention Is All You Need” is a 2017 preprint by Ashish Vaswani and 7 co-authors, published in arXiv (Cornell University). OpenAlex counts 152,270 citations as of 22 November 2026. It is open access: the full text is free to read at arXiv (Cornell University).

Citations
152,270
Most cited in
2025 (32,151)
References
96
Authors
8

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.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention Is All You Need. arXiv (Cornell University), 30, 5998–6008. https://doi.org/10.48550/arxiv.1706.03762

MLA 9

Vaswani, Ashish, et al. “Attention Is All You Need.” arXiv (Cornell University), vol. 30, 2017, pp. 5998–6008. https://doi.org/10.48550/arxiv.1706.03762.

Chicago

Vaswani, Ashish, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. “Attention Is All You Need.” arXiv (Cornell University) 30: 5998–6008. https://doi.org/10.48550/arxiv.1706.03762.

Harvard

Vaswani, A. et al. (2017) ‘Attention Is All You Need’, arXiv (Cornell University), 30, pp. 5998–6008. doi:10.48550/arxiv.1706.03762.

IEEE

A. Vaswani et al., “Attention Is All You Need,” arXiv (Cornell University), vol. 30, pp. 5998–6008, 2017, doi: 10.48550/arxiv.1706.03762.

BibTeX

@misc{vaswani2017attention,
  title     = {{Attention Is All You Need}},
  author    = {Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N. and Kaiser, Łukasz and Polosukhin, Illia},
  howpublished = {arXiv (Cornell University)},
  year      = {2017},
  volume    = {30},
  pages     = {5998--6008},
  doi       = {10.48550/arxiv.1706.03762},
  url       = {https://doi.org/10.48550/arxiv.1706.03762}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
20177272
2018991991
20194,1634163
20208,4148414
202114,19814198
202216,67716677
202325,72325723
202431,04531045
202532,15132151
202618,80318803

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques

  • transformer models
  • attention mechanism
  • machine translation
  • English-German translation
  • constituency parsing
  • parallel training
  • encoder-decoder architecture

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention Is All You Need. arXiv (Cornell University), 30, 5998–6008. https://doi.org/10.48550/arxiv.1706.03762

How many times has this paper been cited?

152,270 times, according to OpenAlex on 22 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at arXiv (Cornell University): sign in and open the PDF from this page.

Who wrote this paper?

Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, Illia Polosukhin.

What is the DOI of this paper?

10.48550/arxiv.1706.03762, permanently at https://doi.org/10.48550/arxiv.1706.03762. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 22 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.