Immune checkpoint inhibitors have become a mainstay of cancer therapy, but the reality in clinics is sobering: most patients still fail to benefit, and the biomarkers…

Immune checkpoint inhibitors have become a mainstay of cancer therapy, but the reality in clinics is sobering: most patients still fail to benefit, and the biomarkers used to guide treatment often do not hold up when applied across different tumor types or drug regimens. A new artificial intelligence model called COMPASS aims to change that by forecasting immunotherapy response from a common data source—bulk tumor RNA sequencing—while also offering a window into the biology that may be driving success or failure.

COMPASS is described as a pan-cancer “foundation model” built to work across many malignancies and multiple checkpoint inhibitors. Instead of treating tens of thousands of genes as an opaque input, the system uses a concept-bottleneck transformer that compresses gene expression into 44 immune concepts grounded in biology. Those concepts are designed to reflect immune cell states, signaling pathways, and interactions between tumors and their surrounding microenvironment. The design choice is meant to preserve interpretability: the model does not just output a prediction, but links that prediction to immune programs that clinicians and researchers can recognize and investigate.

To train the system, researchers assembled transcriptomes from 10,184 tumors representing 33 cancer types. They then evaluated COMPASS on 16 independent clinical cohorts covering seven cancers and six different immune checkpoint inhibitors. Across these cohorts, the model outperformed 22 existing approaches on average, with an 8.5% improvement in accuracy and a 15.7% average gain in area under the precision–recall curve, a metric particularly relevant when responders are relatively rare.

A key claim is that COMPASS remains useful even when applied to settings beyond those included during fine-tuning. In other words, it can generalize to cancer types and treatments it was not specifically optimized for, a persistent weakness of many previous biomarkers and transcriptomic signatures. If borne out broadly, that kind of portability could help with indication selection—deciding where a therapy is most likely to work—and with patient stratification in trials and clinical care.

The model’s predictions also tracked with patient outcomes. In survival analyses, individuals classified as responders by COMPASS lived longer overall than those classified as non-responders, with a hazard ratio of 4.7 and a P value below 0.0001, suggesting a strong separation between the groups.

Beyond prediction, COMPASS generates “personalized response maps” that connect a patient’s gene expression profile to the 44 immune concepts. These maps are intended to highlight the biological programs associated with response and resistance. Notably, the researchers focused on a challenging group: tumors that look immune-inflamed—often marked by CD8+ T cell infiltration—yet still do not respond. In these immune-inflamed non-responders, COMPASS emphasized several candidate resistance programs, including TGFβ signaling, endothelial-linked exclusion phenomena, CD4+ T cell dysfunction, and B cell deficiency.

The work arrives against a backdrop of longstanding shortcomings in immunotherapy biomarkers. Tumor mutational burden and PD-L1 staining are clinically validated, but both have limited predictive power: many high-TMB tumors resist treatment, while some low-TMB tumors respond strongly. Other transcriptomic tools, such as TIDE and IMPRES, can be informative but tend to vary in performance across cancers, and large pan-cancer analyses have found only weak or inconsistent relationships among PD-L1, CD8+ T cells, immune gene scores, and TMB when examined across tumor types. COMPASS is presented as an attempt to build a more generalizable, interpretable alternative—one that predicts response while generating testable hypotheses for translational studies and trial design.