Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints

By Aran Komatsuzaki, Joan Puigcerver, James Lee-Thorp, Carlos Riquelme Ruiz, Basil Mustafa, J. Ainslie, Yi Tay, Yi Tay, Mostafa Dehghani, Neil Houlsby. 2022

215 citations recorded by the source corpus.

Training large, deep neural networks to convergence can be prohibitively expensive. As a result, often only a small selection of popular, dense models are reused across different contexts and tasks. Increasingly, sparsely activated models, which seek to decouple model size from computation costs, are becoming an attractive alternative to dense models. Although more efficient in terms of quality and computation cost, sparse models remain data-hungry and costly to train from scratch in the large scale regime. In this work, we propose sparse upcycling -- a simple way to reuse sunk training costs by initializing a sparsely activated Mixture-of-Experts model from a dense checkpoint. We show that sparsely upcycled T5 Base, Large, and XL language models and Vision Transformer Base and Large models, respectively, significantly outperform their dense counterparts on SuperGLUE and ImageNet, using only ~50% of the initial dense pretraining sunk cost. The upcycled models also outperform sparse models trained from scratch on 100% of the initial dense pretraining computation budget.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures, 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. J. Ainslie
  2. James Lee-Thorp
  3. Sumit K. Sanghai
  4. Michiel de Jong
  5. Peng Jin
  6. Federico Lebr'on
  7. Jiaxi Cui
  8. Munan Ning

In Computer Vision and Pattern Recognition

  1. James Lee-Thorp
  2. Sumit K. Sanghai
  3. J. Ainslie
  4. Michiel de Jong
  5. Peng Jin
  6. Jiaxi Cui
  7. Munan Ning
  8. Junwu Zhang

In Model Architectures

  1. J. Ainslie
  2. James Lee-Thorp
  3. Sumit K. Sanghai
  4. Michiel de Jong
  5. Yury Zemlyanskiy

In Efficiency & Compression

  1. James Lee-Thorp
  2. Sumit K. Sanghai
  3. J. Ainslie
  4. Michiel de Jong
  5. Yury Zemlyanskiy

Citations in the corpus