Papers › Learning to Rematch Mismatched Pairs for Robust Cross-Modal Retrieval

Learning to Rematch Mismatched Pairs for Robust Cross-Modal Retrieval

8 Mar 2024CVPR 2024 1arXiv:2403.05105archive 2025-07-28

Haochen Han, Qinghua Zheng, Guang Dai, Minnan Luo, Jingdong Wang

Collecting well-matched multimedia datasets is crucial for training cross-modal retrieval models. However, in real-world scenarios, massive multimodal data are harvested from the Internet, which inevitably contains Partially Mismatched Pairs (PMPs). Undoubtedly, such semantical irrelevant data will remarkably harm the cross-modal retrieval performance. Previous efforts tend to mitigate this problem by estimating a soft correspondence to down-weight the contribution of PMPs. In this paper, we aim to address this challenge from a new perspective: the potential semantic similarity among unpaired samples makes it possible to excavate useful knowledge from mismatched pairs. To achieve this, we propose L2RM, a general framework based on Optimal Transport (OT) that learns to rematch mismatched pairs. In detail, L2RM aims to generate refined alignments by seeking a minimal-cost transport plan across different modalities. To formalize the rematching idea in OT, first, we propose a self-supervised cost function that automatically learns from explicit similarity-cost mapping relation. Second, we present to model a partial OT problem while restricting the transport among false positives to further boost refined alignments. Extensive experiments on three benchmarks demonstrate our L2RM significantly improves the robustness against PMPs for existing models. The code is available at https://github.com/hhc1997/L2RM.

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

Code

Syntology Ran 8 of 10 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 8 ran with no contract checked.

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

hhc1997/l2rm officialmentioned in paperpytorch 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

10 samples harvested; 8 ran; 0 honoured the contract we drafted; 2 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.

8ran
2unverified

Licence: 10 of the 10 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 hhc1997/l2rm. “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.

ContrastiveLoss hhc1997/l2rm/models.py official repository ran no licence file found · pointer only · 432d59115f341570 · report
GraphReasoning hhc1997/l2rm/models.py official repository ran no licence file found · pointer only · 28cdced0a58c81a0 · report
InfoNCE hhc1997/l2rm/models.py official repository ran fingerprinted no licence file found · pointer only · ab912266807ca3b6 · report
JS_Divergence hhc1997/l2rm/models.py official repository ran fingerprinted no licence file found · pointer only · 17c042b57a89f173 · report
KL_Divergence hhc1997/l2rm/models.py official repository ran fingerprinted no licence file found · pointer only · de6018f9861ffa0e · report
RCE hhc1997/l2rm/models.py official repository ran no licence file found · pointer only · 3179f46a92ef7f79 · report
Soft_InfoNCE hhc1997/l2rm/models.py official repository ran fingerprinted no licence file found · pointer only · 6ba90668a9ac0fd7 · report
sym_KL_Divergence hhc1997/l2rm/models.py official repository ran fingerprinted no licence file found · pointer only · 0d8402b5f472c72f · report
EncoderSimilarity hhc1997/l2rm/models.py official repository unverified no licence file found · pointer only · 2acfe96d5e542050 · report
SGRAF hhc1997/l2rm/models.py official repository unverified no licence file found · pointer only · 436eaeec96ae09dd · report

Tasks

Cross-Modal RetrievalCross-modal retrieval with noisy correspondenceRetrievalSemantic SimilaritySemantic Textual Similarity

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF Image-to-text R@1 43.0 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF Image-to-text R@10 75.7 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF Image-to-text R@5 67.5 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF R-Sum 374.2 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF Text-to-image R@1 42.8 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF Text-to-image R@10 77.2 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence CC152K L2RM-SGRAF Text-to-image R@5 68.0 #3 of 15 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF Image-to-text R@1 80.2 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF Image-to-text R@10 98.5 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF Image-to-text R@5 96.3 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF R-Sum 524.7 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF Text-to-image R@1 64.2 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF Text-to-image R@10 95.4 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence COCO-Noisy L2RM-SCARF Text-to-image R@5 90.1 #7 of 17 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF Image-to-text R@1 77.9 #10 of 16 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF Image-to-text R@10 97.8 #10 of 16 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF Image-to-text R@5 95.2 #10 of 16 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF R-Sum 503.8 #10 of 16 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF Text-to-image R@1 59.8 #10 of 16 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF Text-to-image R@10 89.5 #10 of 16 Archive leaderboard report
Cross-modal retrieval with noisy correspondence Flickr30K-Noisy L2RM-SGRAF Text-to-image R@5 83.6 #10 of 16 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.

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