Papers › MSCI: Addressing CLIP's Inherent Limitations for Compositional Zero-Shot Learning

MSCI: Addressing CLIP's Inherent Limitations for Compositional Zero-Shot Learning

15 May 2025arXiv:2505.10289archive 2025-07-28

Yue Wang, Shuai Xu, Xuelin Zhu, Yicong Li

Compositional Zero-Shot Learning (CZSL) aims to recognize unseen state-object combinations by leveraging known combinations. Existing studies basically rely on the cross-modal alignment capabilities of CLIP but tend to overlook its limitations in capturing fine-grained local features, which arise from its architectural and training paradigm. To address this issue, we propose a Multi-Stage Cross-modal Interaction (MSCI) model that effectively explores and utilizes intermediate-layer information from CLIP's visual encoder. Specifically, we design two self-adaptive aggregators to extract local information from low-level visual features and integrate global information from high-level visual features, respectively. These key information are progressively incorporated into textual representations through a stage-by-stage interaction mechanism, significantly enhancing the model's perception capability for fine-grained local visual information. Additionally, MSCI dynamically adjusts the attention weights between global and local visual information based on different combinations, as well as different elements within the same combination, allowing it to flexibly adapt to diverse scenarios. Experiments on three widely used datasets fully validate the effectiveness and superiority of the proposed model. Data and code are available at https://github.com/ltpwy/MSCI.

PaperPDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 28 code samples: 27 from 1 repository linked to this paper, 1 identical to code harvested from another paper's repository. Across all 28: 23 ran (of which 13 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 0 violated, 19 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 27 samples from 1 repository, 22 ran (19 with no instrument failure; 3 where Syntology's instrument failed); 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ltpwy/msci officialmentioned in paperpytorchSyntology: 27 samples, 22 ran (3 instrument-failed) · 5 unverified 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

