atlas

Research map / Architectures and efficiency / RNNs and normalization

Training Compute-Optimal Protein Language Models

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Neural scaling laws · 19 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Trains over 300 protein language models (3.5M to 10.7B params, 5 to 200B tokens) on a 939M-sequence metagenomic-augmented dataset to derive compute-optimal scaling laws for CLM and MLM, including CLM-to-MLM transfer, and validates by comparing re-scaled 7.2B CLM and 10.7B MLM against PROGEN2-xlarge and ESM-2 3B.

Problem

Compute-optimal training of protein language models is underexplored; it is unclear how model size, training tokens, and objective (MLM vs CLM) should scale under a fixed compute budget, and whether repeated UniRef data limits scaling.

Approach

Builds a 194B-token (939M sequence) dataset UniMeta200B by adding ColabFoldDB metagenomic data to UniRef to avoid overfitting, fits power-law IsoFLOP scaling laws separately for CLM and MLM, and introduces Effectively Transferred Tokens to quantify how CLM pre-training transfers to MLM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the 7.2B CLM scaling allocation instead of PROGEN2-xlargeProtein sequence generation · Generated sequences evaluated with ESMFold, Foldseek, and clusteringgeneration quality and diversity: 74.33 -> 78.69 average pLDDT; 0.522 -> 0.655 average TM-score; 0.165 -> 0.194 SeqID; 4,818 -> 7,097 clustersHelped
Use the 10.7B MLM scaling allocation instead of ESM-2 (3B)Protein understanding tasks · Contact prediction, fold classification, fluorescence, and five appendix test datasetsdownstream task performance: contact 0.91 vs 0.91; fold 0.69 -> 0.72; fluorescence 0.65 -> 0.69; fitness 0.94 -> 0.96; localization 0.81 -> 0.79; metMixed
Pre-train on CLM, then train on MLM470M model · Contact prediction and fold classificationdownstream task performance: contact 0.78 -> 0.80; fold 0.65 -> 0.66Helped
Pre-train on CLM, then train on MLM470M model · Fluorescenceregression score: 0.67 -> 0.67No clear effect
Expand training data from repeated UR50/S to diversified UniMeta200BProtein language model pre-training · OOD test PPL and IID validation learning curveOOD test PPLHelped
Repeat UR50/S across epochs instead of using diverse, approximately single-epoch UniMeta200B data (ablation)150M and 3B CLM/MLM · OOD generalization and training lossgeneralizationHurt
Train with 5% or greater than 25% masking rather than a 10%-20% mask ratio (ablation)85M and 154M MLM · Validation lossvalidation lossHurt
Use a 20% rather than 15% masking ratio (ablation)MLM · Contact predictioncontact prediction performanceHelped
Use a 15% rather than 20% masking ratio (ablation)MLM · Fold predictionfold prediction performanceHelped
Replace Uniref90 training data with ColabFoldDB (ablation)85M protein language model · Contact prediction and fold classificationdownstream task performanceNo clear effect
Transfer from CLM pre-training before MLM instead of training MLM from scratch (ablation)470M model · MLM fine-tuning on downstream tasksconvergence speedHelped
Mix CLM and MLM objectives during training instead of training from scratch with a single objective (ablation)Protein language models · Validation lossvalidation lossHurt

Surprising findings

Limitations

Experimental setup

Datasets: UniRef50/S UniRef90/50 ColabFoldDB (representatives and members) UniProt OOD test sequences PDB (Foldseek search)

Benchmarks: protein contact prediction fold classification fluorescence fitness prediction localization metal ion binding solubility stability OOD perplexity

Metrics: perplexity validation loss P@L/5 accuracy accuracy Spearman correlation pLDDT TM-score cluster count diversity

Baselines: ESM-2 (3B) PROGEN2-xlarge

Builds on: Chinchilla scaling laws ESM-2 ProGen2 LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy