Skip to main content
QUICK REVIEW

[Paper Review] Zoneout: Regularizing RNNs by Randomly Preserving Hidden Activations

David Krueger, Tegan Maharaj|PolyPublie (École Polytechnique de Montréal)|Jun 3, 2016
Topic ModelingComputer Science23 references173 citations
TL;DR

Zoneout regularizes RNNs by stochastically preserving hidden activations, creating identity connections over time to improve gradient flow and generalization; it yields competitive or state-of-the-art results on language modelling and permuted sequential MNIST.

ABSTRACT

We propose zoneout, a novel method for regularizing RNNs. At each timestep, zoneout stochastically forces some hidden units to maintain their previous values. Like dropout, zoneout uses random noise to train a pseudo-ensemble, improving generalization. But by preserving instead of dropping hidden units, gradient information and state information are more readily propagated through time, as in feedforward stochastic depth networks. We perform an empirical investigation of various RNN regularizers, and find that zoneout gives significant performance improvements across tasks. We achieve competitive results with relatively simple models in character- and word-level language modelling on the Penn Treebank and Text8 datasets, and combining with recurrent batch normalization yields state-of-the-art results on permuted sequential MNIST.

Motivation & Objective

  • Motivate robust regularization for recurrent networks to improve generalization without harming temporal information flow.
  • Introduce zoneout as stochastic identity preservation for hidden states and cells.
  • Empirically compare zoneout with dropout and other regularizers across multiple RNN tasks.
  • Demonstrate competitive performance on Penn Treebank, Text8, and permuted MNIST, including combinations with recurrent batch normalization.

Proposed method

  • Define zoneout as a stochastic blend of the recurrent transition and the identity mapping, controlled by per-unit Bernoulli masks.
  • Train with noise injection similar to dropout, but preserve past activations rather than zero them.
  • Apply separate zoneout masks to cells and hidden states in LSTMs; optionally share masks across gates or reuse input dropout masks for related components.
  • Use the expectation of the noise at test time to maintain a stable forward/backward flow.
  • Compare zoneout to recurrent dropout, weight noise, norm stabilizers, and stochastic depth in RNNs.
  • Evaluate on character- and word-level language modeling and on permuted sequential MNIST, including ablation studies on mask probabilities.

Experimental results

Research questions

  • RQ1Does zoneout improve generalization in RNNs compared with standard dropout and other regularizers?
  • RQ2How should zoneout be configured (probabilities for cells vs. hidden states) to maximize performance across tasks?
  • RQ3Does zoneout improve gradient flow to earlier timesteps, mitigating vanishing/exploding gradient issues?
  • RQ4Can zoneout achieve state-of-the-art results when combined with other regularizers like recurrent batch normalization?
  • RQ5Is zoneout broadly applicable across vanilla RNNs, LSTMs, and GRUs?

Key findings

  • Zoneout improves generalization across character- and word-level language modeling and pMNIST over several baselines.
  • On character-level PTB, zoneout with zc=0.5 and zh=0.05 achieves 1.27 BPC, competitive with state-of-the-art methods.
  • On word-level PTB, zoneout with recurrent connections improves test perplexity from 78.4 to 77.4 in a strong baseline; mixing zoneout with feedforward dropout enhances results.
  • On Text8, zoneout yields competitive training/validation curves compared with unregularized LSTM and other regularizers.
  • On pMNIST, zoneout outperforms recurrent dropout and becomes state-of-the-art when combined with recurrent batch normalization (RBN).
  • Gradient-flow analysis shows zoneout preserves gradient information to earlier timesteps more effectively than dropout, supporting its regularization benefits.

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.