Papers › Learning Graph Embeddings for Compositional Zero-shot Learning

Learning Graph Embeddings for Compositional Zero-shot Learning

3 Feb 2021CVPR 2021 1arXiv:2102.01987archive 2025-07-28

Muhammad Ferjad Naeem, Yongqin Xian, Federico Tombari, Zeynep Akata

In compositional zero-shot learning, the goal is to recognize unseen compositions (e.g. old dog) of observed visual primitives states (e.g. old, cute) and objects (e.g. car, dog) in the training set. This is challenging because the same state can for example alter the visual appearance of a dog drastically differently from a car. As a solution, we propose a novel graph formulation called Compositional Graph Embedding (CGE) that learns image features, compositional classifiers, and latent representations of visual primitives in an end-to-end manner. The key to our approach is exploiting the dependency between states, objects, and their compositions within a graph structure to enforce the relevant knowledge transfer from seen to unseen compositions. By learning a joint compatibility that encodes semantics between concepts, our model allows for generalization to unseen compositions without relying on an external knowledge base like WordNet. We show that in the challenging generalized compositional zero-shot setting our CGE significantly outperforms the state of the art on MIT-States and UT-Zappos. We also propose a new benchmark for this task based on the recent GQA dataset. Code is available at: https://github.com/ExplainableML/czsl

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2102.01987")

Code

Syntology Ran 6 of 11 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ExplainableML/czsl officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 6 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
3ran
5unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ExplainableML/czsl. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

GCN ExplainableML/czsl/models/graph_method.py official repository ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · a4c3261e9df16697 · report
GCNII ExplainableML/czsl/models/graph_method.py official repository ran · metamorphic tier: deterministic fingerprinted GPL-3.0 (copyleft) · pointer only · 23153de2dcd06e4e · report
GraphConv ExplainableML/czsl/models/graph_method.py official repository ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · f9aa365d6157d80a · report
load_fasttext_embeddings ExplainableML/czsl/models/graph_method.py official repository ran · fixture could not drive it GPL-3.0 (copyleft) · pointer only · 59dfef7dc084d2e2 · report
normt_spm ExplainableML/czsl/models/graph_method.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 70836815634bc0ed · report
spm_to_tensor ExplainableML/czsl/models/graph_method.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 1e6831d413a352af · report
GraphConvolution ExplainableML/czsl/models/graph_method.py official repository unverified GPL-3.0 (copyleft) · pointer only · e0a33580edfb2903 · report
GraphFull ExplainableML/czsl/models/graph_method.py official repository unverified GPL-3.0 (copyleft) · pointer only · 4344caddda4a08ee · report
load_glove_embeddings ExplainableML/czsl/models/graph_method.py official repository unverified GPL-3.0 (copyleft) · pointer only · bf0b21a9ebce2d71 · report
load_word2vec_embeddings ExplainableML/czsl/models/graph_method.py official repository unverified GPL-3.0 (copyleft) · pointer only · b34f3780731416e3 · report
load_word_embeddings ExplainableML/czsl/models/graph_method.py official repository unverified GPL-3.0 (copyleft) · pointer only · 603286388aa02cb5 · report

Tasks

Compositional Zero-Shot LearningGraph EmbeddingTransfer LearningZero-Shot Learning

Datasets

Introduced by this paper, per the archive.

C-GQA

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections