mlsanityData to 7 Oct 2026

Training Compute-Optimal Protein Language Models

arXiv 2411.02142 ↗First posted 4 Nov 2024cs.LG cs.AI q-bio.QMcited by 11

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 55 of its 96 references that are in the map. First posted on arXiv 4 Nov 2024.

Builds on

55 of 96 references.

References · 55

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  8. 2020Scaling Laws for Neural Language Modelscited by 6,411
  9. 2016Layer Normalizationcited by 5,579
  10. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  11. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  12. 2020Longformer: The Long-Document Transformercited by 3,362
38 more
  1. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  2. 2024Mixtral of Expertscited by 1,785
  3. 2020GLU Variants Improve Transformercited by 1,724
  4. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  5. 2020Rethinking Attention with Performerscited by 1,584
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  7. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  8. 2023PaLM 2 Technical Reportcited by 1,154
  9. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  10. 2021Scaling Vision Transformerscited by 993
  11. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
  12. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  13. 2021Scaling Vision with Sparse Mixture of Expertscited by 740
  14. 2022Galactica: A Large Language Model for Sciencecited by 736
  15. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  16. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 621
  17. 2020Scaling Laws for Autoregressive Generative Modelingcited by 510
  18. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  19. 2023Scaling Data-Constrained Language Modelscited by 391
  20. 2022UL2: Unifying Language Learning Paradigmscited by 292
  21. 2018An Empirical Model of Large-Batch Trainingcited by 268
  22. 2021Scaling Laws for Transfercited by 265
  23. 2022Unified Scaling Laws for Routed Language Modelscited by 249
  24. 2022Efficient Training of Language Models to Fill in the Middlecited by 248
  25. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
  26. 2019Evaluating Protein Transfer Learning with TAPEcited by 229
  27. 2023Language Modeling Is Compressioncited by 225
  28. 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 201
  29. 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 184
  30. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
  31. 2022ProGen2: Exploring the Boundaries of Protein Language Modelscited by 156
  32. 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 149
  33. 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 147
  34. 2023Scaling Laws for Generative Mixed-Modal Language Modelscited by 131
  35. 2020ProGen: Language Modeling for Protein Generationcited by 127
  36. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  37. 2021Scale Efficiently: Insights from Pre-training and Fine-tuning Transformerscited by 105
  38. 2023Structure-informed Language Models Are Protein Designerscited by 68

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 5.

11 papers.