Abstract
Compositional Zero-Shot learning (CZSL) requires to recognize state-object compositions unseen during training. In this work, instead of assuming prior knowledge about the unseen compositions, we operate in the open world setting, where the search space includes a large number of unseen compositions some of which might be unfeasible. In this setting, we start from the cosine similarity between visual features and compositional embeddings. After estimating the feasibility score of each composition, we use these scores to either directly mask the output space or as a margin for the cosine similarity between visual features and compositional embeddings during training. Our experiments on two standard CZSL benchmarks show that all the methods suffer severe performance degradation when applied in the open world setting. While our simple CZSL model achieves state-of-the-art performances in the closed world scenario, our feasibility scores boost the performance of our approach in the open world setting, clearly outperforming the previous state of the art.
Introduction: Beyond the Closed World
Compositional Zero-Shot Learning (CZSL) aims to recognize novel combinations of known primitives—states and objects. For instance, a model trained on "wet dog" and "ripe tomato" should ideally recognize a "wet tomato." Traditionally, CZSL models are evaluated in a "closed world" setting where the test-time search space is restricted to a small, pre-defined list of plausible unseen compositions.
However, this setting is artificially constrained. In a realistic "Open World" scenario, a model must navigate a massive search space containing all possible combinations, many of which are nonsensical distractors (e.g., "ripe dog" or "pureed dog"). As shown in Figure 1, current models often struggle when these constraints are removed, failing to distinguish between feasible unseen concepts and unfeasible distractors.
The CompCos Framework
To address the challenges of Open World CZSL (OW-CZSL), we propose Compositional Cosine Logits (CompCos). This framework moves away from standard dot-product logits toward a shared semantic embedding space governed by cosine similarity.
1. Cosine Similarity Embedding
CompCos embeds both images and state-object compositions into a shared space. By using cosine similarity, the model naturally bounds logits, reducing the inherent bias toward classes seen during training—a common failure mode in zero-shot learning.
2. Estimating Feasibility
The core of our approach is the estimation of a "feasibility score" for every possible unseen combination. We hypothesize that visual similarity between primitives implies compositional feasibility. If "cat" and "dog" are visually similar in the embedding space, then states applicable to cats (like "wet") are likely feasible for dogs.
3. Training with Feasibility Margins
Rather than simply masking out unfeasible predictions at test time, CompCos integrates these feasibility scores directly into the training process. We use the scores as margins in the cross-entropy loss function. This forces the network to push unfeasible compositions (e.g., "ripe dog") further away from visual features in the embedding space while keeping plausible unseen compositions (e.g., "wet tomato") closer.
Experimental Evaluation
We evaluated CompCos on two standard benchmarks: MIT States and UT Zappos. To test the open-world capabilities, we introduced new OW-CZSL splits. For MIT States, this expanded the search space from 1,662 curated compositions to all 28,175 possible combinations.
Key Results
- Closed World Performance: CompCos achieves state-of-the-art results even in traditional settings. On MIT States, it reached an Area Under the Curve (AUC) of 4.5, significantly higher than the previous best of 3.0 (SymNet).
- Open World Robustness: While all models see a performance drop in the open world, CompCos remains robust. On MIT States, it achieved an AUC of 1.6, doubling the performance of SymNet (0.8).
- Ablation Insights: Our experiments confirmed that injecting feasibility scores as training margins is superior to simple test-time masking. This active shaping of the embedding space makes the model inherently more robust to distractors.
Conclusion and Future Directions
CompCos demonstrates that addressing the "Open World" setting is vital for the practical application of CZSL. By leveraging visual similarity to estimate feasibility and using these scores as training margins, we can significantly mitigate the impact of distractors.
Future work will explore integrating external knowledge bases (like ConceptNet) or large language models to refine feasibility scores beyond purely visual cues. Additionally, moving toward multi-label evaluation will better reflect real-world images that often embody multiple valid states simultaneously.
Summary updated