Abstract
Precision oncology aims to match patients with the most effective therapies based on their unique molecular profiles. However, the vast search space of potential drug-cell line interactions and the limitations of generic molecular representations present significant hurdles. We introduce SiamCDR, a novel framework that leverages contrastive learning within a Siamese Neural Network (SNN) architecture to create highly expressive, biologically-informed representations of both drugs and cancer cell lines. By pretraining encoders to recognize functional similarities—such as shared mechanisms of action (MOA) for drugs and common tissue origins for cell lines—SiamCDR achieves superior performance in drug response prediction. Our results demonstrate that SiamCDR-RF significantly outperforms existing state-of-the-art models, achieving a Precision@1 of 0.9647 and successfully identifying promising drug repurposing candidates for challenging cancer types.
Introduction
The primary goal of precision oncology is to identify the optimal therapeutic intervention for a specific genomic context. Despite the availability of large-scale pharmacogenomic screens, identifying the best drug-cell line pairs remains a "needle in a haystack" problem. Existing machine learning approaches often struggle with two primary issues: the use of generic, "off-the-shelf" features (such as structural Morgan fingerprints) that lack biological context, and the scarcity of high-quality experimental data, which leads to overfitting in complex deep learning models.
To address these challenges, we developed SiamCDR. Unlike traditional models that map raw data directly to response predictions, SiamCDR focuses on learning the underlying biological relationships between entities. By forcing the model to understand which drugs and cell lines are functionally related before predicting their interactions, we create a more robust and generalizable framework for drug prioritization.
Methodology
The SiamCDR Framework
The core of the SiamCDR framework is a Siamese Neural Network (SNN) trained via contrastive learning. The process is divided into two main phases:
- Contrastive Pretraining: We utilize two separate encoders for drugs and cell lines. During pretraining, the drug encoder learns to map drugs with the same gene targets into close proximity within a shared embedding space. Simultaneously, the cell line encoder maps cell lines of the same cancer type together. This contrastive loss ensures that the resulting embeddings capture "semantic" biological information rather than just structural or statistical noise.
- Downstream Classification: Once the encoders are trained, the high-quality embeddings are passed to a classifier to predict Cancer Drug Response (CDR). We evaluated several architectures, including Deep Neural Networks (DNN), Logistic Regression (LR), and Random Forest (RF). The SiamCDR-RF variant emerged as the most effective, as the Random Forest classifier successfully captured non-linear relationships while resisting the overfitting common in small-scale biological datasets.
Data Sources and Feature Selection
We utilized two primary datasets from the Broad Institute:
- PRISM Repurposing 19Q4: Provided drug response data for over 700,000 pairs. After rigorous quality filtering, our study focused on 67,838 pairs involving 1,105 drugs and 419 cell lines.
- DepMap Public 22Q2: Provided transcriptomic (RNA expression) data. To maintain computational efficiency and biological relevance, we focused on a curated set of 463 cancer-related genes based on KEGG pathways.
Results and Discussion
Performance Benchmarking
SiamCDR-RF demonstrated a clear superiority over the previous state-of-the-art model, DeepDSC. In evaluations on known cancer types, SiamCDR-RF achieved a Precision@1 of 0.9647, a substantial improvement over DeepDSC’s 0.7059. Furthermore, the model maintained high performance when tested on "novel" cancers not encountered during training, indicating that the contrastive learning process captured fundamental biological principles rather than simple data memorization.
Feature Balance and Interpretability
A critical finding of this study was the balance of feature reliance. Baseline models like DeepDSC were found to rely almost exclusively (90%) on cell line features, effectively ignoring the specific characteristics of the drugs being tested. In contrast, SiamCDR-RF achieved a much more balanced integration of both drug and cell line features. This balance is essential for true personalized medicine, where the specific mechanism of a drug must be matched to the specific vulnerability of a tumor.
Visualizations using t-SNE confirmed that the learned embeddings were biologically meaningful. The model naturally clustered related diseases; for instance, brain cancer and neuroblastoma (both nervous system tumors) were placed in close proximity, as were various gastrointestinal cancers, despite the model not being explicitly programmed with these higher-level anatomical relationships.
Clinical Applications and Drug Repurposing
In a practical test involving 805 unseen cell lines, SiamCDR-RF correctly prioritized unique FDA-approved therapies for 80% of the cancers. While baseline models often defaulted to broad-spectrum drugs like docetaxel, SiamCDR-RF identified specific, targeted treatments. Additionally, the model identified 19 promising drug repurposing candidates for difficult-to-treat malignancies, including bladder, gastric, and prostate cancers—many of which are supported by recent clinical trial evidence.
Conclusion and Future Directions
SiamCDR represents a significant step forward in the use of contrastive learning for drug discovery. By focusing on biologically-informed embeddings, the model overcomes the limitations of generic representations and data scarcity.
Future work will focus on incorporating directionality into drug representations (distinguishing between target activation and inhibition) and integrating multi-omics data (such as proteomics and epigenetics) to provide a more holistic view of cellular response. Additionally, we aim to explore a "mixture of experts" approach to better account for the high variability in drug sensitivity across different tissue types.
Summary updated