NeighborRetr: Balancing Hub Centrality in Cross-Modal Retrieval

Zengrong Lin, Zheng Wang, Tianwen Qian, Pan Mu, Sixian Chan +1 more
2/10/2026

No official code found. Best implementation: zzezze/NeighborRetr (9 stars, Apache-2.0, last commit 2025-04-14). 1 more below.

Abstract

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, Neighbor-Retr 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/NeighborRetr.

View on arXivView PDF

Code Implementations(2)

zzezze/NeighborRetrCommunity100%
Apache-2.0

Official implementation of "NeighborRetr: Balancing Hub Centrality in Cross-Modal Retrieval (CVPR 2025)"

91CSS, HTMLMar 12, 20251 years agoApache-2.0
cross-modal-retrievalcvpr2025text-video-retrieval

Official implementation of "NeighborRetr: Balancing Hub Centrality in Cross-Modal Retrieval (CVPR 2025)"

00Mar 14, 20251 years ago

Similar Papers

Cite this paper

@article{lin2026neighborretr,
  title  = {NeighborRetr: Balancing Hub Centrality in Cross-Modal Retrieval},
  author = {Zengrong Lin and Zheng Wang and Tianwen Qian and Pan Mu and Sixian Chan and Cong Bai},
  year   = {2026},
  eprint = {2503.10526},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.10526},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.10526.svg)](https://codeofpaper.com/paper/2503.10526)

Discussion