VS-Boost: Boosting Visual-Semantic Association for Generalized Zero-Shot Learning

Xiaofan Li, Yachao Zhang, Shiran Bian, Yanyun Qu, Yuan Xie, Zhongchao Shi, Jianping Fan

Abstract

Generalized Zero-Shot Learning (GZSL) requires models to recognize both seen and unseen classes by bridging the gap between visual features and semantic attributes. Existing methods often treat these spaces as separate, failing to maintain consistent inter-class relationships across modalities. We present VS-Boost, a framework that introduces Relational Metric Learning (RML) to align the topological structures of visual and semantic spaces. By ensuring that visual similarities mirror semantic similarities, VS-Boost significantly enhances generalization. Our approach achieves state-of-the-art performance on multiple benchmarks, including a 10.1% improvement in Harmonic Mean on the APY dataset.

Introduction

The primary challenge in Generalized Zero-Shot Learning is the "visual-semantic gap." While models can learn to cluster "dogs" in both visual and semantic spaces, they often fail to ensure that the relationship between a "dog" and a "wolf" is consistent across these spaces. This lack of structural alignment hinders the model's ability to generalize from known categories to unseen ones.

VS-Boost addresses this by moving beyond simple point-to-point embedding. It focuses on Topology Alignment, ensuring that the relative distribution of classes in the visual feature space matches the distribution defined by their semantic attributes.

Methodology

The VS-Boost architecture integrates a generative backbone with a dual-stream metric learning module to refine feature representations.

The VS-Boost architecture featuring the WGAN backbone, Semantic Metric Learning (SML), and Relational Metric Learning (RML) modules.

Generative Backbone

The model utilizes a Wasserstein GAN (WGAN) to synthesize visual features for unseen classes based on their semantic attributes. This helps mitigate the data imbalance inherent in GZSL, where training data for unseen classes is unavailable.

Semantic Metric Learning (SML)

The SML module projects visual features into the semantic space. It employs an InfoNCE loss to encourage features to be more discriminative and closely aligned with their corresponding class attributes.

Relational Metric Learning (RML)

RML is the core innovation of VS-Boost. It uses a learnable function to compute the similarity between pairs of visual features and applies a Binary Cross Entropy (BCE) loss to force these similarities to match the cosine similarity of the corresponding semantic attributes. Mathematically, if two classes are semantically similar, RML ensures their visual representations are similarly positioned in the feature space.

Experiments and Results

We evaluated VS-Boost on five standard benchmarks: APY, AWA, CUB, FLO, and SUN.

Performance Gains

VS-Boost achieved state-of-the-art results on four of the five datasets. Most notably, on the challenging APY dataset, it reached a Harmonic Mean ($H$) of 58.1%, representing a 10.1% absolute improvement over previous methods. It also showed consistent gains on fine-grained datasets like CUB and FLO.

Visual Consistency

The impact of the refinement process is clearly visible through t-SNE visualizations. As shown below, the refinement process significantly reduces the gap between real and synthesized features, creating more compact and distinct clusters.

t-SNE visualizations comparing original and refined features. Panels (a) and (b) show the alignment of real and synthesized samples, while (c) and (d) show the overall feature distribution.

Conclusion

VS-Boost demonstrates that aligning the relational structures of visual and semantic spaces is crucial for effective Zero-Shot Learning. While the model faces some limitations on datasets with low-dimensional semantic information (like SUN), its ability to boost performance on diverse benchmarks proves the value of relational metric learning. Future research will explore incorporating self-supervised visual relationships to further bridge the gap when semantic attributes are sparse.

Summary updated

BibTeX
@inproceedings{li2023vs,
  author = {Xiaofan Li and Yachao Zhang and Shiran Bian and Yanyun Qu and Yuan Xie and Zhongchao Shi and Jianping Fan},
  title = {{VS-Boost: Boosting Visual-Semantic Association for Generalized Zero-Shot Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/123},
}
Figure