Skip to main content
QUICK REVIEW

[Paper Review] Efficient Riemannian Optimization on the Stiefel Manifold via the Cayley Transform

Jun Li, Fuxin Li|arXiv (Cornell University)|Feb 4, 2020
Stochastic Gradient Optimization TechniquesComputer Science31 references29 citations
TL;DR

This paper proposes Cayley SGD with momentum and Cayley ADAM, two efficient Riemannian optimization algorithms for training deep neural networks with exact orthonormal constraints on parameter matrices via an iterative Cayley transform retraction and implicit vector transport. The methods achieve faster convergence and reduced training time per iteration compared to existing orthonormality-enforcing approaches, while maintaining or improving model performance on CIFAR-10/100 and pixel-by-pixel MNIST tasks.

ABSTRACT

Strictly enforcing orthonormality constraints on parameter matrices has been shown advantageous in deep learning. This amounts to Riemannian optimization on the Stiefel manifold, which, however, is computationally expensive. To address this challenge, we present two main contributions: (1) A new efficient retraction map based on an iterative Cayley transform for optimization updates, and (2) An implicit vector transport mechanism based on the combination of a projection of the momentum and the Cayley transform on the Stiefel manifold. We specify two new optimization algorithms: Cayley SGD with momentum, and Cayley ADAM on the Stiefel manifold. Convergence of Cayley SGD is theoretically analyzed. Our experiments for CNN training demonstrate that both algorithms: (a) Use less running time per iteration relative to existing approaches that enforce orthonormality of CNN parameters; and (b) Achieve faster convergence rates than the baseline SGD and ADAM algorithms without compromising the performance of the CNN. Cayley SGD and Cayley ADAM are also shown to reduce the training time for optimizing the unitary transition matrices in RNNs.

Motivation & Objective

  • To address the high computational cost of Riemannian optimization on the Stiefel manifold in deep learning.
  • To develop an efficient retraction mechanism that avoids expensive matrix inversions for orthonormal matrix updates.
  • To enable momentum-based optimization on the Stiefel manifold by deriving an implicit vector transport via the Cayley transform.
  • To generalize standard SGD and ADAM to the Stiefel manifold while preserving convergence guarantees and computational efficiency.
  • To empirically validate the proposed algorithms on CNNs and RNNs, demonstrating faster convergence and reduced training time.

Proposed method

  • Introduces an iterative Cayley transform for efficient retraction on the Stiefel manifold, replacing costly closed-form matrix inversion with a few matrix multiplications.
  • Derives an implicit vector transport mechanism by combining momentum updates in Euclidean space with the Cayley transform, avoiding explicit parallel transport.
  • Applies the iterative Cayley retraction and implicit vector transport to extend SGD with momentum and ADAM to the Stiefel manifold, resulting in Cayley SGD with momentum and Cayley ADAM.
  • Theoretical analysis proves convergence of Cayley SGD under standard assumptions, with similar convergence behavior expected for Cayley ADAM.
  • Employs the iterative Cayley transform to maintain orthonormality during optimization, with convergence to unitary matrices verified via Frobenius norm error.
  • Uses a projection-based approach to represent vector transport as a tangent space projection, leveraging the Cayley transform's implicit projection property.

Experimental results

Research questions

  • RQ1Can an iterative Cayley transform provide a computationally efficient alternative to closed-form Cayley transforms for Riemannian optimization on the Stiefel manifold?
  • RQ2Does implicit vector transport via the Cayley transform enable effective momentum-based optimization on the Stiefel manifold without explicit parallel transport?
  • RQ3Can Cayley SGD and Cayley ADAM achieve faster convergence and lower training time per iteration than existing orthonormality-enforcing methods in CNNs?
  • RQ4Do the proposed algorithms maintain or improve model performance while enforcing exact orthonormality in both CNNs and RNNs?
  • RQ5How does the iterative Cayley transform compare to the closed-form version in preserving orthonormality during training, especially under numerical precision constraints?

Key findings

  • Cayley SGD and Cayley ADAM achieve faster convergence rates than baseline SGD and ADAM on VGG and Wide ResNet models for CIFAR-10 and CIFAR-100, despite higher per-iteration cost due to orthonormality enforcement.
  • The proposed algorithms reduce training time per iteration by up to 35% compared to the closed-form Cayley transform in full-capacity unitary RNNs on pixel-by-pixel MNIST.
  • The iterative Cayley transform with s=2 iterations achieves a Frobenius norm error of 7.384e-6 for n=116 and 2.562e-5 for n=512, outperforming the closed-form Cayley transform (8.273e-5 and 3.845e-5) due to reduced rounding errors.
  • Cayley SGD and Cayley ADAM achieve comparable or better test accuracy than state-of-the-art orthonormality methods, including Polar, QR, and closed-form Cayley, while being significantly faster.
  • The implicit vector transport mechanism via momentum and Cayley transform maintains effective optimization dynamics without explicit vector transport, enabling stable and efficient training.
  • On the pixel-by-pixel MNIST task, both Cayley SGD and Cayley ADAM achieve 92.8% and 96.9% accuracy, respectively, with training times of 1.42s and 1.50s per iteration on a TITAN Xp GPU, outperforming the closed-form Cayley method (2.10s and 2.44s).

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.