[Paper Review] Time to Embrace Natural Language Processing (NLP)-based Digital Pathology: Benchmarking NLP- and Convolutional Neural Network-based Deep Learning Pipelines
This study benchmarks NLP-based vision transformers (e.g., ViT, Swin Transformer, Sequencer2D) against CNNs (e.g., ResNet, EfficientNet) for predicting colorectal cancer biomarkers (MSI, CIMP, BRAF) from whole-slide H&E images. NLP models significantly outperformed CNNs, achieving up to 10% higher overall accuracy and 26% higher precision, even with small training datasets, suggesting NLP models are superior and more suitable for clinical digital pathology applications.
NLP-based computer vision models, particularly vision transformers, have been shown to outperform CNN models in many imaging tasks. However, most digital pathology artificial-intelligence models are based on CNN architectures, probably owing to a lack of data regarding NLP models for pathology images. In this study, we developed digital pathology pipelines to benchmark the five most recently proposed NLP models (vision transformer (ViT), Swin Transformer, MobileViT, CMT, and Sequencer2D) and four popular CNN models (ResNet18, ResNet50, MobileNetV2, and EfficientNet) to predict biomarkers in colorectal cancer (microsatellite instability, CpG island methylator phenotype, and BRAF mutation). Hematoxylin and eosin-stained whole-slide images from Molecular and Cellular Oncology and The Cancer Genome Atlas were used as training and external validation datasets, respectively. Cross-study external validations revealed that the NLP-based models significantly outperformed the CNN-based models in biomarker prediction tasks, improving the overall prediction and precision up to approximately 10% and 26%, respectively. Notably, compared with existing models in the current literature using large training datasets, our NLP models achieved state-of-the-art predictions for all three biomarkers using a relatively small training dataset, suggesting that large training datasets are not a prerequisite for NLP models or transformers, and NLP may be more suitable for clinical studies in which small training datasets are commonly collected. The superior performance of Sequencer2D suggests that further research and innovation on both transformer and bidirectional long short-term memory architectures are warranted in the field of digital pathology. NLP models can replace classic CNN architectures and become the new workhorse backbone in the field of digital pathology.
Motivation & Objective
- To evaluate the performance of state-of-the-art NLP-based vision models versus traditional CNNs in digital pathology.
- To determine whether NLP models can achieve high accuracy in biomarker prediction using limited training data.
- To assess the feasibility of replacing CNNs with NLP-based architectures as the new standard in digital pathology pipelines.
- To identify the most effective NLP architecture for colorectal cancer biomarker prediction from H&E-stained whole-slide images.
Proposed method
- Trained and validated five recent NLP-based vision models: Vision Transformer (ViT), Swin Transformer, MobileViT, ConvNet-Mixer Transformer (CMT), and Sequencer2D.
- Compared these models against four standard CNN architectures: ResNet18, ResNet50, MobileNetV2, and EfficientNet.
- Used whole-slide images from The Cancer Genome Atlas (TCGA) and Molecular and Cellular Oncology as training and external validation datasets.
- Performed cross-study external validation to assess generalization across different data sources.
- Evaluated model performance using standard metrics: overall accuracy, precision, and F1-score for three biomarkers: MSI, CIMP, and BRAF mutation.
- Employed transfer learning and data augmentation strategies to enhance performance on limited training data.
Experimental results
Research questions
- RQ1Can NLP-based vision models outperform CNN-based models in predicting colorectal cancer biomarkers from H&E-stained whole-slide images?
- RQ2Does the performance advantage of NLP models persist when training data is limited, as is common in clinical settings?
- RQ3Which specific NLP architecture (e.g., ViT, Sequencer2D) delivers the highest predictive accuracy for digital pathology tasks?
- RQ4Is large-scale training data necessary for state-of-the-art performance in digital pathology, or can smaller datasets suffice with NLP models?
- RQ5Can NLP-based models generalize effectively across different data sources in external validation settings?
Key findings
- NLP-based models significantly outperformed CNN-based models in biomarker prediction, with up to a 10% improvement in overall accuracy.
- The precision of NLP models improved by up to 26% compared to CNNs, indicating stronger predictive reliability.
- Sequencer2D achieved the highest performance among all models, suggesting strong potential for hybrid transformer and bidirectional LSTM architectures.
- NLP models achieved state-of-the-art results for all three biomarkers (MSI, CIMP, BRAF) using a relatively small training dataset.
- Cross-study external validation confirmed that NLP models generalize better across different data sources than CNNs.
- The study demonstrates that large training datasets are not a prerequisite for high performance when using NLP-based models in digital pathology.
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.