Can Artificial Intelligence Predict Immunotherapy Response in Cancer?: The COMPASS Model

Immune checkpoint inhibitors (ICI) are now part of standard treatment in many cancers — but there is a real problem: most patients do not benefit from this treatment , and existing biomarkers (such as PD-L1 expression and tumor mutational burden) lose reliability across cancer types. A team from Harvard Medical School proposes a different, AI-based solution to this problem: COMPASS , a "foundation model" that aims to predict immunotherapy response from the tumor's gene expression profile (transcriptome).
The model was trained on data from 10.184 tumors across 33 cancer types and outperformed 22 currently used methods when tested in 16 independent clinical cohorts covering 7 cancer types and 6 different immunotherapy drugs. This is a truly striking engineering achievement. However, the article's own authors emphasize: this is a discovery tool, not a clinical decision tool — and the publication explicitly states that the model "should never be used alone to deny immunotherapy."
Who will benefit from immunotherapy and who will not is one of oncology's most difficult questions. Although current clinical tools (such as PD-L1 staining, tumor mutational burden, and immune gene scores) are individually useful, they lose consistency from one cancer type to another. In a large pan-cancer analysis cited by the researchers, the associations between these markers and response were weak or inconsistent in 27.810 patients treated with ICI.
In recent years, different teams have therefore sought to develop machine learning models using transcriptomic data (the expression levels of all genes in a tumor). However, most remain either specific to a single cancer type or dependent on predefined, fixed gene signatures, losing flexibility. COMPASS was designed with an architecture aiming to overcome both limitations at once.
Foundation model: A type of AI model pretrained on a large, diverse dataset and then fine-tuned for smaller, specific tasks — similar to the logic of large language models, but here tumor gene expression data replace "language."
Transcriptome: The totality of all genes actively read (expressed) in a cell or tissue at a given moment; a snapshot of "which genes a tumor uses and how much."
Concept bottleneck architecture: Rather than directly converting raw gene expression data into a "response/no response" prediction, the model first compresses them into human-understandable intermediate concepts (such as "level of T-cell exhaustion" or "tumor–immune interaction") and then predicts through these concepts. This design makes the model's decision partially interpretable rather than a "black box."
COMPASS encodes gene expression data through 44 biologically grounded immune concepts — representing immune cell states, tumor–microenvironment interactions, and signaling pathways. The model is first pretrained through self-supervised learning on a large pan-cancer dataset, then fine-tuned using clinical cohorts specific to cancer type / drug combinations.
Perhaps the model's most striking feature is its ability to adapt to a previously unseen cancer type or drug combination with relatively little additional data. For example, in predicting pembrolizumab response in lung adenocarcinoma, the model pretrained on pan-cancer data and then fine-tuned for this specific task achieved 91% accuracy, while a model trained from scratch using only that cancer type's own small dataset achieved 67%.
- Most deep learning models operate like black boxes unable to explain "why" they made a prediction — a serious obstacle to clinical trust.
- COMPASS's concept bottleneck architecture partly reveals which immune mechanism (such as T-cell exhaustion or overactivation of a particular signaling pathway) underlies its prediction that a patient might not respond.
- This means the model may not only produce a "yes/no" prediction, but also generate hypotheses about resistance mechanisms and inform patient selection in early-phase clinical trials.
One of this article's most valuable features is how openly the authors present the limitations. Readers need to know these points:
- No adjustment for clinical variables was performed. Factors such as age, sex, and tumor stage were recorded incompletely and inconsistently across the 16 cohorts, preventing standardized adjustment.
- There is no comparison arm without immunotherapy. It therefore cannot be clearly distinguished whether the model truly predicts "who will benefit from treatment" (predictive) or merely "who will generally do better" (prognostic). The authors explicitly state this as a warning.
- The test cohorts are curated research cohorts with controlled tissue-processing conditions, rather than real-world clinical cohorts . This means transfer to actual clinical settings will require additional validation.
- Prospective, controlled clinical validation has not yet been performed. The model is currently an exploratory research tool.
- In the authors' own words: predictions from COMPASS or similar models should never be used alone to deny a patient immunotherapy.
- The regulatory infrastructure does not yet exist. There is currently no approved companion diagnostic pathway in the United States for a pan-cancer, transcriptome-based biomarker; existing approved comprehensive genomic profiling tests cover DNA-level changes, not RNA expression signatures.
Outperforming all 22 different methods is not a chance result. The model can also generalize to unseen cancer types and treatments — suggesting progress toward the long-sought "cancer-type-independent" solution for immunotherapy biomarkers. Its interpretable architecture has real value for generating mechanistic hypotheses and stratifying patients in early-phase trials.
This is a computational analysis; there has been no prospective clinical validation, and the predictive/prognostic distinction is unclear. Test cohorts reflect controlled research settings rather than real-world practice. Moreover, a regulatory approval pathway for pan-cancer transcriptomic biomarkers does not currently exist — potentially making entry into clinical practice a process that takes years.
"This AI model can now be used in hospitals and tell me whether I will respond to immunotherapy."
COMPASS is currently a research tool, not an approved clinical test. The authors themselves explicitly state that it should not be used for treatment decisions without prospective clinical validation.
"Since the model is 8,5% better, it will immediately replace existing tests (PD-L1, TMB)."
This improvement was seen in curated research cohorts; validation in real-world clinical settings, laboratory standardization, and regulatory approval processes are required — these steps may take years.
"Artificial intelligence can never be trusted because it is a 'black box.'"
COMPASS's concept bottleneck architecture directly addresses this criticism: the model makes decisions through human-understandable immune concepts — distinguishing it from a complete black box, although interpretability alone does not establish clinical validity.
This news does not mean a test can be offered at your hospital next week or next month. COMPASS is a promising AI tool aiming to better predict immunotherapy response, but it is still at the research stage . For now, your treatment decisions will continue to rely on proven, clinically validated tests (such as PD-L1, tumor mutational burden, and microsatellite instability status) and your physician's assessment.
It generally takes years for such a model to enter clinical practice; prospective studies, regulatory approvals, and laboratory standardization are required during that period. A question you can ask your physician: "Which tests are currently used to predict my treatment response?"
COMPASS should currently be regarded as a tool for discovery and hypothesis generation ; it is not ready for clinical decision support. Although it has potential for selecting indications and stratifying patients in early-phase clinical trial design, the unresolved predictive/prognostic distinction and inability to adjust for clinical covariates require cautious interpretation. The lack of regulatory infrastructure (FDA companion diagnostic) for pan-cancer transcriptomic biomarkers is an important practical limitation for teams designing clinical research to consider.
Predicting immunotherapy response is one of oncology's hardest problems; existing biomarkers remain inconsistent across cancer types. COMPASS shows that a single model can generalize across 33 cancer types and 6 different ICI regimens, using an interpretable architecture — an important proof of concept in the search for a "cancer-type-independent" biomarker.
Pretraining with 10.184 tumors / 33 cancer types, testing in 16 independent cohorts covering 7 cancer types / 6 ICI drugs. On average, 8,5% better accuracy and 15,7% improvement in AUPRC compared with 22 existing methods. The model can generalize to unseen cancer types and treatments with limited additional training (for example, in lung adenocarcinoma, 91% accuracy with multistage fine-tuning vs 67% with a single stage).
Computational/retrospective analysis; no prospective clinical validation. Adjustment for clinical covariates (age, stage) was not possible. Without a comparison arm not receiving immunotherapy, the predictive/prognostic distinction is unclear — the authors state this explicitly. Test cohorts came from curated research settings, not real-world clinics. There is not yet a regulatory approval pathway for pan-cancer transcriptomic biomarkers.
It does not currently change clinical decisions. Potential uses include indication selection and mechanistic hypothesis generation in early-phase immunotherapy trials. The authors' own warning is clear: it should not be used alone to deny treatment.
Will the model retain its predictive value when tested with control arms not receiving immunotherapy? How does its performance change under real-world clinical laboratory conditions (nonstandard tissue processing)? When will a regulatory approval pathway emerge? How would integration with single-cell or spatial transcriptomic data improve performance?
- Generalizable AI predicts immunotherapy outcomes across cancers and treatments. Nature Medicine, 2026. nature.com.
- Preprint version: Generalizable AI predicts immunotherapy outcomes across cancers and treatments. medRxiv, 2025. medrxiv.org.
- AI model improves prediction of immunotherapy response across cancers. RNA-Seq Blog, 2026.
- COMPASS: Can AI Predict Immunotherapy Response Across Multiple Cancers? OncoDaily, 2026.
- Harvard's COMPASS Model Just Made Immunotherapy Trial Design More Complicated. Clinical Trial Vanguard, 2026. (Assessment of regulatory and clinical implementation limitations.)
Editor's note: This content is for general information only; it is not medical advice or a recommendation for diagnosis or treatment. All data presented have been paraphrased from the relevant sources without direct quotations. COMPASS is a computational research analysis; no new patient data were collected, and existing, de-identified data were used. The model has not yet been validated in prospective, controlled clinical trials, and the lack of a comparison arm without immunotherapy means it has not been clarified whether the predictions are treatment-specific (predictive) or relate to general prognosis — a limitation identified by the authors themselves. The tested cohorts belong to controlled research settings; generalizability to real-world clinical practice needs separate assessment. The authors explicitly state that predictions from COMPASS or similar models should never be used alone to deny a patient immunotherapy. There is currently no approved regulatory (companion diagnostic) pathway for pan-cancer transcriptomic biomarkers; the model is therefore currently a research and hypothesis-generation tool, not a clinical decision tool. Your treatment decisions should be made using currently clinically validated tests and the assessment of your oncology team who knows you.
Plan your visit
Share your preferred date. Our team will contact you to arrange the appointment.
Was this article helpful?
Your feedback helps us improve our content.





Reader comments
Share your comment
Your name and comment are published only after administrator approval. Your email address is never shown to visitors.
Be the first to comment.