[Paper Review] Fully transformer-based biomarker prediction from colorectal cancer histology: a large-scale multicentric study
This study introduces a fully transformer-based deep learning pipeline for end-to-end biomarker prediction from colorectal cancer histology slides, achieving clinical-grade performance on both surgical resections and endoscopic biopsies. Trained on over 9,000 patients across 10 multicentric cohorts, it reaches 97% sensitivity and 99% negative predictive value for microsatellite instability (MSI) prediction, demonstrating superior generalizability and data efficiency over CNN-based methods.
Background: Deep learning (DL) can extract predictive and prognostic biomarkers from routine pathology slides in colorectal cancer. For example, a DL test for the diagnosis of microsatellite instability (MSI) in CRC has been approved in 2022. Current approaches rely on convolutional neural networks (CNNs). Transformer networks are outperforming CNNs and are replacing them in many applications, but have not been used for biomarker prediction in cancer at a large scale. In addition, most DL approaches have been trained on small patient cohorts, which limits their clinical utility. Methods: In this study, we developed a new fully transformer-based pipeline for end-to-end biomarker prediction from pathology slides. We combine a pre-trained transformer encoder and a transformer network for patch aggregation, capable of yielding single and multi-target prediction at patient level. We train our pipeline on over 9,000 patients from 10 colorectal cancer cohorts. Results: A fully transformer-based approach massively improves the performance, generalizability, data efficiency, and interpretability as compared with current state-of-the-art algorithms. After training on a large multicenter cohort, we achieve a sensitivity of 0.97 with a negative predictive value of 0.99 for MSI prediction on surgical resection specimens. We demonstrate for the first time that resection specimen-only training reaches clinical-grade performance on endoscopic biopsy tissue, solving a long-standing diagnostic problem. Interpretation: A fully transformer-based end-to-end pipeline trained on thousands of pathology slides yields clinical-grade performance for biomarker prediction on surgical resections and biopsies. Our new methods are freely available under an open source license.
Motivation & Objective
- To develop a fully transformer-based deep learning pipeline for end-to-end biomarker prediction from colorectal cancer histology slides.
- To improve performance, generalizability, data efficiency, and interpretability over existing convolutional neural network (CNN)-based approaches.
- To evaluate whether training exclusively on resection specimens enables high-performance prediction on endoscopic biopsy tissue, solving a longstanding diagnostic challenge.
- To validate the model on a large-scale, multicentric cohort of over 9,000 patients across 10 independent studies.
- To release the method as open-source to support clinical translation and broader adoption.
Proposed method
- The pipeline uses a pre-trained vision transformer encoder to process whole-slide image patches.
- A dedicated transformer network aggregates local patch representations into global patient-level embeddings for multi-target prediction.
- The model is trained in an end-to-end fashion using weakly supervised learning, where slide-level labels guide patch-level representation learning.
- The architecture enables single- and multi-target biomarker prediction (e.g., MSI, BRAF, KRAS) at the patient level from whole-slide images.
- The method is evaluated on a large-scale multicenter dataset comprising over 9,000 colorectal cancer patients from 10 independent cohorts.
- Model performance is assessed using standard metrics including sensitivity, negative predictive value, and area under the ROC curve.

Experimental results
Research questions
- RQ1Can a fully transformer-based architecture outperform state-of-the-art CNN-based models in biomarker prediction from colorectal cancer histology slides?
- RQ2Does training a model exclusively on surgical resection specimens enable robust prediction on endoscopic biopsy tissue?
- RQ3To what extent does a large-scale, multicentric training cohort improve model generalizability and data efficiency?
- RQ4Can a transformer-based approach achieve clinical-grade performance for MSI prediction in colorectal cancer?
- RQ5How does the interpretability of the model compare to existing deep learning methods in pathology?
Key findings
- The fully transformer-based pipeline achieved a sensitivity of 0.97 and a negative predictive value of 0.99 for microsatellite instability (MSI) prediction on surgical resection specimens.
- The model generalized effectively to endoscopic biopsy tissue, achieving clinical-grade performance despite being trained only on resection specimens.
- The approach demonstrated superior performance, generalizability, data efficiency, and interpretability compared to state-of-the-art CNN-based models.
- The model maintained high performance across diverse multicentric datasets, indicating strong robustness to inter-institutional variability.
- The method was validated on over 9,000 patients from 10 independent colorectal cancer cohorts, enhancing its clinical relevance.
- The fully trained model is publicly released under an open-source license to enable clinical integration and further research.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.