Skip to main content
QUICK REVIEW

[Paper Review] Instance-based Vision Transformer for Subtyping of Papillary Renal Cell Carcinoma in Histopathological Image

Zeyu Gao, Bangyang Hong|arXiv (Cornell University)|Jun 23, 2021
AI in cancer detectionComputer Science16 references5 citations
TL;DR

This paper proposes an instance-based Vision Transformer (i-ViT) for fine-grained subtyping of papillary renal cell carcinoma (pRCC) in histopathological images, leveraging nucleus-level instance patches with position and grade embeddings to capture subtle cellular and cell-layer patterns. The method achieves 93.01% overall accuracy, significantly outperforming CNN-based models and handcrafted feature methods.

ABSTRACT

Histological subtype of papillary (p) renal cell carcinoma (RCC), type 1 vs. type 2, is an essential prognostic factor. The two subtypes of pRCC have a similar pattern, i.e., the papillary architecture, yet some subtle differences, including cellular and cell-layer level patterns. However, the cellular and cell-layer level patterns almost cannot be captured by existing CNN-based models in large-size histopathological images, which brings obstacles to directly applying these models to such a fine-grained classification task. This paper proposes a novel instance-based Vision Transformer (i-ViT) to learn robust representations of histopathological images for the pRCC subtyping task by extracting finer features from instance patches (by cropping around segmented nuclei and assigning predicted grades). The proposed i-ViT takes top-K instances as input and aggregates them for capturing both the cellular and cell-layer level patterns by a position-embedding layer, a grade-embedding layer, and a multi-head multi-layer self-attention module. To evaluate the performance of the proposed framework, experienced pathologists are invited to selected 1162 regions of interest from 171 whole slide images of type 1 and type 2 pRCC. Experimental results show that the proposed method achieves better performance than existing CNN-based models with a significant margin.

Motivation & Objective

  • To address the challenge of fine-grained subtyping of papillary renal cell carcinoma (pRCC) into type 1 and type 2, which exhibit similar architectural patterns but subtle cellular and cell-layer differences.
  • To overcome the limitations of traditional CNNs in capturing small, randomly distributed, and fine-grained histological features in large whole-slide images.
  • To develop a deep learning framework that explicitly models nucleus-level features, including spatial position and histological grade, for improved representation learning.
  • To reduce computational complexity and background noise by focusing only on relevant nucleus instances rather than all image patches, as in standard ViT.

Proposed method

  • The method extracts instance-level patches by cropping regions around segmented nuclei, using a segmentation network with additional classification heads to predict nucleus grades.
  • Top-K patches are selected based on nucleus size and predicted grade to prioritize informative instances for representation learning.
  • Each selected patch is embedded via a CNN, and position and grade information are encoded using dedicated position-embedding and grade-embedding layers.
  • A multi-head, multi-layer self-attention mechanism integrates the encoded instance embeddings, enabling the model to learn long-range dependencies and relational patterns between nuclei.
  • The framework uses a selective input sequence of only top-K instances, reducing computational load and focusing on biologically relevant features compared to standard ViT.
  • The model is trained with a linear warm-up learning rate schedule over 10 epochs, using a sequence length of 500 for the main i-ViT variant.

Experimental results

Research questions

  • RQ1Can a Vision Transformer model effectively learn fine-grained histological patterns in pRCC subtyping when traditional CNNs fail due to subtle cellular and cell-layer differences?
  • RQ2How does modeling nucleus-level features—such as position, size, and grade—improve classification performance compared to global image patch processing?
  • RQ3What is the optimal configuration of instance patch size, input sequence length, and Transformer architecture scale for pRCC subtyping?
  • RQ4To what extent does focusing only on top-K nucleus instances improve performance and reduce noise compared to processing all image patches?

Key findings

  • The proposed i-ViT achieved 93.01% overall accuracy on the pRCC subtyping task, significantly outperforming the next best method, GBDT-GH, which achieved 88.21% accuracy.
  • The i-ViT model achieved a high F1-score of 92.31% for type 2 pRCC, indicating strong performance on the more challenging subtype with higher-grade nuclei.
  • The model's performance was sensitive to instance patch size and input sequence length, with optimal performance at P=64 and N=500–1000, while N=1500 led to performance degradation due to overfitting on limited nuclei counts.
  • The huge-scale (H-24-12) and middle-scale (M-12-12) Transformers outperformed the tiny-scale (T-6-6) model, which suffered from underfitting.
  • Smaller patches (P=16) yielded worse performance, as they captured only partial nuclei, leading to incomplete feature representation.
  • The ablation study confirmed that integrating position and grade embeddings significantly enhanced model performance, validating the design of the instance-based attention mechanism.

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.