Fraternal Dropout

Konrad Zolna, Devansh Arpit, Dendi Suhubdy, Yoshua Bengio
10/31/2017
stat.MLcs.AIcs.LG

Official code: kondiz/fraternal-dropout (63 stars, Python, BSD-3-Clause, last commit 2017-11-07).

Abstract

Recurrent neural networks (RNNs) are important class of architectures among neural networks useful for language modeling and sequential prediction. However, optimizing RNNs is known to be harder compared to feed-forward neural networks.

Show full abstract

A number of techniques have been proposed in literature to address this problem. In this paper we propose a simple technique called fraternal dropout that takes advantage of dropout to achieve this goal. Specifically, we propose to train two identical copies of an RNN (that share parameters) with different dropout masks while minimizing the difference between their (pre-softmax) predictions. In this way our regularization encourages the representations of RNNs to be invariant to dropout mask, thus being robust. We show that our regularization term is upper bounded by the expectation-linear dropout objective which has been shown to address the gap due to the difference between the train and inference phases of dropout. We evaluate our model and achieve state-of-the-art results in sequence modeling tasks on two benchmark datasets - Penn Treebank and Wikitext-2. We also show that our approach leads to performance improvement by a significant margin in image captioning (Microsoft COCO) and semi-supervised (CIFAR-10) tasks.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
6310PythonNov 3, 20179 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{zolna2017fraternal,
  title  = {Fraternal Dropout},
  author = {Konrad Zolna and Devansh Arpit and Dendi Suhubdy and Yoshua Bengio},
  year   = {2017},
  eprint = {1711.00066},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.00066}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.00066.svg)](https://codeofpaper.com/paper/1711.00066)

Discussion