Abstract
Zero-Shot Learning (ZSL) aims to recognize unseen image categories by leveraging auxiliary semantic information. While encyclopedic documents offer a scalable alternative to manual attribute annotations, they often suffer from non-visual noise and coupled semantics. This paper introduces Multi-Attribute Document Supervision (MADS), a framework that utilizes Large Language Models (LLMs) to transform unstructured text into clean, attribute-specific descriptions. By decoupling semantic information and employing a novel "focus loss" to prioritize visual vocabulary, MADS significantly improves image-text alignment. Experimental results demonstrate that MADS outperforms existing state-of-the-art methods by an average of over 7% across major benchmarks.
Introduction: The Challenge of Noisy Semantics
The primary hurdle in document-based ZSL is the misalignment between visual features and textual descriptions. Standard encyclopedic entries, such as those from Wikipedia, contain significant "noise"—information regarding diet, history, or internal biology that lacks a direct visual correlate. Furthermore, visual traits like color, shape, and habitat are often intertwined within the same paragraph, making it difficult for models to learn specific mappings.
As illustrated in Figure 1, previous methods struggle with "non-visual noise" (e.g., sounds or scents), leading to incorrect predictions. MADS addresses this by dividing documents into explicit visual attribute views, ensuring that the model aligns images only with relevant visual descriptors.
Methodology
The MADS framework consists of two primary components: a structured data collection pipeline and a specialized neural architecture.
1. Multi-Attribute Document Collection
MADS employs a "decomposed prompting" strategy using LLMs (e.g., GPT-4) to refine raw encyclopedic text. The process involves:
- Attribute View Generation: Identifying domain-specific visual categories (e.g., "Size & Shape," "Color & Pattern").
- Document Decomposition: Instructing the LLM to act as a domain expert to sort existing sentences into these categories, effectively filtering out non-visual information.
- Knowledge Enrichment: Leveraging the LLM's internal knowledge to augment descriptions for rare or sparsely documented classes, ensuring every category has a rich, multi-view description.
2. The MADS Network and Focus Loss
The architecture is designed to maintain the separation of these attribute views. Each paragraph is processed independently to prevent semantic coupling. To further refine the alignment, the authors introduce Focus Loss. This model-agnostic loss function utilizes a predefined vocabulary of visual words (nouns and adjectives) to penalize the model when its attention drifts toward non-visual "filler" words like prepositions or adverbs. This ensures the model prioritizes discriminative visual features during training.
Experimental Evaluation and Results
The MADS framework was evaluated on three standard benchmarks: Animals with Attributes 2 (AWA2), Caltech-UCSD Birds (CUB), and Oxford Flowers (FLO).
As shown in the results table, MADS achieves a substantial performance leap over previous state-of-the-art (SOTA) models. In the standard ZSL setting, MADS improved accuracy by an average of 7.2%. In the more challenging Generalized Zero-Shot Learning (GZSL) setting, the improvement reached 8.2%. Notably, the Focus Loss alone contributed significant gains when integrated into baseline architectures, highlighting its effectiveness in guiding model attention without adding new parameters.
Conclusion
MADS demonstrates that the key to scaling ZSL lies not just in the quantity of auxiliary data, but in its structure and relevance. By using LLMs as sophisticated pre-processors to "clean" expert knowledge and introducing explicit attention guidance through Focus Loss, MADS bridges the gap between noisy natural language and precise visual recognition. Future work may explore dynamic visual word identification to further enhance the robustness of the Focus Loss mechanism.
Summary updated