Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

NeighborRetr: Balancing Hub Centrality in Cross-Modal Retrieval

About

Cross-modal retrieval aims to bridge the semantic gap between different modalities, such as visual and textual data, enabling accurate retrieval across them. Despite significant advancements with models like CLIP that align cross-modal representations, a persistent challenge remains: the hubness problem, where a small subset of samples (hubs) dominate as nearest neighbors, leading to biased representations and degraded retrieval accuracy. Existing methods often mitigate hubness through post-hoc normalization techniques, relying on prior data distributions that may not be practical in real-world scenarios. In this paper, we directly mitigate hubness during training and introduce NeighborRetr, a novel method that effectively balances the learning of hubs and adaptively adjusts the relations of various kinds of neighbors. Our approach not only mitigates the hubness problem but also enhances retrieval performance, achieving state-of-the-art results on multiple cross-modal retrieval benchmarks. Furthermore, NeighborRetr demonstrates robust generalization to new domains with substantial distribution shifts, highlighting its effectiveness in real-world applications. We make our code publicly available at: https://github.com/zzezze/NeighborRetr .

Zengrong Lin, Zheng Wang, Tianwen Qian, Pan Mu, Sixian Chan, Cong Bai• 2025

Related benchmarks

TaskDatasetResultRank
Image-to-Text RetrievalFlickr30K 1K (test)
R@179.5
439
Text-to-Video RetrievalDiDeMo (test)
R@148.2
376
Text-to-Image RetrievalFlickr30K 1K (test)
R@192.7
375
Text-to-Video RetrievalMSR-VTT
Recall@149.5
313
Text-to-Image RetrievalMSCOCO 5K (test)
R@169.5
286
Text-to-Video RetrievalMSVD (test)
R@147.9
204
Video-to-Text retrievalMSR-VTT
Recall@148.7
157
Video-to-Text retrievalDiDeMo (test)
R@148.4
92
Video-to-Text retrievalMSVD (test)
R@163.3
61
Text-to-Video RetrievalActivityNet-captions (val1)
R@146
58
Showing 10 of 14 rows

Other info

Code

Follow for update