Skip to main content
QUICK REVIEW

[论文解读] RandAugment: Practical automated data augmentation with a reduced search space

Ekin D. Cubuk, Barret Zoph|arXiv (Cornell University)|Sep 30, 2019
Advanced Neural Network ApplicationsComputer Science被引用 18
一句话总结

RandAugment 提出了一种实用且自动化的数据增强方法,通过将搜索空间大幅缩减至仅两个超参数——操作数量(N)和增强幅度(M)——消除了对独立搜索阶段的需求。该方法在 CIFAR-10/100、SVHN、ImageNet 和 COCO 目标检测任务上均取得了最先进性能,在 ImageNet 上达到 85.0% 的 top-1 准确率,优于此前所有方法,包括 AutoAugment。

ABSTRACT

Recent work has shown that data augmentation has the potential to significantly improve the generalization of deep learning models. Recently, automated augmentation strategies have led to state-of-the-art results in image classification and object detection. While these strategies were optimized for improving validation accuracy, they also led to state-of-the-art results in semi-supervised learning and improved robustness to common corruptions of images. An obstacle to a large-scale adoption of these methods is a separate search phase which increases the training complexity and may substantially increase the computational cost. Additionally, due to the separate search phase, these approaches are unable to adjust the regularization strength based on model or dataset size. Automated augmentation policies are often found by training small models on small datasets and subsequently applied to train larger models. In this work, we remove both of these obstacles. RandAugment has a significantly reduced search space which allows it to be trained on the target task with no need for a separate proxy task. Furthermore, due to the parameterization, the regularization strength may be tailored to different model and dataset sizes. RandAugment can be used uniformly across different tasks and datasets and works out of the box, matching or surpassing all previous automated augmentation approaches on CIFAR-10/100, SVHN, and ImageNet. On the ImageNet dataset we achieve 85.0% accuracy, a 0.6% increase over the previous state-of-the-art and 1.0% increase over baseline augmentation. On object detection, RandAugment leads to 1.0-1.3% improvement over baseline augmentation, and is within 0.3% mAP of AutoAugment on COCO. Finally, due to its interpretable hyperparameter, RandAugment may be used to investigate the role of data augmentation with varying model and dataset size. Code is available online.

研究动机与目标

  • 消除自动化数据增强中对独立代理任务的需求,以降低训练复杂性并避免导致次优策略的问题。
  • 实现可自动调整正则化强度以适应模型和数据集规模的数据增强方法,从而提升泛化能力和鲁棒性。
  • 将数据增强策略的搜索空间缩减至可管理的规模,使简单的网格搜索即可满足,避免昂贵的优化过程。
  • 开发一种在不同任务和数据集上统一适用的方法,无需重新调参或进行任务特定的调整。
  • 通过可解释且可扩展的超参数,探究数据增强在模型和数据集规模变化下的作用。

提出的方法

  • RandAugment 使用仅包含两个超参数的简化搜索空间:增强操作数量(N)和增强幅度(M),将搜索空间从 10^32 降低至 10^2。
  • 从预定义的 K 种变换中随机选择 N 个增强操作,每个操作的幅度在 0 到 M 之间均匀采样。
  • 所有变换初始化时具有相等的概率(均匀采样),使方法简单且可解释。
  • 直接在目标任务上使用该策略进行模型训练,无需代理任务或独立搜索阶段。
  • 该方法具有可扩展性,可统一应用于不同数据集和模型规模,无需重新优化。
  • 通过在 N 和 M 上进行网格搜索评估该方法,在多个基准测试中均表现出色。

实验结果

研究问题

  • RQ1当模型或数据集规模与代理任务不同时,是否会导致独立搜索阶段生成次优的数据增强策略?
  • RQ2是否可通过大幅缩减的搜索空间实现有效的数据增强,而无需复杂优化或代理任务?
  • RQ3是否能够通过简单且可解释的数据增强超参数化实现最先进性能?
  • RQ4数据增强的强度(操作数量和幅度)如何随模型和数据集规模的变化而变化?
  • RQ5是否可以设计一种统一的数据增强策略,在无需重新调参的情况下在多样化任务和数据集中均有效?

主要发现

  • RandAugment 在 ImageNet 上达到 85.0% 的 top-1 准确率,相比之前最先进方法提升 0.6%,相比基线增强提升 1.0%。
  • 在 CIFAR-10 上,RandAugment 使用 ResNet-50 达到 98.5% 的准确率,与 AutoAugment 和 Fast AutoAugment 在所有评估架构上持平或更优。
  • 在 COCO 目标检测任务上,RandAugment 相比基线增强将 mAP 提升 1.0–1.3%,且与 AutoAugment 的差距仅 0.3% mAP。
  • 在 Wide-ResNet-28-2 上,RandAugment 表现优于 AutoAugment(96.1% vs. 95.9%),在 Wide-ResNet-28-10 上表现持平。
  • 在小样本 CIFAR-10(4K 样本)上,一阶密度匹配变体相比基线将准确率提升超过 3.0%,表明在小数据集上具有显著优势。
  • 搜索空间从 AutoAugment 的 10^32 降低至 10^2,实现了高效的网格搜索,并消除了对昂贵代理训练的需求。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。