DiffFit:通过简单的参数高效微调解锁大型扩散模型的可迁移性
DiffFit: Unlocking Transferability of Large Diffusion Models via Simple Parameter-Efficient Fine-Tuning
AI总结:
本文提出参数高效微调策略 DiffFit,仅微调偏置项和新增缩放因子,在大幅降低存储与训练成本的同时,实现大型扩散模型向新领域的快速适配及高分辨率生成,创下 ImageNet 512×512 基准新纪录。
摘要:
扩散模型已被证明在生成高质量图像方面非常有效。然而,将大型预训练扩散模型适配到新领域仍然是一个开放性挑战,这对现实世界应用至关重要。本文提出 DiffFit,一种参数高效的策略,用于微调大型预训练扩散模型,使其能够快速适配新领域。DiffFit 极其简单,仅微调特定层的偏置项和新增的缩放因子,却能显著加快训练速度并降低模型存储成本。与全量微调相比,DiffFit 实现了 2 倍的训练加速,且仅需存储约 0.12% 的总模型参数。我们提供了直观的理论分析,以证明缩放因子在快速适配中的有效性。在 8 个下游数据集上,DiffFit 取得了优于或可与全量微调相媲美的性能,同时效率更高。值得注意的是,我们展示了 DiffFit 能以极小的额外成本,将预训练的低分辨率生成模型适配为高分辨率生成模型。在基于扩散的方法中,DiffFit 通过从公开的预训练 ImageNet 256×256 检查点仅微调 25 个 epoch,在 ImageNet 512×512 基准上创下了 3.02 的新的最先进 FID 纪录,同时训练效率比最接近的竞争者高出 30 倍。
英文摘要:
Diffusion models have proven to be highly effective in generating high-quality images. However, adapting large pre-trained diffusion models to new domains remains an open challenge, which is critical for real-world applications. This paper proposes DiffFit, a parameter-efficient strategy to fine-tune large pre-trained diffusion models that enable fast adaptation to new domains. DiffFit is embarrassingly simple that only fine-tunes the bias term and newly-added scaling factors in specific layers, yet resulting in significant training speed-up and reduced model storage costs. Compared with full fine-tuning, DiffFit achieves 2$\times$ training speed-up and only needs to store approximately 0.12\% of the total model parameters. Intuitive theoretical analysis has been provided to justify the efficacy of scaling factors on fast adaptation. On 8 downstream datasets, DiffFit achieves superior or competitive performances compared to the full fine-tuning while being more efficient. Remarkably, we show that DiffFit can adapt a pre-trained low-resolution generative model to a high-resolution one by adding minimal cost. Among diffusion-based methods, DiffFit sets a new state-of-the-art FID of 3.02 on ImageNet 512$\times$512 benchmark by fine-tuning only 25 epochs from a public pre-trained ImageNet 256$\times$256 checkpoint while being 30$\times$ more training efficient than the closest competitor.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。