Visual Space Optimization for Zero-shot Learning

Xinsheng Wang, Shanmin Pang, Jihua Zhu, Zhongyu Li, Zhiqiang Tian, Yaochen LiarXiv 2019

Abstract

Zero-shot Learning (ZSL) relies on mapping semantic attributes to visual features to recognize unseen classes. However, raw visual feature spaces are often poorly structured, hindering effective mapping. This paper proposes two optimization strategies: learning discriminative visual prototypes (VPB) and explicitly optimizing the visual data structure within a common embedding space. Experimental results demonstrate that these methods significantly outperform existing approaches, particularly in the Generalized Zero-shot Learning (GZSL) setting.

Introduction

Zero-shot Learning (ZSL) aims to bridge the gap between seen and unseen classes using auxiliary semantic information, such as attribute descriptions. Most contemporary ZSL frameworks learn a mapping between a semantic space (attributes) and a visual space (CNN features). While mapping semantic vectors into the visual space helps mitigate the "hubness problem," the visual space itself is often suboptimal. Raw CNN features can be discretely distributed, where intra-class distances may exceed inter-class distances, making the learning of a clean mapping function difficult.

Proposed Methods

The authors introduce two distinct approaches to refine the visual representation for better semantic alignment.

1. Visual Prototype Based (VPB) Method

Instead of mapping semantic vectors to a broad "cloud" of visual instances, the VPB method learns a single, discriminative visual prototype for each class. Unlike static centroids (the mean of class features), these prototypes are learned via backpropagation using a cross-entropy loss. This ensures the prototypes are highly discriminative and serve as stable targets for the semantic mapping function.

2. Visual Data Structure Optimization

This method maps both visual and semantic features into a common intermediate embedding space. To refine this space, the authors employ two types of losses:

  • Ranking Losses: Triplet-style constraints ensure that matched visual-semantic pairs are closer than unmatched ones.
  • Structure Optimizing Loss: This novel loss explicitly forces instances of the same class to cluster more tightly while pushing different classes apart during the embedding process, effectively "cleaning" the visual distribution.
Conceptual comparison of (a) Visual Prototype Based method and (b) Visual Feature Structure Optimization method.

Technical Implementation

The structure optimization approach utilizes a multi-layer architecture to process semantic ($y$) and visual ($x$) inputs. The network is trained using a combination of embedding loss and the proposed structure optimizing loss to reorganize the feature manifold.

Neural network architecture illustrating the flow of inputs and the application of embedding and structure optimizing losses.

Experimental Results

The proposed methods were evaluated on standard ZSL benchmarks (AwA1, AwA2, CUB, and SUN) using the Proposed Split (PS) protocol.

  • Standard ZSL: The VPB method achieved state-of-the-art (SOTA) accuracy on AwA1 (72.3%) and AwA2 (73.8%).
  • Generalized ZSL (GZSL): The improvements were even more pronounced in the GZSL setting. On AwA1, VPB achieved a harmonic mean (H) of 55.6%, a 16.5% improvement over previous benchmarks.
  • Ablation Study: The inclusion of the structure optimizing loss led to consistent performance gains, notably a 7.9% increase on the fine-grained CUB dataset.

Conclusion

This work highlights that the structure of the visual space is a critical, yet often overlooked, factor in ZSL performance. By actively optimizing this space—either through learned prototypes or structural constraints—models can achieve much higher robustness and accuracy. Future work may involve integrating semantic manifold relationships directly into the visual prototype learning phase to further harmonize the joint embedding.

Summary updated

BibTeX
@misc{wang2019visual,
  author = {Xinsheng Wang and Shanmin Pang and Jihua Zhu and Zhongyu Li and Zhiqiang Tian and Yaochen Li},
  title = {{Visual Space Optimization for Zero-shot Learning}},
  year = {2019},
  eprint = {1907.00330},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.00330},
}
Figure