protein-mutational-effect-eval
Multi-level Protein Representation Learning for Blind Mutational Effect Prediction — Yang et al. (2023) (arXiv:2306.04899, 2023)
What this evaluates
Evaluates a model's ability to predict the functional or stability impact of amino acid substitutions in proteins without prior experimental data for the specific variant. It probes zero-shot generalization across diverse protein families, taxonomic groups, and mutational depths (single-site vs. deep mutations).
Datasets
- DTm — total 2967; splits: test (-1)
- DDG — total 2967; splits: test (-1)
- ProteinGym — total ?; splits: test (-1)
Metrics
TPR@threshold (primary) — range: [0, 1]
- True Positive Rate at specified percentile thresholds (5%, 25%, 50%). Measures the fraction of truly top-performing mutants correctly identified in the model's top-k predictions, where k is determined by the threshold percentage of the total dataset size.
Spearman's rho — range: [-1, 1]
- Rank-based correlation coefficient measuring the monotonic relationship between predicted mutational effect scores and experimentally measured values. Computed separately by mutational depth (single, double, all) and taxon (prokaryote, human, eukaryote, virus).
Input / output format
Input: Protein domain represented as a kNN graph where nodes are residues with features extracted from a frozen ESM2-t33 prefix model, and edges encode spatial topology inferred by a 6-layer EGNN.
Output: Continuous predicted score representing the mutational effect (e.g., change in melting temperature ΔTm, change in Gibbs free energy ΔΔG, or relative fitness).
Scoring recipe
def compute_tpr(pred_scores, true_scores, pct):
k = max(1, int(len(true_scores) * pct / 100))
top_k_true = set(np.argsort(true_scores)[-k:])
top_k_pred = set(np.argsort(pred_scores)[-k:])
return len(top_k_true & top_k_pred) / len(top_k_true)
def compute_spearman_rho(pred_scores, true_scores):
return scipy.stats.spearmanr(pred_scores, true_scores).correlation
Common pitfalls
- TPR thresholds (5%, 25%, 50%) refer to percentile cutoffs for top-k selection, not standard precision/recall operating points.
- ProteinGym evaluation explicitly excludes the longest protein (A0A140D2T1_ZIKV_Sourisseau_growth_2019) due to AlphaFold2 folding failure, which must be accounted for in dataset construction.
- Node feature choice (ESM2 version) critically impacts performance; using larger models like t36 can degrade results compared to t33 due to over-parameterization or distribution shift.
Evidence (verbatim from paper)
Table 1 evaluates 100 protein assays using TPR at 5%, 25%, and 50%, wherein P13LG consistently outperforms competitors of varying model sizes. To further examine how our model efficiently achieves top performance relative to other large models, Figure 2 visualizes Spearman’s correlation from predictions of pre-trained models at different model scales.
Citation
@misc{tan2023p13lg,
title={Multi-level Protein Representation Learning for Blind Mutational Effect Prediction},
author={Yang et al. (2023)},
year={2023},
note={arXiv:2306.04899}
}
1---2name: protein-mutational-effect-eval3description: Evaluates a model's ability to predict the functional or stability impact of amino acid substitutions in proteins without prior experimental data for the specific variant. It probes zero-shot generalization across diverse protein families, taxonomic groups, and mutational depths (single-site vs. deep mutations). Use when the user wants to benchmark on DTm, DDG, ProteinGym, or asks about evaluating this task. Reports TPR@threshold.4---56# protein-mutational-effect-eval78> Multi-level Protein Representation Learning for Blind Mutational Effect Prediction — Yang et al. (2023) (arXiv:2306.04899, 2023)910## What this evaluates1112Evaluates a model's ability to predict the functional or stability impact of amino acid substitutions in proteins without prior experimental data for the specific variant. It probes zero-shot generalization across diverse protein families, taxonomic groups, and mutational depths (single-site vs. deep mutations).1314## Datasets1516- **DTm** — total 2967; splits: test (-1)17- **DDG** — total 2967; splits: test (-1)18- **ProteinGym** — total ?; splits: test (-1)1920## Metrics2122- `TPR@threshold` **(primary)** — range: [0, 1]23 - True Positive Rate at specified percentile thresholds (5%, 25%, 50%). Measures the fraction of truly top-performing mutants correctly identified in the model's top-k predictions, where k is determined by the threshold percentage of the total dataset size.24- `Spearman's rho` — range: [-1, 1]25 - Rank-based correlation coefficient measuring the monotonic relationship between predicted mutational effect scores and experimentally measured values. Computed separately by mutational depth (single, double, all) and taxon (prokaryote, human, eukaryote, virus).2627## Input / output format2829**Input**: Protein domain represented as a kNN graph where nodes are residues with features extracted from a frozen ESM2-t33 prefix model, and edges encode spatial topology inferred by a 6-layer EGNN.3031**Output**: Continuous predicted score representing the mutational effect (e.g., change in melting temperature ΔTm, change in Gibbs free energy ΔΔG, or relative fitness).3233## Scoring recipe3435```python36def compute_tpr(pred_scores, true_scores, pct):37 k = max(1, int(len(true_scores) * pct / 100))38 top_k_true = set(np.argsort(true_scores)[-k:])39 top_k_pred = set(np.argsort(pred_scores)[-k:])40 return len(top_k_true & top_k_pred) / len(top_k_true)4142def compute_spearman_rho(pred_scores, true_scores):43 return scipy.stats.spearmanr(pred_scores, true_scores).correlation44```4546## Common pitfalls4748- TPR thresholds (5%, 25%, 50%) refer to percentile cutoffs for top-k selection, not standard precision/recall operating points.49- ProteinGym evaluation explicitly excludes the longest protein (A0A140D2T1_ZIKV_Sourisseau_growth_2019) due to AlphaFold2 folding failure, which must be accounted for in dataset construction.50- Node feature choice (ESM2 version) critically impacts performance; using larger models like t36 can degrade results compared to t33 due to over-parameterization or distribution shift.5152## Evidence (verbatim from paper)5354> Table 1 evaluates 100 protein assays using TPR at 5%, 25%, and 50%, wherein P13LG consistently outperforms competitors of varying model sizes. To further examine how our model efficiently achieves top performance relative to other large models, Figure 2 visualizes Spearman’s correlation from predictions of pre-trained models at different model scales.5556## Citation5758```bibtex59@misc{tan2023p13lg,60 title={Multi-level Protein Representation Learning for Blind Mutational Effect Prediction},61 author={Yang et al. (2023)},62 year={2023},63 note={arXiv:2306.04899}64}65```6667- arXiv: 2306.04899