RePair: Turning Retrieval Failures into Counterfactual Hard Pairs

📅 2026-08-30
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
该论文针对视觉-语言检索中局部语义区分问题,提出RePair方法,通过修正模型错误生成的样本,形成难例正负对以优化训练。
📝 Abstract
Vision-language retrieval with CLIP-style dual encoders achieves strong cross-modal performance, yet practical accuracy often hinges on localized semantic distinctions where top-ranked near misses differ from the true match by a single critical detail. Hard-sample mining can select confusable candidates but cannot construct corrected counterparts; synthetic augmentation can generate novel samples but, without conditioning on actual model failures, targets irrelevant dimensions of hardness. We observe that a top-ranked false positive is a counterfactual scaffold---sharing most of the query's semantics while differing in a localized failure-causing residual. Minimally correcting this residual yields a hard positive of the ground truth in the same modality; the corrected and unedited versions form a hard negative pair that straddles the decision boundary, producing complementary pull--push supervision. We introduce RePair, guided by three principles---Validity, Minimality, and Locality---which mines false positives bidirectionally, applies LLM-guided counterfactual editing, and trains with a local hard-pair contrastive objective. On Flickr30K and COCO30K, RePair outperforms controlled augmentation baselines with only 107K synthetic samples---26\%--75\% fewer than comparable methods---confirming failure-conditioned repair is more data-efficient than error-agnostic augmentation.
Problem

Research questions and friction points this paper is trying to address.

vision-language retrieval
CLIP-style dual encoders
localized semantic distinctions
hard-sample mining
synthetic augmentation
Innovation

Methods, ideas, or system contributions that make the work stand out.

counterfactual hard pairs
LLM-guided editing
local hard-pair contrastive objective
🔎 Similar Papers
No similar papers found.
Siyi Liu
Siyi Liu
Hong Kong University of Science and Technology (Guangzhou)
Recommender SystemsInformation Retrieval
X
Xiaorong Zhu
The Hong Kong University of Science and Technology (Guangzhou)
Enjun Du
Enjun Du
The Hong Kong University of Science and Technology (Guangzhou)
LLMData-MiningData-Centric AI
X
Xinyu Zuo
Tencent Yuanbao
L
Lisheng Duan
Tencent Yuanbao
H
Haijin Liang
Tencent Yuanbao
J
Jin Ma
Tencent Yuanbao
J
Junfu Pu
ARC Lab, Tencent
Yongqi Zhang
Yongqi Zhang
Assistant Professor in HKUST(GZ)
Graph learningDrug discoveryDeep learning