deepprotein-benchmark-eval
DeepProtein: Deep Learning Library and Benchmark for Protein Sequence Learning — Jiaqing Xie et al. (2024) (arXiv:2410.02023, 2024)
What this evaluates
Evaluates deep learning models on a comprehensive suite of protein sequence learning tasks, including function prediction, subcellular localization, protein-protein interaction, epitope/paratope prediction, antibody developability, CRISPR repair outcomes, and protein structure prediction.
Datasets
- Fluorescence — total 54025; splits: train (-1), val (-1), test (-1)
- Stability — total 68934; splits: train (-1), val (-1), test (-1)
- β-lactamase — total 5198; splits: train (-1), val (-1), test (-1)
- Solubility — total 71419; splits: train (-1), val (-1), test (-1)
- Subcellular — total 13961; splits: train (-1), val (-1), test (-1)
- Binary — total 8634; splits: train (-1), val (-1), test (-1)
- PPI Affinity — total 2682; splits: train (-1), val (-1), test (-1)
- Yeast — total 2172; splits: train (-1), val (-1), test (-1)
- Human PPI — total 7348; splits: train (-1), val (-1), test (-1)
- IEDB — total 3159; splits: train (-1), val (-1), test (-1)
- PDB-Jespersen — total 447; splits: train (-1), val (-1), test (-1)
- SAbDab-Liberis — total 1023; splits: train (-1), val (-1), test (-1)
- TAP — total 242; splits: train (-1), val (-1), test (-1)
- SAbDab-Chen — total 2409; splits: train (-1), val (-1), test (-1)
- CRISPR-Leenay — total 1521; splits: train (-1), val (-1), test (-1)
- Fold — total 13766; splits: train (-1), val (-1), test (-1)
- Secondary Structure — total 11361; splits: train (-1), val (-1), test (-1)
Metrics
Accuracy (primary) — range: [0, 1]
- Fraction of correctly predicted labels over total samples. Used for classification tasks (e.g., Solubility, Subcellular, PPI, Fold).
MSE — range: [0, inf)
- Mean Squared Error between predicted and ground-truth continuous values. Used for regression tasks (e.g., Fluorescence, Stability, β-lactamase, PPI Affinity, TAP, SAbDab-Chen).
Input / output format
Input: Amino acid sequences (single or paired for PPI/developability), optionally augmented with structural features or edge information for graph-based models.
Output: Predicted class labels, binary indicators, or continuous values depending on the task.
Scoring recipe
def compute_metric(predictions, gold, task_type):
if task_type == 'classification':
return sum(p == g for p, g in zip(predictions, gold)) / len(gold)
elif task_type == 'regression':
return sum((p - g) ** 2 for p, g in zip(predictions, gold)) / len(gold)
elif task_type == 'residue_level':
return residue_level_aggregate(predictions, gold)
return None
Common pitfalls
- Splits strictly follow PEER benchmark and TDC conventions rather than random splits; using random splits causes data leakage and invalidates results.
- Residue-level tasks (epitope, paratope, secondary structure) require sequence-to-sequence alignment and residue-level aggregation, not sequence-level averaging.
- Paired-input tasks (PPI, developability) must maintain correct sequence pairing during batching and evaluation to avoid mismatched labels.
Evidence (verbatim from paper)
In this library, we follow the train-validation-test split in PEER benchmark (Xu et al., 2022) and TDC (Huang et al., 2022). Each individual split is reported from Table 2 to 7.
Citation
@misc{xie2024deepprotein,
title={DeepProtein: Deep Learning Library and Benchmark for Protein Sequence Learning},
author={Jiaqing Xie et al. (2024)},
year={2024},
note={arXiv:2410.02023}
}
1---2name: deepprotein-benchmark-eval3description: Evaluates deep learning models on a comprehensive suite of protein sequence learning tasks, including function prediction, subcellular localization, protein-protein interaction, epitope/paratope prediction, antibody developability, CRISPR repair outcomes, and protein structure prediction. Use when the user wants to benchmark on Fluorescence, Stability, β-lactamase, Solubility, Subcellular, Binary, PPI Affinity, Yeast, Human PPI, IEDB, PDB-Jespersen, SAbDab-Liberis, TAP, SAbDab-Chen, CRISPR-Leenay, Fold, Secondary Structure, or asks about evaluating this task. Reports Accuracy.4---56# deepprotein-benchmark-eval78> DeepProtein: Deep Learning Library and Benchmark for Protein Sequence Learning — Jiaqing Xie et al. (2024) (arXiv:2410.02023, 2024)910## What this evaluates1112Evaluates deep learning models on a comprehensive suite of protein sequence learning tasks, including function prediction, subcellular localization, protein-protein interaction, epitope/paratope prediction, antibody developability, CRISPR repair outcomes, and protein structure prediction.1314## Datasets1516- **Fluorescence** — total 54025; splits: train (-1), val (-1), test (-1)17- **Stability** — total 68934; splits: train (-1), val (-1), test (-1)18- **β-lactamase** — total 5198; splits: train (-1), val (-1), test (-1)19- **Solubility** — total 71419; splits: train (-1), val (-1), test (-1)20- **Subcellular** — total 13961; splits: train (-1), val (-1), test (-1)21- **Binary** — total 8634; splits: train (-1), val (-1), test (-1)22- **PPI Affinity** — total 2682; splits: train (-1), val (-1), test (-1)23- **Yeast** — total 2172; splits: train (-1), val (-1), test (-1)24- **Human PPI** — total 7348; splits: train (-1), val (-1), test (-1)25- **IEDB** — total 3159; splits: train (-1), val (-1), test (-1)26- **PDB-Jespersen** — total 447; splits: train (-1), val (-1), test (-1)27- **SAbDab-Liberis** — total 1023; splits: train (-1), val (-1), test (-1)28- **TAP** — total 242; splits: train (-1), val (-1), test (-1)29- **SAbDab-Chen** — total 2409; splits: train (-1), val (-1), test (-1)30- **CRISPR-Leenay** — total 1521; splits: train (-1), val (-1), test (-1)31- **Fold** — total 13766; splits: train (-1), val (-1), test (-1)32- **Secondary Structure** — total 11361; splits: train (-1), val (-1), test (-1)3334## Metrics3536- `Accuracy` **(primary)** — range: [0, 1]37 - Fraction of correctly predicted labels over total samples. Used for classification tasks (e.g., Solubility, Subcellular, PPI, Fold).38- `MSE` — range: [0, inf)39 - Mean Squared Error between predicted and ground-truth continuous values. Used for regression tasks (e.g., Fluorescence, Stability, β-lactamase, PPI Affinity, TAP, SAbDab-Chen).4041## Input / output format4243**Input**: Amino acid sequences (single or paired for PPI/developability), optionally augmented with structural features or edge information for graph-based models.4445**Output**: Predicted class labels, binary indicators, or continuous values depending on the task.4647## Scoring recipe4849```python50def compute_metric(predictions, gold, task_type):51 if task_type == 'classification':52 return sum(p == g for p, g in zip(predictions, gold)) / len(gold)53 elif task_type == 'regression':54 return sum((p - g) ** 2 for p, g in zip(predictions, gold)) / len(gold)55 elif task_type == 'residue_level':56 return residue_level_aggregate(predictions, gold)57 return None58```5960## Common pitfalls6162- Splits strictly follow PEER benchmark and TDC conventions rather than random splits; using random splits causes data leakage and invalidates results.63- Residue-level tasks (epitope, paratope, secondary structure) require sequence-to-sequence alignment and residue-level aggregation, not sequence-level averaging.64- Paired-input tasks (PPI, developability) must maintain correct sequence pairing during batching and evaluation to avoid mismatched labels.6566## Evidence (verbatim from paper)6768> In this library, we follow the train-validation-test split in PEER benchmark (Xu et al., 2022) and TDC (Huang et al., 2022). Each individual split is reported from Table 2 to 7.6970## Citation7172```bibtex73@misc{xie2024deepprotein,74 title={DeepProtein: Deep Learning Library and Benchmark for Protein Sequence Learning},75 author={Jiaqing Xie et al. (2024)},76 year={2024},77 note={arXiv:2410.02023}78}79```8081- arXiv: 2410.02023