GLaM: Efficient Scaling of Language Models with Mixture-of-Experts

By Nan Du, Yanping Huang, Andrew M. Dai, Simon Tong, Dmitry Lepikhin, Yuanzhong Xu, Maxim Krikun, Yanqi Zhou, Adams Wei Yu, Orhan Firat and 16 more. 2021

1,261 citations recorded by the source corpus.

Scaling language models with more data, compute and parameters has driven significant progress in natural language processing. For example, thanks to scaling, GPT-3 was able to achieve strong results on in-context learning tasks. However, training these large dense models requires significant amounts of computing resources. In this paper, we propose and develop a family of language models named GLaM (Generalist Language Model), which uses a sparsely activated mixture-of-experts architecture to scale the model capacity while also incurring substantially less training cost compared to dense variants. The largest GLaM has 1.2 trillion parameters, which is approximately 7x larger than GPT-3. It consumes only 1/3 of the energy used to train GPT-3 and requires half of the computation flops for inference, while still achieving better overall zero-shot and one-shot performance across 29 NLP tasks.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Quoc V. Le
  3. Luke S. Zettlemoyer
  4. Jianfeng Gao
  5. Percy Liang
  6. Graham Neubig
  7. Caiming Xiong
  8. Yejin Choi

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Ming-Hsuan Yang
  4. Trevor Darrell
  5. Xiaogang Wang
  6. Jitendra Malik
  7. Andrew Zisserman
  8. Cordelia Schmid

In Large Language Models

  1. Luke S. Zettlemoyer
  2. Furu Wei
  3. Yejin Choi
  4. Jianfeng Gao
  5. Hinrich Schütze
  6. Mohit Bansal
  7. Yi Tay
  8. Percy Liang

In Efficiency & Compression

  1. Kurt Keutzer
  2. Dan Alistarh
  3. Quoc V. Le
  4. Elias Frantar
  5. Song Han
  6. Zi-Mei Yao
  7. A. Gholami
  8. Luke S. Zettlemoyer

Citations in the corpus