arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.25035cs.CLcs.AIcs.LG
收藏

通过离散扩散发散指导实现超快语言生成

Ultra-Fast Language Generation via Discrete Diffusion Divergence Instruct

Haoyang Zheng, Xinyang Liu, Cindy Xiangrui Kong, Nan Jiang, Zheyuan Hu, Weijian Luo, Wei Deng, Guang Lin

AI总结:

DiDi-Instruct通过离散扩散发散指导实现高效语言生成,提供高达64倍的加速,同时保持高质量输出。

摘要:

在人工智能时代,快速且高质量的语言生成一直是人们追求的圣杯。在本工作中,我们引入了离散扩散发散指导(DiDi-Instruct),一种基于训练的方法,该方法从预训练的扩散大语言模型(dLLM)初始化,并蒸馏出一个几步的学生模型以实现快速生成。通过DiDi-Instruct蒸馏的模型在匹配或超越其dLLM教师和GPT-2基线的同时,提供了高达64倍的加速。DiDi-Instruct的理论基础是一种基于积分KL散度最小化的新型框架,这导致了实用的训练算法。我们进一步引入了分组奖励归一化、中间状态匹配以及奖励引导的祖先采样器,以提高训练稳定性、模型覆盖范围和推理质量。在OpenWebText基准测试中,DiDi-Instruct的困惑度范围从62.2(8次NFEs)到18.4(128次NFEs),优于先前加速的dLLM和GPT-2基线。这些增益带来的熵损失微不足道(大约1%),并且相比竞争的dLLM蒸馏方法,额外的训练时间减少了超过20倍。我们还通过广泛的消融研究、模型扩展、下游任务评估和无条件蛋白质序列生成验证了DiDi-Instruct的鲁棒性和有效性。总之,DiDi-Instruct实现了高效的语言生成蒸馏,只需眨眼的瞬间。

英文摘要:

Fast and high-quality language generation is the holy grail that people pursue in the age of AI. In this work, we introduce Discrete Diffusion Divergence Instruct (DiDi-Instruct), a training-based method that initializes from a pre-trained diffusion large language model (dLLM) and distills a few-step student for fast generation. The model distilled with DiDi-Instruct matches or surpasses its dLLM teacher and the GPT-2 baseline while providing up to 64$\times$ acceleration. The theoretical foundation of DiDi-Instruct is a novel framework based on integral KL-divergence minimization, which leads to a practical training algorithm. We further introduce grouped reward normalization, intermediate-state matching, and the reward-guided ancestral sampler to improve training stability, model coverage, and inference quality. On the OpenWebText benchmark, DiDi-Instruct achieves perplexity ranging from 62.2 (8 NFEs) to 18.4 (128 NFEs), outperforming prior accelerated dLLMs and the GPT-2 baseline. These gains incur a negligible entropy loss (around $1$%) and reduce additional training wall-clock time by more than $20\times$ compared to competing dLLM distillation methods. We further validate the robustness and effectiveness of DiDi-Instruct through extensive ablation studies, model scaling, downstream task evaluations, and unconditional protein sequence generation. In conclusion, DiDi-Instruct enables efficient and effective distillation for language generation in the blink of an eye.

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

↑