Omni-Embed-Mini:通过密集蒸馏绑定模态而不遗忘
研究论文 · 2026/10/02
将文本嵌入模型扩展到新模态通常会降低文本检索质量,而现有的全模态嵌入器通过数十亿参数来弥补。我们提出 Omni-Embed-Mini,一个 0.9B 参数的模型,将文本、语音、音频、图像、视频和视觉丰富文档映射到单一共享余弦空间,且不更新任何文本侧参数。我们的关键洞察是教师信号不需要单独的嵌入模型:每个媒体样本与密集级联描述配对,教师目标就是冻结骨干网络对该描述的嵌入。由于教师和学生共享相同的骨干权重,它们处于字节相同的几何空间,轻量投影器加上模态编码器上的分阶段 LoRA 适配器足以实现对齐。训练结合了 Matryoshka SigLIP 对比损失和在线混合硬负样本挖掘器,其负样本随着编码器改进而锐化。该方案通过换入原生视觉语言骨干网络可扩展到 2.3B 变体。Omni-Embed-Mini-0.9B 保持其文本权重与骨干网络位相同,因此训练不会导致文本检索退化(MTEB-v2 BEIR-8 上 49.57 nDCG@10),同时扩展到五个额外模态,并且比我们比较的每个开放全模态嵌入器小约 2.7 倍到 9.5 倍。2.3B 变体与闭源 gemini-embedding-2 竞争,在整体模态平均上略胜一筹。模型、代码、数据和评估工具在我们的项目页面:https://omniembed.cvmbzuai.com
该工作提出了一种高效的全模态嵌入方法,通过密集蒸馏和共享骨干网络,在不牺牲文本检索性能的前提下,以极小的参数量(0.9B)实现了多模态对齐,显著优于现有开放模型,并与闭源模型竞争,具有重要的实用价值和创新性。
Extending a text embedding model to new modalities typically degrades text retrieval quality, and existing omni-modal embedders compensate with multi-billion parameters. We present Omni-Embed-Mini, a 0.9B-parameter model that maps text, speech, audio, images, video, and visually-rich documents into a single shared cosine space without updating any text-side parameter. Our key insight is that the teacher signal requires no separate embedding model: each media sample is paired with a dense cascaded caption, and the teacher target is simply the frozen backbone's own embedding of that caption. Because teacher and student share the same backbone weights, they inhabit byte-identical geometry, and lightweight projectors plus phased LoRA adapters on the modality encoders suffice for alignment. Training combines a Matryoshka SigLIP contrastive loss with an online hybrid hard-negative miner whose negatives sharpen as the encoder improves. The recipe carries over to a 2.3B variant by swapping in a native vision-language backbone. Omni-Embed-Mini-0.9B keeps its text weights bit-identical to the backbone, so training cannot regress text retrieval (49.57 nDCG@10 on MTEB-v2 BEIR-8), while extending it to five additional modalities, and is ~2.7x to 9.5x smaller than every open omni embedder we compare against. The 2.3B variant is competitive with the closed gemini-embedding-2, edging ahead of it on the overall-modality average. Models, code, data and evaluation harness are on our project page: https://omniembed.cvmbzuai.com