TL;DR
This paper introduces Querybank Normalisation (QB-NORM), a simple yet powerful post-processing framework that significantly boosts cross-modal retrieval performance by mitigating the "hubness problem." By re-normalising similarities using a bank of sample queries, the authors achieve state-of-the-art results across various modalities and models without requiring any retraining or impractical concurrent access to test queries.
What Problem Does This Paper Address?
Modern cross-modal retrieval (e.g., finding a video based on a text description) typically relies on joint embeddings, where different modalities are mapped into a shared high-dimensional vector space. While effective, these spaces suffer from a phenomenon called hubness: a small number of gallery items (the "hubs") appear as the nearest neighbors to a disproportionately large number of queries.
As shown in Figure 2, hubness is pervasive across leading models and datasets. When a hub "crowds out" the true target, retrieval quality plummets. Previous solutions often required access to all test queries at once—an unrealistic constraint for real-world systems that handle queries sequentially—or were highly sensitive to the choice of samples used for normalization.
Methods
The authors propose the Querybank Normalisation (QB-NORM) framework, which consists of two main steps:
- Querybank Construction: A set of $N$ samples from the query modality (e.g., text) is collected to serve as a "probe" to identify hubs in the gallery.
- Similarity Normalisation: During inference, the similarity between a new query and the gallery is adjusted based on how "hub-like" each gallery item is relative to the querybank.
The core innovation is a new normalization module called Dynamic Inverted Softmax (DIS). Unlike prior methods that normalize every retrieval, DIS identifies a "gallery activation set"—a list of potential hubs—and only applies the Inverted Softmax (IS) normalization to retrievals that fall within this set. This "dynamic" approach ensures that the method "does no harm" even if the querybank is poorly chosen or out-of-domain.
Crucially, QB-NORM is non-parametric and requires no retraining. It can be applied as a "plug-and-play" enhancement to any existing joint-embedding model.
Datasets
The authors evaluated QB-NORM across a massive range of benchmarks to prove its generality:
- Text-Video Retrieval: MSR-VTT, MSVD, DiDeMo, LSMDC, VaTeX, QueryYD, and ActivityNet-captions.
- Text-Image Retrieval: MSCoCo.
- Text-Audio Retrieval: AudioCaps.
- Image-to-Image Retrieval: CUB-200-2011 and Stanford Online Products.
Key Insights and Ideas
- Training Data is Enough: A major "aha" moment was discovering that a querybank sampled from the training set performs just as well as one sampled from the test set. This removes the need for concurrent access to test queries, making the method practical for real-time deployment.
- Robustness via DIS: Existing normalization techniques like CSLS or standard Inverted Softmax can actually degrade performance if the querybank domain doesn't match the gallery. The proposed DIS is significantly more robust, maintaining or improving performance even with "adversarial" querybanks.
- Intrinsic Dimensionality Matters: The authors found that hubness is more severe in models that use more modalities (e.g., video + audio + speech). Because QB-NORM targets hubness, it actually becomes more effective as the complexity and dimensionality of the retrieval task increase.
Key Results
QB-NORM consistently improved strong baselines across all tested tasks:
- Text-Video: On the MSR-VTT benchmark, applying QB-NORM to the TT-CE+ model improved the R@1 (Recall at rank 1) from 29.6% to 33.3%.
- Text-Audio: On AudioCaps, it boosted R@1 from 23.1% to 23.9%.
- Qualitative Success: Figure 4 illustrates how QB-NORM corrects retrieval by penalizing generic hubs and allowing the semantically relevant video to rise to the top.
Limitations and Future Work
- Computational Overhead: While efficient, QB-NORM does require pre-computing and storing a "probe matrix" (similarities between the querybank and the gallery), which adds to memory and initial setup costs.
- Domain Gaps: Although DIS is robust, extreme domain gaps between the querybank and the gallery can still limit the benefits of normalization.
- Future Directions: The authors suggest exploring how to optimally select querybank samples to maximize hubness detection with minimal samples, further reducing computational costs.
Summary updated