Patch Gradient Descent:在超大图像上训练神经网络
Patch Gradient Descent: Training Neural Networks on Very Large Images
摘要:
传统的CNN模型是在相对低分辨率的图像(<300 px)上训练和测试的,由于计算和内存限制,无法直接在大规模图像上操作。我们提出了补丁梯度下降(PatchGD),一个有效的学习策略,允许训练现有的CNN架构上的大规模图像在一个端到端的方式。PatchGD基于这样一个假设,即不是一次对整个图像执行基于梯度的更新,而是应该可以通过一次只对图像的一小部分执行模型更新来实现良好的解决方案,从而确保在迭代过程中覆盖大部分图像。因此,PatchGD在大规模图像上训练模型时广泛享有更好的内存和计算效率。PatchGD在两个数据集上进行了全面评估- PANDA和UltraMNIST,在不同的内存限制下使用ResNet 50和MobileNetV 2模型。我们的评估清楚地表明,PatchGD在处理大型图像时比标准的梯度下降方法更稳定和有效,特别是在计算内存有限的情况下。
英文摘要:
Traditional CNN models are trained and tested on relatively low resolution images (<300 px), and cannot be directly operated on large-scale images due to compute and memory constraints. We propose Patch Gradient Descent (PatchGD), an effective learning strategy that allows to train the existing CNN architectures on large-scale images in an end-to-end manner. PatchGD is based on the hypothesis that instead of performing gradient-based updates on an entire image at once, it should be possible to achieve a good solution by performing model updates on only small parts of the image at a time, ensuring that the majority of it is covered over the course of iterations. PatchGD thus extensively enjoys better memory and compute efficiency when training models on large scale images. PatchGD is thoroughly evaluated on two datasets - PANDA and UltraMNIST with ResNet50 and MobileNetV2 models under different memory constraints. Our evaluation clearly shows that PatchGD is much more stable and efficient than the standard gradient-descent method in handling large images, and especially when the compute memory is limited.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。