Generating customized prompts for Zero-Shot Rare Event Medical Image Classification using LLM

Payal Kamboj, Ayan Banerjee, Bin Xu, Sandeep Gupta
1/27/2025
cs.CV

No confident code implementation found for this paper.

Abstract

Rare events, due to their infrequent occurrences, do not have much data, and hence deep learning techniques fail in estimating the distribution for such data. Open-vocabulary models represent an innovative approach to image classification. Unlike traditional models, these models classify images into any set of categories specified with natural language prompts during inference. These prompts usually comprise manually crafted templates (e.g., 'a photo of a {}') that are filled in with the names of each category. This paper introduces a simple yet effective method for generating highly accurate and contextually descriptive prompts containing discriminative characteristics. Rare event detection, especially in medicine, is more challenging due to low inter-class and high intra-class variability. To address these, we propose a novel approach that uses domain-specific expert knowledge on rare events to generate customized and contextually relevant prompts, which are then used by large language models for image classification. Our zero-shot, privacy-preserving method enhances rare event classification without additional training, outperforming state-of-the-art techniques.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kamboj2025generating,
  title  = {Generating customized prompts for Zero-Shot Rare Event Medical Image Classification using LLM},
  author = {Payal Kamboj and Ayan Banerjee and Bin Xu and Sandeep Gupta},
  year   = {2025},
  eprint = {2501.16481},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.16481v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.16481.svg)](https://codeofpaper.com/paper/2501.16481)

Discussion