Hugging Face Papers ↗ · 2026-11-19
DiLE: Discrimination-Aware Latent-Space Learning for Universal Multimodal Embeddings
Media reports Hugging Face Papers Source language: Chinese
DiLE learns discrimination-aware latent embeddings via task-guided latent queries and on-policy hard-negative distillation, achieving SOTA on MMEB-v2, UVRB, and MRCR…
Full text
DiLE: Discrimination-Aware Latent-Space Learning
for Universal Multimodal Embeddings
Ben Kang Affiliation: Dalian University of Technology Email: kangben@mail.dlut.edu.cn Junda Wang Affiliation: Peking University Email: wdice@dlut.edu.cn Yuxuan Yuan Affiliation: Xiaomi Inc Email: fupei1@xiaomi.com Hang Li Affiliation: Xiaomi Inc Yuhan Liu Affiliation: Xiaomi Inc Xin Chen Affiliation: City University of Hong Kong Wanting Geng Affiliation: Dalian University of Technology Tong Lin Affiliation: Peking University Pei Fu Affiliation: Xiaomi Inc Dong Wang Affiliation: Dalian University of Technology Jian Luan Affiliation: Xiaomi Inc Huchuan Lu Affiliation: Dalian University of Technology
Abstract
Multimodal large language models have greatly improved input understanding in universal multimodal embedding models. However, this understanding does not ensure that their embeddings preserve the evidence needed to distinguish relevant items from confusable alternatives. To preserve essential discriminative evidence in embeddings, this paper proposes DiLE, a discrimination-aware latent-space learning framework that combines task guidance with on-policy retrieval feedback. Specifically, a few learnable queries are used to encode task-relevant information in a compact latent space. Reasoning instructions and auxiliary answer-generation supervision shape these representations to support both task understanding and retrieval discrimination. To address task-specific discriminative needs, we design shared–private expert adaptation that integrates cross-task knowledge sharing with task-specific representation learning. Building on this, the on-policy hard-negative distillation is introduced: the student retrieves confusable candidates, and a reverse KL divergence objective aligns its embedding-based similarity distribution with the teacher’s fine-grained relevance distribution over these candidates. Candidates are periodically refreshed using updated student snapshots, tying teacher supervision to the student’s evolving retrieval behavior and confusions. Across four model configurations that span two backbone generations, DiLE achieves state-of-the-art performance on MMEB-v2, UVRB, and MRMR, demonstrating its effectiveness across modalities and tasks.
†† ∗Equal contribution.
†\daggerCorresponding author.
‡\ddaggerWork done during internships at Xiaomi Inc.

(a) Preserving evidence for retrieval discrimination.
(b) Comparison of throughput and retrieval performance.
Figure 1: Discrimination-aware UME. (a) Color and spatial relations distinguish the relevant item from confusable alternatives. (b) MMEB-V2 overall performance versus encoding throughput for DiLE and existing embedding models. Throughput was measured on an NVIDIA H100 80GB HBM3 GPU.
1 Introduction
Embedding models enable efficient retrieval by mapping retrieval queries and candidates to vectors that can be compared directly. Multimodal Large Language Models (MLLMs) have advanced Universal Multimodal Embeddings (UME), enabling one model to handle diverse modalities and tasks [6, 5, 58, 36]. Recent methods further use generated reasoning [29] or latent representations [17] to improve retrieval. These advances strengthen the model’s understanding of multimodal inputs and task instructions. For retrieval, however, this understanding must also be reflected in the distances between candidate embeddings. As shown in Figure 1(a), candidates may contain similar objects, while their spatial relations determine which one is relevant. If the embedding preserves this evidence, it can separate the relevant item from distractors; otherwise, the candidates may remain difficult to distinguish. Preserving such discriminative evidence in a single vector remains a key challenge.
To address this challenge, we propose DiLE, a discrimination-aware latent-space learning framework driven by on-policy retrieval feedback. Its core idea is to use task guidance to learn what to retain and teacher guidance on student-retrieved candidates to learn what to distinguish. As shown in Figure 2, DiLE first learns task-aware latent space representations, then performs discrimination-aware refinement through on-policy hard-negative distillation.
For task-aware latent space representation, we introduce Task-guided Latent Space Learning (TLSL). A reasoning instruction guides a small set of learnable latent queries to extract task-relevant information from each input; their hidden states are pooled into a retrieval vector. The instruction encourages the queries to focus on evidence useful for the given task. During training, auxiliary answer-generation supervision provides an additional signal that guides the latent representations toward information useful for understanding and retrieval. To accommodate task-specific discriminative needs, we also introduce Shared–Private Expert Adaptation (SPEA). Shared experts learn common knowledge across tasks, while private experts capture task-specific distinctions. This design combines knowledge sharing with the flexibility to focus on different evidence across modalities and tasks. Together, TLSL and SPEA learn task-aware latent space representations that retain relevant information and provide a foundation for subsequent discrimination-aware refinement.
For discrimination-aware refinement, we introduce On-Policy Hard-negative Distillation (OPHD), which adapts on-policy distillation [1] to retrieval. The student determines which negatives it learns from through its own retrieval policy, and the teacher provides supervision on those candidates. A Qwen3-VL-8B reranker [32] jointly examines each query–candidate pair and provides a fine-grained relevance distribution that distinguishes relevant items from confusable negatives. Reverse KL aligns the student’s embedding-based similarity distribution with these teacher judgments, encouraging fine-grained discrimination in the embedding space. We periodically refresh the candidates with updated student snapshots so that distillation can target the hard negatives surfaced by the evolving retrieval policy. At inference, each input is independently encoded into a single vector, without the teacher, answer generation, or explicit reasoning traces.
We build four models using Qwen2-VL-2B/7B [46] and Qwen3-VL-2B/4B [4], achieving state-of-the-art overall performance on MMEB-V2, UVRB, and MRMR. As shown in Figure 1(b), DiLE with Qwen3-VL-2B improves MMEB-V2 overall performance by 2.8% over Embed-RL [23] with the same backbone and is 101×\times faster. With Qwen2-VL-2B, DiLE improves by 4.3% over PLUME [17] with the same backbone and is 4×\times faster. These results demonstrate the effectiveness of DiLE across diverse multimodal retrieval tasks. Our contributions are:
•
We introduce TLSL and SPEA to learn task-aware latent space representations that combine shared knowledge with task-specific distinctions.
•
We propose OPHD that aligns student similarities with teacher relevance judgments on student-retrieved hard negatives, periodically refreshing candidates to track the student’s evolving retrieval behavior.
•
DiLE achieves state-of-the-art overall performance on MMEB-V2, UVRB, and MRMR, demonstrating its effectiveness across diverse modalities and retrieval tasks.

