Evolutionary Generalized Zero-Shot Learning

Dubing Chen, Chenyi Jiang, Haofeng Zhang

Abstract

Attribute-based Zero-Shot Learning (ZSL) has revolutionized the ability of models to recognize new classes not seen during training. However, with the advancement of large-scale models, the expectations have risen. Beyond merely achieving zero-shot generalization, there is a growing demand for universal models that can continually evolve in expert domains using unlabeled data. To address this, we introduce a scaled-down instantiation of this challenge: Evolutionary Generalized Zero-Shot Learning (EGZSL). This setting allows a low-performing zero-shot model to adapt to the test data stream and evolve online. We elaborate on three challenges of this special task, i.e., catastrophic forgetting, initial prediction bias, and evolutionary data class bias. Moreover, we propose targeted solutions for each challenge, resulting in a generic method capable of continuous evolution from a given initial IGZSL model. Experiments on three popular GZSL benchmark datasets demonstrate that our model can learn from the test data stream while other baselines fail.

Introduction: The Shift to Evolutionary Learning

Traditional Zero-Shot Learning (ZSL) is typically a static process. A model is trained on "seen" classes using semantic attributes (e.g., "furry," "has wings") and then deployed to recognize "unseen" classes. While effective, these models are "one-and-done"; they do not improve once they encounter real-world data.

Transductive ZSL (TGZSL) attempts to address this by utilizing test data during training, but it assumes all test data is available offline. In contrast, real-world applications involve data arriving in a continuous, often imbalanced stream. This paper introduces Evolutionary Generalized Zero-Shot Learning (EGZSL), a paradigm where a model adapts to a test data stream and evolves online without human intervention.

Comparison of EGZSL with other learning paradigms such as SSL, CL, and TGZSL.

The Three Challenges of EGZSL

Transitioning from a static model to an evolving one introduces three significant hurdles:

  1. Catastrophic Forgetting: As the model learns from new streaming samples, it risks overwriting the foundational knowledge acquired during its initial training phase.
  2. Initial Prediction Bias: Because the base model was trained only on seen classes, it is naturally biased against unseen ones. This leads to poor-quality pseudo-labels for the incoming stream.
  3. Evolutionary Data Class Bias: Real-world data streams are rarely balanced. A model might encounter a "Matthew Effect" where it over-learns frequent classes, creating a feedback loop that further amplifies its initial biases.

Methodology: A Framework for Continuous Evolution

The authors propose a generic framework that can be applied to existing ZSL models to enable evolution. The approach is built on four pillars:

  • Pseudo-Labeling: The model generates labels for unlabeled streaming data based on its current state.
  • Global Information Maintenance (EMA): To combat forgetting, the system maintains a "Momentum Model"—an exponential moving average (EMA) of the model's weights. Kullback-Leibler (KL) divergence is used to ensure the active model does not drift too far from this historical global knowledge.
  • Class Selection for Stability: Instead of updating the entire weight matrix for every batch, the model selectively updates parameters only for the classes identified in the current batch, preserving the stability of other class representations.
  • Adaptive Thresholding: Standard self-training uses a flat confidence threshold, which often excludes unseen classes due to the model's inherent bias. The authors implement class-specific thresholds that adjust based on statistics, effectively "lowering the bar" for unseen classes to ensure they are represented in the learning process.

Experimental Results

The researchers evaluated EGZSL on three standard benchmarks: AWA2 (Animals with Attributes 2), APY (Attribute Pascal and Yahoo), and CUB (Caltech-UCSD Birds). The data was processed in streaming batches of 10 or 100 samples.

Evolution vs. Decay

A critical finding was the difference between the proposed method and naive Empirical Risk Minimization (ERM). Without the proposed safeguards, a model's performance actually decreases over time as it processes more data—a phenomenon termed "accuracy decay." In contrast, the EGZSL framework shows a steady upward trend in accuracy.

Performance comparison between the proposed method (a) and naive ERM (b) over time, showing the difference between evolution and decay.

On the AWA2 dataset, using a ZLA base model, the evolutionary approach achieved a Harmonic Mean (H-score) of 77.0%, a significant improvement over the static model's 72.8%. Conversely, naive ERM caused the H-score to drop to approximately 60% due to the amplification of biases and forgetting.

Conclusion

EGZSL represents a step toward more autonomous and adaptive AI. By addressing the core biases of zero-shot models and implementing mechanisms to prevent forgetting, the proposed framework allows models to improve "on the fly." While a gap still exists between this online evolution and full offline transductive learning, the results demonstrate that continuous improvement from a streaming source is not only possible but robust across varying batch sizes and datasets.

Summary updated

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