Skip to main content
QUICK REVIEW

[Paper Review] On orthogonality and learning recurrent networks with long term dependencies

Eugene Vorontsov, Chiheb Trabelsi|arXiv (Cornell University)|Jan 31, 2017
Sparse and Compressive Sensing TechniquesEngineering17 references114 citations
TL;DR

The paper analyzes how constraining recurrent weight matrices to orthogonality affects optimization, convergence, and performance, proposing a factorized W = U S V^T with margins on singular values and geodesic updates on Stiefel manifolds to control expansion/contraction during backpropagation.

ABSTRACT

It is well known that it is challenging to train deep neural networks and recurrent neural networks for tasks that exhibit long term dependencies. The vanishing or exploding gradient problem is a well known issue associated with these challenges. One approach to addressing vanishing and exploding gradients is to use either soft or hard constraints on weight matrices so as to encourage or enforce orthogonality. Orthogonal matrices preserve gradient norm during backpropagation and may therefore be a desirable property. This paper explores issues with optimization convergence, speed and gradient stability when encouraging or enforcing orthogonality. To perform this analysis, we propose a weight matrix factorization and parameterization strategy through which we can bound matrix norms and therein control the degree of expansivity induced during backpropagation. We find that hard constraints on orthogonality can negatively affect the speed of convergence and model performance.

Motivation & Objective

  • Investigate how hard orthogonality constraints impact learning dynamics in recurrent networks with long-term dependencies.
  • Develop a factorized weight parameterization to bound expansion/contraction during backpropagation.
  • Evaluate how relaxing/softening orthogonality affects convergence speed and task performance on memory-heavy and real-data tasks.
  • Examine spectral evolution and gradient behavior under different margins and activations across synthetic and real tasks.

Proposed method

  • Parameterize weight matrices with W = U S V^T, where U and V are orthogonal and S contains singular values.
  • Maintain orthogonality of U and V using Cayley transforms on Stiefel manifolds (geodesic gradient descent).
  • Constrain singular values with a margin m around 1 via a sigmoidal parameterization s_i = 2m(σ(p_i) - 0.5) + 1, and adjust learning rates to account for margin.
  • Allow deviation from orthogonality by updating S off-manifold under controlled margins; normalize spectrum updates to manage step sizes.
  • Compare hard (margin-based) and soft orthogonality constraints across synthetic memory tasks (copy, adding) and real data (sequential MNIST/pMNIST, PTB character prediction).
  • Employ RMSprop and geoSGD with specified learning rates; apply gradient clipping and weight decay; test with tanh, ReLU, PReLU, and OPLU activations.

Experimental results

Research questions

  • RQ1Does enforcing hard orthogonality in recurrent weight matrices improve gradient flow and training stability for long-sequence tasks?
  • RQ2Can a margin-bounded singular value parameterization preserve expressiveness while controlling spectral norms and gradient expansion?
  • RQ3How do hard vs soft orthogonality constraints affect convergence speed and final accuracy on synthetic memory tasks and real-world sequence tasks?
  • RQ4How does the combination of geodesic updates on U and V with spectrum margin adjustments influence learning dynamics and task performance?

Key findings

  • Hard orthogonality guarantees stable gradient norms but can slow convergence and hurt performance on some tasks.
  • Loosening orthogonality constraints via spectral margins often speeds convergence and improves performance on memory tasks like copy/add and sequential MNIST.
  • Nonlinearities and activation choices interact with spectral constraints, with certain activations (e.g., tanh, ReLU, OPLU) affecting memory tasks differently.
  • Singular value distributions tend to stay within prescribed bounds under margins, and orthogonally initialized models maintain near-unit spectra during training on long-memory tasks.
  • For PTB character prediction, constraining deviation from orthogonality can be beneficial, suggesting task-dependent effects of orthogonality constraints.
  • Larger spectral margins can hinder convergence on very long sequences, while small margins (e.g., m = 0.1) often yield best results on MNIST tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.