Evolutionary Generalized Zero-Shot Learning

Dubing Chen, Haofeng Zhang, Yuming Shen, Yang Long, Ling ShaoarXiv 2022 · DOI

Abstract

Traditional Generalized Zero-Shot Learning (GZSL) models are typically static, failing to adapt to new data distributions encountered after deployment. This paper introduces Evolutionary Generalized Zero-Shot Learning (EGZSL), a framework designed for online adaptation from continuous, unlabeled data streams. By integrating momentum-based distillation to prevent catastrophic forgetting and adaptive class-specific thresholds to mitigate prediction bias, EGZSL enables models to evolve and improve their recognition of unseen categories over time. Experimental results on standard benchmarks demonstrate that EGZSL significantly outperforms static baselines and avoids the performance degradation seen in naive online retraining approaches.

Introduction

Zero-Shot Learning (ZSL) aims to recognize objects from categories never seen during training by leveraging semantic attributes as a bridge. However, standard ZSL follows a "train-once-and-deploy" paradigm. Once deployed, these models remain static, unable to learn from the novel data they encounter. Furthermore, they often suffer from a significant prediction bias toward seen classes.

While Transductive ZSL attempts to use test data for adaptation, it assumes access to the entire test set simultaneously—a condition rarely met in real-world applications like autonomous systems or live monitoring. EGZSL addresses this by enabling a model to evolve online, learning from a continuous, unlabeled data stream without requiring access to the original training set.

The EGZSL Framework

The authors propose a three-pronged approach to handle the challenges of streaming, unlabeled data:

  1. Pseudo-Labeling with a Safety Net: The model generates pseudo-labels for incoming data to facilitate retraining. To prevent "catastrophic forgetting," a Global Momentum Model (a running average of the model's weights) acts as a teacher, distilling historical knowledge into the current model via Kullback-Leibler (KL) divergence.
  2. Class Selection for Stability: To maintain stability, the model only updates parameters for classes identified in the current data batch via pseudo-labels. This prevents erroneous updates to classes not present in the immediate stream.
  3. Adaptive Data Masking: To mitigate the "Matthew Effect"—where the model only improves on classes it already recognizes well—an adaptive threshold is implemented. Instead of a fixed confidence cutoff, the model tracks historical confidence for each class, allowing it to filter noisy labels more effectively for "unseen" categories.
The evolutionary process of EGZSL, showing how models inherit knowledge and adapt over time steps.

Experimental Setup

The framework was evaluated on three standard GZSL benchmarks:

  • AWA2 (Animals with Attributes 2): 50 animal species, 37,322 images.
  • APY (Attribute Pascal and Yahoo): 32 classes, 15,339 images.
  • CUB (Caltech-UCSD Birds 200-2011): A fine-grained dataset of 200 bird species.

To simulate real-world deployment, test sets were split into small batches (10 or 100 samples) to create a continuous data stream.

Key Results and Discussion

EGZSL consistently outperformed standard Inductive GZSL baselines. On the AWA2 dataset, the Harmonic Mean (H-score) improved from 72.8% (static) to 77.0% (evolutionary).

A critical finding was the comparison against naive online retraining, or Empirical Risk Minimization (ERM). As shown in the performance curves, the ERM approach suffers from rapid performance degradation as it accumulates errors from noisy pseudo-labels. In contrast, EGZSL maintains stability and shows an upward accuracy trend over time.

Comparison of accuracy trends over time between the proposed EGZSL method (a) and naive ERM (b).

Insights

  • Evolutionary Superiority: Even a lower-performing base model can eventually surpass sophisticated static models if allowed to evolve through deployment data.
  • Granularity Matters: The approach is more effective on coarse-grained datasets (AWA2) than fine-grained ones (CUB). In fine-grained scenarios, "visual bias" between highly similar species is harder to overcome without supervised signals.

Conclusion and Future Work

EGZSL demonstrates that online evolution is a viable path for robust AI deployment. While it significantly improves upon static models, a performance gap remains compared to Transductive ZSL. Future research may focus on improving information aggregation over time and optimizing computational efficiency for low-power edge devices. Additionally, the quality of the initial base model remains a critical factor, as extremely noisy initial pseudo-labels can still challenge the adaptive thresholding mechanism.

Summary updated

BibTeX
@misc{chen2022evolutionary,
  author = {Dubing Chen and Haofeng Zhang and Yuming Shen and Yang Long and Ling Shao},
  title = {{Evolutionary Generalized Zero-Shot Learning}},
  year = {2022},
  eprint = {2211.13174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.13174},
}
Figure