[Paper Review] Kronecker Recurrent Units
Kronecker Recurrent Units (KRU) propose a parameter-efficient RNN architecture using Kronecker-factored recurrent weight matrices with soft unitary constraints to mitigate vanishing/exploding gradients. The method reduces recurrent parameter count by up to three orders of magnitude while matching or exceeding state-of-the-art performance on seven benchmarks, demonstrating that high-dimensional hidden states can be paired with low-capacity recurrent dynamics without performance loss.
Our work addresses two important issues with recurrent neural networks: (1) they are over-parameterized, and (2) the recurrence matrix is ill-conditioned. The former increases the sample complexity of learning and the training time. The latter causes the vanishing and exploding gradient problem. We present a flexible recurrent neural network model called Kronecker Recurrent Units (KRU). KRU achieves parameter efficiency in RNNs through a Kronecker factored recurrent matrix. It overcomes the ill-conditioning of the recurrent matrix by enforcing soft unitary constraints on the factors. Thanks to the small dimensionality of the factors, maintaining these constraints is computationally efficient. Our experimental results on seven standard data-sets reveal that KRU can reduce the number of parameters by three orders of magnitude in the recurrent weight matrix compared to the existing recurrent models, without trading the statistical performance. These results in particular show that while there are advantages in having a high dimensional recurrent space, the capacity of the recurrent part of the model can be dramatically reduced.
Motivation & Objective
- Address the over-parametrization and ill-conditioning of recurrent weight matrices in RNNs, which increase training time and cause vanishing/exploding gradients.
- Overcome the limitations of strict unitary RNNs, which restrict model capacity and hinder generalization on real-world data.
- Develop a parameter-efficient RNN architecture that maintains high performance while drastically reducing the number of recurrent parameters.
- Enable fine-grained control over model capacity through Kronecker factorization and soft unitary constraints.
- Demonstrate that high-dimensional hidden states can be paired with low-capacity recurrent dynamics without sacrificing performance.
Proposed method
- Use Kronecker product factorization to decompose the recurrent weight matrix into smaller, low-dimensional factors, enabling parameter efficiency.
- Enforce soft unitary constraints on the Kronecker factors to stabilize training and prevent gradient explosion/vanishing.
- Maintain the unitary property approximately through regularization, avoiding expensive projection steps required in full unitary RNNs.
- Leverage the spectral properties of Kronecker matrices to enable fast matrix multiplications and efficient gradient computation.
- Use a differentiable soft constraint that allows tuning of the unitarity strength via a hyperparameter, balancing stability and expressivity.
- Apply the method to vanilla RNNs and LSTMs, demonstrating broad applicability across sequence modeling tasks.
Experimental results
Research questions
- RQ1Can Kronecker factorization reduce the number of recurrent parameters in RNNs by orders of magnitude without sacrificing performance?
- RQ2Does enforcing soft unitary constraints on Kronecker factors improve training stability and generalization compared to strict unitary or unregularized RNNs?
- RQ3Can a low-capacity recurrent dynamic still achieve SOTA performance when paired with a high-dimensional hidden state?
- RQ4How does the amplitude of soft unitary constraints affect model performance across diverse sequence modeling tasks?
- RQ5Does the KRU architecture generalize better than strict unitary RNNs on real-world datasets with vanishing long-term dependencies?
Key findings
- KRU reduces the number of parameters in the recurrent weight matrix by up to three orders of magnitude compared to standard RNNs, without trade-off in statistical performance.
- On the JSB Chorales dataset, the best validation performance was achieved with a soft unitary constraint amplitude of 1e-2.
- On the Piano-midi dataset, the optimal soft unitary constraint amplitude was 1e-1, indicating task-dependent sensitivity to constraint strength.
- For the TIMIT phoneme recognition task, the best error rate was achieved at a constraint amplitude of 1e-5, with performance degrading at higher values, suggesting over-regularization.
- The soft unitary constraint provides a principled alternative to gradient clipping, improving convergence and generalization without explicit gradient clipping.
- Experiments show that high-dimensional hidden states can be effectively driven by low-capacity recurrent dynamics, challenging the assumption that high recurrent capacity is essential for performance.
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.