Abstract
Generalized compositional zero-shot learning means to learn composed concepts of attribute-object pairs in a zero-shot fashion, where a model is trained on a set of seen concepts and tested on a combined set of seen and unseen concepts. This task is very challenging because of not only the gap between seen and unseen concepts but also the contextual dependency between attributes and objects. This paper introduces a new approach, termed translational concept embedding, to solve these two difficulties in a unified framework. It models the effect of applying an attribute to an object as adding a translational attribute feature to an object prototype. We explicitly take into account of the contextual dependency between attributes and objects by generating translational attribute features conditionally dependent on the object prototypes. Furthermore, we design a ratio variance constraint loss to promote the model's generalization ability on unseen concepts. It regularizes the distances between concepts by utilizing knowledge from their pretrained word embeddings. We evaluate the performance of our model under both the unbiased and biased concept classification tasks, and show that our model is able to achieve good balance in predicting unseen and seen concepts.
Introduction
The core challenge in computer vision addressed here is Generalized Compositional Zero-shot Learning (GCZSL). Visual concepts are frequently compositions of an attribute (e.g., "rusty") and an object (e.g., "car"). While humans can generalize to a "rusty bicycle" after seeing "rusty cars" and "clean bicycles," machines struggle due to two primary factors: contextual dependency—where attributes manifest differently across objects—and the seen-unseen gap, where models bias toward training combinations and fail to generalize to novel pairings.
Methodology
The proposed framework, Translational Concept Embedding (TCE), addresses these challenges through two primary mechanisms:
1. Translational Concept Embedding
Inspired by the additive properties of word embeddings, TCE models a concept as the sum of an object prototype and an attribute translation. Crucially, the attribute translation is conditional on the object prototype. For instance, the "wet" attribute vector is generated differently for a "dog" than for a "floor," capturing the contextual nuance of visual attributes. This is achieved through a conditional function $g_a(\mathbf{x}, \mathbf{e})$ that takes both the object and attribute embeddings as input.
2. Ratio Variance Constraint (RVC)
To bridge the gap between seen and unseen concepts, the model employs a Ratio Variance Constraint (RVC) loss. This acts as a geometric regularizer, ensuring that the relative distances between concepts in the visual embedding space remain proportional to their distances in a pre-trained semantic word embedding space (e.g., GloVe). This "language prior" helps the model accurately position unseen concepts in the latent space by anchoring them to known linguistic relationships.
Experimental Results
The model was evaluated on the MIT-States dataset (245 objects, 115 attributes) and the UT-Zappos dataset (12 shoe classes, 16 attributes). Performance is measured using the Harmonic Mean (HM) of seen and unseen accuracies to ensure balanced generalization.
As shown in the results, TCE achieves a significant performance boost over existing methods like HiDC and AdvFG. On MIT-States, it reached a 9.64% All HM, a 1.77% absolute increase over previous methods. On the UT-Zappos shoe dataset, it achieved 35.64% All HM, representing a 4.11% absolute improvement. Ablation studies confirmed that both the object-conditioning and the RVC loss are critical for these gains.
Conclusion
TCE demonstrates that modeling attributes as object-dependent translations and enforcing linguistic geometric priors significantly improves compositional zero-shot learning. While the model currently uses global image features, future work may explore the use of local feature maps to handle multi-attribute objects and refine the handling of overlapping semantic categories.
Summary updated