Introduction
Traditional Zero-Shot Learning (ZSL) focuses on recognizing "unseen" classes by leveraging semantic descriptions (attributes) shared with "seen" classes. While effective in static environments, real-world applications often encounter data in continuous streams. When a standard ZSL model is sequentially trained on new datasets, it typically suffers from Catastrophic Forgetting, losing the ability to recognize classes from previous tasks. This paper, presented at IJCAI-20, introduces Lifelong Zero-Shot Learning (LZSL), a framework designed to learn new ZSL tasks sequentially while maintaining performance on earlier ones.
Problem Formulation
The core challenge in LZSL is two-fold. First, the model must prevent the degradation of knowledge from previous datasets as it adapts to new ones. Second, it must handle attribute isomerism—the inconsistency in semantic embeddings across different datasets. For instance, one dataset might describe objects by color, while another uses shape or texture. Reconciling these diverse "languages" of description in a continuous learning setting is critical for robust performance.
Methodology
The proposed solution extends the CADA-VAE architecture, which aligns visual features and semantic attributes in a shared latent space. To adapt this for lifelong learning, the authors implement three primary strategies:
- Unified Semantic Embedding: The VAE's latent space acts as a universal translator. Instead of relying on raw, inconsistent attributes, the model generates unified latent representations that facilitate cross-dataset classification.
- Selective Retraining (SR): To maintain stability, the model identifies and freezes weights crucial for previous tasks. Only a subset of "affected" neurons is updated for new datasets, preserving the integrity of established classification spaces.
- Knowledge Distillation (KD): A distillation loss is employed to ensure that the current model's latent features remain consistent with those of its predecessor. This serves as a functional memory of the model's prior state.
Experimental Evaluation
The framework was evaluated using four standard ZSL benchmarks: aPY, AWA1, CUB, and SUN. These datasets were presented in alphabetical order to simulate a lifelong learning scenario. Visual features were extracted using a pre-trained ResNet-101 for all images.
Results and Discussion
The LZSL method demonstrated significant improvements over baselines such as Sequential Fine-Tuning (SFT) and standard regularization (L1/L2).
- Knowledge Retention: On the initial dataset (aPY), the proposed method maintained a harmonic mean ($H$) score of 34.81% after completing the sequence, whereas the "Base" model's performance dropped to near zero.
- Overall Accuracy: Across all datasets, the method achieved an average $H$ score of 42.48%, representing a 4.45% improvement over the strongest baseline.
- Ablation Study: Results confirmed that both Knowledge Distillation and Selective Retraining are vital components; removing either led to substantial performance drops on earlier tasks.
Conclusion
Lifelong Zero-Shot Learning addresses the practical need for models that evolve without forgetting. By leveraging a stable latent space and surgical weight updates, the proposed framework successfully balances plasticity and stability. Future research may explore "Lifelong Open-Vocabulary Learning" to reduce dependency on human-annotated attributes and investigate the impact of task ordering on model performance.
Summary updated