Synthetic Sample Selection for Generalized Zero-Shot Learning

Shreyank N. GowdaWorkshops @ CVPR 2023

Abstract

Generalized Zero-Shot Learning (GZSL) has emerged as a pivotal research domain in computer vision, owing to its capability to recognize objects that have not been seen during training. Despite the significant progress achieved by generative techniques in converting traditional GZSL to fully supervised learning, they tend to generate a large number of synthetic features that are often redundant, thereby increasing training time and decreasing accuracy. To address this issue, this paper proposes a novel approach for synthetic feature selection using reinforcement learning. In particular, we propose a transformer-based selector that is trained through proximal policy optimization (PPO) to select synthetic features based on the validation classification accuracy of the seen classes, which serves as a reward. The proposed method is model-agnostic and data-agnostic, making it applicable to both images and videos and versatile for diverse applications. Our experimental results demonstrate the superiority of our approach over existing feature-generating methods, yielding improved overall performance on multiple benchmarks.

Introduction

Zero-Shot Learning (ZSL) aims to recognize objects or actions that were never seen during training by leveraging semantic attributes like "has wings" or "yellow beak." In the more realistic Generalized ZSL (GZSL) setting, the model must recognize both seen and unseen classes at test time. To bridge the gap between seen and unseen data, researchers typically use generative models (like GANs or VAEs) to create synthetic visual features for the unseen classes.

However, these generative models have a major flaw: they prioritize "realness"—making synthetic data look like the training distribution—without considering if that data actually helps a classifier distinguish between classes. This often results in a massive amount of redundant or noisy synthetic data that increases training time and can actually decrease accuracy due to class bias. The core insight of this work is that "realistic" synthetic features aren't always "useful" features; a sample might perfectly mimic a distribution but sit too close to a decision boundary, causing confusion.

Methods

The authors propose SPOT (Selection using Proximal policy OpTimization), a "plug-and-play" module designed to act as a gatekeeper for synthetic data. The pipeline consists of three main components:

  1. Feature Generating Network (FGN): This is any standard generative model (e.g., WGAN, f-VAEGAN) that produces synthetic features based on class attributes and noise.
  2. Transformer-based Selector: Instead of using all generated features, they are passed through a Transformer encoder. The Transformer uses self-attention to understand interdependencies between features and assigns a score to each one, ensuring diversity in the final selected set.
  3. Reinforcement Learning (PPO): The selector is trained using Proximal Policy Optimization (PPO). The "action" is a binary choice: select or discard a synthetic feature. The "reward" is the validation classification accuracy of the seen classes.
The SPOT framework architecture, featuring the Feature Generating Network (FGN), Transformer-based Selector, and the RL-based reward loop.

By using performance on seen classes as a reward signal for selecting unseen class features, the model effectively uses seen data as a proxy to improve generalization. SPOT is model-agnostic and data-agnostic, applicable to both image and video architectures.

Experimental Results

The authors evaluated SPOT across a wide variety of benchmarks, including image datasets (CUB, AWA1, SUN, and FLO) and video datasets (Olympics, HMDB51, and UCF101). For videos, they also utilized the TruZe Split, a rigorous protocol ensuring no overlap between pre-training and unseen test classes.

The addition of SPOT consistently improved performance across all tested base models and datasets. On image benchmarks, adding SPOT to models like WGAN and f-VAEGAN resulted in gains of up to 4.1% in top-1 accuracy.

Performance comparison of various base models with and without SPOT on standard image benchmarks.

In video action recognition, the improvements were even more pronounced, with gains of up to 4.5%. The method showed improvements regardless of whether the base generator was a GAN, a VAE, or a hybrid model, proving its versatility.

Conclusion

This paper introduces a novel reinforcement learning framework for synthetic sample selection in GZSL. By prioritizing utility over realism, SPOT filters out redundant and distracting synthetic features that hinder classification performance. While the addition of an RL agent increases training complexity, the consistent empirical gains across diverse image and video benchmarks demonstrate its effectiveness. Future work could investigate more granular reward functions to further refine the selection process in high-stakes applications.

Summary updated

BibTeX
@inproceedings{gowda2023synthetic,
  author = {Shreyank N. Gowda},
  title = {{Synthetic Sample Selection for Generalized Zero-Shot Learning}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
  url = {https://openreview.net/forum?id=Qkym4zgdx3},
}
Figure