arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.01761cs.LGcs.AIcs.CLcs.CV
收藏

AutoDropout:学习丢弃模式以正则化深度网络

AutoDropout: Learning Dropout Patterns to Regularize Deep Networks

Google Research(谷歌研究院);Carnegie Mellon University(卡内基梅隆大学)

Hieu Pham, Quoc V. Le

摘要:

神经网络通常是过度参数化的,因此受益于积极的正则化。传统的正则化方法,如Dropout或权重衰减,不利用网络的输入和隐藏状态的结构。因此,这些传统方法不如利用结构的方法有效,例如SpatialDropout和DropBlock,它们在隐藏状态中的某些连续区域随机丢弃值并将其设置为零。虽然脱落区域的位置是随机的,但SpatialDropout和DropBlock的模式是手动设计和固定的。在这里,我们建议学习dropout模式。在我们的方法中,控制器学习在目标网络的每个通道和层生成dropout模式,例如ConvNet或Transformer。然后用dropout模式训练目标网络,并将其验证性能用作控制器学习的信号。我们证明了这种方法在CIFAR-10和ImageNet上的图像识别以及Penn Treebank和WikiText-2上的语言建模都效果良好。学习到的丢弃模式也转移到不同的任务和数据集,例如从Penn Treebank上的语言模型到WMT 2014上的英法翻译。我们的代码将可用。

英文摘要:

Neural networks are often over-parameterized and hence benefit from aggressive regularization. Conventional regularization methods, such as Dropout or weight decay, do not leverage the structures of the network's inputs and hidden states. As a result, these conventional methods are less effective than methods that leverage the structures, such as SpatialDropout and DropBlock, which randomly drop the values at certain contiguous areas in the hidden states and setting them to zero. Although the locations of dropout areas random, the patterns of SpatialDropout and DropBlock are manually designed and fixed. Here we propose to learn the dropout patterns. In our method, a controller learns to generate a dropout pattern at every channel and layer of a target network, such as a ConvNet or a Transformer. The target network is then trained with the dropout pattern, and its resulting validation performance is used as a signal for the controller to learn from. We show that this method works well for both image recognition on CIFAR-10 and ImageNet, as well as language modeling on Penn Treebank and WikiText-2. The learned dropout patterns also transfers to different tasks and datasets, such as from language model on Penn Treebank to Engligh-French translation on WMT 2014. Our code will be available.

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

↑