SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.05473 · 2023

Sentence-level Prompts Benefit Composed Image Retrieval

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.05473.json · badge: /api/ran/2310.05473.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
chunmeifeng/sprc canonical (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
FunctionStatusWhere it lives
collate_fn Ran
ran, honoured the contract we drafted
chunmeifeng/sprc/src/data_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from Chen-Junyang-cn/PLI, is pointer only (licence: NONE) · get_code("b6c1f837e6faaeba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

getAttMap Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chunmeifeng/sprc/src/lavis/common/gradcam.py
pointer only (licence: NONE) · get_code("7d214655954e2bc6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

main_process Ran
ran; our contract draft was wrong, not the code
chunmeifeng/sprc/src/lavis/common/dist_utils.py
pointer only (licence: NONE) · get_code("98589643273920ba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

node_to_dict Ran
ran; our contract draft was wrong, not the code
chunmeifeng/sprc/src/lavis/common/config.py
pointer only (licence: NONE) · get_code("791c72070c0b1cfb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

squarepad_transform Ran
ran; our contract draft was wrong, not the code
chunmeifeng/sprc/src/data_utils.py
pointer only (licence: NONE) · get_code("a1580dd1883758f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

str2bool Ran
ran, violated the contract we drafted
chunmeifeng/sprc/src/cirr_test_submission.py
pointer only (licence: NONE) · get_code("7c508037b40522af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

targetpad_transform Ran
ran; our contract draft was wrong, not the code
chunmeifeng/sprc/src/data_utils.py
pointer only (licence: NONE) · get_code("9e2b18431cf6776f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

download_cached_file Not yet run
unverified (harvested, no recorded run)
chunmeifeng/sprc/src/lavis/common/dist_utils.py
pointer only (licence: NONE) · get_code("643539116e049080")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chunmeifeng/sprc when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 6 the same month, 8 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
str2bool 175 other papers
88 dated earlier, 3 the same month, 81 later, 3 same year, order not determinable · 2 only as an assembly brick
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
and 172 more not named here
node_to_dict 39 other papers
8 dated earlier, 3 the same month, 28 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 36 more not named here
download_cached_file 37 other papers
8 dated earlier, 4 the same month, 25 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 34 more not named here
main_process 35 other papers
8 dated earlier, 4 the same month, 23 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 32 more not named here
getAttMap 28 other papers
7 dated earlier, 3 the same month, 18 later
2305.04160 (2023-05)
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
2305.07558 (2023-05)
Measuring Progress in Fine-grained Vision-and-Language Understanding
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
and 25 more not named here
collate_fn 15 other papers
3 dated earlier, 1 the same month, 11 later
2003.04618 (2020-03)
Convolutional Occupancy Networks
2209.09552 (2022-09)
Cross-modal Learning for Image-Guided Point Cloud Shape Completion
2301.13823 (2023-01)
Grounding Language Models to Images for Multimodal Inputs and Outputs
and 12 more not named here
squarepad_transform 6 other papers
2 dated earlier, 4 later
2305.16304 (2023-05)
Candidate Set Re-ranking for Composed Image Retrieval with Dual Multi-modal Encoder
2308.11485 (2023-08)
Composed Image Retrieval using Contrastive Learning and Task-oriented CLIP-based Features
2404.11317 (2024-04)
Improving Composed Image Retrieval via Contrastive Learning with Scaling Positives and Negatives
and 3 more not named here
targetpad_transform 5 other papers
2 dated earlier, 3 later
2305.16304 (2023-05)
Candidate Set Re-ranking for Composed Image Retrieval with Dual Multi-modal Encoder
2308.11485 (2023-08)
Composed Image Retrieval using Contrastive Learning and Task-oriented CLIP-based Features
2404.11317 (2024-04)
Improving Composed Image Retrieval via Contrastive Learning with Scaling Positives and Negatives
and 2 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Composed image retrieval (CIR) is the task of retrieving specific images by using a query that involves both a reference image and a relative caption. Most existing CIR models adopt the late-fusion strategy to combine visual and language features. Besides, several approaches have also been suggested to generate a pseudo-word token from the reference image, which is further integrated into the relative caption for CIR. However, these pseudo-word-based prompting methods have limitations when target image encompasses complex changes on reference image, e.g., object removal and attribute modification. In this work, we demonstrate that learning an appropriate sentence-level prompt for the relative caption (SPRC) is sufficient for achieving effective composed image retrieval. Instead of relying on pseudo-word-based prompts, we propose to leverage pretrained V-L models, e.g., BLIP-2, to generate sentence-level prompts. By concatenating the learned sentence-level prompt with the relative caption, one can readily use existing text-based image retrieval models to enhance CIR performance. Furthermore, we introduce both image-text contrastive loss and text prompt alignment loss to enforce the learning of suitable sentence-level prompts. Experiments show that our proposed method performs favorably against the state-of-the-art CIR methods on the Fashion-IQ and CIRR datasets. The source code and pretrained model are publicly available at https://github.com/chunmeifeng/SPRC

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.05473")
get_code_for_paper("2310.05473")
have("2310.05473")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.05473.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.05473.svg)](https://syntology.ai/paper/2310.05473)

Connect an agent — have() is free.