Make an Omelette with Breaking Eggs: Zero-Shot Learning for Novel Attribute Synthesis

Yu Hsuan Li, Tzu-Yin Chao, Ching-Chun Huang, Pin-Yu Chen, Wei-Chen Chiu

TL;DR

While traditional Zero-Shot Learning (ZSL) helps models recognize new categories without seeing them, it still relies on expensive, manually labeled attribute datasets. This paper introduces ZSLA (Zero-Shot Learning for Attributes), a method that synthesizes detectors for novel attributes by decomposing a small set of "seen" attributes into base components and reassembling them into new ones, significantly reducing the human labeling burden.

The Hidden Cost of Zero-Shot Learning

In the world of computer vision, Zero-Shot Learning is the "holy grail" of efficiency: it allows a model to identify a "Zebra" even if it has only seen "Horses" and "Stripes." However, there is a hidden cost. To make this work, humans must manually label thousands of images with hundreds of attributes (e.g., "has stripes," "pointy ears," "yellow beak"). For the famous CUB birds dataset, humans had to label 312 different attributes across nearly 12,000 images—a massive undertaking.

The authors ask a compelling question: Can we perform zero-shot learning on the attributes themselves? If we train a model to recognize "red wing" and "blue breast," can it automatically learn to detect "red breast" without any additional human labels?

Methods: Decompose and Reassemble

To achieve this, the authors propose a "decompose-and-reassemble" framework called ZSLA.

Conceptual overview of ZSLA showing the decomposition of seen attributes to extract base attributes and recombining them into novel attributes.

The process follows three main steps:

  1. Training Seen Detectors: They first train detectors for a small set of "seen" attributes (e.g., "red wing," "green head"). These detectors are built on top of a Vision Transformer (ViT) backbone. They use a uni-modal constraint to ensure the detector focuses on a specific, concentrated region of the image rather than the whole thing.
  2. Decomposition (The Intersection): Using a modified Transformer architecture, the model performs an "intersection" operation. If it takes the embeddings for "red wing" and "red head," it learns to extract the common denominator: the concept of "red."
  3. Reassembly (The Union): Once the model has "base attributes" (adjectives like "red" and object parts like "breast"), it uses a "union" operation (averaging embeddings) to synthesize a detector for a novel combination, such as "red breast."

The training is driven by a reconstruction loss: if the model reassembles a combination that it already has a label for, the synthesized detector must match the original seen detector.

Key Insights

  • Attributes are Compositional: The core "aha moment" is that most descriptive attributes follow an "Adjective + Object Part" structure. By treating attribute detection as a set operation problem, we can treat visual concepts like LEGO bricks.
  • Consistency Trumps Human Effort: Surprisingly, the authors found that their "auto-annotated" labels sometimes led to better classification performance than manual human labels. This is because human annotators are often inconsistent or biased, whereas a synthesized detector applies the same logic across the entire dataset.
  • Spatial Awareness is Key: For the "intersection" to work, the model must know where it is looking. The use of a uni-modal constraint ensures the model doesn't confuse a "red wing" with a "red berry" in the background.

Experimental Results

The researchers evaluated their method on the standard CUB-200-2011 dataset and a custom synthetic dataset called $\alpha$-CLEVR (designed to test robustness against noisy labels).

  • Efficiency: Using only 32 seen attributes, ZSLA successfully synthesized 207 novel attribute detectors for the CUB dataset.
  • Downstream Performance: When these 207 synthesized attributes were used to train standard Zero-Shot classification algorithms (like ALE or ESZSL), the models achieved performance comparable to—and sometimes exceeding—models trained on the full set of 312 manually labeled attributes.
  • Robustness: In the $\alpha$-CLEVR experiments, ZSLA proved significantly more robust to "noisy" training data than baseline methods, maintaining high accuracy even when 30% of the initial labels were wrong.
  • Localization: The synthesized detectors weren't just guessing; qualitative results show they accurately localized the correct body parts.
Qualitative results demonstrating the localization capability of synthesized detectors on novel attributes.

Limitations and Future Work

The primary limitation acknowledged is the structural requirement of the attributes. ZSLA relies on attributes that can be refactored (like "color + part"). It may struggle with more abstract or holistic attributes found in other datasets (like "majestic" or "scary") that don't have a clear compositional basis.

Future work could involve extending this logic to more complex semantic structures or exploring how self-supervised pre-training could further reduce the need for the initial "seen" attribute set.

Summary updated

BibTeX
@inproceedings{li2022make,
  author = {Yu Hsuan Li and Tzu-Yin Chao and Ching-Chun Huang and Pin-Yu Chen and Wei-Chen Chiu},
  title = {{Make an Omelette with Breaking Eggs: Zero-Shot Learning for Novel Attribute Synthesis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=CJNu9x9GlC},
}
Figure