Home » Google’s 2017 Transformer Paper Powers Today’s Large Language Models

Google’s 2017 Transformer Paper Powers Today’s Large Language Models

By

–

Google Headquarters Building

Eight researchers, one footnote, and a joke about authorship. That is how one of the most influential papers in modern computing went out the door in the spring of 2017. “Attention Is All You Need” listed Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser and Illia Polosukhin as authors. Next to every name sat an asterisk: “Equal contributor. Listing order is random.”

Shazeer, the most tenured of the group, was surprised to see his name first. “I wasn’t thinking about it,” he told WIRED. Years later he joked that he “might have worried more about the author order” had he known what the paper would become.

The problem it fixed

Here is the shift. Before the paper, language software leaned on recurrent neural networks, which read text one word after another. They struggled with longer passages. WIRED gave a simple example: in the line “Joe is a baseball player, and after a good breakfast he went to the park and got two hits,” a model has to remember the baseball part to make sense of “two hits.” In human terms, it has to pay attention.

The standard patch was a design called long short-term memory, or LSTM. It handled bigger sequences, but still crawled through them word by tedious word and could miss clues that came later in a passage. Uszkoreit was blunt about it. “The methods we were applying were basically Band-Aids,” he said.

Self-attention, and a name from the toy box

Around 2014 Uszkoreit started working on something he called self-attention: a network that can interpret a word by looking at any other part of the passage. It also suited the parallel processing chips then being built in bulk for the machine learning boom, because it looks at many words together rather than in a line. Not everybody bought it. His own father, a well-known computational linguist, had doubts. “People raised their eyebrows, because it dumped out all the existing neural architectures,” Uszkoreit said.

He found allies. Together with Polosukhin and Vaswani he wrote a design document titled “Transformers: Iterative Self-Attention and Processing for Various Tasks.” The name was there from “day zero,” Uszkoreit said, and it came from childhood: he had owned two little Transformer toys. The document opened with a line of swagger, “We are awesome.”

What the paper claimed

The abstract on arXiv, where the paper was submitted on 12 Jun 2017, states the pitch plainly. The dominant sequence models of the day used complex recurrent or convolutional networks. The authors proposed a simpler architecture, the Transformer, “based solely on attention mechanisms, dispensing with recurrence and convolutions entirely.”

They backed it with numbers. On the WMT 2014 English-to-German translation task the model reached 28.4 BLEU, more than 2 BLEU ahead of the best earlier results, ensembles included. On English-to-French it set a single-model score of 41.8 BLEU after 3.5 days of training on eight GPUs, a small fraction of what the best earlier models cost to train. The team also showed it worked on English constituency parsing.

Where it went

WIRED describes transformers as the engine behind ChatGPT and image generators such as Dall-E and Midjourney. Geoffrey Hinton, who was not an author, put it this way: “Without transformers I don’t think we’d be here now.”

The authors became minor celebrities. “I have people asking me for selfies, because I’m on a paper!” said Jones, listed fifth, randomly. By the time WIRED published its account in March 2024, all eight had left Google.

Sources

Get breaking stories first on our Telegram channel.

More stories by

Most read

AI Tools

Artificial Intelligence

Business

World News