Abstract
Multimodal retrieval typically faces a trade-off between the high performance of dense continuous embeddings and the interpretability and efficiency of sparse lexical vectors. We present Dense2Sparse (D2S), a novel framework that distills knowledge from pre-trained dense multimodal models into sparse representations. By employing a "Probabilistic Expansion Control" strategy, D2S achieves state-of-the-art sparse retrieval performance on benchmarks like MSCOCO and Flickr30k, requiring significantly less training data and compute than previous methods.
Introduction
Information retrieval systems generally utilize either dense retrieval (continuous vectors) or sparse retrieval (weighted keywords). While dense models like CLIP or BLIP dominate multimodal search due to the continuous nature of image data, sparse retrieval offers superior interpretability and compatibility with mature inverted index infrastructures. However, existing sparse multimodal models often suffer from high training costs, "dimension co-activation" (leading to inefficiently dense vectors), and "semantic deviation" (where learned keywords lack human-understandable meaning).
The Dense2Sparse (D2S) Framework
The D2S method avoids the need for massive-scale pre-training by leveraging frozen, high-performing dense encoders (e.g., ALBEF or BLIP). A lightweight Multimodal Sparse Projection head is added to map the dense embeddings into a high-dimensional sparse space.
Probabilistic Expansion Control
To address semantic deviation, the authors introduce Probabilistic Expansion Control. During training, the model's ability to "expand" its vocabulary beyond the words present in the image's caption is controlled by Bernoulli random variables.
- Initial Phase: The expansion probability is zero, forcing the model to ground its image representations in the provided text.
- Graduation Phase: The probability gradually increases, allowing the model to learn synonyms and related terms (query expansion) to improve retrieval recall without losing semantic grounding.
Additionally, Dense Supervision is used to ensure the sparse model mimics the similarity rankings of the original dense backbone, effectively distilling its complex knowledge.
Experimental Results
The D2S framework was evaluated on the MSCOCO (113.2k pairs) and Flickr30k (29.8k pairs) datasets.
Performance and Efficiency
As shown in the results table, D2S (BLIP) achieves a Recall@1 of 54.5 on MSCOCO, surpassing LexLIP (53.2) despite LexLIP being trained on two orders of magnitude more data. Remarkably, D2S can be trained in approximately two hours on a single GPU.
The Sparsity-Accuracy Trade-off
The framework allows for flexible deployment through the regularization parameter $\eta$. By adjusting this weight, practitioners can tune the model for either maximum retrieval accuracy or minimal computational overhead (FLOPs), as evidenced by the varying performance of D2S variants in the experimental results.
Conclusion
Dense2Sparse demonstrates that sparse multimodal retrieval can be both highly effective and efficient by distilling knowledge from dense foundation models. The Probabilistic Expansion Control mechanism ensures that the resulting sparse vectors remain interpretable and grounded. Future work may extend this distillation process to even larger vision-language models, further bridging the gap between pixel-level understanding and lexical retrieval.
Summary updated