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

超采样稳定扩散与更远:一种无缝、无需训练的方法,利用常见插值方法扩展神经网络

Supersampling Stable Diffusion and Beyond: Training-Free Neural Network Scaling via Signal Interpolation

School of Data and Sciences BRAC University, Dhaka(数据与科学学院,布拉克大学,达卡);Computing for Sustainability and Social Good (C2SG) Research Group Department of Computer Science and Engineering United Internation University, Dhaka(可持续性与社会公益(C2SG)研究组,计算机科学与工程系,联合国际大学,达卡)

Md Abu Obaida Zishan, Jannatun Noor, Annajiat Alim Rasel

AI总结:

本文提出无需训练的超采样方法,通过插值扩展神经网络以生成更高分辨率图像,同时减少内存占用。

摘要:

稳定扩散(SD)通过在潜在空间而非特征空间中去噪,显著推动了基于DDPM的图像生成发展。然而,这些模型只能生成固定分辨率的图像。当尝试生成更高分辨率时,图像会出现对象重复的伪影。为解决此问题,近期工作尝试扩大卷积核,但零间隙导致难以微调。此外,其他方法如拼块扩散无法有效解决此问题。为此,本文提出SD模型的卷积核插值方法,通过数学证明插值可正确缩放卷积核,并在无训练的情况下生成超训练分辨率图像。此外,本文展示了该方法可使深度神经网络适应更高维训练数据,最坏情况下的性能下降为2.6%。同时,该方法可应用于全连接层,减少训练神经网络的内存占用,最高可达4倍。

英文摘要:

This work presents a training-free approach for interpolating neural networks using signal interpolation methods (i.e., linear, bilinear, bicubic). We discovered this phenomenon while attempting to interpolate the convolution layers of Stable-Diffusion-1.5 for beyond-training-resolution (BTR) image generation. As we know, for generating BTR images using DDPMs (Denoising Diffusion Probabilistic Models), there are mainly two approaches, namely, 1) patch-wise diffusion and 2) convolution-kernel dilation. Patch-wise diffusion cannot solve the object-duplication problem efficiently, while the kernel dilation approach may be harder to fine-tune later. Thus, we proposed convolution-kernel interpolation of the Stable Diffusion 1.5 model for $4\times$ BTR image generation. We discover and show mathematically that signal interpolation methods can correctly scale convolution kernels when multiplied by a flat-attenuation factor, while achieving competitive performance against the state of the art. We then applied the same methodology to non-DDPM deep neural network architectures, adapting them for BTR image classification, achieving a worst-case performance drop of $\sim 7\%$ on the ImageNet-1k validation set. Again, we subsample the penultimate fully connected layer of VGG-16 using our method, reducing up to $\sim 9\%$ parameters with $\sim 5\%$ loss in performance. Finally, we also discuss how we can reduce the memory footprint of training neural networks to $4\times$ or greater.

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

↑