arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08619cs.CV
收藏

LightGen:通过知识蒸馏与直接偏好优化实现高效图像生成

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

The Hong Kong University of Science and Technology(香港科技大学);Everlyn AI;University of Central Florida(中佛罗里达大学)

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

AI总结:

LightGen提出一种高效图像生成训练范式,通过知识蒸馏将SOTA模型能力压缩到0.7B参数的掩码自回归架构,并结合直接偏好优化提升图像质量,仅用2M合成图像和88 GPU天即达到与SOTA相当的生成效果。

摘要:

近年来,文本到图像生成的进展主要依赖于大规模数据集和参数密集的架构。这些要求严重限制了缺乏大量计算资源的研究者和从业者的可及性。在本文中,我们提出了LightGen,一种用于图像生成模型的高效训练范式,该范式使用知识蒸馏(KD)和直接偏好优化(DPO)。受多模态大语言模型(MLLMs)中广泛采用的数据知识蒸馏技术成功经验的启发,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

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

↑