Generative Multi-Label Zero-Shot Learning

Akshita Gupta, Sanath Narayan, Salman H. Khan, Fahad Shahbaz Khan, Ling Shao, Joost van de Weijer · DOI

TL;DR

This paper tackles the challenging problem of multi-label zero-shot learning (ML-ZSL), where the goal is to classify images containing multiple objects into categories unseen during training. They introduce a novel generative approach that synthesizes realistic multi-label visual features, outperforming existing methods on several benchmarks and demonstrating its utility in zero-shot object detection.

What Problem Does This Paper Address?

Traditional multi-label classification aims to assign multiple labels to an image. However, zero-shot learning (ZSL) extends this by requiring models to classify images into categories for which no labeled training data exists. Multi-label zero-shot learning (ML-ZSL) combines these challenges: classifying images with multiple potential labels into unseen categories. Existing ML-ZSL methods often rely on attention mechanisms, but generating reliable attention maps for unseen classes during inference is difficult. While single-label ZSL has seen success with generative models (like GANs) that synthesize unseen class features, applying this to the multi-label setting, especially when multiple objects co-occur, remains unexplored. A key challenge is how to effectively fuse information from multiple class attributes and features to generate a coherent multi-label representation for unseen classes.

Methods

The authors propose a generative approach for ML-ZSL, focusing on synthesizing multi-label visual features. They introduce three fusion strategies:

  • Attribute-Level Fusion (ALF): This approach first computes a global image-level embedding by averaging the embeddings of all positive classes in an image. This global embedding is then fed into a generator to synthesize multi-label features. ALF captures label dependencies but may lack class-specific discriminability.
  • Feature-Level Fusion (FLF): In contrast, FLF synthesizes class-specific features individually from their respective embeddings and then integrates them in the feature space. This preserves class-specific discriminability but might not explicitly encode label dependencies.
  • Cross-Level Feature Fusion (CLF): This is the proposed novel approach, aiming to combine the strengths of ALF and FLF. CLF uses features from both ALF and FLF and employs a cross-level attention mechanism to enrich each feature by considering the context from the other. This allows for both label dependency and class-specific discriminability in the synthesized features.

These fusion strategies are integrated into two representative generative architectures: f-CLSWGAN and f-VAEGAN.

Datasets

The authors evaluate their approach on three large-scale multi-label datasets:

  • NUS-WIDE: Used for both ZSL and GZSL experiments.
  • Open Images: A large-scale dataset used for ZSL and GZSL.
  • MS COCO: Used for both ZSL and GZSL classification, and also for zero-shot object detection.

They also introduce new "proposed ZSL splits" for NUS-WIDE and Open Images to better conform to the zero-shot paradigm by ensuring no overlap between ImageNet classes (used for pre-training backbones) and the unseen classes in their splits.

Key Insights and Ideas

  • The power of generative models for ML-ZSL: The paper demonstrates that generative models, previously successful in single-label ZSL, can be effectively adapted for the more complex multi-label zero-shot setting.
  • The necessity of sophisticated feature fusion: Simply averaging or concatenating features from different sources (ALF and FLF) is not as effective as a more intelligent cross-level fusion mechanism (CLF) that allows features to inform and enrich each other.
  • CLF as a superior fusion strategy: The CLF approach consistently outperforms ALF and FLF, suggesting that a balanced approach capturing both global context and local discriminability is crucial for synthesizing realistic multi-label features.
  • Generalizability beyond classification: The proposed CLF approach is not limited to classification; it also shows promise when extended to the zero-shot object detection task.

Key Results

  • State-of-the-art performance: The proposed CLF approach, particularly when integrated with f-VAEGAN, achieves state-of-the-art results on the NUS-WIDE and Open Images datasets for both ZSL and GZSL tasks. For instance, on Open Images, CLF achieved absolute gains of 18.7% and 17.6% in GZSL F1 score over state-of-the-art methods.
  • Significant improvements over baselines: The CLF approach consistently outperforms ALF and FLF across all metrics and datasets, demonstrating the effectiveness of the proposed fusion strategy.
  • Zero-shot object detection success: The method also achieves favorable performance on the MS COCO dataset for generalized zero-shot object detection.
  • Qualitative improvements: Visualizations (t-SNE plots and example image predictions) show that CLF-generated features are more discriminative and that the model correctly predicts more unseen classes while reducing false positives compared to ALF and FLF.

Limitations and Future Work

  • Backbone dependency: The performance of the CLF approach is influenced by the backbone used for feature extraction, with stronger backbones like DINO ResNet-50 yielding better results.
  • Dataset splits: The paper highlights the importance of carefully curated dataset splits for ZSL to avoid bias from pre-trained backbones. They propose new splits to address this.
  • Future work: The authors hope their work serves as a solid baseline and encourages further research in generative multi-label zero-shot learning. The integration of CLF with discriminative approaches also suggests potential for hybrid models.

Summary updated

BibTeX
@article{gupta2021generative,
  author = {Akshita Gupta and Sanath Narayan and Salman H. Khan and Fahad Shahbaz Khan and Ling Shao and Joost van de Weijer},
  title = {{Generative Multi-Label Zero-Shot Learning}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2021},
  doi = {10.1109/tpami.2023.3295772},
}
Figure