Figure 2: Overview of DiLE. (a) Task-aware representation combines Task-guided Latent Space Learning and Shared–Private Expert Adaptation. (b) Discrimination-aware refinement transfers the teacher’s fine-grained relevance distribution to the student through On-Policy Hard-negative Distillation. Periodically refreshed student snapshots update candidate sets, targeting evolving retrieval ambiguities.
2 Related Work
Multimodal embeddings. Early multimodal embedding methods focus on aligning image and text inputs in a shared space [40, 21, 54, 55]. Vision–language models such as BLIP-2, LLaVA, and Qwen-VL combine visual perception with language understanding, providing a foundation for more expressive multimodal representations [31, 34, 3]. Building on these capabilities, MLLM-based embedding methods support richer inputs and diverse retrieval tasks through multimodal understanding and instruction following [25, 26, 33, 58, 37, 51]. Further advances explore complementary aspects of retrieval learning: LamRA and LLaVE improve multimodal retrieval and hard-negative training [35, 28], while MegaPairs and UniME study training data and cross-modal learning [60, 14]. ColPali and VisRAG extend retrieval to visually rich documents [12, 53]. DiLE further combines shared and task-specific representations to capture the evidence each task requires.
Reasoning and latent representations. Chain-of-thought encourages language models to generate intermediate steps for complex tasks [48]. Recent work extends this idea to enrich multimodal embeddings. UME-R1, Think-Then-Embed, and ReTRv-R1 use generated reasoning [29, 11, 61]; Embed-RL aligns reasoning with retrieval [23], while RIME uses retrieval-oriented rewriting [49]. These methods explore how intermediate information can help embeddings express the intent of a query. To reduce the cost of generating explicit reasoning, latent representations offer an alternative, as explored by Coconut and pause tokens [16, 13]. For multimodal embedding, PLUME uses iterative latent states [17], whereas LaME and BToks supervise learnable tokens [50, 44]. DiLE learns single-pass latent representations using reasoning instructions and answer-generation supervision.
Knowledge distillation. Knowledge distillation transfers soft teacher predictions to students [18]. In retrieval, dual encoders learn from cross-encoder judgments [38, 30] through ranking scores or margins [41, 19]. CPRD emphasizes the relative ordering of informative hard negatives [9], while iterative distillation uses an updated retriever to select candidates for teacher supervision [22]. Rabtriever distills a generative reranker using an auxiliary token-level reverse KL loss [8]. In language modeling, on-policy distillation trains the student using teacher feedback on its own generated sequences [1]. DiLE’s OPHD adapts on-policy distillation to retrieval by aligning student embedding similarities with the reranker’s relevance distribution via reverse KL over candidates periodically refreshed by the student’s evolving retrieval policy.
3 Method
DiLE learns a single-vector encoder in two stages (Figure 2). Task-guided Latent Space Learning (TLSL) and Shared–Private Expert Adaptation (SPEA) first build task-aware latent space representations. On-Policy Hard-negative Distillation (OPHD) then sharpens retrieval discrimination through teacher judgments on student-retrieved hard negatives.
3.1 Task-Aware Latent Space Representations
TLSL. For a multimodal input xx and task instruction ii, let X(x,i)X(x,i) be their token sequence. We append a reasoning instruction rr and NN learnable latent queries 𝐔=[u1,…,uN]\mathbf{U}=[u_{1},\ldots,u_{N}] to form [X(x,i);r;𝐔][X(x,i);r;\mathbf{U}], with N=4N=4 by default. The instruction is: “Use the following latent queries to reason about the input and encode the conclusions needed to identify a matching item.” It guides the latent queries to perform implicit reasoning over retrieval-relevant information, focusing on evidence that distinguishes matching items from confusable alternatives. Under causal attention, each query attends to the input, instructions, and preceding queries. The latent queries act as learnable information extractors: through successive backbone layers, their hidden states repeatedly attend to input representations and progressively integrate task-relevant evidence. We mean-pool the final hidden states of the learnable queries and normalize the result to obtain the retrieval vector:
H\displaystyle H =Fθ([X(x,i);r;𝐔])\displaystyle=F_{\theta}([X(x,i);r;\mathbf{U}]) (1)
eθ(x,i)\displaystyle e_{\theta}(x,i) =norm(1N∑n=1Nhun)\displaystyle=\operatorname{norm}\!\left(\frac{1}{N}\sum_{n=1}^{N}h_{u_{n}}\right)
where FθF_{\theta} denotes the multimodal backbone with expert adaptation, hunh_{u_{n}} is the final hidden state of query unu_{n}, and norm\operatorname{norm} denotes ℓ2\ell_{2} normalization.
To guide the latent queries toward task-relevant information, we append an answer annotation aa after the latent queries in each training input, following Embed-RL [23]. Answer tokens can attend to the input, latent queries, and preceding answer tokens. The latent queries thus provide information for answer prediction, while answer supervision backpropagates through the latent states, encouraging them to extract more accurate and useful task-relevant evidence.
We map the hidden states used for next-token prediction through the frozen language modeling head and apply cross-entropy loss only to answer tokens. We supervise both the retrieval-query side (s=qs=q) and the candidate side (s=ds=d):
ℒanss=−1Ts∑(x,a)∈ℬs∑ℓ=1|a|logPθ(aℓ∣X(x,i),r,𝐔,a<ℓ)\mathcal{L}_{\mathrm{ans}}^{s}=-\frac{1}{T_{s}}\sum_{(x,a)\in\mathcal{B}_{s}}\sum_{\ell=1}^{|a|}\log P_{\theta}\left(a_{\ell}\mid X(x,i),r,\mathbf{U},a_{<\ell}\right) (2)
where ℬs\mathcal{B}_{s} contains the input–answer pairs on side ss of the batch, Ts=∑(x,a)∈ℬs|a|T_{s}=\sum_{(x,a)\in\mathcal{B}_{s}}|a| counts supervised answer tokens. The probability PθP_{\theta} is obtained by applying softmax to the frozen head’s output logits. Because answers follow the latent queries, causal attention prevents answer tokens from affecting the query states used for retrieval. Answer supervision is used only during training; inference encodes each input without answer tokens or answer generation.
We use InfoNCE [39] to supervise the embedding vectors. For a batch of BB retrieval queries {qb}b=1B\{q_{b}\}_{b=1}^{B}, let 𝒟b\mathcal{D}_{b} denote the in-batch candidates for qbq_{b} and 𝒫b⊆𝒟b\mathcal{P}_{b}\subseteq\mathcal{D}_{b} its labeled positives. The batch-averaged retrieval loss is
ℒret=−1B∑b=1Blog∑d∈𝒫bexp(cos(𝐞qb,𝐞d)/τs)∑d∈𝒟bexp(cos(𝐞qb,𝐞d)/τs)\mathcal{L}_{\mathrm{ret}}=-\frac{1}{B}\sum_{b=1}^{B}\log\frac{\sum_{d\in\mathcal{P}_{b}}\exp\!\left(\cos(\mathbf{e}_{q_{b}},\mathbf{e}_{d})/\tau_{s}\right)}{\sum_{d\in\mathcal{D}_{b}}\exp\!\left(\cos(\mathbf{e}_{q_{b}},\mathbf{e}_{d})/\tau_{s}\right)} (3)
where 𝐞qb=eθ(qb,iqb)\mathbf{e}_{q_{b}}=e_{\theta}(q_{b},i_{q_{b}}) and 𝐞d=eθ(d,id)\mathbf{e}_{d}=e_{\theta}(d,i_{d}) are the retrieval embeddings, cos(⋅,⋅)\cos(\cdot,\cdot) denotes cosine similarity, and τs\tau_{s} is the temperature, set to 0.020.02 by default. Stage I combines retrieval supervision with answer supervision on both sides:
ℒI=ℒret+λa(ℒansq+ℒansd)\mathcal{L}_{\mathrm{I}}=\mathcal{L}_{\mathrm{ret}}+\lambda_{a}\left(\mathcal{L}_{\mathrm{ans}}^{q}+\mathcal{L}_{\mathrm{ans}}^{d}\right) (4)
where λa\lambda_{a} controls the weight of answer supervision and is set to 0.10.1 by default. The retrieval loss separates matching items from negatives, while answer supervision encourages the latent states to retain task-relevant evidence.
SPEA. In UME, tasks differ in their focus and the discriminative evidence needed to identify relevant items. To accommodate these differences, we introduce SPEA, which combines shared and task-private LoRA experts [20]. Shared experts capture cross-task knowledge, while task-private experts learn task-specific distinctions. Together, they help the latent queries extract information useful for both general task understanding and fine-grained discrimination. The task instruction determines the private expert through a predefined mapping t=ρ(i)t=\rho(i). At each adapted projection, the selected private update is combined with the shared update:
W~tv\displaystyle\widetilde{W}_{t}v =W0v+ΔWsv+ΔWtv\displaystyle=W_{0}v+\Delta W_{s}v+\Delta W_{t}v (5)
ΔW\displaystyle\Delta W =(α/k)LR\displaystyle=(\alpha/k)LR
where W0W_{0} is the frozen projection, vv is its input, ΔWs\Delta W_{s} and ΔWt\Delta W_{t} denote the shared and selected task-private updates, and L,RL,R are rank-kk factors with scaling coefficient α/k\alpha/k.
We define six private experts: four for image classification, image question answering, image retrieval, and image grounding, and two for video and visual documents. During training and inference, all query and candidate inputs use one shared expert with the task-private expert selected by their task instruction. We train the latent queries and adapters while keeping the backbone and language modeling head frozen. Together, TLSL and SPEA produce task-aware latent space representations, providing the foundation for discrimination-aware refinement in Stage II.
3.2 Discrimination-Aware Refinement
OPHD. Stage II adapts on-policy distillation to retrieval through OPHD, which distills teacher preferences over hard negatives retrieved by the student itself. We initialize the student and its first mining snapshot from the Stage I checkpoint. For each retrieval-query qq, the snapshot retrieves the top 20 candidates from the training corpus by cosine similarity. We remove known matches, related items, and duplicates. To reduce the risk of mining false negatives, we retain only high-ranked candidates whose similarity is at least 0.020.02 below the mean similarity of the retrieved positives. Up to four retained negatives are combined with the labeled positives 𝒫q\mathcal{P}_{q} to form a distillation group 𝒢q\mathcal{G}_{q}.
Within each group, the retrieved negatives reflect the student’s current retrieval policy and may score nearly as highly as relevant items. A frozen Qwen3-VL-Reranker-8B teacher [32] TT jointly examines each query–candidate pair, accessing fine-grained interactions that can resolve these ambiguities and yield sharper relevance preferences. To transfer these preferences into the student’s embedding space, we normalize student similarities and teacher relevance scores over the same group:
ps(d∣q)\displaystyle p_{s}(d\mid q) =exp(cos(𝐞q,𝐞d)/τs)∑c∈𝒢qexp(cos(𝐞q,𝐞c)/τs)\displaystyle=\frac{\exp\!\left(\cos(\mathbf{e}_{q},\mathbf{e}_{d})/\tau_{s}\right)}{\sum_{c\in\mathcal{G}_{q}}\exp\!\left(\cos(\mathbf{e}_{q},\mathbf{e}_{c})/\tau_{s}\right)} (6)
pT(d∣q)\displaystyle p_{T}(d\mid q) =exp(T(q,d)/τT)∑c∈𝒢qexp(T(q,c)/τT)\displaystyle=\frac{\exp\!\left(T(q,d)/\tau_{T}\right)}{\sum_{c\in\mathcal{G}_{q}}\exp\!\left(T(q,c)/\tau_{T}\right)}
where τs=0.02\tau_{s}=0.02 and τT=0.05\tau_{T}=0.05 are the default student and teacher temperatures. We align these distributions using reverse KL:
DKL(ps∥pT)=∑d∈𝒢qps(d∣q)logps(d∣q)pT(d∣q)D_{\mathrm{KL}}(p_{s}\|p_{T})=\sum_{d\in\mathcal{G}_{q}}p_{s}(d\mid q)\log\frac{p_{s}(d\mid q)}{p_{T}(d\mid q)} (7)
Weighting by student probability penalizes candidates to which the student assigns substantial mass despite low teacher relevance. This encourages the student to concentrate probability on teacher-preferred candidates, transferring fine-grained discrimination into embedding similarities.
To keep distillation consistent with the labels, we apply a positive-agreement gate. Let dq⋆=argmaxd∈𝒢qT(q,d)d_{q}^{\star}=\operatorname*{arg\,max}_{d\in\mathcal{G}_{q}}T(q,d) denote the teacher’s top-ranked candidate:
gq={1,dq⋆∈𝒫q,0,otherwise.g_{q}=\begin{cases}1,&d_{q}^{\star}\in\mathcal{P}_{q},\\ 0,&\text{otherwise}.\end{cases} (8)
Thus, a group contributes to distillation only when the teacher ranks a labeled positive first. The Stage II objective is
ℒII=ℒret+λdgqDKL(ps∥pT)\mathcal{L}_{\mathrm{II}}=\mathcal{L}_{\mathrm{ret}}+\lambda_{d}g_{q}D_{\mathrm{KL}}(p_{s}\|p_{T}) (9)
where λd=0.5\lambda_{d}=0.5 by default. During batch aggregation, retrieval losses are averaged over all groups and distillation losses over groups passing the gate.
Table 1: Comparison on MMEB-V2. The top two results are highlighted with bold and underline, respectively. CLS: classification, QA: question answering, RET: retrieval, GD: grounding, MRET: moment retrieval, VDR: ViDoRe, VR: VisRAG, OOD: out-of-domain.
Model Backbone Image Video VisDoc All
CLS QA RET GD Avg. CLS QA RET MRET Avg. VDRv1 VDRv2 VR OOD Avg.
# of Datasets 10 10 12 4 36 5 5 5 3 18 10 4 6 4 24 78
∼\sim2B model size
ColPali-V1.3 [12] PaliGemma-3B 40.3 11.5 48.1 40.3 34.9 26.7 37.8 21.6 25.5 28.2 83.6 52.0 81.1 43.1 71.0 44.4
GME [58] Qwen2-VL-2B 54.4 29.9 66.9 55.5 51.9 34.9 42.0 25.6 32.4 33.9 86.1 54.0 82.5 43.1 72.7 54.1
VLM2Vec [26] Qwen2-VL-2B 58.7 49.3 65.0 72.9 59.7 33.4 30.5 20.6 33.0 29.0 49.8 13.5 51.8 33.5 41.6 47.0
VLM2Vec-V2 [37] Qwen2-VL-2B 62.9 56.3 69.5 77.3 64.9 39.3 34.3 28.8 38.5 34.9 75.5 44.9 79.4 39.4 65.4 58.0
UME-R1 [29] Qwen2-VL-2B 64.8 62.8 67.6 77.2 66.6 44.3 51.2 32.9 39.7 42.2 72.4 46.2 79.2 37.2 63.9 60.1
TTEs [11] Qwen2-VL-2B 67.9 66.6 70.2 84.1 70.1 47.3 49.1 34.4 33.2 32.1 77.5 53.2 83.2 41.1 68.8 63.1
RIME [49] Qwen2-VL-2B 67.9 64.4 69.8 82.1 69.1 48.0 52.1 33.6 39.2 43.7 76.4 51.4 81.7 63.9 71.4 64.1
PLUME [17] Qwen2-VL-2B 66.5 59.2 67.6 79.7 66.3 45.0 52.3 33.5 46.7 44.1 72.1 49.8 78.1 57.4 67.5 61.6
UMER-E [7] Qwen2-VL-2B 64.4 64.9 70.2 78.4 68.0 43.0 50.6 34.7 32.8 41.1 76.1 50.1 82.8 68.3 72.2 63.1
LaME [50] Qwen2-VL-2B 67.6 66.2 70.5 81.2 69.3 45.6 52.3 36.3 43.5 44.5 78.2 48.4 82.8 55.4 72.1 64.4
Embed-RL [23] Qwen3-VL-2B 62.8 67.9 68.6 90.4 69.2 57.0 55.9 45.1 49.4 52.1 79.9 52.0 84.6 65.7 74.1 66.8
ReWAM [24] Qwen3-VL-2B 68.9 70.7 70.5 86.0 71.9 53.6 63.3 38.0 39.9 49.7 78.6 55.4 84.2 66.7 74.2 67.4
DiLE (Ours) Qwen2-VL-2B 67.7 66.7 71.3 86.9 70.8 48.3 52.6 36.1 38.3 44.4 80.4 51.3 85.0 67.8 74.6 65.9
DiLE (Ours) Qwen3-VL-2B 68.8 70.2 71.5 91.8 72.6 57.9 60.6 45.8 50.8 54.1 81.7 55.3 86.7 70.6 76.7 69.6
4B–7B model size
GME [58] Qwen2-VL-7B 57.7 34.7 71.2 59.3 56.0 37.4 50.4 28.4 38.2 38.6 89.4 55.6 85.0 44.4 75.2 57.8
LamRA-2 [35] Qwen2-VL-7B 59.2 26.5 70.0 62.7 54.1 39.3 42.6 24.3 34.6 35.2 22.0 11.5 37.4 21.0 23.9 40.4
LamRA-2.5 [35] Qwen2.5-VL-7B 51.7 34.1 66.9 56.7 52.4 32.9 42.6 23.2 37.6 33.7 56.3 33.3 58.2 40.1 50.2 47.4
VLM2Vec [26] Qwen2-VL-7B 62.7 56.9 69.4 82.2 65.5 39.1 30.0 29.0 40.6 34.0 56.9 9.4 59.1 38.1 46.4 52.3
VLM2Vec-V2 [37] Qwen2-VL-7B 65.7 61.5 70.0 85.2 68.1 45.9 33.9 27.6 39.3 36.4 78.8 52.6 82.7 42.1 69.3 61.2
CAFe [52] LLaVA-OV-7B 63.6 61.7 69.1 87.6 67.6 35.8 58.7 34.4 39.5 42.4 70.7 49.6 79.5 38.1 63.9 60.6
UME-R1 [29] Qwen2-VL-7B 67.1 69.2 71.9 84.9 71.3 48.6 60.7 38.2 39.3 47.5 75.7 50.5 83.7 37.6 67.1 64.5
RIME [49] Qwen2-VL-7B 70.3 71.7 73.2 86.3 73.4 52.6 62.0 38.4 41.6 49.4 80.9 55.6 85.8 66.9 75.6 68.6
LaME [50] Qwen2-VL-7B 70.0 71.0 73.1 85.8 73.0 51.0 64.8 40.3 44.6 50.8 81.5 58.2 85.0 68.2 75.9 68.8
Embed-RL [23] Qwen3-VL-4B 63.7 70.5 71.3 91.4 70.1 57.6 58.4 45.1 49.5 53.0 80.2 53.4 84.9 67.1 74.7 68.1
ReWAM [24] Qwen3-VL-4B 70.3 71.8 72.3 88.4 73.4 52.2 63.2 39.5 40.4 49.8 80.1 58.2 85.7 68.1 75.8 68.7
DiLE (Ours) Qwen2-VL-7B 71.0 72.5 74.6 90.0 74.7 53.0 57.3 41.2 46.8 49.9 84.0 58.9 86.9 71.0 78.4 70.1
DiLE (Ours) Qwen3-VL-4B 69.6 73.8 74.1 93.2 74.9 59.9 65.9 48.5 51.7 57.0 84.6 56.6 87.4 71.2 78.4 71.8
As training changes the student’s embedding space, previously mined negatives may become easy or no longer reflect its current errors. We therefore periodically use newly captured student snapshots to re-encode the training queries and corpus and mine new hard-negative groups. This process runs asynchronously, and the frozen teacher rescores the new groups. Training continues with the available groups while the updated groups are prepared, and switches to them at fixed training milestones. By drawing new negatives from successive student snapshots, OPHD keeps teacher supervision focused on the distinctions that remain difficult under the student’s evolving retrieval policy.
Inference. Each query or candidate is encoded once using one shared expert and its instruction-selected private expert, following Eq. 1. Corpus vectors can be precomputed, and retrieval uses dot products between embeddings, without teacher scoring, answer generation, or reasoning traces.
4 Experiments
4.1 Experimental Setup
Table 2: Comparison on MRMR. MRMR covers 11 domains: Art, Medicine (Med.), Science (Sci.), Humanities (Hum.), Math, Physics (Phy.), Engineering (Eng.), Business (Bus.), Negation (Neg.), Design (Des.), and Traffic (Tra.).
Model Backbone Size Knowledge Theorem Contradiction All
Art Med. Sci. Hum. Math Phy. Eng. Bus. Neg. Des. Tra.
EVA-CLIP [43] EVA-ViT 0.4B 10.2 13.5 26.1 12.9 6.2 10.5 9.3 11.7 8.5 4.4 5.4 10.8
OpenCLIP [10] ViT-g/14 1.4B 56.0 17.9 33.2 22.0 5.7 5.0 7.0 9.7 13.0 8.1 12.4 17.3
VISTA [59] BGE-visualized-m3 0.2B 21.3 27.8 32.6 17.0 18.8 17.1 17.3 28.6 20.0 20.2 9.4 20.9
E5-V [25] LLaVA-Next 8B 25.1 11.7 16.6 10.8 2.1 3.4 2.5 5.2 11.5 3.7 2.1 8.6
VLM2Vec [26] Qwen2-VL 7B 53.5 22.4 36.7 24.0 2.1 2.8 2.8 2.9 11.5 5.6 18.3 18.1
ColPali [12] PaliGemma 3B 36.1 29.9 42.7 29.2 5.7 14.8 12.0 24.6 28.5 19.4 18.2 23.7
GME [58] Qwen2-VL 7B 54.3 40.1 46.8 45.6 28.8 36.0 30.2 45.1 15.0 26.3 29.6 36.2
MM-Embed [33] NV-Embed 8B 65.6 53.0 63.5 62.8 23.6 30.8 27.4 44.9 7.0 23.8 34.9 39.8
Ops-MM-Embed [2] Qwen2-VL 7B 79.3 52.5 70.0 67.8 27.7 39.5 30.1 52.3 8.0 55.9 45.8 48.1
Embed-RL [23] Qwen3-VL 4B 73.5 53.1 60.5 69.8 32.9 45.6 35.1 52.6 6.0 54.3 31.7 46.8
UME-R1 [29] Qwen2-VL 7B 77.8 55.7 72.9 64.1 27.2 39.2 32.2 47.8 7.5 61.9 41.7 48.0
LaME [50] Qwen2-VL 7B 73.4 58.2 73.8 65.6 29.5 44.4 36.4 52.2 8.5 64.9 40.9 49.8
RIME [49] Qwen2-VL 7B 76.8 58.5 73.6 71.4 29.2 43.0 35.6 51.8 8.5 64.1 39.5 50.2
ReWAM [24] Qwen3-VL 4B 79.9 60.0 73.0 74.8 40.2 52.2 43.1 56.0 6.5 46.7 53.5 53.3
DiLE (Ours) Qwen2-VL 2B 76.0 56.9 72.1 66.6 27.8 38.5 31.8 50.5 11.0 44.3 29.7 45.9
DiLE (Ours) Qwen2-VL 7B 80.2 64.6 78.1 76.7 35.2 44.7 34.8 54.0 10.5 65.6 37.6 52.9
DiLE (Ours) Qwen3-VL 2B 79.0 62.1 74.6 70.8 33.5 44.1 36.3 53.7 11.0 53.6 27.0 49.6
DiLE (Ours) Qwen3-VL 4B 82.1 68.3 80.1 80.1 44.1 53.2 39.2 56.0 7.0 64.6 43.9 56.2
Table 3: Comparison on UVRB across 16 datasets, spanning three tasks: Textual (Txt.), Composed (Cmp.), and Visual (Vis.); three domains: Coarse-Grained (Coarse-G.), Fine-Grained (Fine-G.), and Long-Context (Long-Ctx.); and three sub-domains: Spatial (Spa.), Temporal (Temp.), and Partially Relevant (PR.). Avg. is the mean across all 16 datasets.
Model Backbone Size Tasks Domains Sub-domains Avg.
Txt. Cmp. Vis. Coarse-G. Fine-G. Long-Ctx. Spa. Temp. PR.
InternVideo2-6B [47] InternVideo2 6B 44.8 22.0 66.0 50.4 41.7 42.3 63.1 40.0 22.0 42.7
GME [58] Qwen2-VL 2B 53.9 34.5 59.7 46.1 47.1 68.5 71.6 34.9 34.7 48.8
UNITE [27] Qwen2-VL 2B 53.6 24.2 65.4 45.5 47.1 68.1 72.5 34.7 34.1 48.0
VLM2Vec-V2 [37] Qwen2-VL 2B 58.7 26.3 61.3 49.8 50.2 76.2 80.9 34.8 34.8 50.8
BGE-VL [60] LLaVA-1.6 7B 49.7 26.8 62.2 44.8 40.6 63.6 66.4 29.2 26.1 44.3
UniME [14] LLaVA-OV 7B 56.1 30.8 70.2 50.0 51.8 66.4 78.5 39.6 37.3 52.1
B3 [45] Qwen2-VL 7B 57.0 27.0 67.8 48.2 50.5 72.2 79.7 36.4 35.5 51.1
GME [58] Qwen2-VL 7B 60.4 34.1 61.5 51.8 50.7 78.8 74.9 37.3 39.8 53.0
UNITE [27] Qwen2-VL 7B 60.9 25.4 66.6 54.1 53.9 74.6 77.9 41.2 42.5 53.8
UME-R1 [29] Qwen2-VL 7B 59.1 15.9 66.4 55.5 53.9 82.5 82.5 42.7 41.8 54.6
RIME [49] Qwen2-VL 7B 60.8 22.0 67.5 56.2 54.0 81.6 79.9 43.6 41.3 55.6
Embed-RL [23] Qwen3-VL 2B 61.1 20.1 70.3 59.1 54.6 86.9 87.2 43.0 40.6 58.7
Embed-RL [23] Qwen3-VL 4B 62.0 18.4 70.3 60.7 55.6 86.1 87.9 46.0 40.6 60.2
DiLE (Ours) Qwen2-VL 2B 59.3 16.1 66.5 53.4 53.8 70.9 80.8 39.9 40.6 51.9
DiLE (Ours) Qwen2-VL 7B 64.3 18.6 71.4 58.6 58.6 75.6 84.3 46.0 45.6 56.5
DiLE (Ours) Qwen3-VL 2B 69.9 23.5 73.7 61.9 60.3 87.5 88.7 47.5 44.8 60.1
DiLE (Ours) Qwen3-VL 4B 72.0 24.0 75.7 64.5 62.8 88.8 90.1 50.7 47.7 62.2
Implementation. We train four DiLE variants based on Qwen3-VL-2B/4B and Qwen2-VL-2B/7B [4, 46]. Both training stages use AdamW with a learning rate of 5×10−55\times 10^{-5}, linear decay, 100 warm-up steps, and weight decay of 0.010.01. Stage I trains on 1.4M samples for 5,000 steps with a global batch size of 1,024. Stage II uses the resulting checkpoint to initialize the student and mine the initial hard negatives. It trains on 300k queries in three successive 100k-query blocks, with a global batch size of 128 query groups. Qwen3-VL-Reranker-8B [32] serves as the frozen teacher. We trigger asynchronous mining after 50k and 150k processed queries, with 100k queries between refreshes. Mining runs alongside training, and training switches to refreshed candidate groups at the 100k and 200k boundaries.
Datasets and comparisons. We evaluate DiLE on three complementary benchmarks. MMEB-V2 [37] measures universal multimodal retrieval across 78 tasks: 36 image, 18 video, and 24 visual-document tasks. These cover classification, question answering, retrieval, grounding, and document understanding. We report Hit@1 for image and video tasks, linear-gain nDCG@5 for visual-document tasks, and the unweighted mean across all 78 tasks. MRMR [57] evaluates retrieval across 11 tasks involving knowledge, theorem application, and contradiction recognition. We report nDCG@10 for all tasks except Negation, which uses Hit@1, together with the overall benchmark score. UVRB [15] evaluates video retrieval on 16 datasets with textual, composed, and visual queries. It covers coarse-grained, fine-grained, and long-context retrieval. We use the recall or precision metric specified for each dataset and report the unweighted 16-dataset mean. Our training data follows VLM2Vec-V2 [37]: image-based vision–language data from MMEB-train, video-language instruction data from LLaVA-Hound [56], and visual-document retrieval data from ViDoRe [12] and VisRAG [53]. Stage I adds answer annotations from Embed-RL [23] to supervise the latent representations. Stage II mines hard negatives from the same training sources.
We compare with a broad range of methods, including VLM2Vec-V2, UME-R1, PLUME, and Embed-RL [37, 29, 17, 23], among others listed in Tables 1, 2, and 3. These methods cover direct embedding learning, explicit and latent reasoning, and reinforcement-learning-based approaches. We focus on configurations using the same training sources as VLM2Vec-V2 without additional datasets.
4.2 Main Results
MMEB-V2. As shown in Table 1, DiLE achieves state-of-the-art overall performance in both model-size groups, scoring 69.6% with Qwen3-VL-2B and 71.8% with Qwen3-VL-4B. With matched Qwen3-VL backbones, DiLE outperforms the explicit-reasoning methods ReWAM and Embed-RL by 2.2% and 2.8% at 2B, and by 3.1% and 3.7% at 4B, respectively. The 4B variant also leads all three modality averages, exceeding Embed-RL by 4.8% on images, 4.0% on videos, and 3.7% on visual documents. These gains show that compact latent representations can support strong retrieval discrimination without generating explicit reasoning traces. With Qwen2-VL-2B, DiLE surpasses the latent-reasoning methods PLUME and LaME by 4.3% and 1.5% overall, respectively. With Qwen2-VL-7B, DiLE exceeds LaME by 1.3% overall, gaining 1.7% on images and 2.5% on visual documents. Together, these results demonstrate the effectiveness of DiLE across diverse retrieval tasks, modalities, model scales, and backbone generations.
MRMR. As shown in Table 2, DiLE achieves state-of-the-art overall performance on reasoning-intensive retrieval. Our Qwen2-VL-2B/7B and Qwen3-VL-2B/4B variants achieve overall scores of 45.9%, 52.9%, 49.6%, and 56.2%, respectively. With Qwen2-VL-7B, DiLE outperforms RIME and UME-R1 with the same backbone by 2.7% and 4.9%. With Qwen3-VL-4B, it exceeds Embed-RL and ReWAM by 9.4% and 2.9%, respectively. The 4B variant leads all four Knowledge subtasks, ranks first in Math, Physics and Business. Our Qwen2-VL-7B variant also achieves the best Design score of 65.6%. Without benchmark-specific fine-tuning, these results support the effectiveness of our task-guided latent representations on reasoning-intensive retrieval.
Table 4: Ablation studies on task-aware representation. Δ\Delta denotes the average performance change compared with the baseline.
# Method Image Video Visdoc All 𝚫\boldsymbol{\Delta}
1 Baseline 71.4 52.4 75.0 68.1 -
TLSL structure ablation
2 W/o R-ins 71.0 51.9 74.9 67.8 -0.3
3 W/o R-ins & A-sup 70.6 51.6 74.1 67.3 -0.8
4 W Last-token 70.3 51.7 73.5 67.0 -1.1
Number of latent queries ablation
5 2 queries 70.8 51.8 75.0 67.7 -0.4
6 8 queries 71.1 52.2 74.9 67.9 -0.2
SPEA ablation
7 Only shared 70.5 50.5 75.1 67.3 -0.8
8 Only private 70.7 46.1 74.4 66.1 -2.0
9 3 private 69.9 52.2 75.0 67.4 -0.7
Table 5: Component ablations of OPHD.
Refresh Teacher Gate Image Video Visdoc All 𝚫\boldsymbol{\Delta}
✓\checkmark ✓\checkmark ✓\checkmark 72.6 54.1 76.7 69.6 -
✓\checkmark ✓\checkmark ×\times 72.3 53.9 76.8 69.4 -0.2
✓\checkmark ×\times ×\times 71.8 53.4 75.9 68.8 -0.8
×\times ✓\checkmark ×\times 72.1 53.3 76.5 69.1 -0.5
×\times ×\times ×\times 71.8 52.2 75.8 68.5 -1.1
UVRB. As shown in Table 3, DiLE achieves state-of-the-art overall performance on UVRB, with a 16-dataset mean of 62.2%. With Qwen2-VL-2B, it scores 51.9%, exceeding VLM2Vec-V2 by 1.1%. With Qwen2-VL-7B, it reaches 56.5%, outperforming UME-R1 and RIME by 1.9% and 0.9%, respectively. With Qwen3-VL-2B and Qwen3-VL-4B, DiLE achieves 60.1% and 62.2%, surpassing Embed-RL with the same backbones by 1.4% and 2.0%. Both Qwen3-VL variants improve over Embed-RL across all reported task, domain, and subdomain averages. The 4B variant leads textual and visual retrieval, all three domain averages, and all three fine-grained subdomains. Its fine-grained score exceeds Embed-RL-4B by 7.2%, with gains of 4.7% and 7.1% in temporal and partially relevant retrieval. These results support the effectiveness of discrimination-aware latent-space learning in capturing distinctions needed for diverse video retrieval tasks.
4.3 Ablation Studies
We evaluate the contributions of DiLE’s components and its generalization. For the TLSL and SPEA ablations in Table 4, the baseline is Qwen3-VL-2B trained with Stage I alone. For the OPHD ablations in Tables 5 and 6, the baseline is the full two-stage DiLE model with the same backbone. We evaluate both baselines on MMEB-V2. Table 7 further examines DiLE’s ability to generalize.
TLSL. We ablate the structure of TLSL and the number of latent queries in Table 4, rows #2–#6. Removing the reasoning instruction (#2) reduces the overall score by 0.3%. Further removing answer supervision (#3) increases the drop to 0.8%. Both variants perform worse than the baseline across all three modalities, supporting the contributions of reasoning guidance and answer supervision to task-aware representation learning. Replacing latent-query pooling with the last-token representation (#4) reduces the overall score by 1.1%, highlighting the benefit of learnable queries for extracting retrieval-relevant information. Reducing the number of queries from four to two (#5) lowers the score by 0.4%, while increasing it to eight (#6) yields a 0.2% drop. Four queries thus provide the best performance among the tested settings. Together, these results support the effectiveness of TLSL in capturing task-relevant evidence within a compact latent space.
SPEA. UME tasks require different evidence to identify relevant items. SPEA addresses this variation by combining shared LoRA experts that capture cross-task knowledge with private LoRA experts that learn task-specific distinctions. In Table 4, we vary the expert configuration in rows #7–#9 while keeping the total number of trainable parameters equal to that of the baseline (#1). Using only shared experts (#7) lowers the overall score by 0.8%, while using only private experts (#8) lowers it by 2.0%. In row #9, we replace the six private experts with three, one each for images, videos, and visual documents. Merging the four image-task experts into one lowers the image score from 71.4% to 69.9% and the overall score by 0.7%. At the same parameter budget, these results favor combining shared and private experts and retaining separate experts for individual image tasks.
Table 6: Ablations of the refresh schedule and distillation objective.
# Method Image Video Visdoc All 𝚫\boldsymbol{\Delta}
1 Baseline 72.6 54.1 76.7 69.6 -
Refresh schedule ablation
2 50k queries 72.5 54.8 76.7 69.7 +0.1
3 150k queries 72.7 53.3 76.5 69.4 -0.2
Distillation objective ablation
4 FKL 72.2 54.3 76.5 69.4 -0.2
5 JSD 72.0 53.8 76.6 69.2 -0.4
Table 7: Generalization of DiLE to EmbeddingGemma2.
Method Parameters Image Video Visdoc All 𝚫\boldsymbol{\Delta}
EmbeddingGemma2 [42] 438M 57.3 50.7 67.8 59.0 -
EmbeddingGemma2+DiLE 474M 66.1 44.2 70.5 62.4 +3.4
OPHD. Table 5 examines three components of OPHD in Stage II. Refresh periodically updates hard negatives using student snapshots. Teacher distills relevance scores from the frozen reranker. Gate applies distillation only when the teacher ranks a labeled positive first. Full OPHD achieves an overall score of 69.6% (row 1). Removing the gate lowers the score by 0.2% (row 2). Starting from this ungated setting, removing the teacher yields 68.8% (row 3), while using fixed hard negatives with the teacher yields 69.1% (row 4). These scores are 0.8% and 0.5% below full OPHD, respectively. Training with fixed hard negatives alone scores 68.5% (row 5), a drop of 1.1%. Comparing rows 2–5 shows how refresh and distillation complement each other. Refresh keeps supervision focused on candidates the evolving student finds confusable, while the teacher provides fine-grained relevance judgments over those candidates.
Table 6 examines the refresh interval and distillation objective. Shortening the default interval from 100k to 50k queries improves the overall score by only 0.1% (#2). Extending it to 150k queries lowers the score by 0.2% (#3). We therefore use 100k queries as the default interval. For distillation, reverse KL (RKL) weights candidates by student probability, penalizing hard negatives that the student scores highly despite low teacher relevance. Forward KL (FKL) weights candidates by teacher probability, encouraging the student to cover the probability mass assigned by the teacher. JSD uses the midpoint m=(ps+pT)/2m=(p_{s}+p_{T})/2 and equally weights DKL(ps∥m)D_{\mathrm{KL}}(p_{s}\|m) and DKL(pT∥m)D_{\mathrm{KL}}(p_{T}\|m). Replacing RKL with FKL (#4) or JSD (#5) lowers the overall score by 0.2% or 0.4%, respectively. RKL performs best among the tested objectives, consistent with its emphasis on correcting the student’s own retrieval confusions.
Figure 3: Positive–negative similarity distributions before and after Stage II with Qwen3-VL-2B. Refinement further separates the positive and negative distributions across three tasks.
Generalization to EmbeddingGemma2 To test DiLE’s ability to generalize, we apply TLSL, SPEA, and OPHD to EmbeddingGemma2 [42]. As shown in Table 7, DiLE adds 36M parameters and improves the overall MMEB-V2 score by 3.4%, from 59.0% to 62.4%. The largest gain is on image tasks, where the score rises from 57.3% to 66.1%. Visual-document retrieval also improves from 67.8% to 70.5%, while the video score drops from 50.7% to 44.2%. The overall gain shows that DiLE’s combination of task-guided representation learning and discrimination-aware refinement also benefits a compact embedding model.
4.4 Analyzing Discrimination and Refresh
Figure 3 compares cosine similarity distributions before and after Stage II refinement using Qwen3-VL-2B. We sample 5,000 queries from each of the image, video, and visual-document tasks. For each query, we compute its cosine similarity to positive and negative candidates. Among the negatives, we select the five with the highest similarities as hard negatives and the five with the lowest similarities as easy negatives. Across all three modalities, the positive and hard-negative distributions overlap less after refinement. The separation is most pronounced on image tasks, where the two distributions show distinct peaks after Stage II. These results show that OPHD improves the model’s ability to
Images from the source
