We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Law/Scaling Laws for Sparsely-Connected Foundation Models
Conference ProceedingsLaw

Scaling Laws for Sparsely-Connected Foundation Models

2024

Checking your access to this record.

Abstract & Overview

We explore the impact of parameter sparsity on the scaling behavior of Transformers trained on massive datasets (i.e., "foundation models"), in both vision and language domains. In this setting, we identify the first scaling law describing the relationship between weight sparsity, number of non-zero parameters, and amount of training data, which we validate empirically across model and data scales; on ViT/JFT-4B and T5/C4. These results allow us to characterize the "optimal sparsity", the sparsity level which yields the best performance for a given effective model size and training budget. For a fixed number of non-zero parameters, we identify that the optimal sparsity increases with the amount of data used for training. We also extend our study to different sparsity structures (such as the hardware-friendly n:m pattern) and strategies (such as starting from a pretrained dense model). Our findings shed light on the power and limitations of weight sparsity across various parameter and computational settings, offering both theoretical understanding and practical implications for leveraging sparsity towards computational efficiency improvements.

Cite this record

Elias Frantar, Carlos Riquelme, Neil Houlsby, Dan Alistarh, Utku Evci (2024). Scaling Laws for Sparsely-Connected Foundation Models. International Conference on Learning Representations. https://doi.org/10.48550/arxiv.2309.08520

Copy in another style

Frantar, E., Riquelme, C., Houlsby, N., Alistarh, D., & Evci, U. (2024). Scaling Laws for Sparsely-Connected Foundation Models. International Conference on Learning Representations. https://doi.org/10.48550/arxiv.2309.08520
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.