Balance Act: Mitigating Hubness in Cross-Modal Retrieval with Query and Gallery Banks
Preprint
Abstract
In this work, we present a post-processing solution to address the hubness problem in cross-modal retrieval, a phenomenon where a small number of gallery data points are frequently retrieved, resulting in a decline in retrieval performance. We first theoretically demonstrate the necessity of incorporating both the gallery and query data for addressing hubness as hubs always exhibit high similarity with gallery and query data. Second, building on our theoretical results, we propose a novel framework, Dual Bank Normalization (DBNorm). While previous work has attempted to alleviate hubness by only utilizing the query samples, DBNorm leverages two banks constructed from the query and gallery samples to reduce the occurrence of hubs during inference. Next, to complement DBNorm, we introduce two novel methods, dual inverted softmax and dual dynamic inverted softmax, for normalizing similarity based on the two banks. Specifically, our proposed methods reduce the similarity between hubs and queries while improving the similarity between non-hubs and queries. Finally, we present extensive experimental results on diverse language-grounded benchmarks, including text-image, text-video, and text-audio, demonstrating the superior performance of our approaches compared to previous methods in addressing hubness and boosting retrieval performance. Our code is available at https://github.com/yimuwangcs/Better_Cross_Modal_Retrieval.Keywords
All Related Versions
This publication has 59 references indexed in Scilit:
- TS2-Net: Token Shift and Selection Transformer for Text-Video Retrieval2022
- CLIP4Clip: An empirical study of CLIP for end to end video clip retrieval and captioningNeurocomputing, 2022
- Multi-modal Transformer for Video Retrieval2020
- Oscar: Object-Semantics Aligned Pre-training for Vision-Language Tasks2020
- Cross-Modal and Hierarchical Modeling of Video and Text2018
- Curse of Dimensionality2017
- Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence ModelsInternational Journal of Computer Vision, 2016
- Ambient Sound Provides Supervision for Visual Learning2016
- Microsoft COCO: Common Objects in Context2014
- A contextual dissimilarity measure for accurate and efficient image search2007