Abstract
Compositional Zero-Shot Learning (CZSL) involves recognizing unseen combinations of known primitives (e.g., "black swan" from "black dog" and "white swan"). Current methods leveraging Vision-Language Models (VLMs) like CLIP are predominantly semantic-centric, leading to semantic projection bias and a heavy bias toward seen combinations. We propose Duplex, a framework that maintains dual prototypes—one semantic and one visual. By dynamically refining visual prototypes through mini-batch local graphs and counterfactual feature blending, Duplex effectively captures fine-grained visual nuances and improves generalization to novel state-object pairs.
Introduction: The Semantic-Visual Gap
The primary challenge in CZSL is the gap between abstract textual descriptions and high-dimensional visual features. Semantic-centric models rely on text prompts to create classification prototypes. However, a text prompt like "red apple" often fails to capture the specific visual texture or lighting that distinguishes it from other "red" objects or other "apples." Furthermore, because models are optimized only on seen pairs, they struggle to generalize to unseen compositions during inference.
Methodology: The Duplex Framework
Duplex addresses these bottlenecks by treating classification as a dual-track process involving both Semantic and Visual Prototypes.
Dual Prototypes
For every possible composition, Duplex maintains:
- Semantic Prototype: A stable anchor derived from learnable text prompts via a frozen text encoder.
- Visual Prototype: A dynamic carrier grounded in actual image features, stored in a global codebook.
Disentanglement and Counterfactuals
To handle unseen pairs, the model employs two MLP disentanglers ($D^S$ and $D^O$) to separate visual features into "state" (e.g., texture) and "object" (e.g., category) components. Duplex performs "counterfactual recomposition" by mixing states and objects from different images to synthesize features for unseen pairs, effectively "imagining" novel combinations during training.
Dynamic Local-Graph Refinement
During training, Duplex constructs a "local graph" for each mini-batch. Nodes represent prototypes and current image features. A Graph Convolutional Network (GCN) update "massages" the visual prototypes based on the batch evidence. These refined prototypes are then integrated into the global codebook using a momentum-based moving average. This ensures the model learns visual representations for unseen compositions without explicit labels. At inference, the model performs a fast nearest-neighbor search in the global codebook.
Experimental Evaluation
Duplex was evaluated on three standard CZSL benchmarks: MIT-States (nouns modified by states), UT-Zappos (fine-grained shoe categories), and CGQA (complex, long-tailed distribution).
Key Results
Duplex achieved state-of-the-art or highly competitive performance:
- MIT-States: Achieved a Harmonic Mean (HM) of 40.9, surpassing previous methods like LogicZSL (40.5).
- UT-Zappos: Reached an HM of 58.2, showing a significant improvement over standard CLIP-based baselines.
- CGQA: Demonstrated consistent gains across head, medium, and tail compositions, proving robustness to imbalanced data.
The framework adds minimal parameter overhead (~0.6M) and maintains the inference speed of standard CLIP, making it both effective and efficient.
Discussion and Limitations
While Duplex bridges the semantic-visual gap, challenges remain in extremely long-tailed scenarios where visual supervision is nearly non-existent. The quality of the "imagined" counterfactuals depends on the disentangler's ability to cleanly separate states from objects. Future work may involve integrating causal priors or uncertainty-aware updates to further refine the local graph process in large-scale vocabularies.
Conclusion
Duplex represents a shift from purely semantic-centric CZSL to a balanced dual-prototype approach. By grounding abstract concepts in evolving visual prototypes, the model reduces seen-bias and achieves superior generalization on complex compositional tasks.
Summary updated