1. Introduction
Ask ChatGPT a question, and within a few seconds you get a text back.
The prototype of the mechanism running behind it was laid out in a single paper published in 2017.
That paper is "Attention Is All You Need."
Before this paper appeared, machine translation had an easy-to-understand weakness.
Short sentences could be translated, but as sentences grew longer, the meaning broke down partway through.
If you have ever run a long email or meeting minutes through a translator and found that only the second half of the output read like a different story, you have seen this.
The cause lay in a design that squeezed an entire sentence into a single vector of fixed size.
First, a note on how figures are handled in this article.
The Transformer paper opens with a permission statement from Google, which allows reproduction of its figures and tables provided attribution is given.
Figures from the other papers are not reproduced; they are explained in the text, with links to the original…