NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Retrieval-Augmented Primitive Representations for Compositional Zero-Shot Learning

Chenchen Jing, Yukun Li, Hao Chen, Chunhua Shen

Introduction

Compositional Zero-Shot Learning (CZSL) aims to recognize novel combinations of attributes and objects (e.g., "wet cat") by leveraging knowledge of individual primitives seen during training (e.g., "wet sand" and "young cat"). Two primary challenges hinder performance: semantic entanglement, where attributes and objects are visually fused, and the long-tailed distribution of real-world visual concepts. Traditional methods often attempt implicit disentanglement; however, this paper proposes an explicit retrieval-augmented approach inspired by human associative memory.

Methodology: Retrieval-Augmented Primitive Representation

The core of the proposed framework is the use of external "memory" to augment image features. Instead of relying solely on a single input's features, the model queries dual databases—one for attributes ($D^a$) and one for objects ($D^o$)—containing representations from training images.

Overview of the retrieval-augmented framework for Compositional Zero-Shot Learning. (a) illustrates the challenge of unseen compositions, while (b) details the retrieval process from training images to aid recognition.

Key Components

  • Retrieval Modules: For an input query, the model identifies the top-$K$ most similar images in the databases sharing the same attribute or object.
  • Feature Augmentation: Input features are fused with a weighted average of retrieved features, boosting the signal for specific primitives and mitigating background noise.
  • Loss Functions: A De-bias Loss penalizes cross-path label prediction to ensure separation between attribute and object paths. A Retrieval Loss refines the memory search by ensuring the module finds correctly labeled images during training.

The framework utilizes a CLIP (ViT-L/14) backbone to leverage pre-trained vision-language alignments.

Experimental Results

The model was evaluated on three benchmarks: MIT-States, UT-Zappos, and C-GQA. It achieved state-of-the-art (SOTA) performance across all datasets.

  • MIT-States: Achieved an AUC of 22.5, surpassing the previous best of 22.1.
  • C-GQA: Showed a significant jump in the closed-world setting, reaching 14.4 AUC (vs. 12.4 previous SOTA).
  • Open-World Performance: Outperformed competitors by a wide margin, notably reaching 8.18 AUC on MIT-States compared to 7.3 for the next best method.

Ablation studies confirmed that the retrieval module is the primary driver of these improvements, significantly outperforming models that rely solely on de-biasing or standard feature extraction.

Discussion and Future Work

The success of this method highlights the power of explicit memory over implicit learning. By referencing semantically similar images, the model effectively "recalls" primitive characteristics to understand novel compositions.

A noted limitation is Category Confusion, where the model struggles when an object acts as an attribute (e.g., "computer magazine"). Future research will explore "conditional retrieval," where information about the object informs the attribute search and vice versa, to resolve such ambiguities.

Summary updated

BibTeX
@inproceedings{jing2024retrieval,
  author = {Chenchen Jing and Yukun Li and Hao Chen and Chunhua Shen},
  title = {{Retrieval-Augmented Primitive Representations for Compositional Zero-Shot Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i3.28043},
}
Figure