In-Context Learning for Label-Efficient Cancer Image Classification in Oncology
Mobina Shrestha, Bishwas Mandal, Vishal Mandal, Asis Shrestha

TL;DR
This study demonstrates that in-context learning enables vision-language models to perform cancer image classification with minimal labeled data, offering a practical alternative to traditional retraining especially in resource-limited oncology settings.
Contribution
First comprehensive comparison of multiple vision-language models on oncology datasets using in-context learning without model retraining.
Findings
GPT-4o achieved F1 scores of 0.81 (binary) and 0.60 (multi-class).
Open-source models like Paligemma and CLIP showed competitive performance.
In-context learning offers a viable, data-efficient approach for cancer image classification.
Abstract
The application of AI in oncology has been limited by its reliance on large, annotated datasets and the need for retraining models for domain-specific diagnostic tasks. Taking heed of these limitations, we investigated in-context learning as a pragmatic alternative to model retraining by allowing models to adapt to new diagnostic tasks using only a few labeled examples at inference, without the need for retraining. Using four vision-language models (VLMs)-Paligemma, CLIP, ALIGN and GPT-4o, we evaluated the performance across three oncology datasets: MHIST, PatchCamelyon and HAM10000. To the best of our knowledge, this is the first study to compare the performance of multiple VLMs on different oncology classification tasks. Without any parameter updates, all models showed significant gains with few-shot prompting, with GPT-4o reaching an F1 score of 0.81 in binary classification and 0.60…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAI in cancer detection · Radiomics and Machine Learning in Medical Imaging · Brain Tumor Detection and Classification
MethodsContrastive Language-Image Pre-training · ALIGN
