arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.00091cs.CLcs.AI
收藏

DLLM-JEPA:用于掩码扩散语言模型的联合嵌入预测架构

DLLM-JEPA: Joint Embedding Predictive Architectures for Masked Diffusion Language Models

Sangdae Nam

Sangdae Nam

AI总结:

提出DLLM-JEPA,通过将联合嵌入预测架构与掩码扩散语言模型结合,消除显式多视图数据和双梯度前向传播需求,在多个任务上提升准确率并降低训练FLOPs。

摘要:

联合嵌入预测架构(JEPAs)重塑了视觉中的自监督表示学习。最近的LLM-JEPA将JEPA移植到自回归语言模型,但继承了因果注意力机制的两个高昂代价:它需要显式的多视图数据(例如文本-代码对),并且每步需要两次携带梯度的前向传播。我们提出DLLM-JEPA,它将JEPA与掩码扩散语言模型配对,一次性消除这两个代价。扩散模型的双向注意力通过不同的掩码率从同一输入产生两个语义不同的视图——无需显式配对——并支持单次携带梯度的前向传播,相对于LLM-JEPA减少33%的训练FLOPs。DLLM-JEPA在我们评估的每个(任务,架构)组合上优于仅扩散微调:在LLaDA-8B GSM8K上最高提升+18.7个百分点,在Dream-7B GSM8K上提升+11.4个百分点,在Spider、NL-RX-SYNTH和Django上持续获得正向增益。除了准确率,DLLM-JEPA还表现出双赢特性:在LLaDA-8B上使用Wide-t配置时,它同时提高了GSM8K准确率(67.1 vs. 65.2,+1.8个百分点),将保留的Wikitext损失降至预训练基础之下,并在三个微调种子下将MMLU准确率保持在基础水平——而L2到基础参数锚点匹配基线准确率但没有任务增益。逐层探测揭示了机制:一种几何-功能漂移分离,其中微调后的骨干比基线更远离预训练权重,但在保留的Wikitext上遗忘更少,且放大集中在中间Transformer层。该模式也出现在Dream-7B上,表明该现象并非特定于单个骨干网络。

英文摘要:

Joint Embedding Predictive Architectures (JEPAs) have reshaped self-supervised representation learning in vision. The recent LLM-JEPA ported JEPA to autoregressive language models but inherited two steep costs from the causal-attention substrate: it demands explicit multi-view data (e.g., text-code pairs), and it requires two gradient-carrying forward passes per step. We introduce DLLM-JEPA, which pairs JEPA with masked-diffusion language models to eliminate both costs at once. The bidirectional attention of diffusion models yields two semantically distinct views of the same input via different masking rates -- no explicit pairs needed -- and supports a single gradient-carrying forward pass, cutting training FLOPs by 33% relative to LLM-JEPA. DLLM-JEPA improves over diffusion-only fine-tuning in every (task, architecture) combination we evaluate: up to +18.7 pp on LLaDA-8B GSM8K and +11.4 pp on Dream-7B GSM8K, with consistent positive gains on Spider, NL-RX-SYNTH, and Django. Beyond accuracy, DLLM-JEPA exhibits a dual-win property: on LLaDA-8B with the Wide-t configuration, it simultaneously raises GSM8K accuracy (67.1 vs. 65.2, +1.8 pp), drives held-out Wikitext loss below the pre-trained base, and preserves MMLU accuracy at base level across three fine-tuning seeds -- whereas an L2-to-base parameter anchor matches baseline accuracy with no task gain. Layer-wise probing reveals the mechanism: a geometric-functional drift dissociation in which the fine-tuned backbone moves further from the pre-trained weights than the baseline yet forgets less on held-out Wikitext, with the amplification concentrated in middle transformer layers. The pattern appears on Dream-7B as well, indicating the phenomenon is not specific to a single backbone.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