Non-generative Generalized Zero-shot Learning via Task-correlated Disentanglement and Controllable Samples Synthesis

Yaogong Feng, Xiaowen Huang, Pengbo Yang, Jian Yu, Jitao SangCVPR 2022

Abstract

Synthesizing pseudo samples is currently the most effective way to solve the Generalized Zero-Shot Learning (GZSL) problem. Most models achieve competitive performance but still suffer from two problems: (1) Feature confounding, where overall representations confound task-correlated and task-independent features, and existing models disentangle them in a generative way, which is unreasonable for synthesizing reliable pseudo samples with limited data; (2) Distribution uncertainty, where massive data is needed for existing models to synthesize samples from uncertain distributions, causing poor performance with limited samples of seen classes. In this paper, we propose a non-generative model, TDCSS, to address these problems via two modules: Task-correlated feature disentanglement and Controllable pseudo sample synthesis. Additionally, we formulate a new ZSL task named 'Few-shot Seen class and Zero-shot Unseen class learning' (FSZU). Extensive experiments on four benchmarks verify that the proposed method is competitive in GZSL and FSZU tasks.

Introduction

Generalized Zero-Shot Learning (GZSL) aims to recognize objects from classes never seen during training by leveraging semantic descriptions (e.g., attributes like "has stripes" or "is aquatic"). While modern state-of-the-art approaches typically rely on complex generative models such as Generative Adversarial Networks (GANs) or Variational Autoencoders (VAEs) to "imagine" unseen class features, these methods are often data-hungry and prone to noise.

This paper introduces TDCSS (Task-correlated Disentanglement and Controllable Samples Synthesis), a non-generative framework designed to overcome the limitations of generative GZSL. By focusing on feature purification and deterministic mathematical offsets rather than stochastic generation, TDCSS provides a more robust and data-efficient solution, particularly in scenarios where training data for seen classes is extremely scarce.

The Challenges of Generative GZSL

The authors identify two primary hurdles that hinder current generative models:

  1. Feature Confounding: Standard visual features extracted by backbone networks (like ResNet) often mix task-correlated information (the object itself) with task-independent information (background elements like grass, sky, or lighting). Generative models that fail to separate these components often synthesize noisy features that degrade classification accuracy.
  2. Distribution Uncertainty: Generative models require significant amounts of data to accurately model the distribution of a class. In low-data regimes, these models struggle to produce reliable pseudo-samples, leading to poor generalization to unseen classes.

The TDCSS Framework

TDCSS addresses these challenges through two specialized modules designed to work in tandem.

1. Task-correlated Feature Disentanglement

To resolve feature confounding, the model employs an adversarial training strategy to split visual features into two distinct vectors:

  • $h^{cor}$ (Task-correlated): Features directly related to semantic attributes (e.g., the stripes of a zebra).
  • $h^{ind}$ (Task-independent): Features representing irrelevant environmental noise (e.g., the savanna background).

By utilizing a Mutual Information Minimization loss, the model ensures these vectors are independent, effectively "purifying" the features. This ensures that the subsequent synthesis process only operates on the essential characteristics of the object.

2. Controllable Pseudo Sample Synthesis

Rather than using a GAN to generate samples from a latent noise distribution, TDCSS utilizes a deterministic approach. It takes a purified feature ($h^{cor}$) from a seen class and applies a semantic offset—the mathematical difference between the attribute vectors of a seen class (e.g., Horse) and an unseen class (e.g., Zebra).

The model synthesizes two types of samples:

  • Center-pseudo samples: These represent the prototypical version of the unseen class, facilitating basic knowledge transfer.
  • Edge-pseudo samples: These act as adversarial-like examples that represent the boundaries of the class distribution. By training on these edge cases, the model learns more robust decision boundaries, which is critical for distinguishing between visually similar classes.

Experimental Evaluation

Benchmarks and the FSZU Task

The authors evaluated TDCSS on four standard GZSL benchmarks: AWA1, AWA2 (Animals with Attributes), CUB (Caltech-UCSD Birds), and FLO (Oxford 102 Flowers).

Furthermore, the paper introduces a new, more challenging task: Few-shot Seen class and Zero-shot Unseen class learning (FSZU). In this setting, the model is provided with very few samples (as few as 2) for the seen classes, testing the model's ability to generalize when initial data is minimal.

Key Results

  • State-of-the-Art Performance: TDCSS achieved highly competitive results in standard GZSL. For instance, it reached a harmonic mean ($H$) of 66.1% on AWA2 and 66.2% on FLO.
  • Superiority in FSZU: The non-generative nature of TDCSS proved significantly more effective than generative models in low-data settings. In the extreme "Num=2" setting on AWA2, TDCSS maintained an $H$-score of 48.4%, whereas the leading generative model (SDGZSL) dropped to 11.6%.
  • Qualitative Validation: Saliency map visualizations confirmed that the disentanglement module successfully forced the model to focus on the animal's physical features while ignoring the background noise.

Conclusion

TDCSS demonstrates that complex generative architectures are not always necessary for effective Zero-Shot Learning. By prioritizing feature disentanglement and using controllable semantic offsets, the model achieves superior stability and performance, especially in data-constrained environments.

Future work may involve refining the disentanglement process for cases where objects have high natural camouflage and extending the offset logic to complex scenes containing multiple interacting objects.

Summary updated

BibTeX
@inproceedings{feng2022non,
  author = {Yaogong Feng and Xiaowen Huang and Pengbo Yang and Jian Yu and Jitao Sang},
  title = {{Non-generative Generalized Zero-shot Learning via Task-correlated Disentanglement and Controllable Samples Synthesis}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=CkCwLyAkxi},
}
Figure