Deconstructed Generation-Based Zero-Shot Model

Dubing Chen, Yuming Shen, Haofeng Zhang, Philip H. S. Torr

Abstract

Generalized Zero-Shot Learning (GZSL) has traditionally relied on complex generative models like GANs and VAEs to synthesize features for unseen classes, mitigating the inherent bias toward seen classes. However, these "black box" models are computationally expensive and their internal mechanisms are poorly understood. This paper deconstructs the generative process into two distinct components: class-level distribution (mapping attributes to visual centers) and instance-level distribution (modeling sample variance). Our empirical analysis reveals that the accuracy of class centers is the primary driver of performance, while the "realism" of generated instances is secondary. We introduce the Deconstructed Generation-Based Zero-Shot (DGZ) framework, a simplified approach that utilizes attribute augmentation and a revised cross-entropy loss to outperform complex state-of-the-art generative models.

Introduction

In computer vision, Generalized Zero-Shot Learning (GZSL) requires a model to identify objects from classes it has never seen during training, while maintaining performance on seen classes. The fundamental challenge is the "seen-class bias," where the model's decision boundaries are heavily skewed toward the data it has observed.

To address this, the field has pivoted toward generation-based methods. These models use semantic attributes (e.g., "has stripes," "is equine") to "imagine" visual features for unseen classes. While successful, the complexity of these generators often masks the underlying factors that contribute to their efficacy. This research aims to "deconstruct" these models to identify the essential elements of generative GZSL.

Deconstructing the Generative Process

The authors hypothesize that the generative process can be split into two layers:

  1. Class-level alignment: The ability to correctly map a set of semantic attributes to the mean (center) of that class in the visual feature space.
  2. Instance-level alignment: The ability to model how individual samples are distributed around that center.
Deconstruction of generative distributions into instance and class levels.

Through rigorous testing, the researchers discovered an "Aha!" moment: replacing the complex, realistic distributions produced by GANs with simple Gaussian noise centered on the class mean resulted in nearly identical classification performance. This suggests that the expensive pursuit of "realistic" image generation in GZSL may be over-engineered. The critical factor is establishing accurate "territories" for unseen classes in the feature space.

The DGZ Framework

Based on these insights, the proposed DGZ (Deconstructed Generation-Based Zero-Shot) framework simplifies the GZSL pipeline by focusing on three key areas:

1. Attribute Augmentation

To prevent the model from over-fitting to the specific, static attribute vectors of seen classes, DGZ introduces Gaussian noise to the input attributes during training. This forces the mapping network to learn a more robust, generalized relationship between semantics and visual features.

2. Mapping Network

Instead of a heavy generative architecture, DGZ employs a streamlined network that maps attributes directly to classifier weights. This reduces computational overhead while maintaining the precision needed to locate class centers.

3. Revised Cross-Entropy (RCE) Loss

The "secret sauce" of DGZ is the RCE loss. During training, for every seen sample, the model identifies the "hardest" unseen class—the one most likely to cause confusion. The RCE loss explicitly penalizes the model if the seen sample's activation for that specific unseen class is too high. This mechanism effectively "pushes" the decision boundaries of seen and unseen classes apart, directly combating seen-class bias.

Experimental Results

The DGZ framework was evaluated on four standard benchmarks: AWA2, CUB, SUN, and APY.

t-SNE visualizations of real vs. pseudo feature alignment across datasets.

As shown in the t-SNE visualizations (Figure 5), the pseudo-features generated by the simplified DGZ framework align remarkably well with the real feature distributions. Quantitatively, DGZ achieved state-of-the-art results. On the AWA2 dataset, it reached a Harmonic Mean (H) of 77.2%, significantly outperforming previous complex models like SDGZSL (73.7%). Furthermore, the "DGZ w/o GM" variant (which removes the generative component entirely) remained highly competitive, proving that a well-mapped class center is often sufficient for high-performance GZSL.

Conclusion

By deconstructing the "black box" of generative GZSL, this work demonstrates that the realism of synthesized features is less important than the accurate estimation of class centers and the strategic separation of decision boundaries. The DGZ framework provides a more efficient, interpretable, and robust alternative to traditional generative models, setting a new baseline for future research in zero-shot learning.

Summary updated

BibTeX
@inproceedings{chen2023deconstructed,
  author = {Dubing Chen and Yuming Shen and Haofeng Zhang and Philip H. S. Torr},
  title = {{Deconstructed Generation-Based Zero-Shot Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25102},
}
Figure