CAMS: Towards Compositional Zero-Shot Learning via Gated Cross-Attention and Multi-Space Disentanglement
Pan Yang, Cheng Deng, Jing Yang, Han Zhao, Yun Liu, Yuling Chen, Xiaoli Ruan, Yanping Chen
TL;DR
CAMS tackles compositional zero-shot learning by addressing the blind spots of global CLIP-based representations. It introduces a Gated Cross-Attention module to extract fine-grained semantic features via latent units and then performs multi-space disentanglement to separate attribute, object, and composition semantics. Training aligns these disentangled semantic representations with prompt-based text representations, delivering strong performance in both closed-world and open-world CZSL across MIT-States, UT-Zappos, and C-GQA, with notable gains in HM and AUC. The approach also demonstrates efficiency advantages and robust ablation results, underscoring its potential for real-world compositional reasoning in vision-language tasks.
Abstract
Compositional zero-shot learning (CZSL) aims to learn the concepts of attributes and objects in seen compositions and to recognize their unseen compositions. Most Contrastive Language-Image Pre-training (CLIP)-based CZSL methods focus on disentangling attributes and objects by leveraging the global semantic representation obtained from the image encoder. However, this representation has limited representational capacity and do not allow for complete disentanglement of the two. To this end, we propose CAMS, which aims to extract semantic features from visual features and perform semantic disentanglement in multidimensional spaces, thereby improving generalization over unseen attribute-object compositions. Specifically, CAMS designs a Gated Cross-Attention that captures fine-grained semantic features from the high-level image encoding blocks of CLIP through a set of latent units, while adaptively suppressing background and other irrelevant information. Subsequently, it conducts Multi-Space Disentanglement to achieve disentanglement of attribute and object semantics. Experiments on three popular benchmarks (MIT-States, UT-Zappos, and C-GQA) demonstrate that CAMS achieves state-of-the-art performance in both closed-world and open-world settings. The code is available at https://github.com/ybyangjing/CAMS.
