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.
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.
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