Abstract
Compositional Zero-Shot Learning (CZSL) aims to recognize novel combinations of known attributes and objects. Traditional approaches often rely heavily on linguistic embeddings to bridge the gap between seen and unseen pairs, frequently failing to capture the nuanced visual interplay between an attribute and its object. We present OADis (Object Attribute Disentanglement), a framework designed to learn disentangled visual features directly from image data. By utilizing comparison-based learning and visual hallucination, OADis isolates primitive features for attributes and objects, allowing for the synthesis of robust embeddings for unseen compositions. Our method achieves state-of-the-art performance across multiple benchmarks, including a newly introduced large-scale dataset, VAW-CZSL.
Introduction
In computer vision, the ability to generalize from known concepts to novel compositions is essential for real-world applications. An apple, for instance, may appear in various states: red, green, sliced, or peeled. While a human can easily identify a "sliced orange" after seeing a "sliced apple" and a "whole orange," machine learning models struggle with this task. This challenge is known as Compositional Zero-Shot Learning (CZSL).
Standard deep learning backbones, such as ResNet, are typically trained for object classification and are intentionally designed to be attribute-invariant. Consequently, they often ignore the very details—like texture or state—required for CZSL. To compensate, many existing methods rely on word vectors (e.g., GloVe) to provide semantic structure. However, linguistic cues are often too abstract to capture how an attribute physically transforms an object's appearance. OADis addresses this by shifting the focus back to the visual space, learning to disentangle and then recompose visual features.
Methodology
Disentanglement via Affinity Modules
The core of OADis is a comparison-based approach to feature extraction. To isolate the visual essence of an attribute, the model compares image pairs that share an attribute but differ in object (e.g., a peeled apple and a peeled orange). The shared information between these images represents the attribute "peeled." Conversely, comparing a peeled apple with a sliced apple allows the model to isolate the "apple" object feature. This dual-stream process ensures that the model learns primitive visual representations rather than entangled, scene-specific features.
Object-Conditioned Network (OCN)
Attributes are rarely independent of the objects they modify; "ruffled" manifests differently on a shirt than it does on a flower petal. OADis incorporates an Object-Conditioned Network (OCN) that uses residual connections to ensure attribute features are conditioned on the specific object identity. This allows the model to maintain context-aware representations while still achieving disentanglement.
Visual Hallucination and Classification
To improve generalization to unseen pairs, OADis employs a "visual hallucination" strategy. By composing the learned primitive features (e.g., the visual feature for "peeled" and the feature for "orange"), the model generates a synthetic embedding for the unseen pair "peeled orange." These hallucinated features serve as a regularizer during training, forcing the model to structure its embedding space to accommodate potential future combinations. Finally, a Cosine Classifier (CosCls) is used to align these visual embeddings with semantic word embeddings, creating a unified space for classification.
Experimental Results
Datasets
The framework was evaluated on three primary benchmarks:
- MIT-States: A diverse but noisy dataset of objects and their states.
- UT-Zappos: A fine-grained dataset focused on footwear.
- VAW-CZSL: A new benchmark introduced by the authors, derived from the "Visual Attributes in the Wild" dataset. It features over ten times more compositions than previous datasets and reflects the multi-label nature of real-world imagery.
Performance
OADis achieved state-of-the-art (SOTA) results across all tested benchmarks. On MIT-States, the model reached a 7.6% Val AUC, surpassing the previous best of 7.2%. On UT-Zappos, it demonstrated superior performance in recognizing unseen compositions with 65.5% accuracy. On the challenging VAW-CZSL dataset, OADis achieved a Harmonic Mean (HM) of 15.2%, significantly outperforming baselines like CompCos (14.2%).
Qualitative analysis further validated the model's "imagination" capabilities. When the model was tasked with retrieving images based on a hallucinated feature for "pureed fruit," it successfully identified relevant images of applesauce and mashed bananas from the test set, despite never having seen that specific combination during training.
Discussion and Limitations
While OADis represents a significant step forward in visual disentanglement, several challenges remain. The model currently struggles with multi-object scenes where attribute-object assignment is ambiguous. Furthermore, abstract concepts like "clear sky" or "pressed metal" remain difficult to disentangle because the attribute and object are visually inseparable. Future work may involve integrating object-conditioned attention or foreground/background separation to further refine the model's focus on the primary object-attribute relationship.
Conclusion
OADis demonstrates that the key to effective Compositional Zero-Shot Learning lies in the visual disentanglement of features. By moving away from a heavy reliance on linguistic priors and focusing on comparison-based visual learning, OADis creates a more robust and generalizable framework for understanding the compositional nature of the visual world.
Summary updated