Skip to main content
QUICK REVIEW

[Paper Review] Text-guided Foundation Model Adaptation for Pathological Image Classification

Yunkun Zhang, Jin Gao|arXiv (Cornell University)|Jul 27, 2023
Topic ModelingComputer Science4 citations
TL;DR

This paper proposes CITE, a data-efficient method that enhances pathological image classification by connecting image and text embeddings from pre-trained foundation models. By injecting biomedical text knowledge via frozen language models and tuning only a small set of parameters in the vision encoder, CITE achieves state-of-the-art performance—especially under low-data regimes—demonstrating strong generalization and compatibility across diverse backbone models.

ABSTRACT

The recent surge of foundation models in computer vision and natural language processing opens up perspectives in utilizing multi-modal clinical data to train large models with strong generalizability. Yet pathological image datasets often lack biomedical text annotation and enrichment. Guiding data-efficient image diagnosis from the use of biomedical text knowledge becomes a substantial interest. In this paper, we propose to Connect Image and Text Embeddings (CITE) to enhance pathological image classification. CITE injects text insights gained from language models pre-trained with a broad range of biomedical texts, leading to adapt foundation models towards pathological image understanding. Through extensive experiments on the PatchGastric stomach tumor pathological image dataset, we demonstrate that CITE achieves leading performance compared with various baselines especially when training data is scarce. CITE offers insights into leveraging in-domain text knowledge to reinforce data-efficient pathological image classification. Code is available at https://github.com/Yunkun-Zhang/CITE.

Motivation & Objective

  • To address the challenge of data scarcity in pathological image classification by leveraging pre-trained biomedical text knowledge.
  • To enable efficient adaptation of foundation models to medical imaging without fine-tuning the entire backbone.
  • To bridge the domain gap between natural and pathological images using multi-modal alignment through text embeddings.
  • To develop a model-agnostic framework compatible with various pre-trained vision and language encoders.
  • To demonstrate that in-domain biomedical text can substitute for traditional classification heads in few-shot settings.

Proposed method

  • CITE connects image and text embeddings by projecting visual features from a vision encoder and aligning them with text embeddings from a frozen biomedical language model.
  • A learnable visual prompt and a projection head are introduced to adapt the vision encoder while keeping the pre-trained backbone frozen.
  • Text embeddings are derived from pre-trained biomedical language models such as BioBERT and BioLinkBERT, with stop-gradient applied to preserve knowledge integrity.
  • Classification is performed via cosine similarity between image and text embeddings, enabling end-to-end training of only the visual prompt and projection head.
  • The method is compatible with multiple vision encoders (e.g., CLIP, ImageNet-21k, INTERN) and language encoders, enabling flexible integration.
  • CITE avoids joint pre-training by leveraging pre-trained unimodal encoders and injecting domain-specific text knowledge during adaptation.

Experimental results

Research questions

  • RQ1Can pre-trained biomedical text knowledge improve the performance of foundation models in pathological image classification under data scarcity?
  • RQ2How does text-guided adaptation compare to traditional fine-tuning and prompt tuning in few-shot settings?
  • RQ3To what extent can a frozen biomedical language model enhance visual representation learning without joint pre-training?
  • RQ4Does the combination of visual prompt learning and in-domain text knowledge yield synergistic improvements in low-data regimes?
  • RQ5How generalizable is the CITE framework across different vision and language backbone architectures?

Key findings

  • CITE achieves 68.7% top-1 accuracy on the PatchGastric dataset with only 16 slides per class, significantly outperforming linear probing (65.4%) and fine-tuning (66.3%) baselines.
  • With just one slide per class, CITE reaches 60.1% accuracy using CLIP text encoder, compared to 47.7% for linear probing and 39.1% for fine-tuning.
  • Using BioLinkBERT as the text encoder, CITE achieves 69.7% accuracy with all training data, surpassing the next best method by 3.4 percentage points.
  • CITE consistently outperforms all baselines across all data scales (1 to 16 samples per class) and with all tested vision and language encoder combinations.
  • Ablation studies confirm that both visual prompt learning and biomedical text knowledge are essential, with text knowledge providing the greatest gain in extreme low-data settings.
  • The framework demonstrates strong compatibility, achieving state-of-the-art results across multiple vision encoders (CLIP, ImageNet-21k, INTERN) and language models (CLIP, BioBERT, BioLinkBERT).

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.