ProtModernBERT: Compute-Efficient Protein Language Modeling

cs.LG cs.AI q-bio.QM Alberto Mart\'inez, Natalia Flechas Manrique, Lloren\c{c} Espinosa-Portal\'es, Luc Andrea · Oct 14, 2026
Local to this browser
What it does
ProtModernBERT tackles the high cost of training protein language models by porting modern NLP encoder improvements—RoPE, FlashAttention, GeGLU, and bias-free layers—into a BERT-style protein model. The authors pre-train on the UR100P...
Why it matters
The authors pre-train on the UR100P corpus and show that a 140M-parameter model can match ProtBert and Amplify-120M on structural benchmarks while using roughly one-tenth the pre-training FLOPs of ProtBert. The work matters because it...
Main concern
ProtModernBERT is a competent but incremental contribution. Its headline claim of an 80–90% FLOP reduction is technically supported relative to ProtBert, yet the comparison is complicated by differing pre-training corpora and the absence...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

ProtModernBERT tackles the high cost of training protein language models by porting modern NLP encoder improvements—RoPE, FlashAttention, GeGLU, and bias-free layers—into a BERT-style protein model. The authors pre-train on the UR100P corpus and show that a 140M-parameter model can match ProtBert and Amplify-120M on structural benchmarks while using roughly one-tenth the pre-training FLOPs of ProtBert. The work matters because it tests whether architectural modernization alone can lower the barrier to custom protein LMs for resource-constrained labs, and it uses random-initialization baselines to separate inductive biases from transfer-learned features.

Critical review
Verdict
Bottom line

ProtModernBERT is a competent but incremental contribution. Its headline claim of an 80–90% FLOP reduction is technically supported relative to ProtBert, yet the comparison is complicated by differing pre-training corpora and the absence of repeated runs or variance estimates. The paper is strongest when it uses randinit controls and cluster-based validation, but the no-code/no-weights release and the 48% GPU utilization during pre-training undercut its practical usefulness.

“We find that ProtModernBERT matches or closely tracks the performance of Amplify-120M and ProtBert with up to 80-90% reduction in pre-training FLOPs”
Martínez et al. · Abstract
“The training and evaluation code and trained model weights for ProtModernBERT are not publicly available at this time.”
Martínez et al. · Data access
“Since comparisons occur at early pre-training stages, relative rankings might shift under longer training schedules.”
Martínez et al. · Section V
What holds up

The randinit experiments are the clearest contribution: ProtModernBERT retains substantially better downstream accuracy and macro F1 than ProtBert when both are trained from scratch, indicating that modern components provide stronger inductive biases. The authors also report their limitations with unusual candor, noting that RoPE did not yield consistent accuracy gains under their budget and that secondary structure prediction remains difficult regardless of architecture.

“By jointly analyzing pre-trained and randinit settings, we disentangle the contributions of architecture, data, and compute.”
Martínez et al. · Section IV
“we do not observe consistent accuracy/F1 gains from RoPE compared to architectures relying on absolute positional encodings”
Martínez et al. · Section III
Main concerns

The headline "up to 80–90% reduction in pre-training FLOPs" is accurate relative to ProtBert ($6.0\times 10^{21}$ vs $5.8\times 10^{20}$), but the reduction versus Amplify-120M ($1.6\times 10^{21}$) is smaller, and the models were trained on different corpora (UR100P for ProtModernBERT and Amplify, UniRef100 for ProtBert, UniRef50 for ESM2), so data and architecture effects remain entangled. The authors acknowledge the "methodological challenge of fully disentangling architectural gains from the specific influence of pre-training data quality." On the functional benchmark, ProtModernBERT ($\rho = 0.373$) essentially ties ProtBert ($0.376$) and trails ESM2-150M ($0.387$), indicating that the compute savings do not translate into superior zero-shot fitness prediction. The single reported pre-training run reached only 48% hardware utilization, raising the question of whether the savings reflect true algorithmic efficiency or simply a shorter, less optimized training job. No variance estimates or repeated runs are provided.

“ProtModernBERT's reliance on the redundant UR100P corpus may bias the model toward a "consensus grammar," potentially limiting reliability for rare or evolutionarily divergent proteins.”
Martínez et al. · Section V
“the methodological challenge of fully disentangling architectural gains from the specific influence of pre-training data quality.”
Martínez et al. · Section V
“During this run, ProtModernBERT achieved an average hardware utilization efficiency of 48%”
Martínez et al. · Section II-A5
Evidence and comparison

The structural-task evidence generally supports the claim that ProtModernBERT matches Amplify-120M and ProtBert at lower cost, but the comparison is weakest against ESM2 because ESM2-150M consumed roughly $7.5\times$ more tokens ($1.024\times 10^{12}$ vs $1.37\times 10^{11}$) and still outperforms ProtModernBERT on most tasks. The randinit controls show that, absent pre-training, the gap between ESM2 and ProtModernBERT narrows, which supports architectural comparability, yet they cannot validate joint scaling claims. The paper also omits smaller ESM2 variants (e.g., 8M, 35M) that would clarify whether the efficiency gains are unique to modernizing BERT or merely a better baseline at the 100M scale.

“In the pre-trained setting, ESM2 and Amplify-350M achieve the best overall DeepLoc accuracy and macro F1.”
Martínez et al. · Section III
“ESM2-150M was trained on approximately 1.024 trillion tokens. This represents a data scale roughly 7.5 times larger than that of ProtModernBERT”
Martínez et al. · Appendix A-D
Reproducibility

Independent reproduction is blocked by the explicit decision to withhold code and weights: "The training and evaluation code and trained model weights for ProtModernBERT are not publicly available at this time." The final run comprised only 10,887 gradient steps over 20 hours on 96 A100 GPUs with a reported 48% hardware utilization, and no repeated runs or standard deviations are provided. Fine-tuning hyperparameters were selected via a cluster-based split, which is laudable, but without released artifacts the community cannot verify FLOP accounting, reproduce the randinit baselines, or audit the training data pipeline.

“The training and evaluation code and trained model weights for ProtModernBERT are not publicly available at this time.”
Martínez et al. · Data access
“the current lack of variance estimates limits the assessment of statistical significance.”
Martínez et al. · Section V
Abstract

Large protein language models provide a powerful framework for learning sequence-function relationships and guiding experimental design. However, architectural improvements are underexplored, especially in low-compute regimes of relevance for resource-constrained research laboratories. We show that the training cost for encoder-only transformer architectures can be reduced by leveraging modern architectural refinements, offering an encouraging performance / compute-efficiency trade-off. We introduce ProtModernBERT, a modernized BERT-style model pre-trained on amino acid sequences, and compare it with ProtBert, Amplify, and ESM2 across a set of supervised structural tasks -encompassing secondary structure prediction, disorder prediction, and subcellular localization- and ProteinGym's zero-shot functional benchmark. We find that ProtModernBERT matches or closely tracks the performance of Amplify-120M and ProtBert with up to 80-90\% reduction in pre-training FLOPs, and narrows the gap to ESM2 when controlling for pre-training. Our analysis using a cluster-based validation protocol for hyperparameter selection and randomly initialized models disentangles the contributions of architecture and data, showing that modern components provide stronger inductive biases that are more consequential than parameter count in low-compute regimes.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.