Papers › Pretrain like Your Inference: Masked Tuning Improves Zero-Shot Composed Image Retrieval

Pretrain like Your Inference: Masked Tuning Improves Zero-Shot Composed Image Retrieval

13 Nov 2023arXiv:2311.07622archive 2025-07-28

Junyang Chen, Hanjiang Lai

Zero-shot composed image retrieval (ZS-CIR), which takes a textual modification and a reference image as a query to retrieve a target image without triplet labeling, has gained more and more attention in data mining. Current ZS-CIR research mainly relies on the generalization ability of pre-trained vision-language models, e.g., CLIP. However, the pre-trained vision-language models and CIR tasks have substantial discrepancies, where the vision-language models focus on learning the similarities but CIR aims to learn the modifications of the image guided by text. In this paper, we introduce a novel unlabeled and pre-trained masked tuning approach, which reduces the gap between the pre-trained vision-language model and the downstream CIR task. First, to reduce the gap, we reformulate the contrastive learning of the vision-language model as the CIR task, where we randomly mask input image patches to generate ⟨masked image, text, image⟩ triplet from an image-text pair. Then, we propose a simple but novel pre-trained masked tuning method, which uses the text and the masked image to learn the modifications of the original image. With such a simple design, the proposed masked tuning can learn to better capture fine-grained text-guided modifications. Extensive experimental results demonstrate the significant superiority of our approach over the baseline models on four ZS-CIR datasets, including FashionIQ, CIRR, CIRCO, and GeneCIS. Our codes are available at https://github.com/Chen-Junyang-cn/PLI

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2311.07622")

Code

Syntology Ran 3 of 4 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

Chen-Junyang-cn/PLI 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

4 samples harvested; 3 ran; 1 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
1unverified

Licence: 4 of the 4 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 Chen-Junyang-cn/PLI. “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.

collate_fn Chen-Junyang-cn/PLI/circo_test_submission.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · b6c1f837e6faaeba · report
get_recall Chen-Junyang-cn/PLI/genecis_eval.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 120655737600ab08 · report
load_model Chen-Junyang-cn/PLI/genecis_eval.py official repository ran · our draft was wrong no licence file found · pointer only · 6977e9b491f237fb · report
validate Chen-Junyang-cn/PLI/genecis_eval.py official repository unverified no licence file found · pointer only · 78085af70623ee31 · report

Tasks

Contrastive LearningImage RetrievalLanguage ModelingLanguage ModellingRetrievalZero-Shot Composed Image Retrieval (ZS-CIR)

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRCO MTCIR (CLIP L/14) mAP@10 11.63 #37 of 43 Archive leaderboard report
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRCO MTCIR (BLIP B/16) mAP@10 8.03 #42 of 43 Archive leaderboard report
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRR MTCIR (BLIP B/16) R@5 58.87 #28 of 47 Archive leaderboard report
Zero-Shot Composed Image Retrieval (ZS-CIR) CIRR MTCIR (CLIP L/14) R@5 54.58 #39 of 47 Archive leaderboard report
Zero-Shot Composed Image Retrieval (ZS-CIR) Fashion IQ MTCIR (CLIP L/14) (Recall@10+Recall@50)/2 46.42 #10 of 41 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

CLIPContrastive Learning

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