The DOI matches its Crossref record; 1 of the 1 references it cites were found in a registry or an index.
Pretrained transformers applied to clinical studies improve predictions of treatment efficacy and associated biomarkers
Open accessPreprint — published as 10.1038/s41467-025-57181-2
Abstract
Cancer treatment has made significant advancements in recent decades, leading to improved outcomes and quality of life for many patients. Despite the array of available therapies, including targeted, hormone, and checkpoint blockade immunotherapy, many patients experience treatment failure or eventual resistance. Attempts to predict the efficacy of therapies, particularly immuno-oncology therapies, have suffered from limited accuracy and difficulties in identifying molecular and other determinants of response. Improving treatment prediction alone is insufficient to create clinically meaningful research tools; additional prerequisites for this goal involve accommodating small data sets, effectively handling sparse features, integrating diverse clinical data, addressing missing measurements, ensuring interpretability, and extracting valuable biological insights for both clinical context and further research. Multimodal deep-learning models offer a promising avenue to surmount these challenges by leveraging their capacity and flexibility to learn from expansive and varied clinical and molecular data sets. Similar to their application in natural language and other domains, deep-learning models can uncover complex relationships within data that are pertinent to survival and treatment response. In this study, we introduce an explainable transformer-based deep-learning framework that addresses these challenges. This framework yields predictions of survival outcomes, as quantified by concordance index, that surpass the performance of state-of-the-art methods such as Cox proportional hazards, survival random forest, and tumor mutation burden, across diverse independent data sets. We developed the clinical transformer, a deep neural-network survival prediction framework that capitalizes on the flexibility of the deep-learning model, including training strategies like gradual and transfer learning, to maximize the use of available data to enhance survival predictions and generate actionable biological insights. Finally, we illustrate the future potential of the clinical transformer’s generative capability in early-stage clinical studies. By perturbing molecular features associated with immune checkpoint inhibition treatment in immunotherapy-naive patient profiles, we identified a subset of patients who may benefit from immunotherapy. These findings were subsequently validated across three independent immunotherapy treatment cohorts. We anticipate that this research will empower the scientific community to further harness data for the benefit of patients.
Overview
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Figures
![Fig. 1 Overview of the Clinical Transformer framework. a Framework capabilities and analysis overview of the Clinical Transformer to process data to insights. Model interpretability is extracted by using the output embeddings to generate functional modules (group or input features) that are associated with the outcome. The Clinical Transformer is shown as a generative model to recreate a patient’s trajectory of response, using patient embeddings with a perturbation-based approach. Embeddings can also generate synthetic data restricted by certain conditions. b Input data are represented by [Key, Value] pairs, where the key is the feature name and the value corresponds to the numerical score of the feature (e.g., [Age, 20] represents a patient with an age of 20 years). Feature names and values are embedded and fed to a transformer encoder architecture without positional encoding. The special input token [TASK, 1] is added in front of every input sample, and the output of this token is used to predict patient survival or classification outcomes. The special token [MASK] is used for performing the pretraining stage, in which the model is asked to predict the masked token names (corresponding to the masked features). c The Clinical Transformer trained in self-supervised mode uses dataset A to train over a masked-prediction task in which input features are randomly ignored and used as labels. Thus, the objective of the model is to predict the feature name of the ignored input features. After pretraining, the weights of the model can be used to fine-tune into a specialized task such as responder prediction or survival analysis. When input data A are different from input data B, it refers to transfer learning, whereas if the same data are used for both tasks (data A = data B), it is called gradual learning, as the model first learns about the data in an unsupervised way and then specializes on a specific task over the same dataset (e.g., survival prediction).](/paper-figures/e8ae3cadc17c4298aa8de2f011bd8498/pretrained-transformers-applied-to-clinical-studies-improve-predictions-of-figure-1.jpg)
![Fig. 2 Clinical Transformer performance and impact of pretraining. a Kaplan-Meier (KM) curves of the Clinical Transformer applied to the Chowell et al.3 dataset, using the median survival score to stratify patients into high and low populations. b KM curves of Chowell et al.3 random forest model used in the testing dataset (using Chowell et al. optimal pan-cancer cutoff = 0.238). c KM curves for evaluating TMB score in the Chowell et al.3 dataset (cutoff = 10 mutations per megabase [mut/mb]). P-values for HR in (a–c) reported from a Wald statistical test. d Learning curves of the Clinical Transformer (C-index vs. training epochs), evaluated on the 10 testing splits from the Samstein et al.33 pan-cancer dataset, with and without using GENIE data for model pretraining. e Learning curves of the Clinical Transformer, evaluated on the 10 testing splits from the MYSTIC dataset, with and without using GENIE data for model pretraining. f Learning curves of the Clinical Transformer, evaluated on the 10 testing splits from the MYSTIC dataset, with and without using the Chowell et al. 3 dataset for model pretraining. Source data are provided in the SourceData file.](/paper-figures/e2fcb2fcf2734555a0ebcad1e71b36a3/pretrained-transformers-applied-to-clinical-studies-improve-predictions-of-figure-2.jpg)




Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Highly accurate protein structure prediction with AlphaFold
Jumper, J., Evans, R., Pritzel, A., Green, T., Figurnov, M., Ronneberger, O., Tunyasuvunakool, K., Bates, R., Žídek, A., Potapenko, A., et al. (2021) · Nature · doi:10.1038/s41586-021-03819-2 · Cited by 43,764
Research works printed but not linked: 59
- 10.1038/nrd.2016.32 · DOI
- 10.1038/nrc.2016.56 · DOI
- 2022, Improved prediction of immune checkpoint blockade efficacy across multiple cancer types, Nature Biotechnology, 40, 499, 10.1038/s41587-021-01070-8 · DOI
- 2022, Multimodal integration of radiology, pathology and genomics for prediction of response to PD-(L) 1 blockade in patients with non-small cell lung cancer, Nature cancer, 3, 1151, 10.1038/s43018-022-00416-8 · DOI · Paper page
- Swanson, K. , Wu, E. , Zhang, A. , Alizadeh, A.A. & Zou, J . From patterns to patients: Advances in clinical machine learning for cancer diagnosis, prognosis, and treatment. Cell (2023). · DOI · Paper page
- 10.1038/s41586-019-1730-1 · DOI · Paper page
- 10.1038/s41591-021-01450-2 · DOI
- 10.1056/NEJMoa1501824 · DOI · Paper page
- 10.1016/S1470-2045(20)30445-9 · DOI · Paper page
- 10.1056/NEJMoa1910231 · DOI · Paper page
- Vaswani, A. et al. in 31st Conference on Neural Information Processing Systems 6000-6010 (Long Beach, CA; 2017).
- 2020, Language models are few-shot learners, Advances in neural information processing systems, 33, 1877
- 2022, Training language models to follow instructions with human feedback, Advances in Neural Information Processing Systems, 35, 27730
- Caron, M. et al. in Proceedings of the IEEE/CVF international conference on computer vision 9650–9660 (2021).
- 2020, Improved protein structure prediction using potentials from deep learning, Nature, 577, 706, 10.1038/s41586-019-1923-7 · DOI · Paper page
- Ni, B. , Kaplan, D.L. & Buehler, M.J . Generative design of de novo proteins based on secondary-structure constraints using an attention-based diffusion model. Chem (2023). · DOI
- 2022, ProtGPT2 is a deep unsupervised language model for protein design, Nature communications, 13, 4348, 10.1038/s41467-022-32007-7 · DOI · Paper page
- 10.1016/j.neucom.2021.03.091 · DOI · Paper page
- Devlin, J. , Chang, M.-W. , Lee, K. & Toutanova, K . Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018). · arXiv
- 2022, AACR Project GENIE: 100,000 cases and beyond, Cancer Discovery, 12, 2044, 10.1158/2159-8290.CD-21-1547 · DOI
- 10.1001/jama.1982.03320430047030 · DOI · Paper page
- 10.1016/j.annonc.2020.07.002 · DOI
- 10.1016/j.immuni.2018.03.023 · DOI · Paper page
- 10.1038/s41588-018-0312-8 · DOI · Paper page
- Ma, X. , Long, L. , Moon, S. , Adamson, B.J. & Baxi, S.S . Comparison of population characteristics in real-world clinical oncology databases in the US: Flatiron Health, SEER, and NPCR. MedRxiv, 2020.2003. 2016.20037143 (2020). · DOI
- Park, J.C. , Ashok, A. , Liu, C. & Kang, H. Real-World Experience of NTRK Fusion– Positive Thyroid Cancer. JCO Precision Oncology 6 (2022). · DOI
- 2020, Explainability for artificial intelligence in healthcare: a multidisciplinary perspective, BMC medical informatics and decision making, 20, 1
- 2020, From local explanations to global understanding with explainable AI for trees, Nature machine intelligence, 2, 56, 10.1038/s42256-019-0138-9 · DOI · Paper page
- Adebayo, J. et al. Sanity checks for saliency maps. Advances in neural information processing systems 31 (2018).
- Molnar, C. et al. in xxAI-Beyond Explainable AI: International Workshop, Held in Conjunction with ICML 2020, July 18, 2020, Vienna, Austria, Revised and Extended Papers 39–68 (Springer, 2022). · DOI · Paper page
- 2001, Random forests, Machine learning, 45, 5, 10.1023/A:1010933404324 · DOI · Paper page
- 10.1126/science.aaa1348 · DOI · Paper page
- Xie, S. , Chen, D. , Zhang, R. & Xue, H. Deep features analysis with attention networks. arXiv preprint arXiv:1901.10042 (2019). · arXiv
- Vashishth, S. , Upadhyay, S. , Tomar, G.S. & Faruqui, M. Attention interpretability across nlp tasks. arXiv preprint arXiv:1909.11218 (2019). · arXiv
- Vig, J. & Belinkov, Y. Analyzing the structure of attention in a transformer language model. arXiv preprint arXiv:1906.04284 (2019). · DOI · Paper page
- Jain, S. & Wallace, B.C. Attention is not explanation. arXiv preprint arXiv:1902.10186 (2019). · arXiv
- Rigotti, M. , Miksovic, C. , Giurgiu, I. , Gschwind, T. & Scotton, P. in International Conference on Learning Representations (2022).
- Chefer, H. , Gur, S. & Wolf, L. in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 782–791 (2021). · DOI · Paper page
- 2022, Pre-treatment serum albumin and mutational burden as biomarkers of response to immune checkpoint blockade, npj Precision Oncology, 6, 23, 10.1038/s41698-022-00267-7 · DOI
- Rizzo, A. , Ricci, A.D. & Brandi, G . PD-L1, TMB, MSI, and other predictors of response to immune checkpoint inhibitors in biliary tract cancer. Cancers 13, 558 (2021). · DOI
- 10.1093/annonc/mdz134 · DOI
- Palmeri, M. et al. Real-world application of tumor mutational burden-high (TMB-high) and microsatellite instability (MSI) confirms their utility as immunotherapy biomarkers. ESMO open 7, 100336 (2022). · DOI
- 10.1016/j.lungcan.2022.06.010 · DOI
- 10.1136/esmoopen-2020-000706 · DOI
- Wohlhieter, C.A. et al. Concurrent mutations in STK11 and KEAP1 promote ferroptosis protection and SCD1 dependence in lung cancer. Cell reports 33, 108444 (2020). · DOI
- 10.1038/s41588-018-0200-2 · DOI · Paper page
- 10.1126/science.aad0095 · DOI · Paper page
- Lan, Z. , et al. in arXiv (2020).
- Kojima, T. , Gu, S.S. , Reid, M. , Matsuo, Y. & Iwasawa, Y. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916 (2022). · arXiv
- Ethayarajh, K. How contextual are contextualized word representations? comparing the geometry of BERT, ELMo, and GPT-2 embeddings. arXiv preprint arXiv:1909.00512 (2019). · DOI · Paper page
- McInnes, L. , Healy, J. & Melville, J. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv preprint arXiv:1802.03426 (2018). · DOI · Paper page
- 10.1038/nbt.4314 · DOI · Paper page
- 10.1016/J.CCELL.2021.04.014 · DOI · Paper page
- 10.1038/s41591-019-0654-5 · DOI · Paper page
- 10.1016/j.cell.2017.09.028 · DOI · Paper page
- Katzman, J.L. et al. DeepSurv: personalized treatment recommender system using a Cox proportional hazards deep neural network. BMC Med Res Methodol 18, 24 (2018). · DOI · Paper page
- Yousefi, S. et al. Predicting clinical outcomes from large scale cancer genomic profiles with deep survival models. Sci Rep 7, 11707 (2017). · DOI
- 2021, Transformer-based deep survival analysis, Proc Mach Learn Res, 146, 132
- 2020, Hypothesis-free deep survival learning applied to the tumour microenvironment in gastric cancer, The Journal of Pathology: Clinical Research, 6, 273
Metadata
- Authors
- Arango-Argoty, G., Kipkogei, E., Stewart, R., Patra, A., Kagiampakis, I., & Jacob, E.
- Affiliations
- AstraZeneca (United States) (US)
- AstraZeneca (United Kingdom) (GB)
- Corresponding author
- Arango-Argoty, Gustavo
- Jacob, Etai
- Venue
- Nature Communications
- Publisher
- openRxiv
- Published
- 2023-09-13
- Volume
- 16
- Issue
- 1
- Pages
- 2101-2101
- ISSN
- 2041-1723 (ISSN-L)
- PMC
- PMC11873189
- OpenAlex
- W4408071852
- Cited by
- 34
- References
- 1
- Citations by year
- 2026: 22 · 2025: 10 · 2024: 2
- FWCI
- 12.69
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- Locations
- Nature Communications (publishedVersion, cc-by)
- medRxiv (acceptedVersion)
- Research Square (acceptedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- RePEc: Research Papers in Economics (submittedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Funders
- AstraZeneca
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
- Health Sciences › Medicine › Radiology, Nuclear Medicine and Imaging › Radiomics and Machine Learning in Medical Imaging
- Life Sciences › Biochemistry, Genetics and Molecular Biology › Cancer Research › Breast Cancer Treatment Studies
- Keywords
- pre-trained transformer models, tumor response prediction, treatment resistance, survival prediction, biomarkers, self-supervised learning, transfer learning, explainable deep learning, missing data, in silico perturbation, immunotherapy response
- MeSH terms
- Deep Learning, Humans, Immunotherapy, Neoplasms, Biomarkers, Tumor, Treatment Outcome
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review