Skip to main content
QUICK REVIEW

[Paper Review] Fraternal Dropout

Konrad Żołna, Devansh Arpit|arXiv (Cornell University)|Oct 31, 2017
Topic ModelingComputer Science13 references8 citations
TL;DR

This paper introduces fraternal dropout, a novel regularization technique for recurrent neural networks (RNNs) that trains two identical, weight-shared RNNs with different dropout masks while minimizing the difference in their pre-softmax predictions. The method improves robustness to dropout variation and achieves state-of-the-art performance on sequence modeling tasks, including Penn Treebank and Wikitext-2, with significant gains in image captioning and semi-supervised learning.

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. 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.

Motivation & Objective

  • To address the difficulty of optimizing recurrent neural networks (RNNs) compared to feed-forward networks.
  • To reduce the discrepancy between training and inference phases in dropout-based regularization.
  • To improve generalization and robustness of RNNs by encouraging invariant representations under different dropout masks.
  • To achieve state-of-the-art results on standard sequence modeling benchmarks and transfer tasks.

Proposed method

  • Train two identical RNNs with shared parameters but different dropout masks during training.
  • Minimize the L2 difference between the pre-softmax predictions of the two RNNs to encourage robustness.
  • Formulate the regularization as a constraint that upper bounds the expectation-linear dropout objective.
  • Use the resulting loss to stabilize training and reduce the gap between training and inference.
  • Apply the method to language modeling, image captioning, and semi-supervised learning tasks.

Experimental results

Research questions

  • RQ1Can training two identical RNNs with different dropout masks improve generalization and robustness?
  • RQ2Does this approach reduce the discrepancy between training and inference in dropout-based models?
  • RQ3Can fraternal dropout achieve state-of-the-art performance on sequence modeling benchmarks?
  • RQ4Does the method generalize to non-language tasks such as image captioning and semi-supervised learning?

Key findings

  • Fraternal dropout achieves state-of-the-art results on the Penn Treebank and Wikitext-2 language modeling benchmarks.
  • The method significantly improves performance on the Microsoft COCO image captioning task.
  • It delivers substantial gains in semi-supervised learning on CIFAR-10.
  • The regularization term is upper bounded by the expectation-linear dropout objective, ensuring theoretical stability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.