Learning Class Prototypes via Structure Alignment for Zero-Shot Recognition

Huajie Jiang, Ruiping Wang, Shiguang Shan, Xilin Chen

Abstract

Zero-Shot Learning (ZSL) faces the challenge of recognizing objects from categories not seen during training by utilizing auxiliary semantic information. A significant hurdle is the "semantic gap," where human-defined attributes are often insufficient or inconsistent with visual structures. This paper introduces a Coupled Dictionary Learning (CDL) framework that addresses this by aligning the structural relationships between visual features and semantic descriptions. By treating class prototypes as a bridge and leveraging the high discriminative power of visual data, CDL "fixes" vague semantic attributes. Experimental results on standard benchmarks demonstrate that CDL significantly outperforms existing methods, particularly in the challenging Generalized Zero-Shot Learning (GZSL) setting.

Introduction: The Semantic Gap in Zero-Shot Learning

The core objective of Zero-Shot Learning (ZSL) is to recognize novel objects (e.g., a "Zebra") based solely on textual descriptions (e.g., "looks like a horse but has stripes") without prior visual training. Traditional approaches often struggle due to the inherent limitations of the semantic space.

The semantic gap: Visual and semantic spaces often exhibit inconsistent structures, making direct mapping difficult.

The authors identify two primary issues:

  1. Incompleteness: Human-defined attributes like "furry" or "tail" are often too coarse to distinguish between visually similar classes.
  2. Inconsistency: The structural relationships between classes in the visual domain (based on pixel data) frequently diverge from their relationships in the semantic domain (based on word embeddings or attributes).

Methodology: Coupled Dictionary Learning (CDL)

To bridge this gap, the proposed CDL framework aligns visual and semantic spaces through three integrated submodules.

The CDL framework: Aligning visual and semantic spaces through prototype learning and structure alignment.

1. Prototype Learning

Rather than processing every individual image sample, the model learns a "prototype"—a central representative vector—for each seen class in the visual space. This focus on prototypes makes the model more robust to noise and outliers compared to sample-based methods.

2. Structure Alignment

This is the central innovation of the paper. The model learns two separate dictionaries (bases) for the visual and semantic spaces. By forcing these dictionaries to share a common representation ($Z$), the model aligns the two spaces. This process allows the highly discriminative visual data to "teach" the semantic space how to better differentiate between classes, ensuring that distances between categories (e.g., "Cat" vs. "Dog") are consistent across both domains.

3. Domain Adaptation

To ensure the model generalizes to unseen classes, the authors incorporate semantic information from these novel categories during the alignment process. This prevents the model from overfitting to the specific characteristics of the training classes.

Experimental Evaluation

The CDL framework was evaluated on four standard ZSL benchmarks: aPY, AwA, CUB, and SUNA, using the rigorous "Proposed Split" (PS) protocol.

Key Results

  • State-of-the-Art Performance: CDL achieved superior accuracy on three out of four datasets. Notably, on the Animals with Attributes (AwA) dataset, it reached 69.9% accuracy, outperforming previous benchmarks like ALE (59.9%) and SYNC (54.0%).
  • Generalized Zero-Shot Learning (GZSL): In GZSL, where the test set includes both seen and unseen classes, CDL demonstrated exceptional balance. While many models fail on unseen classes due to overfitting, CDL maintained high performance on both, achieving a Harmonic Mean (H) of 40.6 on AwA—nearly double that of many competitors.

Discussion and Insights

The success of CDL highlights several key principles:

  • Visual Dominance: Visual space is naturally more discriminative. Aligning semantic space to visual structure allows it to inherit this "sharpness."
  • The Aligned Space: The "Aligned Space" ($Z$) serves as an effective middle ground, combining the discriminative power of visual features with the generalizability of semantic attributes.

Limitations

While effective, the model faced challenges on the fine-grained CUB (Birds) dataset, where class structures are extremely similar. Additionally, the current use of a single prototype per class may not capture the full diversity of object poses or viewpoints. Future work may involve integrating deep neural networks more tightly into the alignment process or utilizing multiple prototypes per category.

Summary updated

BibTeX
@inproceedings{jiang2018learning,
  author = {Huajie Jiang and Ruiping Wang and Shiguang Shan and Xilin Chen},
  title = {{Learning Class Prototypes via Structure Alignment for Zero-Shot Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01249-6\_8},
}
Figure