ProteinGym zero-shot substitutions

Protein sequences (deep mutational scans)24 h budgetheadline: proteingym spearman
About this task

The agent builds the best zero-shot protein variant-effect model it can in 24 hours on 8×H100: pretrained protein language models, MSA- and structure-based models, ensembles, its own unsupervised (pre)training, but no fitness labels of the test proteins. Its final model is scored through the evaluation hub (no network; 1×H100 for validation, 8×H100 for the final) on every variant of all 217 ProteinGym v1.3 DMS substitution assays (2,465,767 variants), with ProteinGym's official Spearman aggregation, so the score is directly comparable with the public leaderboard. Validation: 139 public DMS assays of other proteins (labels shipped).

Full prompt

BioModelBench: ProteinGym zero-shot substitutions

Goal

Build the best zero-shot protein variant-effect model you can. In 24 hours on H100×8 you may use, combine, adapt or (pre)train any protein models you like (protein language models, MSA-based and structure-based models, ensembles), without using any fitness labels of the test proteins (rules below). Your final model is scored on every variant of all 217 ProteinGym v1.3 deep mutational scanning (DMS) substitution assays (2,465,767 variants of 186 proteins), with ProteinGym's official metric, so your score is directly comparable with the public ProteinGym leaderboard.

Models are scored through BioModelBench's evaluation hub (https://eval.biomodelbench.org), which runs your model in a sandbox with no network, on GPUs, and returns only scores:

  • During your run you can submit your model to the hub, which scores it on the validation assays (139 public DMS assays of other proteins, the same rows as datasets/proteingym_substitutions/val.parquet, whose labels you have). Use it to check that your bundle runs end to end in the scoring sandbox, in time. It never scores a ProteinGym assay.
  • After your run ends we submit your final_model/ once for the official final evaluation on all 217 ProteinGym assays.

The evaluation

Test setAssaysVariantsMetricChanceReference (same rows and metric)
ProteinGym v1.3 DMS substitutions2172,465,767ProteinGym Spearman0.00.4138 (ESM2 650M); 0.5182 (VenusREM)

The metric is ProteinGym's: Spearman between your score and the assay's measurement within each assay; the mean over the assays of each protein (UniProt ID) within a selection type; the mean over the proteins of each selection type (Activity, Binding, Expression, OrganismalFitness, Stability); and the mean of those five. Higher score = fitter (more active, binding, expressed, stable or growing); the scorer never flips signs. AUC, MCC, NDCG and top-10% recall are reported too (aggregated the same way); Spearman is the headline. The references are ProteinGym's own published scores, recomputed on these rows (the leaderboard's top zero-shot models are at about 0.52).

