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

去噪神经权重的有效训练

Efficient Training with Denoised Neural Weights

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

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

AI总结:

本文提出用扩散模型生成去噪权重作为初始化,加速图像翻译模型训练,实现15倍加速并提升生成质量。

摘要:

良好的权重初始化是降低深度神经网络(DNN)模型训练成本的有效措施。如何选择参数初始化方式具有挑战性,且可能需要手动调整,这既耗时又容易出错。为克服这些限制,本工作迈出了新颖的一步,构建一个权重生成器来合成用于初始化的神经权重。我们以生成对抗网络(GANs)的图像到图像翻译任务为例,因为收集涵盖广泛范围的模型权重较为容易。具体来说,我们首先收集一个包含各种图像编辑概念及其对应训练权重的数据集,该数据集随后用于训练权重生成器。为处理各层之间的不同特性以及需要预测的大量权重,我们将权重划分为大小相等的块,并为每个块分配一个索引。随后,使用该数据集训练一个扩散模型,该模型同时使用概念的文本条件和块索引。通过使用我们扩散模型预测的去噪权重来初始化图像翻译模型,训练仅需43.3秒。与从头训练(即Pix2pix)相比,我们实现了新概念15倍的训练时间加速,同时获得了更好的图像生成质量。

英文摘要:

Good weight initialization serves as an effective measure to reduce the training cost of a deep neural network (DNN) model. The choice of how to initialize parameters is challenging and may require manual tuning, which can be time-consuming and prone to human error. To overcome such limitations, this work takes a novel step towards building a weight generator to synthesize the neural weights for initialization. We use the image-to-image translation task with generative adversarial networks (GANs) as an example due to the ease of collecting model weights spanning a wide range. Specifically, we first collect a dataset with various image editing concepts and their corresponding trained weights, which are later used for the training of the weight generator. To address the different characteristics among layers and the substantial number of weights to be predicted, we divide the weights into equal-sized blocks and assign each block an index. Subsequently, a diffusion model is trained with such a dataset using both text conditions of the concept and the block indexes. By initializing the image translation model with the denoised weights predicted by our diffusion model, the training requires only 43.3 seconds. Compared to training from scratch (i.e., Pix2pix), we achieve a 15x training time acceleration for a new concept while obtaining even better image generation quality.

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

↑