Share your thoughts, 1 month free Claude Pro on usSee more
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
491
Text-to-Image RetrievalFlickr30K 1K (test)
R@192.7
432
Text-to-Video RetrievalDiDeMo (test)
R@148.2
399
Text-to-Video RetrievalMSR-VTT
Recall@149.5
369
Text-to-Image RetrievalMSCOCO 5K (test)
R@169.5
308
Text-to-Video RetrievalMSVD (test)
R@147.9
204
Video-to-Text retrievalMSR-VTT
Recall@148.7
185
Video-to-Text retrievalDiDeMo (test)
R@148.4
111
Image-to-Text RetrievalMSCOCO 5K (test)
R@153.2
64
Video-to-Text retrievalMSVD (test)
R@163.3
61
Showing 10 of 14 rows

Other info

Code

Follow for update