Skip to main content
QUICK REVIEW

[Paper Review] Fast and accurate optimization on the orthogonal manifold without retraction

Pierre Ablin, Gabriel Peyré|arXiv (Cornell University)|Feb 15, 2021
Matrix Theory and AlgorithmsComputer Science4 citations
TL;DR

This paper proposes the landing algorithm, a fast and numerically stable method for optimizing functions on the orthogonal manifold without using retractions. By evolving iterates via a potential energy that attracts them toward orthogonality, the method avoids expensive matrix operations like exponentials or square roots, relying only on matrix multiplications, resulting in faster convergence and lower orthogonalization error than retraction-based methods, especially in large-scale and deep learning settings.

ABSTRACT

We consider the problem of minimizing a function over the manifold of orthogonal matrices. The majority of algorithms for this problem compute a direction in the tangent space, and then use a retraction to move in that direction while staying on the manifold. Unfortunately, the numerical computation of retractions on the orthogonal manifold always involves some expensive linear algebra operation, such as matrix inversion, exponential or square-root. These operations quickly become expensive as the dimension of the matrices grows. To bypass this limitation, we propose the landing algorithm which does not use retractions. The algorithm is not constrained to stay on the manifold but its evolution is driven by a potential energy which progressively attracts it towards the manifold. One iteration of the landing algorithm only involves matrix multiplications, which makes it cheap compared to its retraction counterparts. We provide an analysis of the convergence of the algorithm, and demonstrate its promises on large-scale and deep learning problems, where it is faster and less prone to numerical errors than retraction-based methods.

Motivation & Objective

  • To address the computational bottleneck of retractions in Riemannian optimization on the orthogonal manifold, especially for large-scale problems.
  • To develop a method that maintains high accuracy in orthogonality while avoiding expensive linear algebra operations such as matrix exponentials or square roots.
  • To reduce numerical error accumulation common in retraction-based methods due to floating-point precision limitations.
  • To provide a viable alternative to trivialization and retraction methods in deep learning applications requiring orthogonal weight matrices.
  • To demonstrate that infeasible optimization via potential-driven dynamics can outperform feasible methods in speed and final orthogonality.

Proposed method

  • The landing algorithm evolves iterates using a continuous flow governed by a potential energy function that penalizes deviation from the orthogonal manifold.
  • The update rule involves only matrix multiplications, avoiding retractions and expensive operations like matrix inversion, exponential, or square root.
  • The potential energy is defined as $ \mathcal{N}(X) = \frac{1}{4}\|XX^\top - I_p\|^2 $, which measures the squared distance to the orthogonal manifold.
  • The method uses a Riemannian gradient descent framework but replaces the retraction step with a direct integration of the dynamics toward the manifold.
  • The algorithm is implemented with momentum and can be combined with standard optimization frameworks like SGD or Adam.
  • Convergence is analyzed both globally and locally, showing that iterates converge to the manifold and to a local minimum of the objective function.
Figure 1: Trajectories of the landing algorithm and of a retraction gradient descent with $p=2$ . The iterates are $2\times 2$ matrices, the $x$ -axis corresponds to coefficient $(1,1)$ of the matrices, and the $y$ -axis to coefficient $(1,2)$ . The retraction method stays on $\mathcal{O}_{p}$ (blac
Figure 1: Trajectories of the landing algorithm and of a retraction gradient descent with $p=2$ . The iterates are $2\times 2$ matrices, the $x$ -axis corresponds to coefficient $(1,1)$ of the matrices, and the $y$ -axis to coefficient $(1,2)$ . The retraction method stays on $\mathcal{O}_{p}$ (blac

Experimental results

Research questions

  • RQ1Can a retraction-free optimization method on the orthogonal manifold achieve comparable or better convergence speed and accuracy than retraction-based methods?
  • RQ2Does avoiding expensive linear algebra operations in each iteration significantly improve computational efficiency, especially for large matrices?
  • RQ3Can an infeasible method that temporarily leaves the manifold still achieve better final orthogonality than feasible methods due to reduced numerical error accumulation?
  • RQ4How does the landing algorithm compare to trivialization methods (e.g., parametrizing weights via matrix exponentials) in terms of training speed and final performance?
  • RQ5In what regimes (e.g., small vs. large batch sizes) does the landing algorithm provide the greatest computational advantage?

Key findings

  • The landing algorithm is up to 50% faster than retraction-based methods in training LeNet5 on MNIST and ResNet18 on CIFAR-10, especially when batch size is small.
  • The method achieves lower orthogonalization error than retraction-based methods, due to reduced accumulation of numerical errors over iterations.
  • On MNIST with LeNet5, the landing algorithm with momentum outperforms all retraction-based methods in both speed and final orthogonality.
  • Trivialization methods with Adam or RMSProp achieve the lowest test error but are an order of magnitude slower due to backpropagating through matrix exponentials at each step.
  • The computational advantage of the landing method diminishes with large batch sizes, where backpropagation dominates the cost, but the benefit in numerical accuracy remains.
  • The landing method maintains high accuracy even in low-precision deep learning frameworks, where retraction-based methods often suffer from drift away from the orthogonal manifold.
Figure 2: Time required to compute $500$ retractions $\tilde{\mathcal{R}}(X,A)$ when $A$ and $X$ are of size $p\times p$ , on a GPU.
Figure 2: Time required to compute $500$ retractions $\tilde{\mathcal{R}}(X,A)$ when $A$ and $X$ are of size $p\times p$ , on a GPU.

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.