Progressive Semantic-Visual Mutual Adaption for Generalized Zero-Shot Learning

Man Liu, Feng Li, Chunjie Zhang, Yunchao Wei, Huihui Bai, Yao Zhao

Abstract

Generalized Zero-Shot Learning (GZSL) often suffers from "semantic ambiguity," where static attribute prototypes fail to capture the diverse visual appearances of features across different categories. This paper introduces the Progressive Semantic-Visual Mutual Adaption (PSVMA) network, a dual-transformer architecture designed to progressively adapt attribute prototypes to specific image instances. By facilitating mutual adaptation between semantic and visual domains, PSVMA achieves state-of-the-art performance across major benchmarks, significantly improving the recognition of unseen categories.

Introduction

Generalized Zero-Shot Learning (GZSL) is a critical task in computer vision that requires models to recognize images from both seen and unseen classes. To bridge the gap between these classes, models typically leverage auxiliary semantic information, such as attribute descriptions (e.g., "has wings," "yellow belly").

A fundamental challenge in GZSL is semantic ambiguity. Conventional methods employ a single, static prototype for each attribute. However, the visual manifestation of an attribute can vary wildly; for instance, a dolphin's tail is visually distinct from a rat's tail. This discrepancy makes it difficult for models to establish accurate mappings between visual pixels and semantic labels, hindering the effective transfer of knowledge to unseen categories.

Methodology

The proposed PSVMA network addresses this by introducing a Dual Semantic-Visual Transformer Module (DSVTM). Unlike traditional one-way alignment strategies, PSVMA performs a mutual adaptation between image features and semantic attributes.

The PSVMA framework architecture featuring the Dual Semantic-Visual Transformer Module (DSVTM) for progressive feature enhancement.

The DSVTM consists of two core components:

  1. Instance-Motivated Semantic Encoder (IMSE): This module transforms generic category attributes into instance-centric prototypes. Using cross-attention, it analyzes a specific image to determine the visual characteristics of attributes for that particular instance.
  2. Semantic-Motivated Instance Decoder (SMID): Following semantic adaptation, this module utilizes the refined attributes to enhance visual features. It directs the model's focus toward discriminative image regions, resulting in unambiguous visual representations.

This adaptation process is progressive, occurring across multiple recurrent refinement loops and different layers of a Vision Transformer (ViT) backbone. Additionally, a debiasing loss is implemented to prevent the model from over-favoring seen classes.

Experimental Results

PSVMA was evaluated on three standard GZSL benchmarks: CUB (birds), SUN (scenes), and AwA2 (animals). The model consistently outperformed existing generative and embedding-based methods, particularly in the Harmonic Mean (H) metric, which balances seen and unseen class accuracy.

  • AwA2: Achieved an H-score of 75.4%, a 2.3% improvement over previous benchmarks.
  • CUB: Reached an H-score of 73.8%, demonstrating superior performance in fine-grained recognition.
  • SUN: Attained an H-score of 52.3%, proving robust even in complex scene recognition tasks.

Resolving Semantic Ambiguity

A key strength of PSVMA is its ability to resolve the "Dolphin-Rat" dilemma. As shown in the qualitative analysis, the model successfully identifies the "tail" attribute in both species despite their vast visual differences, whereas prior state-of-the-art methods often failed to recognize the attribute in one or both cases.

Qualitative comparison demonstrating PSVMA's ability to resolve semantic ambiguity in 'tail' attributes across diverse species compared to APN and TransZero.

Discussion and Conclusion

The success of PSVMA highlights that mutual adaptation is essential for effective GZSL. By allowing semantic templates to remain flexible and adapt to visual context, the model creates a more precise bond between domains. Progressive refinement further sharpens the model's attention, leading to increasingly accurate localizations.

However, the authors note that excessive adaptation (beyond 4 loops) can lead to performance degradation due to overfitting on seen instance details. Future research may explore more complex spatial relationships between attributes to further enhance disambiguation capabilities.

Summary updated

BibTeX
@inproceedings{liu2023progressive,
  author = {Man Liu and Feng Li and Chunjie Zhang and Yunchao Wei and Huihui Bai and Yao Zhao},
  title = {{Progressive Semantic-Visual Mutual Adaption for Generalized Zero-Shot Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure