Learning Attention as Disentangler for Compositional Zero-Shot Learning

Shaozhe Hao, Kai Han, Kwan-Yee Kenneth Wong
2/14/2026

No official code found. Best implementation: haoosz/ade-czsl (41 stars, MIT, last commit 2023-08-16).

Abstract

Compositional zero-shot learning (CZSL) aims at learning visual concepts (i.e., attributes and objects) from seen compositions and combining concept knowledge into unseen compositions. The key to CZSL is learning the disentanglement of the attribute-object composition. To this end, we propose to exploit cross-attentions as compositional disentanglers to learn disentangled concept embeddings. For example, if we want to recognize an unseen composition “yellow flower”, we can learn the attribute concept “yellow” and object concept “flower” from different yellow objects and different flowers respectively. To further constrain the disentanglers to learn the concept of interest, we employ a regularization at the attention level. Specifically, we adapt the earth mover's distance (EMD) as a feature similarity metric in the cross-attention module. Moreover, benefiting from concept disentanglement, we improve the inference process and tune the prediction score by combining multiple concept probabilities. Comprehensive experiments on three CZSL benchmark datasets demonstrate that our method significantly outperforms previous works in both closed- and open-world settings, establishing a new state-of-the-art. Project page: https://haoosz.github.io/ade-czsl/

View on arXivView PDF

Code Implementations(1)

haoosz/ade-czslCommunity100%
MIT

[CVPR 2023] Learning Attention as Disentangler for Compositional Zero-shot Learning

414Shell, PythonFeb 28, 20233 years agoMIT
compositional-zero-shot-learning

Similar Papers

Cite this paper

@article{hao2026learning,
  title  = {Learning Attention as Disentangler for Compositional Zero-Shot Learning},
  author = {Shaozhe Hao and Kai Han and Kwan-Yee Kenneth Wong},
  year   = {2026},
  eprint = {2303.15111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.15111},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.15111.svg)](https://codeofpaper.com/paper/2303.15111)

Discussion