arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.13007cs.CVcs.LGeess.IV
收藏

用于高分辨率图像识别的迭代块选择算法

Iterative Patch Selection for High-Resolution Image Recognition

Hasso Plattner Institute for Digital Health at the Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院哈索·普拉特纳数字健康研究所);Hasso Plattner Institute for Digital Engineering, University of Potsdam(波茨坦大学哈索·普拉特纳数字工程研究所);Google Research(谷歌研究院)

Benjamin Bergner, Christoph Lippert, Aravindh Mahendran

摘要:

高分辨率图像在各种应用中很普遍,例如自动驾驶和计算机辅助诊断。然而,在这些图像上训练神经网络在计算上具有挑战性,即使在现代GPU上也容易导致内存不足错误。我们提出了一个简单的方法,迭代补丁选择(IPS),它从输入大小的内存使用,从而使处理任意大的图像在严格的硬件约束下。IPS通过仅选择最显著的补丁来实现这一点,然后将其聚合为用于图像识别的全局表示。对于补丁选择和聚合,引入了基于交叉注意的Transformer,它与多实例学习有着密切的联系。我们的方法表现出强大的性能,并具有广泛的适用性,在不同的领域,训练制度和图像大小,同时使用最小的加速器内存。例如,我们能够在整个幻灯片图像上微调我们的模型,该图像由多达250k个补丁(>16千兆像素)组成,只有5 GB的GPU VRAM,批量大小为16。

英文摘要:

High-resolution images are prevalent in various applications, such as autonomous driving and computer-aided diagnosis. However, training neural networks on such images is computationally challenging and easily leads to out-of-memory errors even on modern GPUs. We propose a simple method, Iterative Patch Selection (IPS), which decouples the memory usage from the input size and thus enables the processing of arbitrarily large images under tight hardware constraints. IPS achieves this by selecting only the most salient patches, which are then aggregated into a global representation for image recognition. For both patch selection and aggregation, a cross-attention based transformer is introduced, which exhibits a close connection to Multiple Instance Learning. Our method demonstrates strong performance and has wide applicability across different domains, training regimes and image sizes while using minimal accelerator memory. For example, we are able to finetune our model on whole-slide images consisting of up to 250k patches (>16 gigapixels) with only 5 GB of GPU VRAM at a batch size of 16.

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

↑