每天早上一封邮件,把昨天的 AI 梳理好订阅邮件

METAL LAB

UMER: Unifying Embedding and Ranking via Pair-Aware Discriminative Reasoning for Universal Multimodal Retrieval

arXiv:2608.185042026-08-20

跨图像视频文档的检索AI学会把候选项两两比对,说清楚为什么是这个答案

多模态检索系统通常把问题和每个候选项分开处理,只计算相似度打分,这样很难区分正确答案和长得很像的错误答案。UMER让模型把问题和候选项配对放在一起进行比较推理,明确指出哪里匹配哪里不匹配,同时在同一个模型里联合训练快速的向量嵌入检索和精细的成对排序打分,让两者互相取长补短。在包含78个任务的MMEB-V2基准测试中,该方法取得了优于此前方法的成绩,并且可以根据需要在速度和精度之间灵活权衡。

他们做了什么

  1. 问题所在:现有的思维链(CoT)推理方法只分别描述问题和候选项各自的内容,无法生成用来区分正确答案与相似错误答案(难负样本)的证据。
  2. 解决方案:UMER训练模型进行'成对判别式推理',把正样本候选项和容易混淆的难负样本候选项与问题一起呈现,让模型明确比较两者的匹配证据和差异证据。
  3. 架构设计:在单个多模态大语言模型(MLLM)内部同时训练用于大规模向量检索的嵌入表示和直接对问题候选对打分的判别式排序功能,并通过'互补式相互蒸馏(CMD)'机制,只在结果可信时让两个功能互相传递知识来共同优化。
  4. 数据构建:使用Qwen3.5-9B为每个正负样本对生成包含查询意图和目标观察的推理内容,再用一个小型验证模型(Qwen3.5-0.8B)检查仅凭这段推理能否正确判断出真实标签,以此过滤低质量数据。
  5. 结果表现:在包含78个任务的MMEB-V2基准上,UMER的混合模式总体得分达到65.5,优于对比方法;其纯嵌入检索模式在查询速度上比此前的推理式方法UME-R1快达118.6倍。
Table 1: Main results on MMEB-V2. The best and second-best scores in each column are in bold and underlined, respectively.
ModelImageVideoVisDocAll
CLSQARETGDOverallCLSQARETMRETOverallVDRv1VDRv2VROODOverall
# of Datasets101012436555318104642478
Baseline Models
GME54.429.966.955.551.934.942.025.632.433.986.154.082.543.172.754.1
VLM2Vec58.749.365.072.959.733.430.520.633.029.049.813.551.833.541.647.0
VLM2Vec-V262.956.369.577.364.939.334.328.838.534.975.544.979.439.465.458.0
DUME59.355.066.378.062.537.746.617.130.033.267.643.347.133.852.852.7
BToks64.359.868.877.466.043.747.033.033.639.971.138.681.338.162.759.0
UME-R164.862.867.677.266.644.351.232.939.742.272.446.279.237.263.960.1
PLUME66.559.267.679.766.345.052.333.546.744.172.149.878.157.467.561.6
RIME67.964.469.882.169.148.052.133.639.243.776.451.481.763.971.464.1
Ours
UMER-E64.464.970.278.468.043.050.634.732.841.176.150.182.868.372.263.1
UMER-R64.968.469.774.168.551.451.635.333.344.075.148.384.667.971.863.9
UMER-H66.168.971.780.870.450.652.837.735.045.078.050.585.068.873.665.5
Table 2: Controlled ablations of pair-aware CoT, ranking supervision and complementary mutual distillation (CMD). The best and second-best scores in each column are in bold and underlined, respectively.
ConfigurationEmbedding mode (UMER-E)Ranking mode (UMER-R)Hybrid mode (UMER-H)
ImageVideoVisDocAllImageVideoVisDocAllImageVideoVisDocAll
Embedding only66.537.869.260.7
+ pair-aware CoT, w/o ranking losses68.241.171.262.944.431.857.145.468.642.271.363.3
+ ranking losses, w/o CoT68.040.269.362.068.643.169.463.070.845.171.265.0
+ pair-aware CoT and ranking losses67.939.671.162.467.244.272.163.470.344.973.465.4
Pair-aware model, w/o CMD67.939.671.162.467.244.272.163.470.344.973.465.4
+ ranking → embedding only67.940.471.562.768.543.370.963.470.644.772.765.3
+ embedding → ranking only67.840.470.162.269.243.971.163.970.845.172.665.5
+ always-on bidirectional CMD68.040.271.162.668.543.671.063.670.745.373.065.5
+ selective bidirectional CMD (full)68.041.172.263.168.544.071.863.970.445.073.665.5
Table 3: Accuracy–efficiency on MMEB-V2 using one NVIDIA A100 GPU (batch size=1). UMER-H reuses the UMER-E index; 0. denotes no extra indexing cost.
ModelKScore ↑Reasoning TokensQuery LatencyIndexing Time
(/query)(s/query) ↓(s/candidate) ↓
UME-R160.13529.96311.755
PLUME61.680.3290.366
UMER-E63.100.0840.118
UMER-H364.841013.5660.
565.566519.880
1066.0130542.764
2066.1250881.726
Table 1: Implementation and evaluation settings for UMER.
SettingValue
Model and optimization
InitializationQwen2-VL-2B-Instruct.
Embedding tokensFour learnable tokens per input (M=4).
Embedding temperature0.02.
Objective weightsλcot=0.2, λbce=0.1, λmargin=0.2, and λcmd=0.2.
Optimizer and scheduleAdamW; per-device batch size 64; one accumulation step; linear schedule with peak rate 5×10−5, 100 warmup steps and 10,000 maximum steps.
AdaptationLoRA rank 16, scaling 64 and dropout 0.1 on attention/MLP projections and the language-model head; visual encoder frozen.
Precision and preprocessingBF16 with FlashAttention-2; maximum image pixels 2,359,296.
Inference
Candidate selectionRetrieve with the embedding branch and rerank the top K=5 candidates.
Ranking generationAt most 256 newly generated tokens per candidate.
Hybrid fusionSeparately z-score normalize embedding and ranking scores over the five candidates.
Ranking-score weightα=2.0.
Evaluation and reporting
BenchmarkMMEB-V2: 78 datasets across image, video and visual-document modalities.
Benchmark versionsCorrected ViDoSeek-page and MMLongBench-page versions.
MetricsHit@1 for image and video tasks; NDCG@5 for visual-document tasks.
AggregationUnweighted macro averages over datasets, including all 78 tasks for All.
Table 4: Ranking-score-weight sensitivity of UMER-H at K=5, with candidates, decoding configuration, and normalization fixed.
Ranking-score weight0.50.7511.5235
UMER-H64.765.065.265.565.565.465.3
Table 5: Decision overlap of embedding retrieval (E) and pair-aware ranking (R) over 83,530 MMEB-V2 queries. Both, E only, R only, and Neither indicate which branch produces the correct top decision. Each cell is a within-family percentage.
FamilyBothE onlyR onlyNeither
Reasoning / semantic48.89.012.130.1
Content matching45.48.98.337.4
All47.29.010.333.5

