Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Aug 13;9(1):282.
doi: 10.1038/s41698-025-01082-6.

PharmaFormer predicts clinical drug responses through transfer learning guided by patient derived organoid

Affiliations

PharmaFormer predicts clinical drug responses through transfer learning guided by patient derived organoid

Yuru Zhou et al. NPJ Precis Oncol. .

Abstract

A major challenge in effective cancer treatment is the variability of drug responses among patients. Patient-derived organoids greatly preserve the genetic and histological characteristics even the drug sensitivities of primary tumor tissues, therefore provide a compelling approach to predict clinical outcome. However, the individual organoid culture and following drug response test are time and cost-consuming, which hinders the potential clinical application. Here, we developed PharmaFormer, a clinical drug response prediction model based on custom Transformer architecture and transfer learning. PharmaFormer was initially pre-trained with the abundant gene expression and drug sensitivity data of 2D cell lines, and was then finalized through a model further fine-tuned with the limited organoid pharmacogenomic data accumulated at the present stage. Our results demonstrate that PharmaFormer, integrating both pan-cancer cell lines and organoids of a specific type of tumor, provides a dramatically improved accurate prediction of clinical drug response. This study highlights that advanced AI models combined with biomimetic organoid models will accelerate precision medicine and future drug development.

PubMed Disclaimer

Conflict of interest statement

Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1. Schematic of the PharmaFormer model.
PharmaFormer leverages large-scale parallel drug testing on cell lines combined with gene expression data to build a pre-trained model that is further fine-tuned with organoid-specific data for clinical drug response predictions. A Workflow of PharmaFormer. B The architecture of PharmaFormer includes a feature extractor that integrates cellular and drug structural data into a transformer encoder tailored for drug response prediction. C Detailed composition of each algorithmic module, highlighting its role in prediction accuracy.
Fig. 2
Fig. 2. Comparative analysis of PharmaFormer pre-trained model versus classical machine learning models on cell line dataset.
A Five-fold validation of average per-drug Pearson correlation coefficients comparing PharmaFormer to classical machine learning models. B Performance comparison of PharmaFormer and classical machine learning models across various tissue types, represented by average per-drug Pearson correlation coefficients. C Average per-drug Pearson correlation coefficients of PharmaFormer versus those of classical machine learning models across each TCGA tumor category. D Pearson correlation coefficients of PharmaFormer and classical machine learning models across FDA-approved drugs.
Fig. 3
Fig. 3. Evaluation of PharmaFormer model in predicting drug response in colon cancer cohort and bladder cancer cohort.
A Kaplan–Meier survival curves for colon cancer patients receiving 5-fluorouracil and oxaliplatin treatment, comparing predictions from both the pre-trained and fine-tuned PharmaFormer models. B Kaplan–Meier survival curves for bladder cancer patients treated with gemcitabine and cisplatin, comparing predictions from PharmaFormer’s pre-trained and fine-tuned models. C Forest plot illustrating the effect of various training strategies on PharmaFormer’s predictive performance in colon cancer, including training with cell lines only, colon cancer organoids only, a combined dataset of cell lines and organoids, and a sequential training approach of cell lines followed by organoid fine-tuning. D Forest plot comparing PharmaFormer’s performance in bladder cancer under different training conditions: cell lines only, bladder cancer organoids only, combined cell lines and organoids, and sequential pre-training with cell lines followed by organoid fine-tuning. Statistical significance, hazard ratios, and confidence intervals were derived using the Cox proportional hazards model (CoxPHFitter) from the lifelines package.
Fig. 4
Fig. 4. Performance evaluation of PharmaFormer with different fine-tuned dataset and canonical machine learning methods.
A, B Forest plots assessing the impact of the transfer learning approach on clinical drug response predictions, based on cell line and organoid data from matched tumor types (colon and bladder cancer). C, D Comparative clinical prediction performance of PharmaFormer against benchmark models for colon and bladder cancer. The analysis benchmarks PharmaFormer against classical machine learning algorithms, a biological network-based method, and a deep neural network (DNN). Forest plots display hazard ratios (HRs) and 95% confidence intervals, comparing models trained on cell lines only (blue) versus models pre-trained on cell lines and fine-tuned with organoid data (red). All metrics were computed using the Cox proportional hazards model.

Similar articles

References

    1. Foulkes, W. D., Smith, I. E. & Reis-Filho, J. S. Triple-negative breast cancer. N. Engl. J. Med.363, 1938–1948 (2010). - PubMed
    1. Bruix, J. et al. Regorafenib for patients with hepatocellular carcinoma who progressed on sorafenib treatment (RESORCE): a randomised, double-blind, placebo-controlled, phase 3 trial. Lancet389, 56–66 (2017). - PubMed
    1. Lopez-Beltran, A. et al. Advances in diagnosis and treatment of bladder cancer. BMJ384, e076743 (2024). - PubMed
    1. Guo, L. et al. Molecular profiling provides clinical insights into targeted and immunotherapies as well as colorectal cancer prognosis. Gastroenterology165, 414–428.e7 (2023). - PubMed
    1. Passaro, A. et al. Cancer biomarkers: emerging trends and clinical implications for personalized treatment. Cell187, 1617–1635 (2024). - PMC - PubMed

LinkOut - more resources