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.
翻译:神经网络往往被过度分解,因此从激进的正规化中受益。常规的正规化方法,如辍学或体重衰减等,并不影响网络投入和隐藏状态的结构。结果,这些常规方法不如空间拖网和投篮锁定等结构的杠杆法有效,因为空间拖网和投篮锁定等结构随机地将隐蔽状态中某些相邻地区的数值降低到零。虽然辍学地区的位置随机随机,但空间拖网和丢弃区的模式是手工设计和固定的。在这里,我们提议学习辍学模式。在我们的方法中,一个控制器学会在目标网络的每一个频道和层,例如ConvNet或变异器,产生一种辍学模式。然后,目标网络接受辍学模式的培训,其产生的验证性能被用作控制器学习的信号。我们表明,这一方法不仅对CIFAR-10和图像网进行图像识别,而且对彭树银行和WikText-2进行语言建模。在我们学习过的辍学模式中,还学习了向不同的任务和数据集转移,例如ConvonNet或WMD-Fregle Streal orma trebol。