Relation-aware Compositional Zero-shot Learning for Attribute-Object Pair Recognition

Ziwei Xu, Guangzhi Wang, Yongkang Wong, Mohan S. KankanhalliIEEE Trans. Multimedia 2021 · DOI

TL;DR

This paper introduces BMP-Net, a novel framework for recognizing unseen attribute-object combinations in images. By employing a relation-aware concept module with message passing and a novel blocking mechanism, BMP-Net effectively learns decoupled and consistent representations, achieving state-of-the-art results on challenging benchmarks.

What Problem Does This Paper Address?

Recognizing objects in images is a fundamental computer vision task. However, describing these objects often involves combining attributes (like "red") with object categories (like "apple") to form composite concepts (like "red apple"). The challenge arises when we need to recognize composite concepts that were never seen during training – a scenario known as Compositional Zero-Shot Learning (CZSL). Traditional methods struggle with this because they might overfit to seen combinations, fail to capture the nuanced relationships between attributes and objects, or entangle their representations. This paper tackles the problem of recognizing these unseen attribute-object pairs by developing a model that is relation-aware, consistent, and decoupled.

Methods

The proposed solution is the Blocked Message Passing Network (BMP-Net), which comprises two main modules:

  • Concept Module: This module generates semantic features for individual primitive concepts (attributes and objects). It uses a key-query based attention mechanism to enable message passing between primitive concepts. This allows the model to learn how concepts relate to each other, making it "relation-aware."
  • Visual Module: This module extracts visual features from input images. It includes a novel residue generator that aims to remove non-discriminative information from image features, leading to cleaner representations.

A key innovation is the Blocked Message Passing (BMP) mechanism, which addresses two critical issues:

  1. Consistency: To prevent bias towards seen composite concepts, BMP introduces edge blocking in the message passing. This selectively blocks information flow between certain primitive concept pairs during training, ensuring that the model learns to infer unseen pairs in a consistent manner, similar to how it infers seen pairs.
  2. Decoupling: To reduce the entanglement between attributes and objects, branch blocking is employed during training. This randomly disables either the attribute or object branch, forcing the model to learn more independent representations for each.

The model is trained by minimizing a combined loss function that includes hinge losses for feature matching, auxiliary classification losses, and a reconstruction loss to ensure consistency between naive and blocked message passing.

Datasets

The paper evaluates BMP-Net on two widely used benchmark datasets for CZSL:

  • UT-Zappos: Focuses on shoe images with attributes like material and object concepts like shoe types.
  • MIT-States: A larger and more diverse dataset with a broader range of object and attribute concepts.

Key Insights and Ideas

  • The power of message passing for concept relations: Learning how primitive concepts relate to each other (e.g., "sharp" is an antonym of "blunt") is crucial for understanding composite concepts. Message passing allows this information to flow and enrich concept representations.
  • Blocking for consistency and decoupling: The novel blocking mechanism is a clever way to tackle the inherent biases in CZSL. Edge blocking ensures that the model doesn't over-rely on seen relationships, while branch blocking forces a separation between attribute and object features, preventing them from becoming too intertwined.
  • Residue removal for cleaner visual features: Identifying and removing "residue" (irrelevant visual information) from image features can significantly improve the model's ability to focus on discriminative cues for attributes and objects.
  • Balancing seen and unseen performance: The proposed method aims to achieve good performance on both seen and unseen concepts, a common challenge in zero-shot learning. The unseen-seen accuracy curves demonstrate this balance.

Key Results

BMP-Net achieves state-of-the-art performance on both the UT-Zappos and MIT-States datasets, outperforming existing methods by a significant margin. For instance, on MIT-States, the model shows a substantial improvement in AUC, indicating better overall performance across various calibration biases. The ablation studies confirm the effectiveness of each component of BMP-Net, with the removal of any part leading to a decrease in performance. The visualization of learned features also provides qualitative evidence that the model learns decoupled and discriminative representations for attributes and objects.

Limitations and Future Work

The authors acknowledge that some failure cases arise from the inherent ambiguity in datasets, where multiple concepts can describe a single image, or from visual ambiguity. They suggest that better backbone models could improve performance in such cases. Future work could explore extending the model to recognize more complex composite concepts (e.g., involving more than two primitive concepts) and conditioning attribute features based on object groups using external knowledge bases.

Summary updated

BibTeX
@article{xu2021relation,
  author = {Ziwei Xu and Guangzhi Wang and Yongkang Wong and Mohan S. Kankanhalli},
  title = {{Relation-aware Compositional Zero-shot Learning for Attribute-Object Pair Recognition}},
  journal = {IEEE Trans. Multimedia},
  year = {2021},
  doi = {10.1109/tmm.2021.3104411},
}
Figure