Unified Scaling Laws for Routed Language Models

Abstract

The performance of a language model has been shown to be effectively modeled as a power-law in its parameter count. Here we study the scaling behaviors of Routing Networks: architectures that conditionally use only a subset of their parameters while processing an input. For these models, parameter count and computational requirement form two independent axes along which an increase leads to better performance. In this work we derive and justify scaling laws defined on these two variables which generalize those known for standard language models and describe the performance of a wide range of routing architectures trained via three different techniques. Afterwards we provide two applications of these laws: first deriving an Effective Parameter Count along which all models scale at the same rate, and then using the scaling coefficients to give a quantitative comparison of the three routing techniques considered. Our analysis derives from an extensive evaluation of Routing Networks across five orders of magnitude of size, including models with hundreds of experts and hundreds of billions of parameters.

Cite

Text

Clark et al. "Unified Scaling Laws for Routed Language Models." International Conference on Machine Learning, 2022.

Markdown

[Clark et al. "Unified Scaling Laws for Routed Language Models." International Conference on Machine Learning, 2022.](https://mlanthology.org/icml/2022/clark2022icml-unified/)

BibTeX

@inproceedings{clark2022icml-unified,
  title     = {{Unified Scaling Laws for Routed Language Models}},
  author    = {Clark, Aidan and De Las Casas, Diego and Guy, Aurelia and Mensch, Arthur and Paganini, Michela and Hoffmann, Jordan and Damoc, Bogdan and Hechtman, Blake and Cai, Trevor and Borgeaud, Sebastian and Van Den Driessche, George Bm and Rutherford, Eliza and Hennigan, Tom and Johnson, Matthew J and Cassirer, Albin and Jones, Chris and Buchatskaya, Elena and Budden, David and Sifre, Laurent and Osindero, Simon and Vinyals, Oriol and Ranzato, Marc’Aurelio and Rae, Jack and Elsen, Erich and Kavukcuoglu, Koray and Simonyan, Karen},
  booktitle = {International Conference on Machine Learning},
  year      = {2022},
  pages     = {4057-4086},
  volume    = {162},
  url       = {https://mlanthology.org/icml/2022/clark2022icml-unified/}
}