arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.06712cs.CLcs.AI
收藏

数据高效的自回归到扩散语言模型通过策略内蒸馏

Data-Efficient Autoregressive-to-Diffusion Language Models via On-Policy Distillation

Department of Computer Science and Engineering, Texas A&M University(德克萨斯大学阿马尔科分校计算机科学与工程系);Department of Bioinformatics and Systems Medicine, University of Texas Health Science Center at Houston(德克萨斯大学健康科学中心休斯顿分校生物信息学与系统医学系);Department of Electrical and Computer Engineering, Texas A&M University(德克萨斯大学阿马尔科分校电气与计算机工程系)

Xingyu Su, Jacob Helwig, Shubham Parashar, Atharv Chagi, Lakshmi Jotsna, Degui Zhi, James Caverlee, Dileep Kalathil, Shuiwang Ji

AI总结:

提出策略内扩散语言模型(OPDLM),通过策略内蒸馏将自回归模型转换为扩散语言模型,解决分布偏移和训练-推理不匹配问题,实现15倍至7000倍更少训练数据下的强性能。

摘要:

我们研究将自回归模型(ARLM)转换为扩散语言模型(DLM)。与从头预训练不同,先前的工作将ARLM中的因果注意力替换为双向注意力,然后使用DLM目标训练得到的模型。然而,这些方法会导致两种分布偏移。首先,从下一个词预测目标过渡到DLM目标可能会丢弃ARLM在训练期间获得的知识。其次,标准DLM存在训练-推理不匹配,因为训练损失定义在随机掩码序列上,而不是推理时基于置信度解码产生的轨迹。为了解决这两个挑战,我们引入了策略内扩散语言模型(OPDLM),其中采用策略内蒸馏(OPD)进行ARLM到DLM的转换。具体来说,OPDLM通过自OPD训练,其中学生(具有双向注意力的ARLM)生成自己的轨迹,而教师(原始冻结的ARLM)通过在这些轨迹上提供目标logits来蒸馏其知识。通过直接以策略内方式训练,OPDLM消除了DLM中的训练-推理不匹配,同时从原始模型蒸馏增强了ARLM的知识保留。实验结果表明,OPDLM需要15倍到7000倍更少的训练token,并在各种任务上表现出强大的性能。OPDLM避免了DLM预训练的高昂成本,并将DLM转换定位为ARLM后训练的一种形式。

英文摘要:

We study the transformation of autoregressive models (ARLMs) into diffusion language models (DLMs). Rather than pretraining from scratch, prior work replaces the causal attention in ARLMs with bidirectional attention and then trains the resulting model using a DLM objective. However, these approaches incur two distribution shifts. First, transitioning from a next-token prediction objective to a DLM objective can discard knowledge acquired by the ARLM during training. Second, standard DLMs suffer from a train-inference mismatch, as the training loss is defined on randomly masked sequences rather than the trajectories encountered at inference produced by confidence-based decoding. To address both challenges, we introduce an On-Policy Diffusion Language Model (OPDLM) in which On-Policy Distillation (OPD) is employed for ARLM-to-DLM transformation. Specifically, OPDLM is trained via self-OPD, where the student, an ARLM with bidirectional attention, generates its own trajectories, and the teacher, the original frozen ARLM, distills its knowledge by providing target logits on these trajectories. By training directly in an on-policy manner, OPDLM eliminates the train-inference mismatch in DLMs, while distillation from the original model enhances knowledge retention from the ARLM. Empirical results demonstrate that OPDLM requires 15x to 7,000x fewer training tokens with strong performance across a wide variety of tasks. OPDLM avoids the prohibitive cost of DLM pretraining and positions DLM transformation as a form of ARLM post-training.

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

↑