Abstract
Vision-Language Models (VLMs) like CLIP and SigLIP have demonstrated remarkable zero-shot capabilities across general domains. However, they often struggle in "low-resource" domains—such as medical imaging, rare species identification, or technical circuit diagrams—where domain-specific concepts are underrepresented in pre-training data. We present CORE (Combination of Retrieval Enrichment), a training-free framework that enhances zero-shot classification by leveraging large-scale web-crawled databases as external memory to provide linguistic context for both images and class labels.
The Challenge of Low-Resource Domains
While VLMs excel at identifying common objects, they possess a significant "blind spot" for niche technical or scientific data. In these domains, data is often scarce, private, or requires expert annotation. Previous attempts to bridge this gap typically involve fine-tuning or synthetic data generation. However, fine-tuning on small datasets risks overfitting, and synthetic images (e.g., from generative models) often fail to capture the precise logical or structural rules required in specialized fields, such as the correct connectivity in a circuit diagram.
Methodology: CORE
CORE addresses these limitations through a training-free approach that treats large-scale datasets (like CC12M or COYO-700M) as an external knowledge base. The method enriches the classification process via two symmetric retrieval mechanisms:
- Image Query Enrichment: For a given query image, CORE retrieves the $k$ most relevant captions from the database. It then blends the original image embedding with the embeddings of these retrieved captions, providing the model with human-authored linguistic context for the visual input.
- Class Prototype Enrichment: For each potential category (e.g., "Melanoma"), CORE retrieves relevant descriptions from the database. By combining the original class label embedding with these retrieved texts, it constructs a more robust and descriptive "prototype" for the category.
A key insight of this approach is that even if the database lacks the exact specific category, it often contains broader related concepts (e.g., "circuit" or "plant") that help steer the model toward the correct domain and filter out irrelevant visual noise.
Experimental Setup and Datasets
To evaluate CORE, the authors established a benchmark across three diverse low-resource domains:
- Circuits: 1,332 images of circuit diagrams across 32 classes.
- iNaturalist2021 (LT100): A subset focusing on the 100 rarest species (maximum 5 training shots available).
- HAM10000: A medical dataset containing 10,000 dermatoscopic images of skin lesions across 7 classes.
Key Results and Performance
CORE achieved state-of-the-art (SOTA) results across all tested benchmarks without requiring any model weight updates. On the Circuits dataset, CORE reached 43.88% Top-1 accuracy, a significant improvement over the standard SigLIP zero-shot baseline of 35.81%. In the medical domain (HAM10000), CORE achieved 62.21% accuracy, outperforming even fine-tuned versions of competitive models.
Beyond accuracy, CORE is highly efficient. Utilizing the FAISS library for similarity searches, the image-to-text retrieval process takes approximately 58ms on a standard CPU, making it viable for real-time applications without the need for expensive GPU clusters during inference.
Discussion and Limitations
CORE demonstrates that real-world captions, despite potential noise, are often more effective than synthetic images for domain adaptation because they provide factual, human-authored context. However, the method is dependent on the coverage of the external database. If a domain is entirely absent from web-crawled data (e.g., ultra-rare microscopic parasites), retrieval-based enrichment may fail, necessitating traditional supervised fine-tuning.
Future work will explore more sophisticated filtering for noisy retrieved captions and investigate the scalability of this strategy with multi-billion-scale databases.
Summary updated