IDLM:逆蒸馏扩散语言模型
IDLM: Inverse-distilled Diffusion Language Models
AI总结:
针对扩散语言模型推理慢的问题,提出逆蒸馏方法(IDLM),通过理论保证唯一解和梯度稳定松弛,实现4倍至64倍推理加速并保持生成质量。
摘要:
扩散语言模型(DLM)最近在文本生成中取得了强劲成果。然而,其多步采样导致推理缓慢,限制了实际应用。为解决此问题,我们将逆蒸馏(一种最初为加速连续扩散模型而开发的技术)扩展到离散设置。然而,这种扩展引入了理论和实践上的挑战。从理论角度看,逆蒸馏目标缺乏唯一性保证,可能导致次优解。从实践角度看,离散空间中的反向传播非平凡且常不稳定。为克服这些挑战,我们首先提供理论结果,证明我们的逆形式具有唯一解,从而确保有效优化。然后,我们引入梯度稳定松弛以支持有效训练。最终,在多个DLM上的实验表明,我们的方法——逆蒸馏扩散语言模型(IDLM)——将推理步骤减少了4倍至64倍,同时保持了教师模型的生成质量。我们在项目页面上提供代码、模型检查点和视频教程:https://david-cripto.github.io/idlm-project-page。
英文摘要:
Diffusion Language Models (DLMs) have recently achieved strong results in text generation. However, their multi-step sampling leads to slow inference, limiting practical use. To address this, we extend Inverse Distillation, a technique originally developed to accelerate continuous diffusion models, to the discrete setting. Nonetheless, this extension introduces both theoretical and practical challenges. From a theoretical perspective, the inverse distillation objective lacks uniqueness guarantees, which may lead to suboptimal solutions. From a practical standpoint, backpropagation in the discrete space is non-trivial and often unstable. To overcome these challenges, we first provide a theoretical result demonstrating that our inverse formulation admits a unique solution, thereby ensuring valid optimization. We then introduce gradient-stable relaxations to support effective training. As a result, experiments on multiple DLMs show that our method, Inverse-distilled Diffusion Language Models (IDLM), reduces the number of inference steps by 4x-64x, while preserving the teacher model's generation quality. We provide the code, model checkpoints, and video tutorials on the project page: https://david-cripto.github.io/idlm-project-page
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。