A Systematic Evaluation and Benchmark for Embedding-Aware Generative Models: Features, Models, and Any-shot Scenarios

Liangjun Feng, Jiancheng Zhao, Chunhui ZhaoarXiv 2023 · DOI

Abstract

Current research in Zero-Shot Learning (ZSL) often prioritizes complex generative architectures while neglecting the quality of underlying visual and semantic features. This paper introduces the Generative Any-Shot Learning (GASL) repository, providing a unified benchmark for evaluating Embedding-Aware Generative Models (EAGMs). Through a systematic evaluation of ten representative models, we demonstrate that simple enhancements to visual and semantic features can significantly outperform architectural modifications. Our findings suggest that feature quality sets the performance ceiling for ZSL and Few-Shot Learning (FSL) tasks.

Introduction

Machine learning models typically struggle with "unseen" categories—objects absent from their training data. Zero-Shot Learning (ZSL) and Few-Shot Learning (FSL) address this by utilizing Embedding-Aware Generative Models (EAGMs). These models learn to synthesize visual features for unseen classes based on semantic descriptions (e.g., text attributes).

However, the field faces three primary challenges:

  1. Outdated Features: Reliance on frozen visual features from older pre-trained models (e.g., ResNet101 from 2016).
  2. Model Bias: An over-emphasis on generator complexity (GANs/VAEs) over input data quality.
  3. Fragmented Evaluation: A lack of unified protocols for "any-shot" scenarios, hindering fair comparison between ZSL and FSL models.
Overview of the EAGM framework for training and testing in ZSL and GZSL scenarios.

Methodology and the GASL Repository

The authors conducted a systematic evaluation of ten representative EAGMs, including f-CLSWGAN, CADA-VAE, and tf-VAEGAN. The study introduced two main interventions to improve performance:

Visual Feature Enhancement

Instead of using standard pre-trained features, the authors implemented:

  • Finetuned Features: Re-training the backbone on the "seen" classes of specific benchmarks.
  • Regularized Features: Finetuning the backbone with a triplet-style loss to align visual features with semantic descriptions.

Semantic Feature Enhancement

To improve text embeddings, the authors utilized:

  • GRU-based Descriptions: Implementing Gated Recurrent Units to mitigate overfitting.
  • Imbalanced GRU: A novel training objective that prioritizes semantic loss over visual loss during text-encoder training, enhancing discriminative power.

The GASL Repository was released to allow researchers to reproduce 65 experimental results across various scenarios with minimal effort.

Benchmarking Any-Shot Scenarios

The study utilizes five standard benchmarks: Oxford Flowers (FLO), Caltech-UCSD-Birds (CUB), SUN scene attributes, and Animals with Attributes (AWA/AWA2). These are evaluated across six "any-shot" scenarios, ranging from zero to a few samples.

Definitions and training/test set compositions for the six any-shot learning tasks: ZSL, GZSL, UFSL, GUFSL, SFSL, and GSFSL.

Key Insights and Results

The evaluation yielded several critical findings:

  • Feature Quality as a Ceiling: ZSL/FSL performance is fundamentally limited by the quality of input embeddings. Even advanced generators cannot compensate for poor features.
  • Impact of Finetuning: Finetuning the visual backbone on seen classes led to significant gains. On the CUB dataset, regularized features improved accuracy by an average of 13.5% across all models.
  • Semantic Regularization: Aligning visual models with text descriptions during learning creates more robust embeddings for zero-shot transfer.
  • Model Rankings: Interestingly, when using improved features, simpler models like f-CLSWGAN often outperformed more complex architectures, suggesting that previous performance gaps were largely due to data quality rather than architectural flaws.

Conclusion and Future Directions

While EAGMs excel in ZSL, they still face challenges in Few-Shot (FSL) scenarios, where models tend to overfit on the few available real samples rather than leveraging synthetic ones. Additionally, a domain gap remains between synthetic and real features. Future research should focus on improving cross-modal alignment—ensuring "imagined" visual features accurately reflect text descriptions—rather than solely increasing model depth or complexity.

Summary updated

Abstract

Embedding-aware generative model (EAGM) addresses the data insufficiency problem for zero-shot learning (ZSL) by constructing a generator between semantic and visual feature spaces. Thanks to the predefined benchmark and protocols, the number of proposed EAGMs for ZSL is increasing rapidly. We argue that it is time to take a step back and reconsider the embedding-aware generative paradigm. The main work of this paper is two-fold. First, the embedding features in benchmark datasets are somehow overlooked, which potentially limits the performance of EAGMs, while most researchers focus on how to improve EAGMs. Therefore, we conduct a systematic evaluation of ten representative EAGMs and prove that even embarrassedly simple modifications on the embedding features can improve the performance of EAGMs for ZSL remarkably. So it's time to pay more attention to the current embedding features in benchmark datasets. Second, based on five benchmark datasets, each with six any-shot learning scenarios, we systematically compare the performance of ten typical EAGMs for the first time, and we give a strong baseline for zero-shot learning (ZSL) and few-shot learning (FSL). Meanwhile, a comprehensive generative model repository, namely, generative any-shot learning (GASL) repository, is provided, which contains the models, features, parameters, and scenarios of EAGMs for ZSL and FSL. Any results in this paper can be readily reproduced with only one command line based on GASL.
BibTeX
@misc{feng2023systematic,
  author = {Liangjun Feng and Jiancheng Zhao and Chunhui Zhao},
  title = {{A Systematic Evaluation and Benchmark for Embedding-Aware Generative Models: Features, Models, and Any-shot Scenarios}},
  year = {2023},
  eprint = {2302.04060},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.04060},
}
Figure