Abstract
Multimodal Large Language Models (MLLMs) demonstrate impressive general-purpose capabilities but often struggle with fine-grained image classification tasks that require identifying subtle visual distinctions. This paper introduces AutoSEP (Automatic Self-Enhancing Prompt Learning), a fully unsupervised framework that leverages unlabeled data to iteratively refine the prompts used for image description. By treating the MLLM as a black-box optimizer and using description distinctiveness as a proxy for accuracy, AutoSEP significantly enhances zero-shot classification performance without requiring manual labels or model fine-tuning.
Introduction
While models like GPT-4o and Gemini can easily identify a "bird," distinguishing between visually similar species—such as a Black-billed versus a Yellow-billed Cuckoo—remains a challenge. These fine-grained tasks necessitate spotting minute details like beak shape or eye-stripes. Traditional solutions rely on expensive, expert-labeled datasets for fine-tuning. AutoSEP addresses this by asking: can an MLLM self-improve using only the unlabeled images available at test time?
Methodology: The AutoSEP Framework
AutoSEP implements a "reflect-and-modify" optimization loop designed to sharpen the model's focus on discriminative features.
1. Image Description as a Bottleneck
Rather than direct classification, AutoSEP prompts the MLLM to generate detailed textual descriptions of specific anatomical features (e.g., wings, tail, beak). The final classification decision is then based on the combination of the original image and these generated descriptions.
2. Unsupervised Signal via Instance-Level Scoring
In the absence of ground-truth labels, AutoSEP uses distinctiveness as a proxy for quality. If a description for Image A is sufficiently detailed, the MLLM should be able to correctly identify Image A when presented with a "lineup" of other unlabeled images. Failure to do so indicates the description is too vague or generic.
3. Iterative Reflect-and-Modify Optimization
The framework treats the MLLM as an optimizer. When the model fails the instance-level "lineup" test, it is prompted to Reflect on why the current description failed to distinguish the images and then Modify the prompt to be more specific. This loop repeats, progressively engineering more effective prompts.
Key Results and Insights
The researchers evaluated AutoSEP across challenging benchmarks including CUB-200-2011, iNaturalist 2021, Stanford Dogs, and VegFru.
Performance Gains
AutoSEP achieved an average accuracy boost of 13% over standard zero-shot classification and outperformed existing unsupervised baselines by approximately 3%. These gains were consistent across various model architectures, including Gemini 1.5 Flash, GPT-4o, and Qwen2-VL-72B.
Emergent Prompt Diversity
As shown in the results, the vocabulary of the optimized prompts becomes more semantically rich over time. This suggests the model learns to actively seek out a wider array of discriminative visual features that it previously ignored. A strong Pearson correlation (up to 0.84) was found between instance-level accuracy and final class-wise accuracy, validating the core unsupervised signal.
Efficiency and Scalability
The framework is highly sample-efficient, showing reliable performance with as few as 60 unlabeled samples. Furthermore, the black-box nature of the optimization makes it compatible with proprietary models without requiring access to internal weights or gradients.
Conclusion
AutoSEP demonstrates that unlabeled data can serve as a powerful catalyst for improving MLLM performance in specialized domains. By automating the prompt engineering process through self-reflection, the framework bridges the gap between general-purpose vision-language models and the requirements of fine-grained visual recognition.
Summary updated