Recognizing Unseen Attribute-Object Pair with Generative Model

Zhixiong Nan, Yang Liu, Nanning Zheng, Song-Chun Zhu

Introduction

Recognizing novel combinations of known concepts—such as identifying an "old dog" after seeing only "small dogs" and "old books"—is a fundamental challenge in computer vision known as compositional zero-shot learning (CZSL). This paper proposes a novel encoder-decoder generative model that maps visual features and linguistic word embeddings into a shared latent space to capture the complex, object-dependent nature of visual attributes.

The Challenge: Object-Dependent Attributes

Traditional approaches to CZSL often train separate discriminative classifiers for objects (e.g., "dog") and attributes (e.g., "old"). However, these methods frequently fail because attributes lack a universal visual prototype.

Visual variation of the attribute 'old' across different objects (bike vs. bridge).

As illustrated in Figure 1, the visual manifestation of "old" varies significantly depending on the object it modifies; an "old bike" might show rust and wear, while an "old bridge" displays weathered stone and moss. Because attributes are intrinsically tied to their objects, treating them as independent entities leads to poor generalization on unseen pairs.

Methodology

The authors propose an end-to-end encoder-decoder generative model designed to learn the deep relationship between attributes and objects.

Architecture

  1. Feature Extraction: Visual features are extracted via pre-trained CNNs (ResNet or VGG), while linguistic features use GloVe word embeddings for attribute and object labels.
  2. Separate Projections: Adjectives and nouns are projected into a shared latent space using distinct mathematical functions. This separation is critical, as nouns and adjectives represent different conceptual categories and require different processing.
  3. Latent Space Fusion: Attribute and object vectors are summed in the latent space to create a unified representation.

Optimization via Four Losses

The network is trained using a balanced combination of four loss functions:

  • Encoding Loss: Maximizes cosine similarity between visual and linguistic latent vectors.
  • Triplet Loss: Enforces a margin between correct and incorrect linguistic pairs.
  • Decoding Loss: An autoencoder-style loss that reconstructs original visual features from the latent vector, preserving intrinsic visual information.
  • Discriminative Loss: Ensures individual attribute and object properties are preserved before fusion.

Experimental Results

The model was evaluated on two benchmarks: MIT-States (63,440 images, 245 objects, 115 attributes) and UT-Zappos50K (50,025 images of shoes).

The proposed model significantly outperformed state-of-the-art baselines (ANALOG, SAE, REDWINE, and ATTOPERATOR):

  • MIT-States: Achieved 17.8% Top-1 accuracy, a 25.4% relative improvement over the second-best method.
  • UT-Zappos50K: Achieved 48.3% Top-1 accuracy, a 4.5% relative improvement.

Ablation studies confirmed that the Decoding Loss is a critical component for ZSL, preventing latent space collapse and improving generalization. Furthermore, the model demonstrates natural semantic grouping; misclassifications often involve semantically adjacent concepts (e.g., "wet forest" misclassified as "damp bush").

Conclusion and Future Work

While the generative approach excels at capturing macro-concepts, it still struggles with fine-grained "micro-concepts," such as distinguishing "scratched" from "broken." Future research will focus on disambiguating these highly similar visual properties to further improve absolute accuracy in complex, real-world environments.

Summary updated

BibTeX
@inproceedings{nan2019recognizing,
  author = {Zhixiong Nan and Yang Liu and Nanning Zheng and Song-Chun Zhu},
  title = {{Recognizing Unseen Attribute-Object Pair with Generative Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33018811},
}
Figure