Compression then Matching: An Efficient Pre-training Paradigm for Multimodal Embedding
Da Li, Yuxiao Luo, Keping Bi, Jiafeng Guo, Wei Yuan, Biao Yang, Yan Wang, Fan Yang, Tingting Gao, Guorui Zhou
TL;DR
The paper addresses the data efficiency gap in converting vision-language models into strong multimodal embeddings by decoupling comprehensive input understanding from discriminative matching. It introduces CoMa, a compression pre-training stage that uses a small set of learnable compression tokens and an attention-mask mechanism to extract rich, image-wide information before engaging in contrastive learning. AQA-based compression objective $P(A \mid I \oplus \mathcal{C}(X) \oplus Q; \theta)$ and automatic data generation with multi-turn QA enable robust pretraining with limited data, followed by InfoNCE-based contrastive optimization. Empirically, CoMa achieves state-of-the-art or near-state-of-the-art results on the Massive Multimodal Embedding Benchmark (MMEB) with substantially less pretraining data and resource usage, highlighting improved efficiency and competitive effectiveness for downstream cross-modal retrieval and related tasks. The work also provides thorough ablations on compression token count, data formats, and loss choices, offering practical guidance for building data-efficient multimodal embedding systems with large-language-model backbones such as Qwen2.5-VL and LoRAfinetuning.
Abstract
Vision-language models advance multimodal representation learning by acquiring transferable semantic embeddings, thereby substantially enhancing performance across a range of vision-language tasks, including cross-modal retrieval, clustering, and classification. An effective embedding is expected to comprehensively preserve the semantic content of the input while simultaneously emphasizing features that are discriminative for downstream tasks. Recent approaches demonstrate that VLMs can be adapted into competitive embedding models via large-scale contrastive learning, enabling the simultaneous optimization of two complementary objectives. We argue that the two aforementioned objectives can be decoupled: a comprehensive understanding of the input facilitates the embedding model in achieving superior performance in downstream tasks via contrastive learning. In this paper, we propose CoMa, a compressed pre-training phase, which serves as a warm-up stage for contrastive learning. Experiments demonstrate that with only a small amount of pre-training data, we can transform a VLM into a competitive embedding model. CoMa achieves new state-of-the-art results among VLMs of comparable size on the MMEB, realizing optimization in both efficiency and effectiveness.
