Summary (Overview)
- UEmbed is a decoder-only multimodal embedding model that produces both sparse lexical and dense representations in a single causal forward pass, eliminating the need for bidirectional encoders or auxiliary cross-modal modules.
- It appends learnable special tokens to the input, partitions the vocabulary into disjoint subsets via -means clustering, and each token predicts sparse weights over its assigned subset.
- On MMEB-v2, UEmbed-9B achieves 71.8 (dense) and 71.0 (sparse), leading models trained on public data in dense retrieval and setting a new state-of-the-art for sparse multimodal retrieval.
- On BEIR (9 datasets, nDCG@10), UEmbed remains competitive with strong baselines like SPLADE-v3 and Echo-Mistral-SPLADE.
- Practical advantages include hybrid scoring (improving text and visual-document retrieval), compatibility with high-throughput serving (vLLM) and inverted indices, and cost savings in agentic search (BrowseComp-Plus).
Introduction and Theoretical Foundation
Information retrieval (IR) underpins applications like web search and question answering. Sparse lexical methods (e.g., BM25) are efficient and interpretable but limited to exact term matching. Learned Sparse Retrieval (LSR) methods like SPLADE improve semantic matching via neural token weighting and vocabulary expansion. However, LSR has three key limitations:
- Architectural constraint: LSR relies on encoder-style bidirectional architectures (e.g., BERT). Decoder-only models cannot directly use max-pooling over all hidden states due to causal masking.
- Limited modality: Most LSR methods are text-only; multimodal extensions require auxiliary cross-modal modules.
- Unexplored practical utility: Sparse retrieval is rarely evaluated beyond accuracy on traditional benchmarks.
The primary challenge in deriving sparse representations from causal models is the information bottleneck: relying on a single token (e.g., EOS) to project into a massive -dimensional vocabulary space limits capacity. The paper proposes UEmbed to overcome this by appending learnable special tokens, each responsible for a disjoint vocabulary subset, effectively distributing the projection.
Methodology
Preliminaries
InfoNCE Loss encourages high similarity for positive pairs:
where is cosine similarity (dense) or inner product (sparse), and is temperature.
Learned Sparse Retrieval (SPLADE) produces sparse weights by max-pooling over all token hidden states:
where is the -th token hidden state, is the embedding of term , and is sequence length.
UEmbed Method
-
Vocabulary Compression: Reduce vocabulary from 248,320 to 184,016 via accent stripping, lowercasing, and whitespace collapsing.
-
Partitioned Sparse Heads: Append learnable special tokens . Vocabulary is partitioned into disjoint subsets via -means clustering. Each special token predicts sparse weights over :
where is the final hidden state of . The full sparse vector is the concatenation:
-
Dense Representation: Use the hidden state of the EOS token preceding the special tokens as the dense embedding .
-
Unified Objective:
where regularizers encourage sparsity.
Data Curation
- Sources: 3.94M query-document pairs from Echo-embedding, MLDR, and MMEB training sets.
- Hard Negative Mining: Use Qwen3-VL-Embedding-8B as teacher to retrieve top- non-relevant documents for each query.
Empirical Validation / Results
Multimodal Results (MMEB-v2)
Table 1 reports aggregate scores across image, video, and visual document tasks.
| Model | Image | Video | VisDoc | All |
|---|---|---|---|---|
| Qwen3-VL-Embedding-8B | 80.1 | 67.2 | 82.4 | 77.8 |
| UEmbed-9B (dense) | 73.2 | 59.0 | 79.2 | 71.8 |
| UEmbed-9B (sparse) | 72.5 | 57.5 | 79.1 | 71.0 |
| UEmbed-4B (dense) | 71.4 | 57.0 | 78.8 | 70.4 |
| UEmbed-4B (sparse) | 70.6 | 56.0 | 78.6 | 69.7 |
| UEmbed-2B (dense) | 67.8 | 50.0 | 77.0 | 66.5 |
| UEmbed-2B (sparse) | 67.0 | 47.7 | 76.7 | 65.5 |
Key findings:
- UEmbed-9B (dense) leads models trained on public data, outperforming RzenEmbed-V2-7B (71.1) and Ops-MM-Embed-7B (67.1).
- Sparse performance is within 1.0 point of dense at all scales, with minimal gap on VisDoc tasks.
Text Results (BEIR)
| Model | ArguAna | FiQA 2018 | NFCorpus | NQ | Quora | SCIDOCS | SciFact | COVID | Touche 2020 | Avg |
|---|---|---|---|---|---|---|---|---|---|---|
| Dense | ||||||||||
| UEmbed-9B | 62.5 | 54.3 | 39.8 | 61.9 | 89.9 | 23.4 | 77.8 | 77.9 | 19.2 | 56.3 |
| Sparse | ||||||||||
| UEmbed-9B | 58.4 | 51.2 | 38.1 | 59.9 | 88.7 | 20.6 | 74.5 | 82.1 | 23.4 | 55.2 |
| Echo-Mistral-SPLADE | 56.2 | 57.7 | 42.3 | 56.0 | 86.7 | 25.6 | 77.2 | 76.8 | 18.0 | 55.2 |
UEmbed-9B matches Echo-Mistral-SPLADE (55.2) while also supporting dense retrieval and multimodal inputs.
Ablation Studies
- Joint vs. single-mode training: Joint training matches specialists (Figure 2a).
- Sparse temperature: gives best sparse performance without harming dense (Figure 2b).
- Number of special tokens: is optimal; degrades due to tiny vocabulary subsets (Figure 2c).
- Vocabulary partitioning: Semantic clustering (k-means) outperforms random and max-distance strategies (Table 4).
- Comparison to bidirectional SPLADE: UEmbed-2B surpasses SPLADE baseline by +3.2 (dense) and +2.1 (sparse) on MMEB-v1 image subset (Table 3).
Practical Advantages
- Hybrid scoring: Linear interpolation of dense and sparse similarities improves Text (+0.3) and VisDoc (+0.5) on MMEB-v2 (Table 5).
- Efficiency: Fully autoregressive, compatible with vLLM and inverted indices.
- Agentic search: On BrowseComp-Plus, sparse mode reduces average search rounds while maintaining recall (Table 6).
Theoretical and Practical Implications
- Theoretical: The paper demonstrates that sparse retrieval can be natively integrated into decoder-only MLLMs by overcoming the causal attention bottleneck via partitioned vocabulary heads. This unifies dense and sparse retrieval within a single causal forward pass, eliminating reliance on bidirectional encoders and auxiliary modules.
- Practical: UEmbed offers a drop-in replacement for both dense and sparse retrieval systems, with hybrid scoring, high-throughput serving, and cost savings in iterative reasoning (agentic search). Its interpretability via activated vocabulary terms aids bias auditing.
Conclusion
UEmbed is a decoder-only multimodal embedding model that unifies dense and sparse retrieval in one causal forward pass. It achieves state-of-the-art sparse multimodal retrieval on MMEB-v2 and competitive text retrieval on BEIR. The model is efficient, compatible with modern serving stacks, and demonstrates practical advantages in hybrid scoring and agentic search. Limitations include language bias (English/Chinese dominance), occasional anomalous token activations, and a slight performance gap in video tasks. Future work can address vocabulary stability, multilingual support, and modality-specific capacity.
Related papers
- Abra: Scaling Diffusion Image Training
Text-to-image diffusion transformers reach compute-optimal training at roughly 200 tokens per parameter, ten times higher than the Chinchilla rule for LLMs, and overtraining is surprisingly forgiving.
- RestoreKV: Recovering Full-Cache Behavior Under Aggressive Query-Agnostic KV Cache Eviction
RestoreKV generates a small, context-conditioned restore cache via LoRA-adapted tokens to complement evicted KV pairs, boosting RULER accuracy by up to 35 points at 5% budget with negligible overhead.
- Training Transformers for KV Cache Compressibility (KV-CAT)
KV-CAT trains transformers with learned routers to produce inherently compressible KV caches, improving compression quality up to 3.21x without sacrificing dense performance.