Creativity Inspired Zero-Shot Learning

Mohamed Elhoseiny, Mohamed ElfekiICCV 2019

Abstract

Zero-shot learning (ZSL) aims at understanding unseen categories with no training examples from class-level descriptions. To improve the discriminative power of zero-shot learning, we model the visual learning process of unseen categories with an inspiration from the psychology of human creativity for producing novel art. We relate ZSL to human creativity by observing that zero-shot learning is about recognizing the unseen and creativity is about creating a likable unseen. We introduce a learning signal inspired by creativity literature that explores the unseen space with hallucinated class-descriptions and encourages careful deviation of their visual feature generations from seen classes while allowing knowledge transfer from seen to unseen classes. Empirically, we show consistent improvement over the state of the art of several percents on the largest available benchmarks on the challenging task or generalized ZSL from a noisy text that we focus on, using the CUB and NABirds datasets. We also show the advantage of our loss on Attribute-based ZSL on three additional datasets (AwA2, aPY, and SUN).

Introduction

Zero-Shot Learning (ZSL) is often considered the "holy grail" of computer vision: the ability to recognize an object, such as a rare bird species, having only read a text description of it without ever seeing a training image. The primary hurdle in this field is seen-class bias. Because models are trained on a specific set of "seen" classes, they tend to project everything they encounter into those known categories.

To address this, we introduce CIZSL (Creativity Inspired Zero-Shot Learning). Our approach is inspired by the Wundt Curve from psychology, which suggests that human "likability" of art follows an inverted U-shape: we appreciate novelty, but if something becomes too unrealistic, it loses its appeal. In ZSL, this translates to generating features that are realistic yet distinct from known classes.

The Wundt Curve illustrates the relationship between novelty and generalization performance, guiding the CIZSL framework to avoid both seen-class bias and unrealistic generations.

Methodology

The CIZSL framework utilizes a Generative Adversarial Network (GAN) architecture to bridge the gap between text and vision. The system is designed to "imagine" the unseen space through two key technical components:

Hallucinated Text Descriptions

During training, the model creates "fake" class descriptions by interpolating between the embeddings of two seen classes. This allows the model to explore the "dark space" of the semantic manifold where no training data exists, effectively learning the boundaries of its own knowledge.

Creativity-Inspired Loss

The generator $G$ is trained with a multi-part loss function. Beyond simply tricking a discriminator into thinking generated features are "real," it must also maximize the entropy of the predicted class distribution for hallucinated inputs. This rewards the model if its "imagined" features do not look too much like any one specific bird it already knows, effectively using entropy as a proxy for novelty.

The CIZSL architecture: The generator produces visual features from hallucinated text $t^h$ that result in high-entropy predictions over seen classes, while seen text $t^s$ results in low-entropy, discriminative predictions.

Key Results and Insights

The researchers evaluated CIZSL on fine-grained bird datasets (CUB, NABirds) using raw Wikipedia text and attribute-based datasets (AwA2, aPY, SUN).

  • Significant Gains in GZSL: On the challenging Generalized Zero-Shot Learning task, CIZSL improved the Area Under the Seen-Unseen Curve (AUSUC) by several percentage points across all benchmarks.
  • The "Auklet" Test: In a head-to-head comparison between two very similar birds (Parakeet vs. Crested Auklet), the CIZSL model doubled the performance of previous state-of-the-art models, increasing the AUC from 0.13 to 0.27.
  • State-of-the-Art Retrieval: The model also excelled at Zero-Shot Retrieval—finding the correct image in a database given only a Wikipedia article—outperforming existing methods by up to 14% on the CUB dataset.

Conclusion

By framing ZSL as a creativity problem, CIZSL forces generative models to find the unique "visual signatures" that define unseen categories. While limitations remain regarding the complexity of semantic interpolation and the noise in raw web text, this work demonstrates that teaching AI to "imagine" is a powerful path toward true visual generalization.

Summary updated

BibTeX
@inproceedings{elhoseiny2019creativity,
  author = {Mohamed Elhoseiny and Mohamed Elfeki},
  title = {{Creativity Inspired Zero-Shot Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=OOu513dyMf-P},
}
Figure