--- library_name: pytorch tags: - drug-discovery - compound-protein-interaction - binding-affinity - chemprop - regression metrics: - mse license: other --- # PerceiverCPI baseline checkpoints Reproduced baseline checkpoints of **Perceiver CPI**, a nested cross-attention network that predicts compound-protein binding affinity from a compound SMILES and a protein amino-acid sequence. They were trained as part of a student reproduction project (Team G1497, KMCE) under a **reduced compute budget**. This repo contains **baseline reproductions only**. Planned extensions (ESM-2 protein encoder, pretrained compound encoder) are future work and are not included. ## Files | Path | Dataset | Setting | |---|---|---| | `davis/model.pt` | Davis | Novel Pair, fold 0 | | `kiba/model.pt` | KIBA | Novel Pair, fold 0 | | `metz/model.pt` | Metz | Novel Pair, fold 0 | Each file is the best-validation-epoch checkpoint of a single model. ## Training setup (reduced budget) - 1 fold (fold 0, seed 0), ensemble size 1. The paper uses 5 folds and an ensemble of 3. - Epochs: Davis 50, Metz 50, KIBA 35 (the paper uses 150). KIBA was cut short by Colab's per-session GPU limit. - Model: original Perceiver CPI architecture (ECFP + D-MPNN compound encoder, 1D-CNN protein encoder, nested cross-attention). Code from the original authors' repository, unmodified. ## Results (test split, Novel Pair, fold 0) | Dataset | Paper MSE / CI | These checkpoints MSE / CI | |---|---|---| | Davis | 0.463 / 0.638 | 0.437 / 0.612 | | KIBA | 0.522 / 0.638 | 0.887 / 0.625 | | Metz | 0.658 / 0.675 | 0.788 / 0.668 | | Davis → PDBbind (cross-domain) | 4.612 / 0.532 | 4.623 / 0.477 | The cross-domain row uses the Davis checkpoint. ## Limitations - **Single fold, single model.** Differences of about 0.06 MSE are within run-to-run noise for this setup. These numbers are not a faithful reproduction of the paper's 5-fold, ensemble-of-3 results. - **KIBA is weak.** Its test MSE (0.887) is worse than always predicting the training mean (0.612), so treat KIBA predictions as low confidence. - **PDBbind CI is 0.477**, below 0.5, so cross-domain ranking is no better than random for this checkpoint. - **Each model predicts on its own dataset's label scale** (for example Davis labels floor at 5.0 and KIBA scores sit around 11-12). Predictions are not comparable across datasets. - Trained only on Davis, KIBA or Metz respectively. Not validated for real drug-discovery decisions. ## Usage Load a single `model.pt` with the chemprop-based Perceiver CPI code, which this repo does not include. The input is a compound SMILES plus a protein amino-acid sequence, and the output is a predicted affinity value on that dataset's scale. ```python from huggingface_hub import hf_hub_download path = hf_hub_download("asif45/perceivercpi-checkpoints", "davis/model.pt") ``` ## Credits https://github.com/dmis-lab/PerceiverCPI