arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.12739cs.LG
收藏

卷积神经网络的多尺度训练

Multiscale Training of Convolutional Neural Networks

Department of Physics & Astronomy, University of British Columbia(物理与天文学系,不列颠哥伦比亚大学);Department of Earth, Ocean and Atmospheric Sciences, University of British Columbia(地球、海洋和大气科学系,不列颠哥伦比亚大学);Department of Applied Mathematics and Theoretical Physics, University of Cambridge(应用数学与理论物理系,剑桥大学)

Shadab Ahamed, Niloufar Zakariaei, Eldad Haber, Moshe Eliasof

AI总结:

本文提出多尺度梯度估计和全多尺度训练方法,通过多层蒙特卡洛思想减少高分辨率CNN训练的计算成本,提升训练效率。

摘要:

在高分辨率图像上训练卷积神经网络(CNNs)常常受到在最细空间网格上计算损失梯度成本的限制。为了解决这个问题,我们提出了多尺度梯度估计(MGE),一种受多层蒙特卡洛启发的估计器,它将最细网格上的预期梯度表示为一系列在逐渐更粗网格上计算的梯度的 telescopic 和。通过将较大的批次分配给更便宜的粗略层次,MGE实现了与单尺度随机梯度估计相同的方差,同时每下降一级将细网格卷积的次数减少4倍。我们进一步将MGE嵌入到全多尺度训练算法中,该算法首先在粗网格上解决学习问题,然后“预热”下一个更精细的层次,从而将所需的细网格迭代次数减少一个数量级。在使用UNet、ResNet和ESPCN主干的图像去噪、去模糊、补全和超分辨率任务中进行了广泛的实验,证实了实际的益处:全多尺度减少了计算成本4-16倍,而没有显著损失性能。一起,MGE和全多尺度提供了一种原则性的、架构无关的途径,以加速高分辨率数据上的CNN训练,而不牺牲准确性,并且可以与其他方差减少或学习率调度相结合,进一步增强可扩展性。

英文摘要:

Training convolutional neural networks (CNNs) on high-resolution images is often bottlenecked by the cost of evaluating gradients of the loss on the finest spatial mesh. To address this, we propose Multiscale Gradient Estimation (MGE), a Multilevel Monte Carlo-inspired estimator that expresses the expected gradient on the finest mesh as a telescopic sum of gradients computed on progressively coarser meshes. By assigning larger batches to the cheaper coarse levels, MGE achieves the same variance as single-scale stochastic gradient estimation while reducing the number of fine mesh convolutions by a factor of 4 with each downsampling. We further embed MGE within a Full-Multiscale training algorithm that solves the learning problem on coarse meshes first and "hot-starts" the next finer level, cutting the required fine mesh iterations by an additional order of magnitude. Extensive experiments on image denoising, deblurring, inpainting and super-resolution tasks using UNet, ResNet and ESPCN backbones confirm the practical benefits: Full-Multiscale reduces the computation costs by 4-16x with no significant loss in performance. Together, MGE and Full-Multiscale offer a principled, architecture-agnostic route to accelerate CNN training on high-resolution data without sacrificing accuracy, and they can be combined with other variance-reduction or learning-rate schedules to further enhance scalability.

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

↑