QUICK REVIEW
[Paper Review] The Cost of Training NLP Models: A Concise Overview
Or Sharir, Barak Peleg|arXiv (Cornell University)|Apr 19, 2020
TL;DR
The paper surveys the drivers and costs of training large NLP models, highlighting rising overall costs, key cost drivers, and potential future directions to tame expenses.
ABSTRACT
We review the cost of training large-scale language models, and the drivers of these costs. The intended audience includes engineers and scientists budgeting their model-training experiments, as well as non-practitioners trying to make sense of the economics of modern-day Natural Language Processing (NLP).
Motivation & Objective
- Assess the current and projected costs of training large NLP models.
- Identify major factors that drive training costs (data, model size, and training volume).
- Discuss hidden costs and practical budgeting considerations for experiments.
- Offer perspectives on future trends and potential cost-taming approaches.
Proposed method
- Review and synthesize industry and academia reports on NLP training costs.
- Provide ballpark cost ranges for training BERT-scale models at different parameter counts.
- Discuss factors affecting FLOPs and total training expenditure beyond a single training run.
- Compare NLP cost dynamics with computer vision to contextualize differences.
Experimental results
Research questions
- RQ1What are the current ballpark costs to train NLP models of various sizes (e.g., 110M, 340M, 1.5B parameters) on standard corpora?
- RQ2What factors (dataset size, model size, training volume) primarily drive NLP training costs?
- RQ3How do hidden costs such as hyper-parameter tuning and multiple runs inflate total expenses?
- RQ4What future trends or strategies could curb the growth of NLP training costs?
Key findings
- Training costs can range from roughly $2.5k to $1.6m per run depending on model size (110M to 1.5B parameters).
- Large projects (e.g., 11B-parameter models) can exceed $1.3 million per run, with total project costs potentially around $10 million when multiple runs and smaller configurations are included.
- Costs are expected to rise with model/data scale, but several factors may mitigate this trend (compute price reductions, more efficient architectures, reducing SOTA race, larger but more useful data, and integrating structured knowledge).
- Hidden costs include training a model multiple times to manage randomness and hyper-parameter search, multiplying the cost beyond a single training episode.
- Differences with computer vision imply NLP faces higher costs due to transformer-based architectures and self-supervised learning on massive text corpora.
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.