Dual Rectified Linear Units (DReLUs): A Replacement for Tanh Activation Functions in Quasi-Recurrent Neural Networks
arXiv:1707.08214 · doi:10.1016/j.patrec.2018.09.006
Abstract
In this paper, we introduce a novel type of Rectified Linear Unit (ReLU), called a Dual Rectified Linear Unit (DReLU). A DReLU, which comes with an unbounded positive and negative image, can be used as a drop-in replacement for a tanh activation function in the recurrent step of Quasi-Recurrent Neural Networks (QRNNs) (Bradbury et al. (2017)). Similar to ReLUs, DReLUs are less prone to the vanishing gradient problem, they are noise robust, and they induce sparse activations. We independently reproduce the QRNN experiments of Bradbury et al. (2017) and compare our DReLU-based QRNNs with the original tanh-based QRNNs and Long Short-Term Memory networks (LSTMs) on sentiment classification and word-level language modeling. Additionally, we evaluate on character-level language modeling, showing that we are able to stack up to eight QRNN layers with DReLUs, thus making it possible to improve the current state-of-the-art in character-level language modeling over shallow architectures based on LSTMs.
References in corpus (13)
- Adam: A Method for Stochastic Optimization
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
- Deep Learning in Neural Networks: An Overview
- Recurrent Neural Network Regularization
- Character-Aware Neural Language Models
- A Simple Way to Initialize Recurrent Networks of Rectified Linear Units
- Layer Normalization
- Quasi-Recurrent Neural Networks
- Neural Machine Translation in Linear Time
- Grid Long Short-Term Memory
- Hierarchical Multiscale Recurrent Neural Networks
- Recurrent Dropout without Memory Loss
- Capacity and Trainability in Recurrent Neural Networks