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

修复训练测试分辨率差异

Fixing the train-test resolution discrepancy

Facebook AI Research(Facebook人工智能研究院)

Hugo Touvron, Andrea Vedaldi, Matthijs Douze, Hervé Jégou

摘要:

数据扩充是训练图像分类神经网络的关键。本文首先表明,现有的增强诱导的典型大小的分类器在训练和测试时间看到的对象之间的显着差异。我们通过实验验证,对于目标测试分辨率,使用较低的训练分辨率可以在测试时提供更好的分类。然后,我们提出了一个简单而有效的和高效的策略,以优化分类器的性能时,训练和测试分辨率不同。它只涉及在测试分辨率下对网络进行计算上廉价的微调。这使得能够使用小的训练图像来训练强分类器。例如,我们在ImageNet上获得了77.1%的top-1准确率,其中ResNet-50在128 x128图像上训练,而在224 x224图像上训练的准确率为79.8%。此外,如果我们使用额外的训练数据,使用224 x224图像的ResNet-50训练可以获得82.5%的正确率。相反,当在9.4亿张分辨率为224 x224的公共图像上训练以弱监督方式预训练的ResNeXt-101 32 x48 d并进一步优化测试分辨率320 x320时,我们获得了86.4%的测试top-1准确率(top-5:98.0%)(单次裁剪)。据我们所知,这是ImageNet迄今为止最高的单作物,前1和前5的准确性。

英文摘要:

Data-augmentation is key to the training of neural networks for image classification. This paper first shows that existing augmentations induce a significant discrepancy between the typical size of the objects seen by the classifier at train and test time. We experimentally validate that, for a target test resolution, using a lower train resolution offers better classification at test time. We then propose a simple yet effective and efficient strategy to optimize the classifier performance when the train and test resolutions differ. It involves only a computationally cheap fine-tuning of the network at the test resolution. This enables training strong classifiers using small training images. For instance, we obtain 77.1% top-1 accuracy on ImageNet with a ResNet-50 trained on 128x128 images, and 79.8% with one trained on 224x224 image. In addition, if we use extra training data we get 82.5% with the ResNet-50 train with 224x224 images. Conversely, when training a ResNeXt-101 32x48d pre-trained in weakly-supervised fashion on 940 million public images at resolution 224x224 and further optimizing for test resolution 320x320, we obtain a test top-1 accuracy of 86.4% (top-5: 98.0%) (single-crop). To the best of our knowledge this is the highest ImageNet single-crop, top-1 and top-5 accuracy to date.

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

↑