28 samples harvested: 23 ran (of which 13 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 0 violated, 19 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · our draft was wrong
19ran
5unverified

Licence: 28 of the 28 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 ltpwy/msci. 1 sample is listed last, in a group without a repository. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 8 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

ltpwy/msci official repository 27 samples, 22 ran (3 instrument-failed) · 5 unverified
Adapter in 28 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 8fa4ce97211a14db · report fixture: returned Adapter · level recorded 2026-09-22
AttentionPool2d in 14 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · b6f745bb89c2225b · report fixture: returned AttentionPool2d · level recorded 2026-09-22
Bottleneck in 98 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 1fb29254e89e831c · report fixture: returned Bottleneck · level recorded 2026-09-22
CrossAttentionLayer in 10 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 3e7fb32ce8866725 · report fixture: returned CrossAttentionLayer · level recorded 2026-09-22
Disentangler MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 2546cc58e302114e · report fixture: returned Disentangler · level recorded 2026-09-22
FeatureVariance MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · c6d121dec056cd0b · report fixture: returned FeatureVariance · level recorded 2026-09-22
GatedFusion MSCI/code/model/Mutifuse_new.py ran no licence file found · pointer only · deb86bddd140c0b1 · report fixture: signature feature1:Tensor/3/float, feature2:Tensor/3/float · returned Tensor · level recorded 2026-09-24
LayerNorm in 121 papers
census: 5 implementations from 5 papers, 5 distinct outputs across 3 buckets, one shared input per bucket
MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 4f7191c8173fb1eb · report fixture: returned LayerNorm · level recorded 2026-09-22
LocalFeatureAdd MSCI/code/model/Mutifuse_new.py ran no licence file found · pointer only · 08959a9669f0e751 · report fixture: signature low_features:Tensor/3/float, high_features:Tensor/3/float, text_features:Tensor/2/float · returned Tensor · level recorded 2026-09-24
ModifiedResNet in 15 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 88fd2d47fac54f60 · report fixture: returned ModifiedResNet · level recorded 2026-09-22
MultiHeadAttention in 124 papers
census: 9 implementations from 7 papers, 9 distinct outputs across 3 buckets, one shared input per bucket
MSCI/code/model/Mutifuse_new.py ran no licence file found · pointer only · 4ec77f7241f49ff4 · report fixture: signature q:Tensor/3/float, k:Tensor/3/float, v:Tensor/3/float · returned Tensor · level recorded 2026-09-24
ResidualAttentionBlock in 38 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 1a767496bd62876c · report fixture: returned ResidualAttentionBlock · level recorded 2026-09-22
Stage1LocalAlignment MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 35bb48c1d867884c · report fixture: returned Stage1LocalAlignment · level recorded 2026-09-22
Stage2GlobalFusion MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 1ff61d13c071fa56 · report fixture: returned Stage2GlobalFusion · level recorded 2026-09-22
Transformer in 173 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 7c1351376f98bf62 · report fixture: returned Transformer · level recorded 2026-09-22
VisualTransformer in 12 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 257a8b6ed7a22d7e · report fixture: returned VisualTransformer · level recorded 2026-09-22
_download MSCI/code/model/Mutifuse_new.py ran · our draft was wrong no licence file found · pointer only · 9097d26cc0ab5227 · report fixture: signature url:str/0/str, root:str/0/str · returned str · level recorded 2026-09-22
available_models in 6 papers MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 2be47788cdf5e4b7 · report fixture: returned list · level recorded 2026-09-22
basic_clean in 217 papers MSCI/code/model/Mutifuse_new.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 98f385d847636a3e · report fixture: signature text:str/0/str · returned str · level recorded 2026-09-22
bytes_to_unicode MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · 6059f632163bf188 · report fixture: returned dict · level recorded 2026-09-22
default_bpe MSCI/code/model/Mutifuse_new.py ran · metamorphic tier: deterministic no licence file found · pointer only · c032e98969097964 · report fixture: returned str · level recorded 2026-09-22
whitespace_clean in 230 papers MSCI/code/model/Mutifuse_new.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 9542161e9640b858 · report fixture: signature text:str/0/str · returned str · level recorded 2026-09-22
CLIP in 25 papers MSCI/code/model/Mutifuse_new.py unverified no licence file found · pointer only · 255bc63ca03ae8d9 · report
MSCI MSCI/code/model/Mutifuse_new.py unverified no licence file found · pointer only · 7417e42491f77bbd · report
SimpleTokenizer MSCI/code/model/Mutifuse_new.py unverified no licence file found · pointer only · e7335342d5b10d3c · report
build_model in 469 papers MSCI/code/model/Mutifuse_new.py unverified no licence file found · pointer only · 76a940626d2d869d · report
load_clip in 8 papers MSCI/code/model/Mutifuse_new.py unverified no licence file found · pointer only · 0fb6ef4f3aad1690 · report
Repository not located 1 sample, 1 ran (1 instrument-failed) · 0 unverified
1 sample is identical to code Syntology harvested from another paper's repository; this paper's own copy was not located, so no repository is named and no licence is recorded.
get_pairs in 260 papers repository not located ran · our draft was wrong licence of this copy not recorded · d919ae32e5e4e616 · report fixture: signature word:tuple/1/str · returned set · level recorded 2026-09-22

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for MSCI (graph method: MSCI). 29 bricks; individually on a fixture: 24 ran (of which 13 constructed an object rather than computing a result; 20 with no instrument failure: 0 honoured, 0 violated, 20 with no contract checked; 4 where Syntology's instrument failed) · 5 unverified. The assembly has not been run end-to-end.

  1. MSCI entry · level 0 · unverified · 7417e42491f77bbd
  2. Adapter helper · level 1 · ran · 8fa4ce97211a14db
  3. CrossAttentionLayer helper · level 1 · ran · 3e7fb32ce8866725
  4. Disentangler helper · level 1 · ran · 2546cc58e302114e
  5. GatedFusion model · level 1 · ran · deb86bddd140c0b1
  6. LocalFeatureAdd helper · level 1 · ran · 08959a9669f0e751
  7. SimpleTokenizer helper · level 0 · unverified · e7335342d5b10d3c
  8. Stage1LocalAlignment model · level 1 · ran · 35bb48c1d867884c
  9. Stage2GlobalFusion model · level 1 · ran · 1ff61d13c071fa56
  10. load_clip helper · level 0 · unverified · 0fb6ef4f3aad1690
  11. MultiHeadAttention helper · level 1 · ran · 4ec77f7241f49ff4
  12. QuickGELU helper · level 1 · ran · 990ae00bb84c8cce
  13. FeatureVariance helper · level 1 · ran · c6d121dec056cd0b
  14. basic_clean helper · level 1 · ran · our draft was wrong · 98f385d847636a3e
  15. bytes_to_unicode helper · level 1 · ran · 6059f632163bf188
  16. default_bpe helper · level 1 · ran · c032e98969097964
  17. get_pairs helper · level 1 · ran · our draft was wrong · d919ae32e5e4e616
  18. whitespace_clean helper · level 1 · ran · our draft was wrong · 9542161e9640b858
  19. _download helper · level 1 · ran · our draft was wrong · 9097d26cc0ab5227
  20. available_models helper · level 1 · ran · 2be47788cdf5e4b7
  21. build_model helper · level 0 · unverified · 76a940626d2d869d
  22. CLIP helper · level 0 · unverified · 255bc63ca03ae8d9
  23. LayerNorm helper · level 1 · ran · 4f7191c8173fb1eb
  24. ModifiedResNet helper · level 1 · ran · 88fd2d47fac54f60
  25. Transformer helper · level 1 · ran · 7c1351376f98bf62
  26. VisualTransformer helper · level 1 · ran · 257a8b6ed7a22d7e
  27. AttentionPool2d helper · level 1 · ran · b6f745bb89c2225b
  28. Bottleneck helper · level 1 · ran · 1fb29254e89e831c
  29. ResidualAttentionBlock helper · level 1 · ran · 1a767496bd62876c

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2505.10289") returns these assemblies with each brick's role and wiring (how to connect).

Tasks

Compositional Zero-Shot LearningZero-Shot Learningcross-modal alignment

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionCLIPSoftmax

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