[Paper Review] Recurrent Additive Networks
This paper proposes Recurrent Additive Networks (RANs), a gated RNN that uses only additive state updates without non-linearities in the recurrent transition, yet achieves performance on par with LSTMs on language modeling benchmarks. The model's internal state is a weighted sum of input vectors, making it highly interpretable while maintaining strong performance.
We introduce recurrent additive networks (RANs), a new gated RNN which is distinguished by the use of purely additive latent state updates. At every time step, the new state is computed as a gated component-wise sum of the input and the previous state, without any of the non-linearities commonly used in RNN transition dynamics. We formally show that RAN states are weighted sums of the input vectors, and that the gates only contribute to computing the weights of these sums. Despite this relatively simple functional form, experiments demonstrate that RANs perform on par with LSTMs on benchmark language modeling problems. This result shows that many of the non-linear computations in LSTMs and related networks are not essential, at least for the problems we consider, and suggests that the gates are doing more of the computational work than previously understood.
Motivation & Objective
- To develop a simpler, more interpretable gated RNN architecture that maintains strong performance on sequence modeling tasks.
- To investigate whether non-linear recurrent dynamics are essential for the success of LSTMs in language modeling.
- To formally characterize the functional space of RANs and show that their hidden states are component-wise weighted sums of input vectors.
- To demonstrate that the gates in RNNs may perform more of the computational work than previously recognized, rather than just controlling information flow.
Proposed method
- RANs compute the hidden state as a gated, component-wise sum of the current input and the previous hidden state, using sigmoid gates for input and forget operations.
- The model uses a linear transformation of the input to project it into the hidden dimension, enabling input and hidden dimension mismatch handling.
- The output is computed via a non-linear activation (e.g., tanh) applied to the hidden state, though the identity function is also used in simplified variants.
- The hidden state at time t is formally shown to be a weighted sum of all previous input vectors, with weights determined by the gate values.
- The architecture is derived from LSTM by removing the non-linear recurrent transition (i.e., the tanh in the candidate cell state) and the output gate.
- Experiments compare RANs to LSTMs and GRUs on standard language modeling benchmarks using standard hyperparameter tuning.
Experimental results
Research questions
- RQ1Can a gated RNN with purely additive state updates match the performance of LSTMs on language modeling tasks?
- RQ2To what extent do non-linearities in the recurrent transition dynamics contribute to the performance of LSTMs?
- RQ3Can the hidden state of a gated RNN be formally characterized as a weighted sum of input vectors, and what are the implications for interpretability?
- RQ4Do the gates in LSTMs and GRUs perform more computational work than previously assumed, especially in the absence of non-linear recurrent dynamics?
- RQ5Is it possible to simplify gated RNNs significantly—by removing non-linearities and reducing parameters—without sacrificing performance?
Key findings
- RANs achieve performance comparable to LSTMs on three standard language modeling benchmarks (Penn Treebank, WikiText-2, WikiText-103), despite having significantly fewer parameters.
- Removing the non-linear recurrent transition (i.e., the tanh in the candidate cell state) from the LSTM architecture results in a model that performs nearly identically to the original LSTM.
- Removing the output gate from the LSTM also leads to minimal performance drop, suggesting that the output gate is not essential for language modeling in this setting.
- The internal state of a RAN at any time step is mathematically equivalent to a component-wise weighted sum of all previous input vectors, with weights determined by the gate values.
- The simplicity of RANs enables direct interpretation of how each input vector contributes to the current hidden state, enhancing model transparency.
- Empirical results suggest that additive connections and gate mechanisms may be the primary drivers of performance in LSTMs, rather than non-linear recurrent dynamics.
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.