2025-03-12 · 进阶 · 机器学习 · 计算机视觉

LightGen: Efficient Image Generation through Knowledge Distillation and Direct Preference Optimization

LightGen通过知识蒸馏和直接偏好优化,实现了高效的图像生成,显著降低了计算资源需求,同时保持了与现有模型相当的质量。

更新于 2025-03-12。作者:Xianfeng Wu、Yajing Bai、Haoze Zheng、Harold Haodong Chen、Yexin Liu、Zihao Wang、Xuran Ma、Wen-Jie Shu、Xianzu Wu、Harry Yang、Ser-Nam Lim。

中文摘要

近年来,在文本到图像生成领域取得的进展主要依赖于庞大的数据集和参数密集型的架构。这些需求严重限制了缺乏大量计算资源的学者和从业者的可访问性。在本文中,我们引入了一种名为 \model 的高效训练范式,用于图像生成模型,它采用了知识蒸馏(KD)和直接偏好优化(DPO)。受到在多模态大型语言模型(MLLMs)中广泛采用的数据KD技术成功应用的启发,LightGen 将最先进的(SOTA)文本到图像模型的知识蒸馏到只有 0.7B 参数的紧凑型掩码自回归(MAR)架构中。使用仅由 2M 张高质量图像组成的紧凑合成数据集,这些图像由各种标题生成,我们证明了数据多样性在决定模型性能方面远胜于数据量。这种策略大幅降低了计算需求,将预训练时间从潜在的数千个 GPU 天缩短到仅有 88 GPU 天。此外,为了解决合成数据固有的不足,尤其是高频细节和空间精度差,我们集成了 DPO 技术,该技术提高了图像的真实性和位置精度。全面实验证实,LightGen 在图像生成质量上与 SOTA 模型相当,同时显著减少了计算资源,扩大了资源受限环境的可访问性。代码可在 https://github.com/XianfengWu01/LightGen 获取。

英文摘要

Recent advances in text-to-image generation have primarily relied on extensive datasets and parameter-heavy architectures. These requirements severely limit accessibility for researchers and practitioners who lack substantial computational resources. In this paper, we introduce \model, an efficient training paradigm for image generation models that uses knowledge distillation (KD) and Direct Preference Optimization (DPO). Drawing inspiration from the success of data KD techniques widely adopted in Multi-Modal Large Language Models (MLLMs), LightGen distills knowledge from state-of-the-art (SOTA) text-to-image models into a compact Masked Autoregressive (MAR) architecture with only 0.7B parameters. Using a compact synthetic dataset of just 2M high-quality images generated from varied captions, we demonstrate that data diversity significantly outweighs data volume in determining model performance. This strategy dramatically reduces computational demands and reduces pre-training time from potentially thousands of GPU-days to merely 88 GPU-days. Furthermore, to address the inherent shortcomings of synthetic data, particularly poor high-frequency details and spatial inaccuracies, we integrate the DPO technique that refines image fidelity and positional accuracy. Comprehensive experiments confirm that LightGen achieves image generation quality comparable to SOTA models while significantly reducing computational resources and expanding accessibility for resource-constrained environments. Code is available at https://github.com/XianfengWu01/LightGen

解读

一句话总结

LightGen通过知识蒸馏和直接偏好优化,实现了高效的图像生成,显著降低了计算资源需求,同时保持了与现有模型相当的质量。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt