Abstract
Recurrent Additive Networks (RANs) represent a streamlined class of gated recurrent neural networks (RNNs) that eliminate complex non-linear transition dynamics in favor of purely additive state updates. By removing the internal tanh non-linearities typical of LSTMs, RANs achieve a significant reduction in parameter count while maintaining competitive performance on standard language modeling benchmarks. Furthermore, the additive structure provides a clear mathematical path to interpretability, enabling researchers to trace the influence of specific input tokens on the model's hidden state.
Introduction
Gated Recurrent Neural Networks (GRNNs), such as LSTMs and GRUs, have long been the standard for sequence modeling in Natural Language Processing. Their success is largely attributed to sophisticated gating mechanisms that manage memory over long sequences. However, these models are often viewed as "black boxes" due to their complex, non-linear state transitions, making it difficult to understand how specific inputs influence the final hidden state.
This research investigates whether the non-linearities in state transitions are strictly necessary. By stripping away these complexities, the authors propose the Recurrent Additive Network (RAN), a model designed for transparency and efficiency without sacrificing the modeling power of its predecessors.
Methodology: The Recurrent Additive Network
The core innovation of the RAN is the replacement of non-linear transformations with a gated, component-wise sum. In a standard LSTM, the new state is a non-linear combination of the input and the previous state. In contrast, the RAN state $c_t$ is defined as:
$$c_t = i_t \circ \tilde{c}_t + f_t \circ c_{t-1}$$
where $i_t$ and $f_t$ are input and forget gates, and $\tilde{c}_t$ is a linear projection of the input. Key architectural features include:
- Purely Additive Updates: The state transition is linear, with non-linearities (like
sigmoid) reserved solely for computing gate values. - Mathematical Transparency: Because updates are additive, any state $c_t$ can be expressed as a weighted sum of all preceding input vectors. The gates effectively act as "soft" binary filters.
- Parameter Efficiency: By removing recurrent non-linearities and simplifying the cell structure, RANs require significantly fewer parameters than LSTMs for the same hidden dimension.
Experimental Results
The authors evaluated RANs on three major language modeling benchmarks: Penn TreeBank (PTB), the Google Billion-Word Benchmark (BWB), and the character-level Text8 dataset.
As shown in the results for the Penn TreeBank (Table 1), the tanh RAN outperformed the LSTM baseline in the medium configuration (81.9 vs. 82.7 perplexity) while using roughly 37% fewer RNN parameters. Similar trends were observed on the Billion-Word Benchmark, where the RAN achieved a perplexity of 47.9, nearly matching the LSTM's 47.5 despite the reduced parameter budget.
Interpretability and Insights
The primary advantage of the RAN's additive structure is its inherent interpretability. Because the hidden state is a linear combination of inputs, one can visualize the "influence" of past words on current predictions by examining gate activations.
Analysis of these gate patterns (Figure 1) reveals that the model learns to track linguistically relevant structures, such as subjects and verbs, across long distances. This suggests that the "secret sauce" of gated RNNs is the additive gating mechanism itself, rather than complex non-linear transitions.
Conclusion and Future Work
Recurrent Additive Networks demonstrate that simplicity can rival complexity in sequence modeling. By focusing on additive gating, RANs provide a more interpretable and efficient alternative to LSTMs for language modeling. While RANs excel in language tasks, future work is needed to assess their performance in more complex sequence-to-sequence tasks like machine translation. Additionally, while "identity RANs" performed well on word-level tasks, they showed instability in character-level modeling, indicating that some level of non-linearity remains beneficial for numerical stability in fine-grained contexts.
Summary updated