TL;DR
This paper introduces the Gated Recurrent Neural Tensor Network, a novel architecture that combines the long-term memory of gated RNNs (like LSTMs and GRUs) with the high-dimensional expressiveness of tensor products. By allowing more complex, direct interactions between current inputs and previous hidden states, these models significantly outperform standard baselines in both word-level and character-level language modeling tasks.
What Problem Does This Paper Address?
Recurrent Neural Networks (RNNs) are the workhorses of sequential data, but they face two major hurdles. First, the "vanishing gradient" problem makes it hard for standard RNNs to remember information over long sequences. Architectures like Long Short-Term Memory (LSTM) and Gated Recurrent Units (GRU) solved this using gating mechanisms—mathematical "valves" that decide what to remember and what to forget.
Second, standard RNNs typically combine new inputs and old memories using simple linear projections and additions. The authors argue this interaction is "shallow" and may fail to capture the nuanced, complex relationships inherent in data like natural language. While Recursive Neural Tensor Networks (RecNTNs) previously introduced tensor products to model these complex interactions, they were designed for tree-structured data and lacked the gating necessary to handle long, linear sequences effectively. This paper bridges that gap.
Methods
The authors propose two new models: the LSTMRNTN and the GRURNTN. The core innovation lies in how these models calculate their "candidate" states—the new information that the gates then decide whether to store.
In a standard GRU or LSTM, the candidate state is a function of a linear combination: $W_x x_t + W_h h_{t-1}$. In the proposed Gated Recurrent Neural Tensor Network, this is replaced with a tensor product (specifically, a bilinear form). This allows every dimension of the input vector $x_t$ to interact directly with every dimension of the hidden state $h_{t-1}$ through a 3D weight tensor.
To keep the number of parameters manageable, the authors utilize an asymmetric bilinear form for the candidate hidden layer calculation. As shown in the architecture for the GRURNTN candidate state:
By integrating this tensor operation inside the gating framework, the model gains the ability to learn second-degree polynomial interactions between inputs and states, providing a much richer representation than standard additive models.
Datasets
The models were evaluated on the Penn Treebank (PTB) corpus, a gold-standard benchmark for statistical language modeling. The authors tested two specific tasks:
- Word-level language modeling: Predicting the next word in a sequence (measured by Perplexity, or PPL).
- Character-level language modeling: Predicting the next character (measured by Bits-Per-Character, or BPC).
The experiments were carefully controlled, ensuring that baseline models (standard GRU/LSTM) had a similar number of total parameters to the proposed RNTN versions to ensure a fair comparison.
Key Insights and Ideas
- Expressiveness vs. Memory: The paper demonstrates that gating and tensor products are complementary. Gating provides the "memory" needed for long-term dependencies, while the tensor product provides the "expressiveness" needed to model complex local interactions.
- Bilinear Advantage: Moving from first-degree (linear) to second-degree (bilinear) interactions allows the network to capture patterns that are otherwise invisible to standard RNNs.
- Parameter Efficiency: By using an asymmetric tensor formulation, the authors show it is possible to gain the benefits of tensor products without the catastrophic "parameter explosion" that often plagues high-dimensional models.
Key Results
The proposed models showed consistent and significant improvements over their respective baselines:
- Character-Level Task: The GRURNTN reduced the Bits-Per-Character (BPC) from 1.39 to 1.33 (a 4.32% relative improvement). The LSTMRNTN similarly improved upon the baseline LSTM.
- Word-Level Task: The results here were even more striking. The GRURNTN reduced Perplexity (PPL) from 97.78 to 87.38, representing a 10.63% relative improvement.
- Convergence: The GRURNTN not only achieved better final scores but also tended to converge faster and more smoothly than the LSTMRNTN during training.
Limitations and Future Work
While powerful, the authors acknowledge that tensor products increase the computational complexity of the model compared to simple matrix multiplications.
Looking forward, the authors suggest:
- Stacking: Investigating how these gated tensor units perform when stacked in deeper architectures, such as Gated Feedback RNNs.
- Broader Applications: Testing the architecture on other sequential tasks like speech recognition and video analysis, where complex spatio-temporal interactions are prevalent.
- Alternative Tensor Ops: Exploring different types of tensor operations beyond the bilinear form to further optimize the trade-off between expressiveness and computational cost.
Summary updated