NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Class Knowledge Overlay to Visual Feature Learning for Zero-Shot Image Classification

Cheng Xie, Ting Zeng, Hongxin Xiang, Keqin Li, Yun Yang, Qing Liu

Abstract

Zero-Shot Learning (ZSL) aims to classify images from categories not seen during training by leveraging semantic descriptions. However, existing generative approaches often struggle with inadequate semantic details and a lack of unseen examples. This paper introduces GAN-CST, a framework that utilizes a "Class Knowledge Overlay" (CKO) to enrich class descriptions by borrowing knowledge from semantically similar categories. Combined with a triplet loss for structural consistency and a semi-supervised learning strategy to refine visual boundaries, GAN-CST achieves state-of-the-art results on several fine-grained benchmarks.

Introduction

The core challenge of Zero-Shot Learning (ZSL) is bridging the gap between semantic descriptions (e.g., Wikipedia articles) and visual features. Recent advances have employed Generative Adversarial Networks (GANs) to synthesize visual features for unseen classes. Despite their promise, these models face two primary hurdles:

  1. Inadequate Knowledge: Brief text descriptions often lack the granularity required to distinguish between visually similar but distinct species.
  2. Inadequate Examples: The disjoint nature of seen and unseen classes makes it difficult for models to generalize effectively to novel distributions.

Proposed Methodology: GAN-CST

To address these limitations, the authors propose the GAN-CST architecture, which integrates semantic enrichment with robust feature generation and iterative refinement.

The GAN-CST architecture overview, illustrating the integration of visual feature extraction, semantic feature extraction, knowledge-to-visual learning, and semi-supervised learning.

Class Knowledge Overlay (CKO)

The CKO module enhances the semantic representation of a target class by identifying the top-$k$ most similar classes using Word2Vec embeddings. By concatenating the Wikipedia articles of these related classes, the model "borrows" descriptive features that might be missing from the target class's own documentation.

A heatmap representing semantic similarities between various bird species, which informs the Class Knowledge Overlay process.

Knowledge-to-Visual GAN with Triplet Loss

The enriched semantic features are encoded via TF-IDF and processed by a GAN generator. To ensure the synthesized features are discriminative, a triplet loss is applied. This constraint forces the generator to minimize intra-class distances while maximizing inter-class distances, effectively mimicking the natural clustering of real visual data.

Semi-Supervised Learning (SSL)

To mitigate the lack of unseen training data, GAN-CST employs a self-training loop. A k-Nearest Neighbors (k-NN) classifier assigns pseudo-labels to unlabeled images from unseen classes. High-confidence samples are then fed back into the training process, allowing the discriminator to refine the decision boundaries for these new categories.

Experimental Results

The model was evaluated on standard ZSL benchmarks, including CUB (Caltech UCSD Birds-2011), NAB (North America Birds), and AwA1/AwA2 (Animals with Attributes).

  • Standard ZSL: GAN-CST achieved a top-1 accuracy of 46.1% on the CUB dataset (Super-Category-Shared split), significantly outperforming previous baselines.
  • Generalized ZSL (GZSL): On AwA1, the model demonstrated exceptional performance with a harmonic mean of 84.0%, balancing high accuracy on both seen (97.2%) and unseen (73.9%) classes.
  • Zero-Shot Retrieval: The framework also excelled in retrieval tasks, reaching a Mean Average Precision (mAP) of 51.6% on CUB.

Conclusion

GAN-CST effectively addresses the "knowledge sparsity" problem in ZSL through its Class Knowledge Overlay and structural generative constraints. By iteratively refining the model via semi-supervised learning, it provides a robust solution for fine-grained image classification in data-scarce environments. Future work may involve incorporating more advanced generative architectures and structured knowledge graphs to further enhance semantic-visual alignment.

Summary updated

BibTeX
@article{xie2021class,
  author = {Cheng Xie and Ting Zeng and Hongxin Xiang and Keqin Li and Yun Yang and Qing Liu},
  title = {{Class Knowledge Overlay to Visual Feature Learning for Zero-Shot Image Classification}},
  journal = {Comput. Vis. Image Underst.},
  year = {2021},
  doi = {10.1016/j.cviu.2021.103206},
}
Figure