Also scored, after your run, outside the headline: 3 private zero-shot datasets (11,653 variants whose measurements aren't public): two enzyme activity screens and 10 antibody affinity landscapes (single substitutions of an scFv, each measured against its own antigen). Your same final_model/ predicts them, once, with the same columns and metric; their DMS_id and UniProt_ID are opaque ids. The antibody rows add one column, antigen_seq: the binding partner's sequence (target_seq and mutated_sequence are the antibody). Use it or ignore it. Your model gets no feedback on these and you aren't told which proteins they are, so it must handle any sequence it is given: whatever it needs per protein (MSAs, structures) is computed inside the sandbox, with no network, on 1×H100 (16 CPUs, 128 GB RAM) in 2 hours per dataset, or it falls back to what it can compute. A model that fails on them still gets its ProteinGym score.

The test set's inputs are private. You never see them: the hub passes them to your model's predict() in the scoring sandbox. Each row has row_id, DMS_id, UniProt_ID, selection_type, target_seq (wild type), mutant (A23V, or A23V:G45D for multi-mutants; 1-based) and mutated_sequence (IO_SPEC.md has the details). What we publish about it: 2,465,767 variants of 186 proteins in 217 assays; sequences of up to 3,423 residues (mean 394); most variants (1.77M) are multi-mutants. The test proteins themselves are listed in exclusions/ (for the contamination rules below); anything a protein needs (an MSA, a structure, a per-protein model) your bundle ships or your predict() computes.

datasets/proteingym_substitutions/val.parquet: the validation assays with labels (328,933 variants, single substitutions): 60 Domainome abundance assays (Expression), 41 Mega-scale stability domains (Stability) and 38 MaveDB assays (Activity, Binding, OrganismalFitness). None of their proteins is in the test set or a homolog of one (>= 30% identity over half of either sequence). Use it for model selection and to check your score's sign. Compute your validation score with the same aggregation (IO_SPEC.md).

What you must deliver

final_model/ (in your working directory): an evaluation-hub model bundle.

  • predict.py defining predict(df) -> DataFrame and, optionally, load_model(). The hub calls it once per half with every row (all 2,465,767 test variants in one call); df has the input columns above (plus antigen_seq on the private antibody rows; don't fail on extra columns). Return a DataFrame with one float column score, one row per input row, in order. Bundle files are readable next to predict.py (os.environ["BMB_BUNDLE"]).
  • All weights, MSAs, structures and code it needs. It runs with no network, in a sandbox with Python 3.12, numpy, pandas, pyarrow, scipy, scikit-learn, PyYAML, torch (CUDA), transformers, safetensors and accelerate. Put any other packages as wheels (Linux x86_64, Python 3.12) in final_model/wheels/; they're installed offline. Bundle at most 160 GB.
  • The final evaluation runs on 8×H100 (64 CPUs, 1 TB RAM) with 8 hours to predict all 2,465,767 variants; validation submissions run on 1×H100 (16 CPUs, 128 GB RAM) with 2 hours for the 328,933 validation variants. Use every GPU you're given (torch.cuda.device_count(); e.g. one worker process per GPU). For scale: one forward pass of ESM2 650M over every mutated sequence is ~1e9 tokens, about an hour on 8 H100s; wild-type or masked marginals need only one pass per protein or per mutated position (minutes); an MSA search or a structure prediction per protein takes longer. Time your model on synthetic inputs of the test set's size (above) before the run ends.
  • method.md: what you built and why, your data, and your validation results.
  • training_manifest.json: every data source and model checkpoint (URL or id plus version), what you filtered and why, and hashes of your final training files.

Checking your bundle

import os
from bmb_eval.client import Client
hub = Client(os.environ["BMB_HUB"], os.environ["BMB_HUB_TOKEN"])
print(hub.tasks()["budget"])                                 # your evaluation budget
contract = hub.contract("proteingym_suite_v1")                 # the public contract
result = hub.submit("proteingym_suite_v1", "final_model")      # waits; scores the validation assays
  • First run the free local dry run (synthetic inputs, full error output): bmb-eval dryrun contract.json final_model after saving the contract with json.dump.
  • A submission counts once against your budget (40 evaluations for the whole run). Errors come back as fixed codes only. Keep final_model/ in a working state; it's what we evaluate.

Rules

  1. Don't train, tune or select on any listed test dataset: no inputs, no labels, nothing derived from them.
  2. Don't build data around specific test items. That includes analogues enumerated from test molecules or scaffolds, mutants of test proteins beyond what their own training sources contain, and windows chosen to cover test variants. Matching a dataset's general domain, modality or difficulty is fine.
  3. Exclude every identifier in bundle/exclusions/ from training data, and apply the provided checker before training.
  4. Write training_manifest.json: every data source (URL or dataset id plus version), what was filtered and why, and the final training files' hashes.
  5. Don't look up this benchmark's repository, dashboard, past runs or traces.
  6. Use only the model and evaluation endpoints you're given. No hosted LLM APIs from your training or inference code.
  7. Don't modify the evaluation harness. Your model is re-scored outside your container regardless.

Zero-shot rules (this suite):

Check every labelled training file before you use it:

python integrity/check_overlap.py --exclusions exclusions --train <your files or folders>

It flags any table with a sequence column and a label column (DMS_score, score, fitness, ddG, label, ...) whose sequences match a test protein (MMseqs2, >= 90% identity over >= 80% of the shorter sequence). Unlabelled sequences, MSAs and structures of the test proteins are fine and are not flagged. The same check, plus an audit of your full trace, runs after your run. Runs that break the rules are disqualified.

Resources

  • H100×8, 64 CPUs, 1024 GB RAM, 24 hours of wall clock. Plan to use the whole budget.
  • The internet, for public data, papers and public model weights (Hugging Face etc.).
  • No hosted LLM APIs from your code.
Integrity
Data
Per dataset

Leaderboard

Ranked by proteingym spearman; darker = better.

#RunIntegrity
1Claude Code · high20261119T184353 · claude-opus-50.5470.5470.2570.5900.274Flagged$508—
2Claude Code · highprivate · claude-opus-50.5190.519···Pending$226—
3Claude Code · high20261103T231658 · claude-opus-50.5190.519···Flagged$83.73—
4Claude Code · highsingle-model · claude-opus-50.4700.470···Clean$147—
RefESM2 650M (masked marginals)0.4150.415···——

Per-dataset results

Share of the gap from chance to SOTA each run closed.

best agent runother runsreference model privateHover for raw values.
chanceSOTAbest run · SOTAPROTEIN DEEP MUTATIONAL SCANS (ZERO-SHOT)proteingym substitutions proteingym spearman0.547 0.518 VenusREM (ours)
No chance level, or no model above chance, to scale against (raw values, best agent run):
provider f aldh proteingym spearman 0.257provider f metdc proteingym spearman 0.590provider g affinity proteingym spearman 0.274

Test sets

SOTA: best of the models we ran and published results, on the same rows.

DatasetVisibilityMetricRowsChanceSOTASource
Protein deep mutational scans (zero-shot)
proteingym substitutionspublicproteingym spearman2,465,7670.0000.518 VenusREM · recomputed by usProteinGym v1.3 DMS_ProteinGym_substitutions.zip (marks.hms.harvard.edu/proteingym/ProteinGym_v1.3), every row of all 217 assays; assay metadata from reference_files/DMS_substitutions.csv (repo commit 144fe22b); Notin et al. 2023
Private variant-effect screens (zero-shot; not in the headline)
provider f aldh privateproteingym spearman9420.000—Provider F Bioworks enzyme screen (candidates selected from a pooled screen, 1-3 substitutions; label = activity fold over controls). Hub task provider_f_aldh (private/make_private_tasks.py); every row is a test row, so it is scored only in finals
provider f metdc privateproteingym spearman4560.000—Provider F Bioworks enzyme screen (EVcouplings-designed variants, 1-2 substitutions; label = mean strain activity). Hub task provider_f_metdc (private/make_private_tasks.py); every row is a test row, so it is scored only in finals
provider g affinity privateproteingym spearman10,2550.000—Provider G local affinity landscapes (AlphaSeq; 10 scFv antibodies, single substitutions; label = -(log10 Kd change from the parent)); CC BY 4.0, unreleased. Hub task provider_g_affinity (private/make_private_tasks.py); every row is a test row, so it is scored only in finals