In-context adaptation of VLMs for few-shot cell detection in optical microscopy

Read full text
Authors: Shreyan Ganguly, Angona Biswas, Jaydeep Rade, Mohammad Hasibul Hasan Hasib, Nabila Masud, Nitish Singla, Anjali Dash, Ushashi Bhattacharjee, Soumik Sarkar, Aditya Balu, Anwesha Sarkar, Adarsh Krishnamurthy
Cited by: 0

Abstract

Foundation vision-language models (VLMs) excel on natural images, but their utility for biomedical microscopy remains underexplored. In this paper, we investigate how in-context learning enables state-of-the-art VLMs to perform few-shot object detection when large annotated datasets are unavailable, as is often the case with microscopic images. We introduce the Micro-OD benchmark, a curated collection of 252 images specifically curated for in-context learning, with bounding-box annotations spanning 11 cell types across four sources, including two in-lab expert-annotated sets. We systematically evaluate eight VLMs under few-shot conditions and compare variants with and without implicit test-time reasoning tokens. We further implement a hybrid Few-Shot Object Detection (FSOD) pipeline that combines a detection head with a VLM-based few-shot classifier, which enhances the few-shot performance of recent VLMs on our benchmark. Across datasets, we observe that zero-shot performance is weak due to the domain gap; however, few-shot support consistently improves detection, with marginal gains achieved after six shots. We observe that some reasoning variant models show task-specific gains, but the effect varies across models and settings. Our results highlight in-context adaptation as a promising research direction requiring further development for microscopy, and our benchmark provides a reproducible testbed for advancing open-vocabulary detection in biomedical imaging. Our project page is at: here.

Fields of Study & Subjects

Cell Image Analysis Techniques Domain Adaptation and Few-Shot Learning AI in cancer detection

Publication details

Journal / source
Frontiers in Artificial Intelligence
Volume
9
Pages
1761903–1761903
Publication date
15 May 2026
Language
EN