arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.03632cs.LGcs.CVstat.ML
收藏

正则化和数据增强的效果与类别相关

The Effects of Regularization and Data Augmentation are Class Dependent

Meta AI Research(元人工智能研究院);NYU(纽约大学)

Randall Balestriero, Leon Bottou, Yann LeCun

摘要:

正则化是通过约束模型的复杂性来防止过拟合和提高泛化性能的基本技术。目前的深度网络严重依赖于正则化器,如数据增强(DA)或权重衰减,并采用结构风险最小化,即交叉验证,以选择最佳正则化超参数。在这项研究中,我们证明了DA或权重衰减等技术产生的模型具有降低的复杂性,这在各个类别之间是不公平的。从交叉验证中发现的DA或权重衰减的最佳量导致某些类别上的灾难性模型性能,例如在具有resnet 50的Imagenet上,“谷仓蜘蛛”分类测试准确度仅通过在训练期间引入随机作物DA从$68\%$下降到$46\%$。更令人惊讶的是,当引入诸如权重衰减之类的无信息正则化技术时,也会出现这种性能下降。这些结果表明,我们对不断增加的泛化性能的搜索-在所有类和样本上的平均值-给我们留下了模型和正则化器,这些模型和正则化器默默地牺牲了某些类的性能。当在下游任务上部署模型时,这种情况可能会变得危险,例如,当在Imagenet预训练阶段引入随机裁剪DA时,部署在INaturalist上的Imagenet预训练resnet 50在类\#8889上的性能从$70\%$下降到$30\%$。这些结果表明,设计新的正则化没有类依赖的偏见仍然是一个开放的研究问题。

英文摘要:

Regularization is a fundamental technique to prevent over-fitting and to improve generalization performances by constraining a model's complexity. Current Deep Networks heavily rely on regularizers such as Data-Augmentation (DA) or weight-decay, and employ structural risk minimization, i.e. cross-validation, to select the optimal regularization hyper-parameters. In this study, we demonstrate that techniques such as DA or weight decay produce a model with a reduced complexity that is unfair across classes. The optimal amount of DA or weight decay found from cross-validation leads to disastrous model performances on some classes e.g. on Imagenet with a resnet50, the "barn spider" classification test accuracy falls from $68\%$ to $46\%$ only by introducing random crop DA during training. Even more surprising, such performance drop also appears when introducing uninformative regularization techniques such as weight decay. Those results demonstrate that our search for ever increasing generalization performance -- averaged over all classes and samples -- has left us with models and regularizers that silently sacrifice performances on some classes. This scenario can become dangerous when deploying a model on downstream tasks e.g. an Imagenet pre-trained resnet50 deployed on INaturalist sees its performances fall from $70\%$ to $30\%$ on class \#8889 when introducing random crop DA during the Imagenet pre-training phase. Those results demonstrate that designing novel regularizers without class-dependent bias remains an open research question.

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

↑