Abstract
UniMoCo (Unified Modality Completion) addresses the "missing modality" problem in multi-modal embedding models. Traditional Vision-Language Models (VLMs) often suffer from modality combination bias, where performance degrades when encountering incomplete input pairs (e.g., text-only queries for image-text targets). UniMoCo introduces a specialized modality-completion module that synthesizes pseudo-visual features from text, ensuring structural consistency and robust alignment across diverse input combinations. Evaluated on the Massive Multi-modal Embedding Benchmark (MMEB), UniMoCo achieves state-of-the-art performance, demonstrating significant gains in zero-shot tasks and distributional robustness.
Introduction
In an ideal scenario, multi-modal models like CLIP operate on perfectly paired text and image data. However, real-world data is often incomplete. A user might perform a text-only query to find a multi-modal target, or vice versa. Current Vision-Language Models (VLMs) struggle with these "incomplete" combinations due to modality combination bias. Because training data often favors specific combinations (e.g., Text+Image $\rightarrow$ Text), models can become "lazy," ignoring visual features when they aren't strictly required for the training objective. Consequently, performance degrades when the model encounters a combination it hasn't seen frequently. UniMoCo solves this by shifting from modality invariance to modality completion.
Methodology
UniMoCo is built upon Large Vision-Language Models (LVLMs) such as Phi-3.5V or Qwen2-VL. The core innovation is the addition of a lightweight Modality-Completion Module.
Modality Completion and Pseudo-Visual Tokens
When an image is missing from the input, UniMoCo doesn't simply ignore the visual channel. Instead, a compact Text-to-Image (T2I) model generates pseudo-visual embeddings based on the available text. These are high-dimensional features representing the visual information that should have been present, allowing the model to maintain a complete representation of the concept.
Structural Consistency
A significant challenge in multi-modal processing is the discrepancy in token sequence lengths; images typically produce hundreds of tokens, while text produces far fewer. UniMoCo employs a specialized padding strategy using dummy tokens to ensure that pseudo-visual inputs match the length and structure of real visual inputs. This maintains consistent processing within the backbone LLM across all modality combinations.
Dual-Loss Training
The model is optimized using two complementary loss functions:
- Contrastive Loss ($\mathcal{L}_1$): Aligns matching query-target pairs in the embedding space.
- Auxiliary Loss ($\mathcal{L}_2$): Forces generated pseudo-visual tokens to align with real visual tokens of the same concept, ensuring the completion module's accuracy.
Experimental Setup
The researchers utilized the Massive Multi-modal Embedding Benchmark (MMEB) to evaluate UniMoCo.
- Training: The model was fine-tuned on 662,000 samples from 20 diverse datasets covering classification, retrieval, VQA, and visual grounding.
- Evaluation: Testing spanned 36 datasets, including "In-Distribution" and "Out-of-Distribution" tasks to measure true robustness and generalization.
Key Results
UniMoCo establishes a new state-of-the-art for robust multi-modal embeddings. The Qwen2-VL-7B variant achieved an average score of 63.2 across the MMEB benchmarks, outperforming previous leaders like VLM2VEC.
Key performance highlights include:
- Zero-Shot Gains: Significant improvements over non-fine-tuned baselines, with +43.2 points in VQA and +20.2 points in visual grounding.
- Distributional Robustness: Unlike traditional models that fluctuate based on modality skew in training data, UniMoCo remains stable, proving it effectively utilizes all available modalities regardless of the input configuration.
Conclusion
UniMoCo demonstrates that "filling in the blanks" is a superior strategy to forcing modality invariance. By ensuring structural consistency and using an auxiliary alignment loss, the model preserves rich details and eliminates modality bias. Future work could involve scaling the T2I module or integrating advanced data augmentation to further push the boundaries of multi-modal retrieval and understanding.
Summary updated