Abstract
Zero-shot learning enables the model to recognize unseen categories with the aid of auxiliary semantic information such as attributes. Current works proposed to detect attributes from local image regions and align extracted features with class-level semantics. In this paper, we find that the choice between local and global features is not a zero-sum game; global features can also contribute to the understanding of attributes. In addition, aligning attribute features with class-level semantics ignores potential intra-class attribute variation. To mitigate these disadvantages, we present the Attribute Localization and Revision Network (ALRN). First, we design the Attribute Localization Module (ALM) to capture both local and global features from image regions, incorporating a novel Scale Control Unit (SCU) to fuse these representations. Second, we propose the Attribute Revision Module (ARM), which generates image-level semantics by revising the ground-truth value of each attribute, compensating for performance degradation caused by ignoring intra-class variation. Finally, the output of ALM is aligned with revised semantics produced by ARM. Comprehensive experimental results on three widely used benchmarks demonstrate the effectiveness of our model in zero-shot prediction tasks.
Introduction
Zero-Shot Learning (ZSL) aims to recognize objects from categories the model has never seen during training by using attributes (e.g., "has wings," "is furry") as a semantic bridge. However, existing attention-based ZSL models face two significant challenges. First, there is a "Local-Global Tug-of-War": while many models focus on localizing attributes in specific regions (e.g., "horns"), many attributes are holistic (e.g., "is a grazer") and require a global scene context. Second, standard ZSL assumes static class-level attribute values, ignoring intra-class variation where an attribute like "orange" may vary in intensity or shade across individuals of the same species.
Methodology
The Attribute Localization and Revision Network (ALRN) addresses these issues through two primary components: the Attribute Localization Module (ALM) and the Attribute Revision Module (ARM).
Attribute Localization Module (ALM) and Scale Control Unit (SCU)
The ALM extracts both local and global features simultaneously. Local features are captured via an attention mechanism focused on specific image regions, while global features are obtained through global average pooling to provide context. To manage the integration of these features, the Scale Control Unit (SCU) acts as a gating mechanism that adaptively fuses local and global representations based on the specific attribute being processed. For instance, the SCU may prioritize local features for "beak" and global features for "habitat."
Attribute Revision Module (ARM)
To account for intra-class variation, the ARM generates dynamic image-level semantics. Rather than relying on a fixed class-level attribute vector, the ARM produces "revision weights" for each image. These weights adjust the ground-truth attributes to create a more accurate, image-specific target, allowing the model to learn that attributes exist on a spectrum rather than as binary or fixed values.
Experiments and Results
The ALRN was evaluated on three standard benchmarks: CUB (birds), AWA2 (animals), and SUN (scenes). The model achieved state-of-the-art (SOTA) performance in Generalized Zero-Shot Learning (GZSL), where the model must distinguish between both seen and unseen classes:
- CUB: Achieved a Harmonic Mean (H) of 72.6%, a 2.2% improvement over previous methods.
- AWA2: Achieved an H of 72.1%, establishing a new SOTA.
- SUN: Achieved an H of 40.9%, a significant 3.3% lead over the representative APN method.
In conventional ZSL, ALRN also secured the top spot on the CUB dataset with 77.2% accuracy. These results underscore the importance of incorporating holistic attributes and addressing semantic ambiguity through dynamic revision.
Conclusion
ALRN demonstrates that the integration of local and global features, combined with image-specific attribute revision, significantly enhances ZSL performance. By moving away from rigid class-level definitions and embracing intra-class variation, the model achieves superior robustness across diverse datasets. Future work will explore the use of Vision Transformers (ViT) to further improve the capture of long-range dependencies and conceptual holistic attributes.
Summary updated