Abstract
Compositional Zero-Shot Learning (CZSL) aims to recognize novel combinations of known states and objects. However, existing methods often struggle with the massive search space of Open-World CZSL (OW-CZSL) and the scarcity of fully labeled training pairs. We present KG-SP (Knowledge Guided Simple Primitives), a framework that decomposes the problem into independent primitive predictions guided by external common-sense knowledge. By leveraging ConceptNet to prune infeasible compositions, KG-SP achieves state-of-the-art results on large-scale benchmarks like C-GQA and demonstrates significant robustness under partial supervision.
Introduction
The core challenge of Compositional Zero-Shot Learning (CZSL) is recognizing a "wet dog" after seeing only "dry dogs" and "wet cars" during training. This task is inherently difficult because states (attributes) often fundamentally alter the visual appearance of an object. Current research in this field faces two major hurdles:
- The Open-World Challenge: Most models assume the set of unseen compositions is known at test time. In a true Open-World (OW-CZSL) setting, the model must consider all possible combinations, leading to a massive search space (e.g., over 280,000 pairs in the C-GQA dataset) where learning discriminative joint embeddings is nearly impossible.
- Partial Supervision (pCZSL): Real-world datasets are rarely perfectly labeled. Often, an image might only be tagged with its object or its state, but not both, making it difficult to train models that rely on joint pair recognition.
The KG-SP Framework
KG-SP addresses these challenges by returning to a fundamental principle: independence. The framework consists of two primary components: Simple Primitives (SP) and Knowledge Guidance (KG).
Simple Primitives (SP)
While modern CZSL models often attempt to learn complex joint embeddings for state-object pairs, KG-SP utilizes a "back to basics" approach. It employs a shared ResNet18 backbone followed by two independent, non-linear MLP classifiers—one dedicated to states and one to objects. This design acknowledges that objects (defined by global shape) and states (defined by local textures or patterns) require distinct visual cues. The authors demonstrate that deep, non-linear heads are significantly more effective than the shared linear layers used in older "Visual Product" baselines.
Knowledge Guidance (KG)
To navigate the vast search space of the open world, KG-SP integrates external common-sense knowledge from ConceptNet. The model calculates a "feasibility score" for every possible state-object combination. During the inference phase, any composition with a feasibility score of zero (e.g., "ripe dog") is pruned from the output space. This prevents the model from making nonsensical predictions and focuses the search on plausible compositions.
Handling Partial Supervision
In the partially supervised (pCZSL) setting, KG-SP utilizes its knowledge-guided framework for pseudo-labeling. When an image lacks a state label, the model predicts the state and verifies the resulting pair's feasibility via ConceptNet. A Gumbel-softmax sampler is then used to treat this prediction as a training label, allowing the model to learn effectively even when half of the training labels are missing.
Experimental Evaluation
The model was evaluated on three standard CZSL benchmarks:
- MIT-States: 245 objects and 115 states.
- UT-Zappos: A specialized shoe dataset.
- C-GQA: A large-scale dataset with 674 objects and 413 states, creating an open-world space of over 278,000 compositions.
Key Results
- State-of-the-Art Performance: On the C-GQA dataset, KG-SP achieved an AUC of 0.78, nearly doubling the performance of previous state-of-the-art models like CGE (0.47).
- Robustness: KG-SP consistently outperformed existing models in partially supervised settings, even when those models were enhanced with standard semi-supervised techniques like entropy minimization.
- The Power of Independence: Ablation studies showed that adding "marginalization" (treating state and object predictions as independent) to other SOTA models improved their performance, validating the independent primitives philosophy for open-world tasks.
Discussion and Insights
KG-SP reveals that in the open world, modeling the interaction between every possible state and object is often counterproductive. Predicting primitives independently and then filtering them through a common-sense "sanity check" is a more robust strategy. This approach effectively revives the "Visual Product" baseline, showing that with modern non-linear architectures and external knowledge, simplicity can outperform complexity.
Limitations and Future Work
Despite reaching a new state-of-the-art, absolute accuracy in the open world remains low (e.g., 2.9% unseen accuracy on C-GQA), highlighting the extreme difficulty of the task. Furthermore, the model is limited by the accuracy of its external knowledge base; ConceptNet may occasionally flag rare but valid compositions as unfeasible. Future research will focus on merging multiple knowledge sources and exploring how to better model the contextual variance of states across different object classes.
Summary updated