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

先剪枝再加权:迈向扩散模型的数据高效训练

Pruning then Reweighting: Towards Data-Efficient Training of Diffusion Models

Northeastern University(东北大学);Michigan State University(密歇根州立大学)

Yize Li, Yihua Zhang, Sijia Liu, Xue Lin

AI总结:

本文提出数据集剪枝后类别再加权的扩散训练框架,结合代理模型核心集选择与 DRO 权重优化,在显著减少训练数据和加速训练的同时保持生成质量。

摘要:

尽管扩散模型(Diffusion Models, DMs)具有卓越的生成能力,但其训练和推理在计算上仍然代价高昂。以往工作致力于加速扩散采样,而实现数据高效的扩散训练往往被忽视。本文从数据集剪枝的角度研究高效扩散训练。受生成对抗网络(GANs)等生成模型的数据高效训练原则启发,我们首先将 GANs 中使用的数据选择方案扩展到 DM 训练:由代理模型编码数据特征,然后应用评分准则选择核心集。为进一步提升生成性能,我们采用类别级再加权方法,通过在预训练参考 DM 上进行分布鲁棒优化(DRO)得到类别权重。针对 CIFAR-10 上的像素级 DM(DDPM),实验表明我们的方法优于现有方法,并在图像合成中取得与原始全数据模型相当的效果,同时实现 2.34 倍至 8.32 倍的加速。此外,我们的方法可推广到潜在扩散模型(LDMs),例如 Masked Diffusion Transformer(MDT)和 Stable Diffusion(SD),并在 ImageNet 上取得具有竞争力的生成能力。代码见 https://github.com/Yeez-lee/Data-Selection-and-Reweighting-for-Diffusion-Models。

英文摘要:

Despite the remarkable generation capabilities of Diffusion Models (DMs), conducting training and inference remains computationally expensive. Previous works have been devoted to accelerating diffusion sampling, but achieving data-efficient diffusion training has often been overlooked. In this work, we investigate efficient diffusion training from the perspective of dataset pruning. Inspired by the principles of data-efficient training for generative models such as generative adversarial networks (GANs), we first extend the data selection scheme used in GANs to DM training, where data features are encoded by a surrogate model, and a score criterion is then applied to select the coreset. To further improve the generation performance, we employ a class-wise reweighting approach, which derives class weights through distributionally robust optimization (DRO) over a pre-trained reference DM. For a pixel-wise DM (DDPM) on CIFAR-10, experiments demonstrate the superiority of our methodology over existing approaches and its effectiveness in image synthesis comparable to that of the original full-data model while achieving the speed-up between 2.34 times and 8.32 times. Additionally, our method could be generalized to latent DMs (LDMs), e.g., Masked Diffusion Transformer (MDT) and Stable Diffusion (SD), and achieves competitive generation capability on ImageNet. Code is available here (https://github.com/Yeez-lee/Data-Selection-and-Reweighting-for-Diffusion-Models).

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

↑