从自回归到扩散:利用严格因果与弹性视野高效适配大型语言模型
From AR to Diffusion: Efficiently Adapting Large Language Models with Strictly Causal and Elastic Horizons
AI总结:
提出FLUID框架,通过严格因果对齐和弹性视野机制,将自回归模型高效适配为扩散模型,实现并行文本生成并大幅降低训练成本。
摘要:
扩散模型有望实现高效的并行文本生成,但其依赖双向注意力机制,与预训练的自回归(AR)模型存在结构不匹配。这种不兼容性阻碍了稳健AR先验的复用,需要从头开始进行代价高昂的预训练。为弥合这一差距,我们提出FLUID框架,该框架高效地将AR骨干网络适配到扩散范式。通过强制执行严格因果对齐,FLUID能够从标准GPT风格检查点无缝初始化,避免了大规模预训练。此外,我们引入弹性视野,这是一种基于局部信息密度而非固定调度动态调节去噪步长的熵驱动机制。实验表明,FLUID在将训练成本降低数个数量级的同时实现了最先进的性能,有效调和了成熟的AR基础与高效的并行生成。我们的代码可在https://github.com/Oli-lab-nun/FLUID/tree/main获取。
英文摘要:
Diffusion models promise efficient parallel text generation but rely on bidirectional attention, creating a structural mismatch with pre-trained Autoregressive (AR) models. This incompatibility precludes reusing robust AR priors, necessitating prohibitive pre-training from scratch. To bridge this gap, we propose FLUID, a framework that efficiently adapts AR backbones to the diffusion paradigm. By enforcing Strictly Causal Alignment, FLUID enables seamless initialization from standard GPT-style checkpoints, circumventing the need for massive pre-training. Furthermore, we introduce Elastic Horizons, an entropy-driven mechanism that dynamically modulates denoising strides based on local information density rather than fixed schedules. Experiments demonstrate that FLUID achieves state-of-the-art performance while reducing training costs by orders of magnitude, effectively reconciling established AR foundations with efficient parallel generation. Our code is available at https://github.com/Oli-lab-nun/FLUID/tree/main.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。