[Paper Review] Gated Orthogonal Recurrent Units: On Learning to Forget
This paper introduces Gated Orthogonal Recurrent Units (GORU), a novel RNN architecture that combines orthogonal weight matrices for stable long-term memory with learnable gating mechanisms to enable effective forgetting. By integrating GRU-style gates with orthogonal transitions, GORU outperforms LSTMs, GRUs, and unitary RNNs on long-term dependency tasks, including bAbI QA, Penn Treebank, TIMIT, and synthetic tasks, demonstrating superior performance in both remembering and forgetting capabilities.
We present a novel recurrent neural network (RNN) based model that combines the remembering ability of unitary RNNs with the ability of gated RNNs to effectively forget redundant/irrelevant information in its memory. We achieve this by extending unitary RNNs with a gating mechanism. Our model is able to outperform LSTMs, GRUs and Unitary RNNs on several long-term dependency benchmark tasks. We empirically both show the orthogonal/unitary RNNs lack the ability to forget and also the ability of GORU to simultaneously remember long term dependencies while forgetting irrelevant information. This plays an important role in recurrent neural networks. We provide competitive results along with an analysis of our model on many natural sequential tasks including the bAbI Question Answering, TIMIT speech spectrum prediction, Penn TreeBank, and synthetic tasks that involve long-term dependencies such as algorithmic, parenthesis, denoising and copying tasks.
Motivation & Objective
- To address the limitation of unitary and orthogonal RNNs in forgetting irrelevant or noisy information, which hinders performance on real-world sequential tasks.
- To integrate the gradient stability of orthogonal matrices with the selective memory control of gated mechanisms like GRUs.
- To develop a model that simultaneously captures long-term dependencies and discards redundant or noisy inputs.
- To empirically validate that orthogonal RNNs lack effective forgetting mechanisms and that GORU overcomes this limitation.
- To demonstrate superior performance on benchmark tasks requiring both long-term memory and selective attention to relevant information.
Proposed method
- Replace the hidden-to-hidden weight matrix in the GRU's reset gate path with an orthogonal matrix to preserve gradient flow over long sequences.
- Use a modReLU activation function to maintain orthogonality while enabling nonlinearity in the gated update path.
- Introduce learnable update and reset gates inspired by GRUs to control the flow of information into the hidden state.
- Train the model using standard optimization (e.g., RMSProp, Adam) with weight decay and batch normalization, maintaining orthogonal constraints via parameterization.
- Implement a differentiable orthogonal matrix parameterization using Householder reflections or Cayley transforms to enforce orthogonality during training.
- Evaluate the model on both real-world and synthetic sequential tasks, comparing performance against LSTMs, GRUs, and EURNN.
Experimental results
Research questions
- RQ1Can orthogonal RNNs effectively forget irrelevant or noisy information in sequential data?
- RQ2Does combining gating mechanisms with orthogonal transitions improve performance on long-term dependency tasks compared to standard RNNs and unitary RNNs?
- RQ3How does GORU perform on tasks requiring selective memory, such as denoising and copying, where forgetting is crucial?
- RQ4Can GORU outperform existing models like GRU, LSTM, and EURNN on benchmarks like bAbI, Penn Treebank, and TIMIT?
- RQ5What is the contribution of each gating component (reset and update gates) to the overall performance of GORU?
Key findings
- GORU achieves the highest mean test accuracy of 60.4% on the bAbI question-answering benchmark, outperforming GRU (58.2%), LSTM (56.0%), and EURNN (52.9%).
- On the Penn Treebank character-level language modeling task, GORU achieves 1.623 bits-per-character, significantly better than EURNN (1.715) and comparable to LSTM and GRU.
- In speech spectrum prediction on the TIMIT dataset, GORU achieves a test set MSE of 47.6, outperforming LSTM (57.5), GRU (57.3), and EURNN (51.9) with fewer parameters.
- On the synthetic denoising task, unitary RNNs fail catastrophically, while GORU successfully learns to filter out noise, demonstrating its forgetting capability.
- Ablation studies show that disabling either the reset or update gate in GORU leads to significant performance drops (1.722 and 1.754 bpc, respectively), confirming the necessity of both gates.
- GORU is the only model among those tested that successfully solves both the copying task and the denoising task, highlighting its balanced memory and forgetting mechanisms.
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.