[Paper Review] Deep Learning Scaling is Predictable, Empirically
The paper empirically characterizes how generalization error and model size scale with training data across four DL domains, showing power-law learning curves with domain-dependent exponents and sublinear model-size growth.
Deep learning (DL) creates impactful advances following a virtuous recipe: model architecture search, creating large training data sets, and scaling computation. It is widely believed that growing training sets and models should improve accuracy and result in better products. As DL application domains grow, we would like a deeper understanding of the relationships between training set size, computational scale, and model accuracy improvements to advance the state-of-the-art. This paper presents a large scale empirical characterization of generalization error and model size growth as training sets grow. We introduce a methodology for this measurement and test four machine learning domains: machine translation, language modeling, image processing, and speech recognition. Our empirical results show power-law generalization error scaling across a breadth of factors, resulting in power-law exponents---the "steepness" of the learning curve---yet to be explained by theoretical work. Further, model improvements only shift the error but do not appear to affect the power-law exponent. We also show that model size scales sublinearly with data size. These scaling relationships have significant implications on deep learning research, practice, and systems. They can assist model debugging, setting accuracy targets, and decisions about data set growth. They can also guide computing system design and underscore the importance of continued computational scaling.
Motivation & Objective
- Understand how generalization error scales with training set size across DL domains.
- Characterize how required model size grows as training data increases.
- Identify whether scaling exponents are consistent across models and domains.
- Provide practical guidance for data collection, model design, and compute planning based on scaling trends.
Proposed method
- Train hyperparameter-reduced variants of SOTA models on successively larger shards of training data.
- Fit learning curves to power-law forms with possible constant terms and extract exponents.
- Explore domain-specific scaling in NMT, language modeling, image classification, and speech recognition.
- Compare how model size scales with data size and assess sublinear growth patterns.
- Control experiments by removing regularization to observe capacity-driven effects.
- Use Monte Carlo grid searches to identify best-fit models across shard sizes.
Experimental results
Research questions
- RQ1Do generalization error curves follow a power-law in DL across multiple domains and architectures?
- RQ2How does the required model size to fit data scale with training set size, and is the growth sublinear?
- RQ3Are the scaling exponents for different domains robust to model type, optimizer, and loss metric?
- RQ4What are practical implications of scaling laws for data and compute planning in DL?
Key findings
- Generalization error exhibits power-law scaling with training size across all tested domains, with exponents (beta_g) typically between -0.07 and -0.35, smaller in magnitude than classical theory.
- Model size grows sublinearly with data size, with exponents (beta_p) generally between 0.5 and 1.0 depending on domain.
- Composite (best-fit) learning curves can extend the power-law region beyond single-model curves, yielding smaller effective betas (e.g., around -0.128 in NMT).
- Different domains yield different intercepts and exponents, but the steepness of the learning curve tends to be consistent for a given domain across models and optimizers.
- As data grows, models shift from a small-data region to a power-law region, and eventually toward irreducible error limits (Bayes error).
- Results support using scaling curves to guide data collection, model design, and compute provisioning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.