FlowLM: 通过扩散到流的适应实现少步语言建模
FlowLM: Few-Step Language Modeling via Diffusion-to-Flow Adaptation
AI总结:
本文提出FlowLM,一种通过高效微调从预训练的扩散语言模型转换而来的流匹配语言模型,通过将扩散模型的弯曲采样轨迹重新对齐为直线流,实现了高质量的少步生成,其质量可与甚至超越2000步扩散采样。此外,作者提出了一种更有效的流匹配训练目标:预测干净数据以持续引导采样过程向真实数据分布靠近。
摘要:
我们提出了FlowLM,一种通过高效微调从预训练的扩散语言模型转换而来的流匹配语言模型。通过将扩散模型的弯曲采样轨迹重新对齐为直线流,FlowLM实现了高质量的少步生成,其质量可与甚至超越2000步扩散采样。令人印象深刻的是,微调后的FlowLM仅需一半的训练轮次即可达到性能饱和,这两种方法都显著优于原始扩散模型,从而验证了我们的方法。此外,我们验证了一种更有效的流匹配训练目标:预测干净数据以持续引导采样过程向真实数据分布靠近。实证结果表明,我们的方法在高质量、少步文本生成方面效果显著。
英文摘要:
We present FlowLM, a flow matching language model transformed from pre-trained diffusion language models via efficient fine-tuning. By re-aligning the curved sampling trajectories of diffusion models into straight-line flows, FlowLM enables high quality few-step generation that rivals or even outperforms the quality of 2,000-step diffusion sampling with very few training epochs. Remarkably, finetuned FlowLM reaches performance saturation with only half as many training epochs as training from scratch, both approaches greatly outperforming the original diffusion model, thereby validating our method. Furthermore, we validate a more effective training objective for flow matching: predicting clean data to consistently guide the sampling process towards the true data distribution. Empirical results demonstrate that our approach is highly effective for high-quality, few-step text generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。