为什么重要

这为需要在海量图像、视频、文档中快速筛选候选项、同时又要准确辨别相似干扰项的实际搜索或推荐系统提供了可落地的方案。该方法还支持根据场景需求在速度和精度之间调节,对实际系统设计具有直接参考价值。

本文术语

  • 嵌入(Embedding) · 把文本或图像转换成数字向量,使相似内容在向量空间中彼此靠近的表示方法
  • 难负样本(Hard Negative) · 与正确答案在外观或语义上十分相似、容易被误判的错误候选项
  • 思维链(Chain-of-Thought, CoT) · 让模型在给出最终答案前先写出中间推理步骤的技术
  • 重排序(Reranking) · 对第一轮快速检索出的少量候选项,用更精细的模型再次排序的二阶段检索方式
  • 知识蒸馏(Distillation) · 让一个模型或功能的判断结果去训练另一个模型或功能,使其学到相似行为的方法

无法转载的图表

  • Figure 1: Two overlooked issues in universal multimodal retrieval. (a) Item-wise self-reflective CoT lacks pair-aware evidence for hard-negative discrimination. (b) Different meta- tasks require different capabilities, with embedding and ranking offering complementary strengths.
  • Figure 2: Overview of UMER, a unified multimodal embedding and ranking framework. (a) Query and candidate inputs are first encoded independently through masked branch attention to extract their embeddings, and are then jointly used for pair-aware autoregressive reasoning followed by a ranking token. (b) Multi-task heads support metric embedding learning, generative CoT learning and discriminative ranking learning. (c) Unified co-optimization combines multi-task supervision and complementary mutual distillation to jointly improve embedding and ranking.
  • Figure 3: Embedding separation under item-wise and pair-aware supervision on 3,600 queries from the 36 image tasks of MMEB-V2. (a) Bootstrap distribution of the macro-averaged positive–hard-negative margin. (b) Fraction of queries exceeding margin thresholds.
  • Figure 4: Capability specialization and transfer via CMD. (a) Embedding is stronger for content matching, while ranking is stronger for reasoning-intensive relevance judgment. (b) CMD transfers these complementary strengths between the two functions.
在原文中查看图表 →

论文原文摘要(英文)

Universal multimodal retrieval aims to support diverse instruction-aware retrieval tasks, demanding both efficient corpus-scale matching and fine-grained semantic reasoning. Recent MLLM-based embedding methods typically derive representations from hidden states, while Chain-of-Thought (CoT) reasoning is emerging as a promising strategy for embedding enhancement by encoding intermediate semantic evidence into the representation space. However, exist

作者 · Libiao Chen, Xiyang Liu, Yanheng Wei, Tao Wang, Zhenyu Tang

在 arXiv 阅读

最新论文

全部论文 →

METAL LAB 最新报道