ssm-dta-dta-prediction-eval
SSM-DTA: Breaking the Barriers of Data Scarcity in Drug-Target Affinity Prediction — Pei et al. (2022) (arXiv:2206.09818, 2022)
What this evaluates
Evaluates a model's ability to predict binding affinity between drug molecules and target proteins. It probes regression accuracy, correlation strength, and ranking consistency across varying data scarcity and generalization settings.
Datasets
- BindingDB — total ?; splits: train (-1), valid (-1), test (-1)
- DAVIS — total ?; splits: train (-1), valid (-1), test (-1)
- KIBA — total ?; splits: train (-1), valid (-1), test (-1)
Metrics
Concordance Index (CI) (primary) — range: [0, 1]
- Measures the probability that predicted affinity values for two random pairs are ordered correctly relative to ground truth. CI = (pairs_correct + 0.5 * pairs_tied) / pairs_admissible.
RMSE — range: other
- Root mean square error between ground truth affinity scores and predictions. RMSE = sqrt(mean((t - p)^2)).
MSE — range: other
- Mean square error between ground truth affinity scores and predictions. MSE = mean((t - p)^2).
PC — range: other
- Pearson correlation coefficient measuring linear correlation between ground truth and predictions.
R^2 — range: other
- R-squared representing the proportion of variance in the dependent variable predictable from the independent variable. R^2 = 1 - sum((t-p)^2)/sum((t-mean(t))^2).
Input / output format
Input: Paired drug molecule (SMILES string) and target protein (amino acid sequence).
Output: Continuous regression score representing predicted binding affinity.
Scoring recipe
import numpy as np
def compute_ci(t, p):
pairs_admissible = 0
pairs_correct = 0
pairs_tied = 0
for i in range(len(t)):
for j in range(i+1, len(t)):
if t[i] != t[j]:
pairs_admissible += 1
if (t[i] > t[j] and p[i] > p[j]) or (t[i] < t[j] and p[i] < p[j]):
pairs_correct += 1
elif p[i] == p[j]:
pairs_tied += 1
return (pairs_correct + 0.5 * pairs_tied) / pairs_admissible
def compute_rmse(t, p):
return np.sqrt(np.mean((np.array(t) - np.array(p))**2))
Common pitfalls
- BindingDB and DAVIS require log-transforming raw IC50/Ki/Kd values using -log10(x/10^9), whereas KIBA uses a pre-computed aggregated score that should not be transformed.
- Dataset splits differ by dataset: BindingDB uses a 6:1:3 train/valid/test ratio, while DAVIS and KIBA use a 7:1:2 ratio.
- The 'unknown drug' setting on DAVIS requires filtering drugs via substructural k-means outlier detection before evaluation, rather than using a standard random split.
Evidence (verbatim from paper)
Evaluation Metrics. We use (i) mean square error (MSE), (ii) root mean square error (RMSE), (iii) Pearson correlation coefficient (PC) [48], (iv) concordance index (CI) [49]. MSE and RMSE measure the difference between ground truth values and values predicted by the model, (v) R-squared (R^2) [15]. ... Following previous works [5, 14, 18, 15], results on BindingDB dataset are evaluated on RMSE and PC, results on DAVIS and KIBA datasets are evaluated by MSE and CI scores, and results on DAVIS dataset with unknown drug setting are evaluated on MSE and R^2 .
Citation
@misc{pei2022ssmdta,
title={SSM-DTA: Breaking the Barriers of Data Scarcity in Drug-Target Affinity Prediction},
author={Pei et al. (2022)},
year={2022},
note={arXiv:2206.09818}
}
1---2name: ssm-dta-dta-prediction-eval3description: Evaluates a model's ability to predict binding affinity between drug molecules and target proteins. It probes regression accuracy, correlation strength, and ranking consistency across varying data scarcity and generalization settings. Use when the user wants to benchmark on BindingDB, DAVIS, KIBA, or asks about evaluating this task. Reports Concordance Index (CI).4metadata:5 source: https://skillmd.com/skills/qhjqhj00/ssm-dta-dta-prediction-eval6 skill_kind: dataset_eval7 source_arxiv: 2206.098188 bibtex_key: pei2022ssmdta9 confidence: high10---1112# ssm-dta-dta-prediction-eval1314> SSM-DTA: Breaking the Barriers of Data Scarcity in Drug-Target Affinity Prediction — Pei et al. (2022) (arXiv:2206.09818, 2022)1516## What this evaluates1718Evaluates a model's ability to predict binding affinity between drug molecules and target proteins. It probes regression accuracy, correlation strength, and ranking consistency across varying data scarcity and generalization settings.1920## Datasets2122- **BindingDB** — total ?; splits: train (-1), valid (-1), test (-1)23- **DAVIS** — total ?; splits: train (-1), valid (-1), test (-1)24- **KIBA** — total ?; splits: train (-1), valid (-1), test (-1)2526## Metrics2728- `Concordance Index (CI)` **(primary)** — range: [0, 1]29 - Measures the probability that predicted affinity values for two random pairs are ordered correctly relative to ground truth. CI = (pairs_correct + 0.5 * pairs_tied) / pairs_admissible.30- `RMSE` — range: other31 - Root mean square error between ground truth affinity scores and predictions. RMSE = sqrt(mean((t - p)^2)).32- `MSE` — range: other33 - Mean square error between ground truth affinity scores and predictions. MSE = mean((t - p)^2).34- `PC` — range: other35 - Pearson correlation coefficient measuring linear correlation between ground truth and predictions.36- `R^2` — range: other37 - R-squared representing the proportion of variance in the dependent variable predictable from the independent variable. R^2 = 1 - sum((t-p)^2)/sum((t-mean(t))^2).3839## Input / output format4041**Input**: Paired drug molecule (SMILES string) and target protein (amino acid sequence).4243**Output**: Continuous regression score representing predicted binding affinity.4445## Scoring recipe4647```python48import numpy as np49def compute_ci(t, p):50 pairs_admissible = 051 pairs_correct = 052 pairs_tied = 053 for i in range(len(t)):54 for j in range(i+1, len(t)):55 if t[i] != t[j]:56 pairs_admissible += 157 if (t[i] > t[j] and p[i] > p[j]) or (t[i] < t[j] and p[i] < p[j]):58 pairs_correct += 159 elif p[i] == p[j]:60 pairs_tied += 161 return (pairs_correct + 0.5 * pairs_tied) / pairs_admissible6263def compute_rmse(t, p):64 return np.sqrt(np.mean((np.array(t) - np.array(p))**2))65```6667## Common pitfalls6869- BindingDB and DAVIS require log-transforming raw IC50/Ki/Kd values using -log10(x/10^9), whereas KIBA uses a pre-computed aggregated score that should not be transformed.70- Dataset splits differ by dataset: BindingDB uses a 6:1:3 train/valid/test ratio, while DAVIS and KIBA use a 7:1:2 ratio.71- The 'unknown drug' setting on DAVIS requires filtering drugs via substructural k-means outlier detection before evaluation, rather than using a standard random split.7273## Evidence (verbatim from paper)7475> Evaluation Metrics. We use (i) mean square error (MSE), (ii) root mean square error (RMSE), (iii) Pearson correlation coefficient (PC) [48], (iv) concordance index (CI) [49]. MSE and RMSE measure the difference between ground truth values and values predicted by the model, (v) R-squared (R^2) [15]. ... Following previous works [5, 14, 18, 15], results on BindingDB dataset are evaluated on RMSE and PC, results on DAVIS and KIBA datasets are evaluated by MSE and CI scores, and results on DAVIS dataset with unknown drug setting are evaluated on MSE and R^2 .7677## Citation7879```bibtex80@misc{pei2022ssmdta,81 title={SSM-DTA: Breaking the Barriers of Data Scarcity in Drug-Target Affinity Prediction},82 author={Pei et al. (2022)},83 year={2022},84 note={arXiv:2206.09818}85}86```8788- arXiv: 2206.09818