Abstract
This paper presents a novel dropout technique for Recurrent Neural Networks (RNNs) designed to prevent "memory loss" during training. By applying the dropout mask exclusively to the update vector of the hidden state rather than the state itself, gated architectures like LSTMs and GRUs can benefit from robust regularization without sacrificing their ability to track long-term dependencies. Experimental evaluations across synthetic tasks and standard NLP benchmarks demonstrate that this approach effectively preserves information over long sequences, leading to state-of-the-art performance in language modeling and sentiment analysis.
Introduction
Dropout is a cornerstone of regularization in feed-forward neural networks, yet its application to the recurrent connections of RNNs has historically been problematic. Standard dropout randomly deactivates neurons; when applied to the "horizontal" recurrent connections that carry information across timesteps, it causes an exponential decay of information. As the hidden state $h_{t-1}$ is repeatedly multiplied by a keep-probability $p$, the network effectively "forgets" early sequence information by the time it reaches the end. Consequently, researchers have traditionally limited dropout to "vertical" input-to-hidden connections.
Proposed Method: Dropping the Update
The authors propose a simple but elegant solution: don't drop the memory; drop the update. In gated architectures like LSTMs, the network computes a "candidate" update vector ($g_t$) to be added to its internal memory. The proposed method applies the dropout mask specifically to this update vector.
Mathematically, the cell state update is modified to: $c_t = f_t * c_{t-1} + i_t * \text{dropout}(g_t)$. Because dropout is only applied to the new information being added, the existing memory ($c_{t-1}$) remains intact and unscaled, preventing the information bottleneck seen in prior methods. Furthermore, the authors find that this "update-only" approach is robust enough to work with per-step sampling, which is often easier to implement and more effective than per-sequence sampling.
Experimental Evaluation
The method was evaluated across several standard benchmarks:
- Temporal Order Task: A synthetic test for long-term memory.
- Penn Treebank (PTB): For word-level and character-level Language Modeling.
- CoNLL 2003 & SemEval-2015: For Named Entity Recognition (NER) and Twitter sentiment analysis.
Key Results and Insights
The paper demonstrates that previous recurrent dropout methods (e.g., Moon et al., 2015) cause hidden states to vanish or explode during inference due to improper activation scaling. In contrast, the proposed method maintains stability and performance over long sequences.
On the synthetic Temporal Order task, the proposed method achieved 100% accuracy on medium-length sequences, whereas previous methods failed to generalize, dropping to below 25% accuracy. In practical NLP tasks, adding recurrent dropout to a baseline LSTM on the Penn Treebank word-level task improved validation perplexity from 130.0 to 102.8. When combined with traditional forward dropout, it reached a state-of-the-art perplexity of 87.0. Similar improvements were observed in sentiment analysis, where a GRU model’s F1 score increased from 67.09 to 69.04.
Conclusion
While specifically tailored for gated architectures like LSTMs and GRUs, this technique provides a powerful tool for regularizing recurrent transitions. By protecting the additive memory structure of these units, the method allows for deeper and more robust training of RNNs on tasks requiring long-term context. Future work may explore its interaction with sequence-to-sequence models and variational dropout schemes.
Summary updated