arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06127cs.CVcs.AIcs.LG
收藏

E$^{2}$GAN:用于图像到图像翻译的高效GAN的高效训练

E$^{2}$GAN: Efficient Training of Efficient GANs for Image-to-Image Translation

Snap Inc.(斯耐普公司);Northeastern University(东北大学)

Yifan Gong, Zheng Zhan, Qing Jin, Yanyu Li, Yerlan Idelbayev, Xian Liu, Andrey Zharkov, Kfir Aberman, Sergey Tulyakov, Yanzhi Wang, Jian Ren

AI总结:

本文提出E$^{2}$GAN框架,通过构建可微调的泛化基础GAN模型、结合LoRA秩搜索及最小化数据量,高效从扩散模型蒸馏GAN,实现移动端实时高质量图像编辑并大幅降低训练与存储成本。

摘要:

实现灵活的实时端上图像编辑的一个极具前景的方向是利用数据蒸馏,通过利用大规模文本到图像扩散模型生成用于训练生成对抗网络(GANs)的配对数据集。这种方法显著减轻了使用扩散模型进行图像编辑通常对高端商用GPU的严格要求。然而,与文本到图像扩散模型不同,每个蒸馏的GAN专门用于特定的图像编辑任务,需要昂贵的训练成本才能获得各种概念的模型。在这项工作中,我们引入并解决了一个新的研究方向:从扩散模型蒸馏GAN的过程能否变得更加高效?为实现这一目标,我们提出了一系列创新技术。首先,我们构建了一个具有泛化特征的基础GAN模型,可通过微调适应不同概念,无需从头开始训练。其次,我们识别基础GAN模型中的关键层,并采用低秩适应(LoRA)及简单有效的秩搜索过程,而非微调整个基础模型。第三,我们研究了微调所需的最小数据量,进一步减少整体训练时间。大量实验表明,我们能够高效地赋予GAN在移动设备上执行实时高质量图像编辑的能力,同时显著降低每个概念的训练和存储成本。

英文摘要:

One highly promising direction for enabling flexible real-time on-device image editing is utilizing data distillation by leveraging large-scale text-to-image diffusion models to generate paired datasets used for training generative adversarial networks (GANs). This approach notably alleviates the stringent requirements typically imposed by high-end commercial GPUs for performing image editing with diffusion models. However, unlike text-to-image diffusion models, each distilled GAN is specialized for a specific image editing task, necessitating costly training efforts to obtain models for various concepts. In this work, we introduce and address a novel research direction: can the process of distilling GANs from diffusion models be made significantly more efficient? To achieve this goal, we propose a series of innovative techniques. First, we construct a base GAN model with generalized features, adaptable to different concepts through fine-tuning, eliminating the need for training from scratch. Second, we identify crucial layers within the base GAN model and employ Low-Rank Adaptation (LoRA) with a simple yet effective rank search process, rather than fine-tuning the entire base model. Third, we investigate the minimal amount of data necessary for fine-tuning, further reducing the overall training time. Extensive experiments show that we can efficiently empower GANs with the ability to perform real-time high-quality image editing on mobile devices with remarkably reduced training and storage costs for each concept.

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

↑