The Cost of Training NLP Models: A Concise Overview
Open accessAbstract
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).
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Sharir et al. (2020) estimates that Google's T5 project might have cost a total of $10M in cloud computing costs.
“For example, Sharir et al. (2020) estimates that Google's T5 project-which is by no means the biggest training run to date-might have cost a total of $10M in cloud computing costs.”
From Compute Trends Across Three Eras of Machine Learning (2022) · cites this paper as Sharir et al. (2020)
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 48,293 · see citing works
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
Sanh, V., Debut, L., Chaumond, J., & Wolf, T. (2019) · arXiv · doi:10.48550/arxiv.1910.01108 · Cited by 4,653 · see citing works
Scaling Laws for Neural Language Models
Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., & Amodei, D. (2020) · arXiv · Cited by 1,749 · cited 1× · see citing works
“coding, 128 attention heads, and 65k-dimensional feed-forward layers. 6These $ figures come with substantial error bars, but we believe they are in the right ballpark. 7 It is worth noting the work of [7], which analyzes the impact of various variables, including model size and amount of compute, on performance, as mea…”
Background
Flagged first, then by citations
Research works printed but not linked: 11
- [3][3] X. Jiao, Y. Yin, L. Shang, X. Jiang, X. Chen, L. Li, F. Wang, and Q. Liu, TinyBERT: Distilling BERT for natural language understanding , 2019. arXiv: 1909.10351 [cs.CL] . - · arXiv
- [5][5] C. Raffel, N. Shazeer, A. Roberts, K. Lee, S. Narang, M. Matena, Y. Zhou, W. Li, and P. J. Liu, 'Exploring the limits of transfer learning with a unified text-to-text transformer,' ArXiv e-prints , 2019. arXiv: 1910.10683 . - · arXiv
- [8][8] J. Dodge, S. Gururangan, D. Card, R. Schwartz, and N. A. Smith, 'Show your work: Improved reporting of experimental results,' in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) , Hong Kong, China: Association for Computational Linguistics, Nov. 2019, pp. 2185-2194. DOI: 10.18653/v1/D191224 . [Online]. Available: https://www.aclweb.org/anthology/D19-1224 . - · DOI
- [9][9] Z. Li, E. Wallace, S. Shen, K. Lin, K. Keutzer, D. Klein, and J. E. Gonzalez, Train large, then compress: Rethinking model size for efficient training and inference of transformers , 2020. arXiv: 2002.11794 [cs.CL] . - · arXiv
- [10][10] J. S. Rosenfeld, A. Rosenfeld, Y. Belinkov, and N. Shavit, 'A constructive prediction of the generalization error across scales,' in International Conference on Learning Representations , 2020. [Online]. Available: https: //openreview.net/forum?id=ryenvpEKDr . -
- [12][12] K. Clark, M.-T. Luong, Q. V. Le, and C. D. Manning, 'ELECTRA: Pre-training text encoders as discriminators rather than generators,' in International Conference on Learning Representations , 2020. [Online]. Available: https://openreview.net/forum?id=r1xMH1BtvB . -
- [15][15] N. Kitaev, L. Kaiser, and A. Levskaya, 'Reformer: The efficient transformer,' in International Conference on Learning Representations , 2020. [Online]. Available: https://openreview.net/forum?id=rkgNKkHtvB . -
- [16][16] Z. Lan, M. Chen, S. Goodman, K. Gimpel, P. Sharma, and R. Soricut, 'ALBERT: A lite BERT for selfsupervised learning of language representations,' in International Conference on Learning Representations , 2020. [Online]. Available: https://openreview.net/forum?id=H1eA7AEtvS . -
- [17][17] Y. Levine, B. Lenz, O. Dagan, D. Padnos, O. Sharir, S. Shalev-Shwartz, A. Shashua, and Y. Shoham, 'SenseBERT: Driving some sense into BERT,' in Proceedings of the 2010 Conference of the Association for Computational Linguistics (ACL) , 2020. [Online]. Available: https://arxiv.org/pdf/1908.05646.pdf . - · arXiv
- [18][18] H. Touvron, A. Vedaldi, M. Douze, and H. Jegou, 'Fixing the train-test resolution discrepancy,' in Advances in Neural Information Processing Systems 32 , Curran Associates, Inc., 2019, pp. 8252-8262. [Online]. Available: http://papers.nips.cc/paper/9035-fixing-the-train-test-resolution-discrepancy.pdf . -
- [20][20] D. Geman, S. Geman, N. Hallonquist, and L. Younes, 'Visual Turing test for computer vision systems,' Proceedings of the National Academy of Sciences , vol. 112, no. 12, pp. 3618-3623, 2015, ISSN: 0027-8424. DOI: 10.1073/pnas.1422953112 . eprint: https://www.pnas.org/content/112/12/3618.full.pdf . [Online]. Available: https://www.pnas.org/content/112/12/3618 . · DOI
Cited by
Sorted by citations
Challenges in deploying machine learning: A survey of case studies
Paleyes, A., Urma, R.-G., & Lawrence, N. D. (2023) · ACM Computing Surveys · doi:10.1145/3533378 · Cited by 638 · see citing works
Compute Trends Across Three Eras of Machine Learning
Sevilla, J., Heim, L., Ho, A., Besiroglu, T., Hobbhahn, M., & Villalobos, P. (2022) · 2022 International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn55064.2022.9891914 · Cited by 363 · see citing works
“For example, Sharir et al. (2020) estimates that Google’s T5 project—which is by no means the biggest training run to date—might have cost a total of $10M in cloud computing costs.”
BackgroundThrough the Looking Glass: Learning to Attribute Synthetic Text Generated by Language Models
Munir, S., Batool, B., Shafiq, Z., Srinivasan, P., & Zaffar, F. (2021) · Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume · doi:10.18653/v1/2021.eacl-main.155 · Cited by 11 · see citing works
Insider Threat Identification From Accessed Website Content Optimized by Modified Metaheuristic
Jovanovic, L., Kaljevic, J., Zivkovic, M., Bacanin, N., Antonijevic, M., & Cajic, M. (2024) · 2024 International Conference on Circuit, Systems and Communication (ICCSC) · doi:10.1109/iccsc62074.2024.10617256 · Cited by 2 · see citing works
- Authors
- Sharir, O., Peleg, B., & Shoham, Y.
- ORCID
- Sharir, Or
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2020
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2004.08900
- OpenAlex
- W3016339201
- Cited by
- 113
- References
- 3
- Citations by year
- 2026: 1 · 2025: 9 · 2024: 24 · 2023: 28 · 2022: 26 · 2021: 17 · 2020: 7 · 2019: 1
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Artificial Intelligence Applications
- Keywords
- training costs, large language models, cost drivers
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review