NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

I2MVFormer: Large Language Model Generated Multi-View Document Supervision for Zero-Shot Image Classification

Muhammad Ferjad Naeem, Muhammad Gul Zain Ali Khan, Yongqin Xian, Muhammad Zeshan Afzal, Didier Stricker, Luc Van Gool, Federico Tombari

Abstract

Zero-Shot Learning (ZSL) traditionally relies on labor-intensive human-annotated attributes to recognize unseen classes. I2MVFormer introduces a scalable alternative by leveraging Large Language Models (LLMs) to generate diverse, multi-view text descriptions. By integrating these descriptions with a novel dual-stream transformer architecture that aligns global and local features, I2MVFormer achieves state-of-the-art performance on standard ZSL benchmarks without requiring manual attribute labeling.

Introduction

Zero-Shot Learning (ZSL) aims to classify images from categories not seen during training. This typically requires auxiliary information to bridge the gap between seen and unseen classes. While human-annotated attributes have been the gold standard, they are difficult to scale to thousands of classes. Unstructured text from sources like Wikipedia offers a more scalable alternative but often lacks the focused descriptive detail found in manual annotations.

I2MVFormer addresses this by using LLMs as "expert annotators." By prompting an LLM to describe a class from multiple perspectives (e.g., appearance, habitat, behavior), the model gains a richer, multi-faceted understanding of the category, effectively acting as a mixture of annotators.

Conceptual overview of LLM-based multi-view generation for zero-shot classification.

Methodology

The I2MVFormer framework consists of two primary stages: multi-view text generation and a specialized transformer architecture for image-text alignment.

LLM-Based Multi-View Generation

Instead of relying on a single document, the authors use k-shot prompting to guide an LLM (such as PaLM or GPT-3) to produce multiple distinct "views" for each class. These views act as diverse supervision signals, capturing different discriminative features that a single source might miss. The authors found that using unique k-shot examples for different views encourages the LLM to explore various descriptive facets.

I2MVFormer Architecture

The core model is a dual-stream transformer designed to efficiently process multiple text views:

  • SVSummary (Single-View Summary): This module processes each text view independently, distilling long documents into a compact set of "summary tokens." This significantly reduces the computational burden of cross-modal attention.
  • MVSummary (Multi-View Summary): It aggregates the distilled information from all views into a unified class-level representation.
  • Alignment Modules: The model employs I2MVGlobal for coarse-grained image-to-class matching and I2MVLocalSearch for fine-grained alignment between image patches and specific descriptive tokens in the text.

Experimental Evaluation

The model was evaluated on three benchmark datasets: Animals with Attributes 2 (AWA2), Caltech-UCSD Birds (CUB), and Oxford Flowers (FLO). Crucially, the evaluation focused on the "unsupervised" setting, where human-labeled attributes are replaced by LLM-generated text or Wikipedia articles.

Results and Discussion

I2MVFormer established new state-of-the-art (SOTA) benchmarks across all tested datasets. As shown in the results table, the combination of LLM-generated views and Wikipedia articles (3-LLM + Wiki) consistently yielded the highest accuracy.

Comparison of I2MVFormer against existing ZSL methods across AWA2, CUB, and FLO datasets.

Key findings include:

  • LLM Superiority: On the AWA2 dataset, using just three LLM-generated views outperformed a single Wikipedia article (76.4% vs. 73.6% T1 accuracy).
  • Complementarity: Combining LLM text with Wikipedia further boosted performance (e.g., reaching 79.6% on AWA2), suggesting that these sources provide non-overlapping, useful information.
  • Scaling Effects: Performance improved with the size of the LLM used for generation, with PaLM-540B providing the most effective supervision compared to smaller variants or GPT-3.

Conclusion

I2MVFormer demonstrates that LLMs can serve as highly effective, scalable annotators for zero-shot image classification. By generating and aggregating multiple descriptive views, the model bypasses the need for costly human attributes while achieving superior performance. Future research will focus on mitigating potential LLM hallucinations and optimizing the selection of visually descriptive prompts to further enhance classification accuracy.

Summary updated

BibTeX
@inproceedings{naeem2022i,
  author = {Muhammad Ferjad Naeem and Muhammad Gul Zain Ali Khan and Yongqin Xian and Muhammad Zeshan Afzal and Didier Stricker and Luc Van Gool and Federico Tombari},
  title = {{I2MVFormer: Large Language Model Generated Multi-View Document Supervision for Zero-Shot Image Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure