Skip to main content
QUICK REVIEW

[Paper Review] Zero-Shot and Few-Shot Learning for Lung Cancer Multi-Label Classification using Vision Transformer

Fu-Ming Guo, Yingfang Fan|arXiv (Cornell University)|May 30, 2022
AI in cancer detectionComputer Science4 citations
TL;DR

This study proposes a Vision Transformer (ViT)-based approach for zero-shot and few-shot multi-label classification of lung cancer subtypes (LUAD, LUSC, benign) from histopathology slides using the LC25000 dataset. Pre-trained ViT achieves 99.87% accuracy in few-shot learning after 5 fine-tuning epochs and 100% accuracy on both validation and test sets, demonstrating strong generalization with minimal labeled data.

ABSTRACT

Lung cancer is the leading cause of cancer-related death worldwide. Lung adenocarcinoma (LUAD) and lung squamous cell carcinoma (LUSC) are the most common histologic subtypes of non-small-cell lung cancer (NSCLC). Histology is an essential tool for lung cancer diagnosis. Pathologists make classifications according to the dominant subtypes. Although morphology remains the standard for diagnosis, significant tool needs to be developed to elucidate the diagnosis. In our study, we utilize the pre-trained Vision Transformer (ViT) model to classify multiple label lung cancer on histologic slices (from dataset LC25000), in both Zero-Shot and Few-Shot settings. Then we compare the performance of Zero-Shot and Few-Shot ViT on accuracy, precision, recall, sensitivity and specificity. Our study show that the pre-trained ViT model has a good performance in Zero-Shot setting, a competitive accuracy ($99.87\%$) in Few-Shot setting ({epoch = 1}) and an optimal result ($100.00\%$ on both validation set and test set) in Few-Shot seeting ({epoch = 5}).

Motivation & Objective

  • To address the challenge of limited annotated histopathology data in lung cancer diagnosis by leveraging pre-trained Vision Transformers for zero-shot and few-shot learning.
  • To evaluate the performance of Vision Transformers in classifying multiple lung cancer subtypes (LUAD, LUSC, benign) from whole-slide images with minimal or no fine-tuning.
  • To compare zero-shot and few-shot transfer learning strategies using ViT on the LC25000 dataset for multi-label classification.
  • To interpret model predictions using Grad-CAM and validate alignment with expert pathologists’ visual reasoning.

Proposed method

  • Fine-tuned a pre-trained Vision Transformer (ViT) model on the LC25000 dataset for few-shot learning, with training over 5 epochs and validation at each epoch.
  • Applied zero-shot inference by directly using the frozen weights of the pre-trained ViT model without any fine-tuning on the downstream classification task.
  • Utilized gradient-weighted class activation mapping (Grad-CAM) to generate attention heatmaps highlighting discriminative regions in histology images for model interpretability.
  • Compared Grad-CAM visualizations with expert pathologist annotations to assess model faithfulness and consistency with clinical reasoning.
  • Evaluated model performance using accuracy, precision, recall, sensitivity, specificity, and AUC-ROC across all three classes (LUAD, LUSC, benign).
  • Employed self-supervised pre-training and transfer learning to mitigate domain shift between natural images and medical histology images.

Experimental results

Research questions

  • RQ1How well does a pre-trained Vision Transformer perform in zero-shot classification of lung cancer subtypes from histopathology slides?
  • RQ2What is the performance gain of few-shot fine-tuning on the ViT model for multi-label lung cancer classification, and how does it vary across training epochs?
  • RQ3Can Grad-CAM visualizations from the ViT model align with pathologists’ clinical decision-making processes in identifying cancerous regions?
  • RQ4How does the model’s AUC-ROC performance compare across LUAD, LUSC, and benign classes in both zero-shot and few-shot settings?
  • RQ5Does the ViT model maintain robustness and interpretability under adversarial perturbations and dataset biases?

Key findings

  • The pre-trained Vision Transformer achieved a validation accuracy of 33.77% and test accuracy of 33.77% in the zero-shot setting, indicating limited generalization without fine-tuning.
  • After one epoch of fine-tuning, the ViT model reached 98.90% accuracy on the validation set and 98.87% on the test set in the few-shot setting.
  • After five epochs of fine-tuning, the ViT model achieved 100.00% accuracy on both the validation and test sets, indicating optimal performance with minimal data.
  • The AUC-ROC value for the ViT model in the few-shot setting (epoch=5) was 1.00000000 for all three classes (LUAD, LUSC, benign), indicating perfect discrimination.
  • Grad-CAM visualizations showed strong spatial consistency with pathologists’ expert-identified salient regions, validating model interpretability and clinical relevance.
  • The model demonstrated robustness to adversarial perturbations and highlighted dataset bias, improving model generalization through faithful attention localization.

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.