Zero-Shot Fine-Grained Image Classification Using Large Vision-Language Models

Md. Atabuzzaman, Andrew Zhang, Chris Thomas

TL;DR

This paper introduces a novel framework for zero-shot fine-grained image classification using Large Vision-Language Models (LVLMs). By reframing the task as a visual question-answering problem and incorporating an attention intervention technique, the authors achieve state-of-the-art results, outperforming existing methods without requiring any training data.

What Problem Does This Paper Address?

Fine-grained image classification, the task of distinguishing between visually similar categories (e.g., different bird species), is notoriously challenging. While Large Vision-Language Models (LVLMs) have shown impressive capabilities in general vision-language tasks, their application to zero-shot fine-grained classification remains underexplored. Existing methods often struggle to capture the subtle visual differences required for this task, particularly when relying on direct class name generation or less sophisticated approaches. This paper aims to bridge this gap by developing a more robust and effective zero-shot classification method for LVLMs.

Methods

The core of the proposed method involves transforming the fine-grained classification problem into a visual question-answering (VQA) task. Instead of directly generating class names, the LVLM is prompted to answer questions about the image in relation to candidate class descriptions.

Key techniques include:

  • Likelihood-based Yes/No QA: An initial approach where the LVLM determines the probability of a "Yes" response to a query about whether a class description matches the image.
  • Iterative Multiple-Choice Question-Answering (MCQA): A more refined approach where the LVLM iteratively selects the most appropriate class description from a subset of options. This method reduces computational cost and avoids the need for direct access to model logits.
  • Attention Intervention: A novel technique designed to enhance the flow of visual information. It combines early-layer visual features with deep-layer object-attribute grounding to improve classification accuracy. This intervention is inspired by methods to mitigate LVLM hallucinations.
  • All-at-Once Approach: Leveraging the extended context capabilities of modern LVLMs, this method presents all class descriptions simultaneously to the model in a single forward pass.

The authors also address a limitation in existing datasets by curating more precise and comprehensive class descriptions that better align with visual features.

Datasets

The experiments were conducted on five established fine-grained image classification datasets:

  • CUB (Caltech-UCSD Birds-200-2011)
  • Stanford Cars
  • FGVC Aircraft
  • Food-101
  • Stanford Dogs

The paper also introduces newly curated class description benchmarks, which are noted to be more detailed and accurate than existing ones, often generated by LLMs.

Key Insights and Ideas

  • Reframing as VQA is Powerful: Treating fine-grained classification as a VQA problem, rather than direct class name generation, allows LVLMs to leverage their comprehensive understanding capabilities more effectively.
  • Iterative Refinement Outperforms Direct Guessing: The iterative MCQA approach consistently outperforms the simpler Yes/No QA baseline, suggesting that a step-by-step refinement process is more effective for complex distinctions.
  • Attention Intervention Boosts Performance: The proposed attention intervention technique, which blends early and deep visual information, consistently improves accuracy, especially for smaller LVLM architectures.
  • Class Descriptions Matter Immensely: The quality of class descriptions is critical. The authors' curated descriptions, which highlight specific visual attributes, significantly boost performance compared to existing, less detailed descriptions.
  • Open-Source vs. Proprietary Model Trade-offs: While proprietary models can handle simultaneous multi-class comparisons (all-at-once approach), open-source models struggle with this, highlighting the advantage of iterative processing for them.

Key Results

  • The proposed iterative MCQA method with attention intervention consistently outperforms existing state-of-the-art (SOTA) approaches across multiple fine-grained classification benchmarks.
  • On the CUB dataset, the iterative MCQA approach achieved 30.60% accuracy (without class names) compared to 21.30% for Yes/No QA using Qwen2.5-VL-7B-Instruct.
  • With class names included, the Yes/No QA approach became highly competitive, achieving 53.30% on CUB and 86.84% on Stanford Cars with Qwen2-VL-7B-Instruct.
  • The attention intervention showed notable gains, with LLaVA-v1.5-7B achieving a +4.90% improvement on CUB in the "with name" setting.
  • The curated class descriptions led to substantial improvements, for example, a +13.07% gain on Food-101 and +8.3% on CUB when using Qwen2.5-VL-7B-Instruct.
  • The all-at-once approach showed promising results for proprietary models (e.g., GPT-4o achieving 70.50% on CUB), but significant performance degradation for open-source models.

Limitations and Future Work

  • LVLM Struggle with Fine-Grained Distinctions: Despite improvements, current LVLMs still exhibit limitations in capturing very subtle visual distinctions.
  • Attention Intervention Effectiveness Varies: The effectiveness of the attention intervention technique is dependent on model architecture and task characteristics.
  • Quality of Class Descriptions: While improved, the curated descriptions might still miss some discriminative features that domain experts would identify. Refining them requires significant effort.
  • Scalability of Zero-Shot: The method's effectiveness is bounded by the pre-training data quality and coverage of LVLMs, especially for underrepresented domains.
  • Future Work: The authors suggest exploring more sophisticated attention guidance techniques tailored to specific LVLM architectures. They also highlight the potential for further improvements by optimizing layer selection for the attention intervention.

Summary updated

BibTeX
@inproceedings{atabuzzaman2025zero,
  author = {Md. Atabuzzaman and Andrew Zhang and Chris Thomas},
  title = {{Zero-Shot Fine-Grained Image Classification Using Large Vision-Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure