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

Learning Graph Embeddings for Open World Compositional Zero-Shot Learning

Massimiliano Mancini, Muhammad Ferjad Naeem, Yongqin Xian, Zeynep Akata

Introduction

Compositional Zero-Shot Learning (CZSL) aims to recognize novel state-object combinations (e.g., "sliced apple") by learning from individual components seen in different contexts during training (e.g., "sliced bread" and "red apple"). Traditionally, CZSL has been evaluated in a closed world setting, where models are provided with a predefined list of unseen compositions that will appear at test time. This significantly simplifies the task by narrowing the search space.

In contrast, Open World Compositional Zero-Shot Learning (OW-CZSL) presents a more realistic and challenging scenario. Here, a model must navigate a massive search space of all possible combinations—many of which are physically impossible or nonsensical (e.g., "ripe dog" or "fragile water"). These "distractors" can confuse the model, leading to poor generalization. This paper introduces Co-CGE, a framework designed to handle the search space explosion and the distractor problem through graph-based dependency modeling and feasibility estimation.

The Co-CGE Framework

The authors propose Compositional Cosine Graph Embeddings (Co-CGE), which integrates two core components to improve compositional reasoning:

  1. Graph-Based Dependency Modeling: Rather than treating each composition as an isolated label, Co-CGE employs a Graph Convolutional Network (GCN). In this graph, nodes represent states, objects, and their compositions. Information propagates from known concepts to unseen ones, ensuring that embeddings are globally consistent. For example, the representation of "old dog" is informed by the embeddings of "old," "dog," and other related pairs like "cute dog."
  2. Feasibility Estimation: To mitigate the impact of distractors, the model estimates the likelihood of a composition's existence. This feasibility score is based on the similarity of a new pair to known valid pairs. These scores are utilized as margins in a cosine-similarity-based cross-entropy loss, effectively pushing unlikely pairs further away in the embedding space. Furthermore, the GCN's adjacency matrix is weighted by these scores, preventing "impossible" compositions from degrading the representations of valid ones.
Overview of the Co-CGE architecture, showing the visual embedding process, the shared embedding space, and the application of feasibility scores to refine the graph and classification margins.

Unlike previous modular approaches, Co-CGE is trained end-to-end, allowing the visual backbone to adapt specifically to the nuances of compositional recognition.

Experimental Setup and Datasets

The framework was evaluated on three benchmarks:

  • MIT-States: A diverse dataset with 115 states and 245 objects.
  • UT-Zappos: A domain-specific dataset focused on footwear.
  • C-GQA (Compositional GQA): A large-scale dataset introduced by the authors containing 413 states and 674 objects, resulting in nearly 280,000 possible combinations to test the limits of open-world scenarios.

Key Results

Co-CGE achieves state-of-the-art performance across both closed and open world settings. In the standard closed-world MIT-States benchmark, it reaches an AUC of 6.6%, outperforming previous graph-based and non-graph methods.

Quantitative comparison of Co-CGE against baseline methods across three datasets. The table highlights performance in both Closed and Open world training scenarios.

The model's strength is most apparent in the Open World setting. On the C-GQA dataset, Co-CGE achieves an AUC of 0.78%. While the absolute number is low due to the extreme difficulty of the task, it represents a nearly 4x improvement over earlier methods like LE+ (0.08%). Qualitative analysis shows the model successfully identifies feasible but unseen concepts like "calm elephant" while remaining robust to near-synonymous queries.

Discussion and Limitations

While Co-CGE marks a significant step forward, several challenges remain. The model currently lacks spatial localization, occasionally confusing objects in the background with the primary subject. It also struggles with polysemy, where a state (like "standing") has vastly different visual signatures depending on the object (a "tower" vs. a "cat"). Future work may involve incorporating external knowledge bases like ConceptNet or utilizing Large Language Models (LLMs) to further refine feasibility scores beyond purely visual or statistical similarity.

Summary updated

BibTeX
@article{mancini2024learning,
  author = {Massimiliano Mancini and Muhammad Ferjad Naeem and Yongqin Xian and Zeynep Akata},
  title = {{Learning Graph Embeddings for Open World Compositional Zero-Shot Learning}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2022.3163667},
}
Figure