Training Compute-Optimal Protein Language Models
Xingyi ChengiD, Bo CheniD, Pan LiiD, Jing GongiD, Jie TangiD, Le SongiD
Abstract
We explore optimally training protein language models, an area of significant interest in biological research where guidance on best practices is limited. Most models are trained with extensive compute resources until performance gains plateau, focusing primarily on increasing model sizes rather than optimizing the efficient compute frontier that balances performance and compute budgets. Our investigation is grounded in a massive dataset consisting of 939 million protein sequences. We trained over 300 models ranging from 3.5 million to 10.7 billion parameters on 5 to 200 billion unique tokens, to investigate the relations between model sizes, training token numbers, and objectives. First, we observed the effect of diminishing returns for the Causal Language Model (CLM) and that of overfitting for the Masked Language Model (MLM) when repeating the commonly used Uniref database. To address this, we included metagenomic protein sequences in the training set to increase the diversity and avoid the plateau or overfitting effects. Second, we obtained the scaling laws of CLM and MLM on Transformer, tailored to the specific characteristics of protein sequence data. Third, we observe a transfer scaling phenomenon from CLM to MLM, further demonstrating the effectiveness of transfer through scaling behaviors based on estimated Effectively Transferred Tokens. Finally, to validate our scaling laws, we compare the large-scale versions of ESM-2 and PROGEN2 on downstream tasks, encompassing evaluations of protein generation as well as structure- and function-related tasks, all within less or equivalent pre-training compute budgets.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 23
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Protein Language Models: Is Scaling Necessary?
Quentin Fournier, Robert McCoy Vernon, … CHRISTOPHER JAMES LANGMEAD·bioRxiv·Sep 23, 2024
- Efficient and accurate sequence generation with small-scale protein language models
Yaiza Serrano, Sergi Rodà, … Alexis Molina·bioRxiv·Aug 4, 2023
- Medium-sized protein language models perform well at transfer learning on realistic datasets
Luiz Carlos Vieira, Morgan L. Handojo, Claus O. Wilke·Scientific ReportsPeer-reviewed·Jul 1, 2025
- Cramming Protein Language Model Training in 24 GPU Hours
Nathan C. Frey, Taylor Joren, … Vladimir Gligorijević·bioRxiv·May 14, 2024
- Efficient Inference, Training, and Fine-tuning of Protein Language Models
Muhammed Hasan Çelik, Xiaohui S. Xie·iSciencePeer-reviewed·Sep 3, 2025
- Scaling unlocks broader generation and deeper functional understanding of proteins
Aadyot Bhatnagar, Sarthak Jain, … Ali Madani·neural information processing systemsPeer-reviewed·Jan 1, 2025