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

学习为计算机视觉任务调整图像大小

Learning to Resize Images for Computer Vision Tasks

Google Research(谷歌研究院)

Hossein Talebi, Peyman Milanfar

摘要:

尽管近年来卷积神经网络已经彻底改变了计算机视觉,但令人惊讶的是,一个重要方面却很少受到关注:图像大小对训练任务准确性的影响。通常,为了高效,输入图像被调整大小为相对小的空间分辨率(例如,224x224),并且训练和推理都在该分辨率下执行。这种重新缩放的实际机制是事后的想法:即,现成的图像大小调整器(如双线性和双三次)通常用于大多数机器学习软件框架。但是,这些调整器是否限制了训练网络的任务性能?答案是肯定的。事实上,我们表明,典型的线性大小调整器可以取代学习大小调整器,可以大大提高性能。重要的是,虽然经典的大小调整器通常会导致缩小图像的感知质量更好,但我们提出的学习大小调整器不一定会提供更好的视觉质量,而是提高任务性能。我们学习的图像大小调整器与基线视觉模型联合训练。这个学习的基于CNN的大小调整器创建了机器友好的视觉操作,导致最终任务度量在基线模型上的一致改进。具体来说,在这里我们专注于ImageNet数据集的分类任务,并使用四种不同的模型进行实验,以学习适应每个模型的大小调整器。此外,我们表明,建议的大小调整器也可以用于微调其他视觉任务的分类基线。为此,我们使用三种不同的基线进行实验,以在AVA数据集上开发图像质量评估(IQA)模型。

英文摘要:

For all the ways convolutional neural nets have revolutionized computer vision in recent years, one important aspect has received surprisingly little attention: the effect of image size on the accuracy of tasks being trained for. Typically, to be efficient, the input images are resized to a relatively small spatial resolution (e.g. 224x224), and both training and inference are carried out at this resolution. The actual mechanism for this re-scaling has been an afterthought: Namely, off-the-shelf image resizers such as bilinear and bicubic are commonly used in most machine learning software frameworks. But do these resizers limit the on task performance of the trained networks? The answer is yes. Indeed, we show that the typical linear resizer can be replaced with learned resizers that can substantially improve performance. Importantly, while the classical resizers typically result in better perceptual quality of the downscaled images, our proposed learned resizers do not necessarily give better visual quality, but instead improve task performance. Our learned image resizer is jointly trained with a baseline vision model. This learned CNN-based resizer creates machine friendly visual manipulations that lead to a consistent improvement of the end task metric over the baseline model. Specifically, here we focus on the classification task with the ImageNet dataset, and experiment with four different models to learn resizers adapted to each model. Moreover, we show that the proposed resizer can also be useful for fine-tuning the classification baselines for other vision tasks. To this end, we experiment with three different baselines to develop image quality assessment (IQA) models on the AVA dataset.

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

↑