[Paper Review] Non-normal Recurrent Neural Network (nnRNN): learning long time dependencies while improving expressivity with transient dynamics
This paper proposes nnRNN, a novel recurrent neural network architecture that enhances expressivity by incorporating non-normal dynamics while preserving the stable gradient flow of orthogonal RNNs. By leveraging the Schur decomposition to separate normal and non-normal components of the recurrent weight matrix, nnRNN enables transient dynamics—critical for complex sequence computations—without sacrificing training stability or speed, outperforming orthogonal RNNs on tasks requiring ongoing computations.
A recent strategy to circumvent the exploding and vanishing gradient problem in RNNs, and to allow the stable propagation of signals over long time scales, is to constrain recurrent connectivity matrices to be orthogonal or unitary. This ensures eigenvalues with unit norm and thus stable dynamics and training. However this comes at the cost of reduced expressivity due to the limited variety of orthogonal transformations. We propose a novel connectivity structure based on the Schur decomposition and a splitting of the Schur form into normal and non-normal parts. This allows to parametrize matrices with unit-norm eigenspectra without orthogonality constraints on eigenbases. The resulting architecture ensures access to a larger space of spectrally constrained matrices, of which orthogonal matrices are a subset. This crucial difference retains the stability advantages and training speed of orthogonal RNNs while enhancing expressivity, especially on tasks that require computations over ongoing input sequences.
Motivation & Objective
- Address the limited expressivity of orthogonal RNNs, which restrict the network to only orthogonal eigenspaces despite stable gradient flow.
- Overcome the trade-off between stable long-term dependency learning and computational expressivity in recurrent networks.
- Develop a trainable RNN architecture that retains the spectral stability of orthogonal matrices while allowing non-orthogonal eigenbases to enable transient dynamics.
- Enable explicit control over eigenvalue norms and non-normality to balance gradient stability and computational flexibility.
- Demonstrate that non-normal connectivity emerges naturally in training and improves performance on tasks requiring online computation over sequences.
Proposed method
- Use the Schur decomposition to parametrize the recurrent weight matrix as a product of a unitary matrix and an upper triangular matrix, separating normal (diagonal) and non-normal (off-diagonal) components.
- Decompose the weight matrix into normal and non-normal parts without explicitly computing the full Schur decomposition, enabling efficient optimization.
- Apply independent regularization on the normal part (to maintain unit eigenvalue norms) and the non-normal part (to control transient dynamics).
- Use standard optimization algorithms on the decomposed components, preserving training speed and stability of orthogonal RNNs.
- Introduce a parameter γ to regularize the average eigenvalue norm, allowing controlled deviation from unit norm to balance gradient stability and expressivity.
- Train the network using standard backpropagation with constraints on the normal and non-normal components, enabling dynamic emergence of non-normal structure during learning.
Experimental results
Research questions
- RQ1Can we enhance the expressivity of orthogonal RNNs without compromising their ability to learn long-term dependencies?
- RQ2To what extent do transient dynamics—enabled by non-normal connectivity—improve performance on tasks requiring ongoing sequence computations?
- RQ3Can we maintain the training stability and speed of orthogonal RNNs while allowing non-orthogonal eigenbases?
- RQ4How does the balance between normal and non-normal components affect gradient propagation and model performance?
- RQ5Does the proposed architecture naturally learn non-normal dynamics on tasks that require them, and how does it compare to orthogonal RNNs in such settings?
Key findings
- nnRNN matches the performance of state-of-the-art orthogonal RNNs on tasks like the copy task, where long-term memory is critical, while maintaining similar training speed.
- On tasks requiring online computation over sequences, such as the PTB language modeling task, nnRNN outperforms orthogonal RNNs due to the emergence of non-normal connectivity.
- Trained nnRNN matrices exhibit a mean eigenvalue norm of approximately 0.958 on the PTB task, indicating controlled deviation from unit norm to enable transient dynamics.
- On the copy task, matrices remain nearly normal with a mean eigenvalue norm close to 1.0, confirming that non-normality emerges only when needed.
- The addition of non-normal components increases the model's expressivity by accessing a larger space of spectrally constrained matrices beyond orthogonal ones.
- Regularization on γ (eigenvalue norm) and weight decay on the non-normal part lead to the most stable training and best performance, demonstrating the importance of balancing stability and expressivity.
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.