AI 研究助理

基于站内最新资料,回答 AI 前沿问题

回答带出处引用,支持多轮追问,当前页面内容会作为上下文

快速响应
AI 前沿跟踪
今日首页重点内容GitHub 趋势榜
领域
学术研究
大模型
具身智能
AI 基础设施
智能体 · Skill · MCP
机器人
多模态
自动驾驶
数据 / MLOps
AI 硬件
安全对齐
综述与报告
论文学术研究统一嵌入生成RAG预测性耦合Qwen

ULME: Predictive Coupling for Mutually Reinforcing Embedding and Language Modeling

查看原文(PDF)
AI 解读已生成 · AI 生成,数字以原文为准
AI 全文总结值得深入基于论文全文 4.0 万字 · 完整阅读

ULME 用可学习槽链+预测耦合让生成反哺嵌入,MTEB 超最强基线 4.1 分且生成不掉

针对现有统一模型只共享参数而嵌入与生成互不监督的问题,ULME 用预测耦合把两者统一到因果 decoder-only LLM 的单一前向传播:在 query 与 answer 间插入可学习 slot 链,slot 0 由对称 InfoNCE 锚定为语义嵌入,答案由语言建模损失监督,末端 slot 由带 stop-gradient 的预测损失对齐答案隐藏状态均值池化,使生成主动塑造嵌入。作者在 Qwen2.5/Qwen3 两家族、0.5B–8B 八尺度评估单一 checkpoint,报告 MTEB 较 LLM2VEC-GEN 提升 3.3–4.1 点,最大规模达 66.0,BRIGHT 与 AdvBench-IR 同步改善;生成与 Gen-only FT 持平,最大代码基准高 4.9 点。消融中去除语义损失使嵌入崩塌,去除预测损失使 MTEB-lite 下降 3.6 点,证明三者互锁。

  1. 1单 checkpoint MTEB 均分 8B 达 66.0,超最强基线 4.1 分
  2. 2预测耦合损失单独贡献 MTEB-lite 3.6 分且生成不变
  3. 3生成侧 8B GSM8K 超 Gen-only FT 10.8 分、HumanEval+ 4.9 分

为什么重要 RAG/Agent 检索与生成通常部署两个模型,ULME 单 checkpoint 同时输出嵌入和答案,可省一套系统,0.5B–8B 覆盖边缘到中大模型。适合 做 RAG/Agent 检索生成、想减少模型部署或统一分析管线的工程师

来源
arxiv.org
发布
2026/10/23

中文(AI 翻译)

文本嵌入和文本生成是现代大语言模型最有用的两个能力,但它们通常由分别的专用模型(一个嵌入器和一个生成器)提供,这些模型以不兼容的目标训练,并在检索增强生成和智能体系统中并排部署。近期像 GritLM 这样的统一嵌入-生成模型在两个能力之间共享参数,但它们要么在模式之间切换注意力机制,要么将嵌入和语言建模作为并行目标优化,彼此从不相互监督。我们认为这些设计只是部分统一:两个能力共用相同的权重,但彼此并不塑造对方。

我们提出 ULME,这是一个后训练框架,通过预测性耦合在因果 decoder-only LLM 上统一嵌入和语言建模。ULME 在查询和答案之间插入一串可学习的 slot,从两个指定的 slot 读取语义嵌入和推理嵌入,并在共享的因果骨干上训练三个目标:将语义 slot 锚定到文档表示的对比损失、监督答案生成的语言建模损失,以及将推理 slot 与答案的池化摘要对齐的停止梯度预测损失,从而使生成主动塑造嵌入所编码的内容。

在两个模型家族(Qwen2.5、Qwen3)和跨越 0.5B-8B 参数的八个规模上,一个 ULME checkpoint 在 MTEB 上比最强开源基线提高了 3.3-4.1 分,同时收紧 BRIGHT 和 AdvBench-IR,并在标准准确率基准(MMLU、GSM8K、MMLU-Pro、HumanEval)上与仅生成的微调保持相当,证明真正的统一产生的是相互强化而非仅仅共存的能力。

原文

Text embedding and text generation are two of the most useful capabilities of modern large language models, yet they are typically provided by separate specialized models (an embedder and a generator) trained with incompatible objectives and deployed side by side in retrieval-augmented generation and agent systems.

Recent unified embedding-generation models such as GritLM share parameters between the two capabilities, but they either switch attention regimes between modes or optimize embedding and language modeling as parallel objectives that never supervise each other.

We argue that these designs are only partially unified: the two capabilities coexist on the same weights, but do not shape each other.

We propose ULME, a post-training framework that unifies embedding and language modeling on a causal decoder-only LLM through predictive coupling.

ULME inserts a chain of learnable slots between the query and the answer, reads a semantic embedding and a reasoning embedding from two designated slots, and trains three objectives on a shared causal backbone: a contrastive loss anchoring the semantic slot to document representations, a language-modeling loss supervising answer generation, and a stop-gradient predictive loss that aligns the reasoning slot with a pooled summary of the answer, so that generation actively shapes what the embedding encodes.

Across two model families (Qwen2.5, Qwen3) and eight scales spanning 0.5B-8B parameters, a single ULME checkpoint improves MTEB by 3.3-4.1 points over the strongest open-source baseline, tightens BRIGHT and AdvBench-IR simultaneously, and remains on par with a generation-only fine-tune on standard accuracy benchmarks (MMLU, GSM8K, MMLU-Pro, HumanEval), demonstrating that genuine unification yields mutually reinforcing rather than merely coexisting capabilities.

  • Echo
    41.8
  • HyDE
    48.3
  • InBedder
    50.5
  • GIRCSE
    56.5
  • LLM2Vec
    56.8
  • LLM2VEC-GEN
    61.9

注释 · 表格只报 Qwen3 三个代表性规模,其余五个骨架趋势一致,见补充材料。出自 表1·Qwen3-8B Avg 列

-5.2

无槽代价

MTEB-lite 掉 5.2 分

-14.7

去生成损失

MMLU 掉 14.7 分

21.4

BRIGHT 8B

nDCG@10,超基线 1.2

0.05

温度 τ

对比损失温度

63.8

MTEB-lite 满配

Qwen2.5-7B 消融

注释 · 这些数字与 takeaways 分开选取,避免重复核心增量。出自 表4/表5/表3·正文消融

槽数
N=4(默认/峰值)
温度
0.05
损失权重
λsem=λgen=1.0,λpred=0.3
学习率
1×10−5
优化器
AdamW
负样本
cross-rank in-batch
骨干规模
0.5B–8B 共八尺度

深度总结

1 / 7
3.6
三损失消融|Qwen2.5-7B· 表格

去掉预测损失单独拖低 MTEB-lite 3.6 分,生成几乎不动

配置MTEB-liteMMLUGSM8K
去掉语义损失31.276.690.1
去掉生成损失61.061.874.2
去掉预测损失60.276.489.9
全部三损失63.876.590.0

注释 · 消融在 Qwen2.5-7B-Instruct 上跑;三损失各管一轴且共享同一表示。出自 表5