[Paper Review] Multiplicative LSTM for sequence modelling
This paper proposes multiplicative LSTM (mLSTM), a novel recurrent neural network architecture that combines long short-term memory (LSTM) units with multiplicative recurrent neural network (mRNN) weight factorization to enable input-dependent hidden state transitions. By allowing distinct recurrent functions for each input, mLSTM improves expressiveness and robustness in autoregressive sequence modeling, achieving state-of-the-art results on character-level language modeling benchmarks, including 1.27 bits/char on text8 and 1.24 bits/char on the Hutter Prize, while outperforming standard LSTM and deep variants.
We introduce multiplicative LSTM (mLSTM), a recurrent neural network architecture for sequence modelling that combines the long short-term memory (LSTM) and multiplicative recurrent neural network architectures. mLSTM is characterised by its ability to have different recurrent transition functions for each possible input, which we argue makes it more expressive for autoregressive density estimation. We demonstrate empirically that mLSTM outperforms standard LSTM and its deep variants for a range of character level language modelling tasks. In this version of the paper, we regularise mLSTM to achieve 1.27 bits/char on text8 and 1.24 bits/char on Hutter Prize. We also apply a purely byte-level mLSTM on the WikiText-2 dataset to achieve a character level entropy of 1.26 bits/char, corresponding to a word level perplexity of 88.8, which is comparable to word level LSTMs regularised in similar ways on the same task.
Motivation & Objective
- To address the limitations of standard RNNs in recovering from unexpected or erroneous inputs due to fixed, input-agnostic hidden state transitions.
- To improve the expressiveness of sequence modeling by enabling flexible, input-specific recurrent transition functions without overwriting long-term memory.
- To develop a recurrent architecture that combines the memory control of LSTMs with the input-dependent dynamics of mRNNs for better performance in autoregressive density estimation.
- To evaluate whether input-dependent transitions can outperform deep architectures or regularization alone in character-level language modeling.
Proposed method
- mLSTM integrates the LSTM’s gating mechanism with the mRNN’s factorized weight matrices, where the hidden-to-hidden transition is modulated by the current input.
- The hidden state update is computed as a multiplicative interaction between the previous hidden state and a gate vector that depends on the input, allowing distinct transition functions per input symbol.
- The architecture uses a separate set of parameters for each input symbol, enabling input-specific transition dynamics while preserving long-term memory via LSTM gates.
- Regularization techniques such as weight normalization and variational dropout (0.5) are applied to the embedding and hidden layers to prevent overfitting.
- The model is trained end-to-end using cross-entropy loss for sequence generation, with evaluation via bits-per-character and perplexity on character-level and byte-level tasks.
- The method is evaluated on standard benchmarks: text8, Hutter Prize, and WikiText-2, using both character-level and byte-level modeling.
Experimental results
Research questions
- RQ1Can input-dependent recurrent transition functions improve sequence modeling performance compared to standard LSTM and its deep variants?
- RQ2Does the combination of LSTM gating and multiplicative weight factorization enable better robustness to unexpected inputs than fixed transition functions?
- RQ3Can mLSTM achieve competitive performance on character-level language modeling without relying on deep recurrent architectures or complex regularization techniques?
- RQ4How does mLSTM perform on byte-level modeling compared to word-level models, and can it achieve comparable perplexity despite modeling subword units?
Key findings
- mLSTM achieves 1.27 bits/character on the text8 dataset, setting a new state-of-the-art for character-level language modeling.
- On the Hutter Prize benchmark, mLSTM reaches 1.24 bits/character, matching the best previous result and demonstrating strong performance on long-context sequence modeling.
- A purely byte-level mLSTM model achieves a test set cross-entropy of 1.2649 bits/char, corresponding to a word-level perplexity of 88.8 on WikiText-2.
- The byte-level mLSTM performance is comparable to state-of-the-art word-level LSTMs that use advanced regularization and architectural enhancements, despite modeling subword units.
- mLSTM outperforms standard LSTM and deep LSTM variants across all evaluated character-level language modeling tasks, indicating the benefit of input-dependent transitions.
- The model achieves competitive results with only two linear recurrent transition matrices, suggesting that high recurrent depth is not necessary for strong performance when input-dependent dynamics are present.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.