Non-normal Recurrent Neural Network (nnRNN): learning long time dependencies while improving expressivity with transient dynamics
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Character-level Prediction | PTB (test) | BPC (Test)1.47 | 42 | |
| Sequential Image Classification | MNIST ordered pixel-by-pixel 1.0 (test) | Accuracy96.2 | 32 | |
| Keyword Spotting | Google Speech Commands Google12 V2 (test) | Accuracy92.3 | 22 | |
| Sequential Image Recognition | sMNIST | Test Accuracy98.4 | 16 | |
| Heart-rate prediction | PPG data TSR archive (test) | Test L2 Error1.63 | 13 | |
| Sequential Image Recognition | nCIFAR-10 | Test Accuracy52.9 | 8 | |
| System prediction | FitzHugh-Nagumo (test) | L2 Error230 | 6 |