Enhancing Generalized Zero-Shot Learning via Adversarial Visual-Semantic Interaction

Shivam Chandhok, Vineeth N. BalasubramanianarXiv 2020

TL;DR

This paper introduces a novel two-level adversarial learning framework for Generalized Zero-Shot Learning (GZSL) that enhances visual-semantic coupling by jointly training generative and inference networks. This approach aims to better capture data distribution modes and generate more discriminative features, leading to state-of-the-art performance on GZSL benchmarks.

What Problem Does This Paper Address?

Generalized Zero-Shot Learning (GZSL) aims to classify images from both seen (training) and unseen (novel) classes. A major challenge is enabling models to recognize objects they've never encountered during training, relying on semantic information (like attributes) to bridge the gap. Generative GZSL methods attempt to synthesize features for unseen classes, but their performance hinges on how well they capture the underlying data distribution and facilitate knowledge transfer. Existing methods often struggle with a "weak" visual-semantic coupling, leading to suboptimal performance, especially when test images can belong to either seen or unseen classes. This paper addresses the need for a more robust and tightly coupled visual-semantic interaction to improve GZSL performance.

Methods

The proposed method introduces a unified framework with a two-level adversarial training strategy. Key components include:

  • Generative Module: This module, based on Wasserstein GANs, learns to generate discriminative image features conditioned on semantic attributes. It's trained adversarially to produce realistic features.
  • Inference Module: This module learns to map image features to semantic attributes. It's trained adversarially and augmented with a Wasserstein semantic alignment loss to ensure the distribution of inferred semantic attributes aligns with ground truth, preserving semantic information.
  • Joint Maximization: A novel adversarial joint maximization loss is introduced. This uses a "joint discriminator" to match the joint probability of visual and semantic features, creating a stronger coupling between the generative and inference modules.
  • Recognition Module: The final classifier is trained not only on synthesized features but also on discriminative features from the intermediate layers of the inference network. This combines the strengths of generative and representation learning approaches.

The core novelty lies in the two-level adversarial training (individual modules and then jointly) and the explicit joint maximization step to enforce a tighter visual-semantic interaction.

Datasets

The paper evaluates its approach on four benchmark datasets:

  • CUB (Caltech-UCSD Birds): A fine-grained dataset.
  • FLO (Oxford Flowers): Another fine-grained dataset.
  • AWA1 (Animals with Attributes 1): A coarse-grained dataset.
  • AWA2 (Animals with Attributes 2): A coarse-grained dataset.

These datasets are standard for GZSL research and represent varying levels of granularity.

Key Insights and Ideas

  • Two-Level Adversarial Training is Crucial: Simply training generative and inference modules independently isn't enough. Adversarially training them together and then using a joint maximization loss significantly improves the visual-semantic coupling.
  • Joint Maximization Bridges the Gap: The proposed joint maximization loss, using a specialized joint discriminator, is key to achieving a strong interaction between visual and semantic spaces, going beyond simple cyclic consistency losses.
  • Inference Network Features Matter for Recognition: Leveraging intermediate features from the inference network, in addition to generated features, provides a significant performance boost for the final classifier. This suggests that learned semantic representations are valuable for recognition.
  • Wasserstein Alignment Preserves Semantics: The Wasserstein semantic alignment loss helps align the distribution of inferred semantic attributes with real ones, which is particularly important for fine-grained datasets where classes are closer.

Key Results

The proposed method achieves state-of-the-art performance across all four benchmark datasets (CUB, FLO, AWA1, AWA2) for the GZSL task. For instance, on CUB, the harmonic mean accuracy reaches 59.4%, and on AWA1, it's 65.7%. The paper demonstrates that their approach consistently outperforms existing methods, including those that use bidirectional mapping. Ablation studies confirm the effectiveness of each component: the generative module, inference module with joint maximization, additional features for recognition, and the Wasserstein alignment loss all contribute to performance gains. The method also shows stable training convergence and good generalization across different feature extractor backbones.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper presents ablation studies showing the impact of hyperparameters (α₁, α₂, γ), their optimal values can vary between fine-grained and coarse-grained datasets, suggesting a need for careful tuning.
  • Future Work: The authors suggest exploring alternative ways to perform joint maximization and investigating alignments beyond Wasserstein alignment to further improve GZSL performance. They also aim to unify existing latent representation and generative approaches into a single pipeline, which their current work has already begun to achieve.

Summary updated

Abstract

The performance of generative zero-shot methods mainly depends on the quality of generated features and how well the model facilitates knowledge transfer between visual and semantic domains. The quality of generated features is a direct consequence of the ability of the model to capture the several modes of the underlying data distribution. To address these issues, we propose a new two-level joint maximization idea to augment the generative network with an inference network during training which helps our model capture the several modes of the data and generate features that better represent the underlying data distribution. This provides strong cross-modal interaction for effective transfer of knowledge between visual and semantic domains. Furthermore, existing methods train the zero-shot classifier either on generate synthetic image features or latent embeddings produced by leveraging representation learning. In this work, we unify these paradigms into a single model which in addition to synthesizing image features, also utilizes the representation learning capabilities of the inference network to provide discriminative features for the final zero-shot recognition task. We evaluate our approach on four benchmark datasets i.e. CUB, FLO, AWA1 and AWA2 against several state-of-the-art methods, and show its performance. We also perform ablation studies to analyze and understand our method more carefully for the Generalized Zero-shot Learning task.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CUB-200-2011 · CUBTwo-Level Adversarial Visual-Semantic Coupling (Ours, Φ2)GZSL performance (Harmonic mean)65.35%0-shot · backbone=Φ2 · representation=1024-dimensional intermediate features · additional-features=1024-dimensional character-based CNN-RNN features
Source quote
L273: In Table \ref{fig:results}, we also show the results for our method using \Phi-2 as the feature extractor backbone for CUB (fine-grained) and AWA2 (coarse-grained) datasets. We see that GZSL performance increases from 59.4% to 65.35% in CUB, and 66.0% to 68.5% in AWA2. This shows that our model generalizes well to different feature extractor backbones and is not specific to learning from only ResNet-101 features.
AWA2Two-Level Adversarial Visual-Semantic Coupling (Ours, Φ2)GZSL performance (Harmonic mean)68.5%0-shot · backbone=Φ2 · representation=1024-dimensional intermediate features
Source quote
L273: In Table \ref{fig:results}, we also show the results for our method using \Phi-2 as the feature extractor backbone for CUB (fine-grained) and AWA2 (coarse-grained) datasets. We see that GZSL performance increases from 59.4% to 65.35% in CUB, and 66.0% to 68.5% in AWA2. This shows that our model generalizes well to different feature extractor backbones and is not specific to learning from only ResNet-101 features.
BibTeX
@misc{chandhok2020enhancing,
  author = {Shivam Chandhok and Vineeth N. Balasubramanian},
  title = {{Enhancing Generalized Zero-Shot Learning via Adversarial Visual-Semantic Interaction}},
  year = {2020},
  eprint = {2007.07757},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.07757},
}
Figure