[Paper Review] Full-Capacity Unitary Recurrent Neural Networks
The paper introduces full-capacity unitary recurrent neural networks (uRNNs) that optimize over all unitary matrices on the Stiefel manifold, proving restricted-capacity parameterizations cannot cover all unitary matrices for N>7 and demonstrating superior performance over LSTMs and prior restricted-uRNNs.
Recurrent neural networks are powerful models for processing sequential data, but they are generally plagued by vanishing and exploding gradient problems. Unitary recurrent neural networks (uRNNs), which use unitary recurrence matrices, have recently been proposed as a means to avoid these issues. However, in previous experiments, the recurrence matrices were restricted to be a product of parameterized unitary matrices, and an open question remains: when does such a parameterization fail to represent all unitary matrices, and how does this restricted representational capacity limit what can be learned? To address this question, we propose full-capacity uRNNs that optimize their recurrence matrix over all unitary matrices, leading to significantly improved performance over uRNNs that use a restricted-capacity recurrence matrix. Our contribution consists of two main components. First, we provide a theoretical argument to determine if a unitary parameterization has restricted capacity. Using this argument, we show that a recently proposed unitary parameterization has restricted capacity for hidden state dimension greater than 7. Second, we show how a complete, full-capacity unitary recurrence matrix can be optimized over the differentiable manifold of unitary matrices. The resulting multiplicative gradient step is very simple and does not require gradient clipping or learning rate adaptation. We confirm the utility of our claims by empirically evaluating our new full-capacity uRNNs on both synthetic and natural data, achieving superior performance compared to both LSTMs and the original restricted-capacity uRNNs.
Motivation & Objective
- Motivate and address vanishing/exploding gradients in recurrent nets using unitary recurrences.
- Assess whether existing unitary parameterizations fully cover the unitary group.
- Develop optimization on the unitary manifold to achieve full-capacity uRNNs.
- Empirically compare full-capacity uRNNs against LSTMs and restricted-capacity uRNNs on diverse tasks.
Proposed method
- The paper analyzes the capacity of structured unitary parameterizations and proves they are restricted for dimensions N>7 using Sard’s theorem.
- It introduces optimization on the Stiefel manifold of unitary matrices to train full-capacity W via a multiplicative Cayley-like update (I + (lambda/2)A)^{-1}(I - (lambda/2)A)W, where A is derived from the gradient.
- It uses RMSprop for all parameters except the recurrence matrix, which uses fixed learning-rate updates on the Stiefel manifold without gradient clipping.
- It implements the approach in Theano and mirrors the restricted uRNN baseline for fair comparison.
- Experiments cover synthetic system identification and long-term memory tasks, speech STFT frame prediction, and pixel-by-pixel MNIST.
Experimental results
Research questions
- RQ1Can a restricted-capacity unitary parameterization represent all unitary matrices for hidden state dimension N?
- RQ2Does training a full-capacity unitary recurrence matrix improve learning and generalization over restricted-capacity uRNNs?
- RQ3How do full-capacity uRNNs perform relative to LSTMs on long-range dependency tasks and real-world data?
- RQ4What empirical gains occur when comparing restricted vs full-capacity uRNNs across synthetic and natural data tasks?
Key findings
- Restricted-capacity parameterizations fail to cover all unitary matrices when N>7.
- Full-capacity uRNNs outperform restricted-capacity uRNNs and LSTMs on several tasks, including long-term memory and speech frame prediction.
- On synthetic system identification, full-capacity uRNNs achieve lower test MSE than restricted-capacity variants for N>7.
- In the copy memory problem with long sequences, full-capacity uRNNs converge to zero cross-entropy whereas restricted-capacity variants do not.
- On speech data (STFT log-magnitude prediction), full-capacity uRNNs yield lower MSE and better perceptual metrics than restricted-capacity counterparts with similar parameters.
- On pixel-by-pixel MNIST, full-capacity uRNNs with comparable parameter counts can match or exceed LSTM performance in some settings, and often outperform restricted-capacity uRNNs.
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.