Evolutionary Generalized Zero-Shot Learning

Dubing Chen, Chenyi Jiang, Haofeng Zhang, Gaolei Li, Jianhua Li, Hang Zhang

Abstract

Traditional Zero-Shot Learning (ZSL) models are typically static, leading to a significant "domain shift" when they encounter real-world data streams post-deployment. We introduce Evolutionary Generalized Zero-Shot Learning (EGZSL), a novel framework that allows models to continuously learn and refine their knowledge from unlabeled data during deployment. By combining momentum-based distillation with adaptive class-specific filtering, EGZSL enables models to autonomously "evolve," mitigating catastrophic forgetting and prediction bias. Our results on benchmark datasets show that EGZSL consistently improves performance over time, unlike standard self-training methods which often degrade due to noise.

Introduction

Zero-Shot Learning (ZSL) aims to recognize novel categories by leveraging semantic attributes as a bridge. However, most ZSL models are deployed as static entities, making them vulnerable to the domain shift problem—where the model's internal class representations diverge from real-world data. While transductive ZSL attempts to address this by using all test data at once, it is impractical for streaming applications where data arrives sequentially.

The proposed EGZSL framework addresses three primary challenges in streaming ZSL:

  1. Catastrophic Forgetting: Preventing the loss of previously acquired knowledge during new updates.
  2. Initial Prediction Bias: Overcoming the inherent bias towards "seen" classes that leads to incorrect pseudo-labeling.
  3. Data Class Bias: Managing imbalanced data streams where certain classes may be overrepresented in small batches.

The EGZSL Framework

EGZSL enables continuous evolution from a base Inductive GZSL model through several key mechanisms designed for stability and accuracy in dynamic environments.

The EGZSL framework overview showing model evolution over time through continuous learning and label refinement.
  • Pseudo-Labeling & Self-Training: The model generates labels for incoming unlabeled data and uses them for self-directed updates.
  • Global Information Maintenance: A Momentum Model (an Exponential Moving Average of the active model) is maintained to provide stable knowledge distillation via KL divergence, preventing the active model from drifting too far from its core knowledge base.
  • Class Selection for Stability: Updates are restricted to parameters of classes identified in the current batch, preventing "hallucinated" updates for absent classes.
  • Adaptive Thresholding: A curriculum-based threshold tracks historical confidence, lowering the bar for difficult "unseen" classes and raising it for "seen" ones to ensure balanced learning and combat the "Matthew Effect" (where the model only learns from classes it's already confident in).

Experimental Evaluation

The framework was evaluated on three major ZSL benchmarks: AWA2 (Animals with Attributes 2), APY (Attribute Pascal and Yahoo), and CUB (Caltech-UCSD Birds). To simulate real-world conditions, test sets were partitioned into small streaming batches of 10 or 100 samples.

Results and Discussion

A key finding is the contrast between EGZSL and standard Empirical Risk Minimization (ERM). While ERM performance often degrades over a stream due to noise and bias accumulation, EGZSL exhibits a clear upward "evolution curve."

Comparison of accuracy over time steps between EGZSL (Ours) and standard ERM, showing the sustained performance of the evolutionary approach.
  • Performance Gains: On AWA2, EGZSL improved the Harmonic Mean (H) score from 72.8% to 77.0%. Even on challenging datasets like APY, where basic ERM failed completely, EGZSL maintained stability and showed improvement.
  • The Matthew Effect: Adaptive thresholding proved crucial. By equalizing the learning rate across seen and unseen classes, it allowed the model to gain confidence in novel categories even when initial predictions were weak.
  • Granularity: The evolution was more pronounced in coarse-grained datasets (AWA2) compared to fine-grained ones (CUB), suggesting that visual bias correction is more impactful when classes are more distinct.

Conclusion and Future Work

EGZSL demonstrates that models can autonomously improve in the wild without human supervision. While a performance gap remains compared to transductive ZSL—which has the advantage of seeing the entire distribution repeatedly—EGZSL provides a robust solution for real-time streaming. Future research will explore more sophisticated out-of-distribution (OOD) detectors to further enhance the model's ability to distinguish between known and unknown categories in complex data streams.

Summary updated

BibTeX
@inproceedings{chen2024evolutionary,
  author = {Dubing Chen and Chenyi Jiang and Haofeng Zhang and Gaolei Li and Jianhua Li and Hang Zhang},
  title = {{Evolutionary Generalized Zero-Shot Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=pU1OCH1a33},
}
Figure