Skip to main content
QUICK REVIEW

[Paper Review] From Modern CNNs to Vision Transformers: Assessing the Performance, Robustness, and Classification Strategies of Deep Learning Models in Histopathology

Maximilian Springenberg, Annika Frommholz|arXiv (Cornell University)|Apr 11, 2022
AI in cancer detectionComputer Science6 citations
TL;DR

This paper evaluates state-of-the-art deep learning models—ranging from modern CNNs like ConvNeXt and Inception to vision transformers (ViT and Swin Transformer)—in histopathology, assessing performance, robustness to stain variation, and interpretability. It introduces a novel methodology using CycleGAN for stain robustness evaluation and extends layer-wise relevance propagation (LRP) to quantify attention focus on nuclei, revealing that while all models prioritize nuclei, subtle strategy differences exist, and robustness remains a key limitation across architectures.

ABSTRACT

While machine learning is currently transforming the field of histopathology, the domain lacks a comprehensive evaluation of state-of-the-art models based on essential but complementary quality requirements beyond a mere classification accuracy. In order to fill this gap, we developed a new methodology to extensively evaluate a wide range of classification models, including recent vision transformers, and convolutional neural networks such as: ConvNeXt, ResNet (BiT), Inception, ViT and Swin transformer, with and without supervised or self-supervised pretraining. We thoroughly tested the models on five widely used histopathology datasets containing whole slide images of breast, gastric, and colorectal cancer and developed a novel approach using an image-to-image translation model to assess the robustness of a cancer classification model against stain variations. Further, we extended existing interpretability methods to previously unstudied models and systematically reveal insights of the models' classifications strategies that can be transferred to future model architectures.

Motivation & Objective

  • To comprehensively evaluate modern deep learning models in histopathology beyond accuracy, including robustness and interpretability.
  • To assess the performance of state-of-the-art models—especially vision transformers—on diverse histopathology datasets with varying cancer types.
  • To develop and apply a novel quantitative method for evaluating model robustness against stain variations using image-to-image translation (CycleGAN).
  • To extend interpretability techniques (LRP) to previously unstudied models and quantify attention focus on biologically relevant regions like nuclei.
  • To provide actionable model recommendations and a transferable evaluation framework for clinical deployment of deep learning in digital pathology.

Proposed method

  • Benchmarked 12 models, including ResNet (BiT), Inception, ConvNeXt, ViT, and Swin Transformer, with and without supervised/self-supervised pretraining on five public histopathology datasets.
  • Used a CycleGAN-based image-to-image translation model to generate stain-variant images and evaluate model robustness under distribution shifts.
  • Applied layer-wise relevance propagation (LRP) to generate attribution heatmaps and correlated them with instance segmentation masks to quantify relevance on nuclei and background.
  • Proposed a quantitative metric to assess the plausibility of attribution maps by measuring overlap between relevance maps and segmented nuclei.
  • Employed a sliding window approach to create non-overlapping 100×100 patches from whole slide images for consistent evaluation.
  • Conducted ablation studies across multiple runs (e.g., ViT-L:1 to ViT-L:16) to analyze attention head specialization and consistency.

Experimental results

Research questions

  • RQ1Which deep learning architectures achieve the highest classification performance across diverse histopathology datasets?
  • RQ2How robust are modern CNNs and vision transformers to stain variations in whole slide images?
  • RQ3To what extent do different models focus their attention on biologically relevant structures like cell nuclei?
  • RQ4Can interpretability methods like LRP be effectively extended to vision transformers and used to quantitatively compare model decision strategies?
  • RQ5What is the impact of pretraining (supervised or self-supervised) on model performance, robustness, and interpretability in histopathology?

Key findings

  • Inception V3 (especially when pretrained) and fine-tuned ConvNeXt-L achieved the highest predictive performance across the five histopathology datasets.
  • All models, including ViTs and Swin Transformers, exhibited a strong focus on cell nuclei in their attention and attribution maps, indicating alignment with pathologist-relevant features.
  • Despite high accuracy, models showed insufficient robustness to stain variations, with performance dropping significantly when tested on CycleGAN-generated stain-variant images.
  • The proposed LRP-based quantification method revealed that attention heads in ViTs distribute relevance across multiple nuclei and tissue regions, with some heads specializing on specific nuclei types.
  • The ViT-Tiny model with only three attention heads showed broader, less focused attention, while ViT-Base and ViT-Large exhibited more refined, nucleus-centric attention patterns.
  • Robustness was consistently low across all architectures, indicating that stain variation remains a major barrier for real-world deployment of deep learning in pathology.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.