---
title: Iterative Cayley Retraction Overview
url: https://www.emergentmind.com/topics/iterative-cayley-retraction
type: topic
---

# Iterative Cayley Retraction Overview

The iterative Cayley retraction is a computational technique for Riemannian optimization over the Stiefel manifold that enables efficient enforcement of orthonormality constraints on matrix parameters. Leveraging the Cayley transform, this approach provides a numerically effective alternative to classical retraction methods such as QR or polar decompositions, with significant advantages in computational scaling, storage, and practical implementation. Iterative Cayley retractions have been further generalized and localized using adaptive and chart-based parametrizations to enhance both robustness and efficiency in large-scale and non-Euclidean optimization tasks.

## 1. Mathematical Foundations: The Stiefel Manifold and Retractions

The real Stiefel manifold $\operatorname{St}(n, p)$ is defined as the set of $n \times p$ matrices with orthonormal columns:
$$
\operatorname{St}(n, p) = \left\{ X \in \mathbb{R}^{n \times p} : X^\top X = I_p \right\}, \quad n \geq p.
$$
Tangent vectors at $X \in \operatorname{St}(n,p)$ satisfy $X^\top Z + Z^\top X = 0$, and tangents can be written as $\Delta = W X$ for a skew-symmetric $W \in \mathbb{R}^{n \times n}$. A retraction $R_X : T_X\operatorname{St}(n,p) \to \operatorname{St}(n,p)$ is a smooth map agreeing with the exponential map to first order but with lower computational complexity [2002.01113].

## 2. Classical and Iterative Cayley Retraction

Given a tangent vector $\eta \in T_X\operatorname{St}(n,p)$, a canonical skew-symmetric generator is
$$
A = \eta X^\top - X \eta^\top,
$$
with $A^\top = -A$ and $A X = \eta$. The Cayley retraction then writes, for step size $\alpha > 0$ and $W = A$,
$$
R_X(\eta) = (I_n - \tfrac{\alpha}{2} W)^{-1}(I_n + \tfrac{\alpha}{2} W)X,
$$
guaranteeing $Y(0) = X$ and $Y'(0) = \eta$. This closed form, however, involves the inversion of an $n \times n$ matrix, imposing prohibitive $O(n^3)$ costs for large $n$ [2002.01113].

The iterative Cayley retraction circumvents high-cost inversion by recasting the update as a fixed-point equation:
$$
Y = X + \frac{\alpha}{2} W (X + Y),
$$
which is solved for $Y$ via a small number $s$ of inner iterations. This yields an $O(n p^2)$-cost update by exploiting the low-rank structure of $W$, making the method highly competitive for $n \gg p$ compared to QR (≈$2 n p^2$), polar/SVD ($O(n p^2 + p^3)$), or closed-form Cayley ($O(n^3)$) retractions. Empirically, two inner fixed-point steps ($s = 2$) suffice for high accuracy [2002.01113].

## 3. Generalized and Adaptive Cayley Parametrizations

Recent research extends the Cayley retraction to generalized and adaptive schemes suitable for broader subclasses of Stiefel-type optimization problems. The generalized Cayley map uses a center point $S \in O(N)$ to parameterize open dense subsets of the Stiefel manifold:
$$
\Phi_S(U) = 
\begin{pmatrix}
A_S(U) & -B_S(U)^\top \\
B_S(U) & 0
\end{pmatrix}
$$
where $A_S(U)$ and $B_S(U)$ are defined in terms of $S$ and $U$. The inverse $\Phi_S^{-1}$ provides a $C^1$ diffeomorphism from a vector space $Q_{N,p}$ back to the manifold, acting as a retraction [2305.17901, 2312.01014].

This strategy allows any Euclidean optimization algorithm to be applied in $Q_{N,p}$. When iterates approach a singular-point set (where $\det(I_p + S_\mathrm{le}^\top U) = 0$), an adaptive scheme "re-centers" at a new $S$ chosen (e.g., via SVD of the new iterate) to maintain numerical stability and efficiency. Such adaptivity can eliminate slow convergence associated with poor center choice in naive Cayley parametrization [2305.17901].

## 4. Algorithmic Schemes and Computational Complexity

For iterative Cayley retraction, each update involves:

1. Momentum calculation: $M_{k+1} = \beta M_k - \operatorname{Grad}(X_k)$
2. Tangent-space projection: compute $W_k$ from the skew-part of projected $M_{k+1}$
3. Step-size selection: $\alpha = \min \{\ell, 2q/(\|W_k\|+\epsilon)\}$ ensuring contraction
4. $s$ fixed-point iterations: initialize $Y^0 = X_k + \alpha W_k X_k$, update $Y^{i+1} = X_k + \frac{\alpha}{2} W_k (X_k + Y^i)$, set $X_{k+1} = Y^s$

For the generalized Cayley parametrization, the descent is performed in $Q_{N,p}$, with Armijo line search, and recentering when parameter norms indicate approach to chart singularities [2305.17901, 2312.01014].

Per-iteration cost is $O(n p^2 + p^3)$—matching or improving upon QR and polar retractions, and avoiding explicit tangent-vector transports required by classical Riemannian CG/Quasi-Newton methods. The Cayley-parametrization strategy stays entirely in one vector space $Q_{N,p}$ between re-centering, simplifying the use of advanced Euclidean solvers such as accelerated gradients, conjugate gradient (CG), and BFGS without additional vector transport [2305.17901].

## 5. Convergence Properties and Theoretical Guarantees

For the iterative Cayley retraction, the fixed-point iteration exhibits contraction if the step size satisfies $\alpha < \min \{1, 2/\|W\|\}$, and the error decays superlinearly: $\|Y^i - Y(\alpha)\| = O(\alpha^{2+i})$. Under a standard $L$-Lipschitz gradient assumption, the Cayley SGD algorithm achieves a sublinear rate on the Stiefel manifold: $\min_{k=0,\ldots t} \mathbb{E}[\|\nabla_{\operatorname{St}} f(X_k)\|^2] = O(1/\sqrt{t+1})$ [2002.01113].

The adaptive and localized Cayley approaches extend these guarantees: under $C^1$ smoothness of $f$, Lipschitz gradients, and bounded step sizes, every limit point of the iterates is stationary on the Stiefel manifold, i.e., $\liminf_{n \to \infty} \|\nabla (f \circ \Phi_{S_{[\ell(n)]}}^{-1})(V_n)\|_F = 0$. This is a standard "liminf gradient $\to 0$" stationarity result [2305.17901, 2312.01014]. The equivalence of stationarity conditions between the chart space and the manifold is formalized via gradient-chart correspondence theorems [2312.01014].

## 6. Empirical Performance and Applications

In practical deep learning and matrix optimization tasks, the iterative Cayley retraction offers competitive or superior empirical performance. For convolutional neural networks (CNNs) on CIFAR10/CIFAR100 using Wide ResNet-28-10, Cayley SGD and Cayley ADAM achieved errors of $3.66\%/18.26\%$ and $3.57\%/18.10\%$, respectively, with per-epoch cost approximately $219$--$224$ seconds, considerably lower than QR, polar, or closed-form Cayley retractions (which ranged from $306$ to $1072$ seconds per epoch). For unitary RNNs, iterative Cayley reduced the per-iteration training time from $2.10$ s (closed-form Cayley) to $1.42$--$1.50$ s (iterative), maintaining comparable test accuracy ($\sim92.6\%$) [2002.01113].

Generalized and adaptive Cayley schemes have demonstrated efficient optimization in eigen-basis extraction and other problems, with CPU time to convergence being roughly half that of QR/polar methods and 2--3× faster than Cayley-retraction in classical implementations. The adaptive recentering scheme effectively mitigates the slowdowns induced by chart singularities [2305.17901, 2312.01014].

## 7. Connections, Extensions, and Implementation Considerations

The iterative Cayley and generalized Cayley parametrization frameworks provide a foundation for embedding momentum dynamics and vector transport directly into the retraction step. In particular, implicit vector transport is achieved by projecting the momentum update into the tangent space and applying the Cayley retraction, obviating the need for separate, explicit vector transport operations [2002.01113]. 

Further, the flexibility of these approaches enables "local trivialization" of the Stiefel manifold, allowing use of standard Euclidean optimizers transparently. Adaptive chart strategies can be implemented with negligible additional computational cost by leveraging SVD-based center selection ($O(Np^2 + p^3)$). The avoidance of $O(n^3)$ operations and reduced per-iteration flops and storage recommend the iterative Cayley retraction and its generalizations for large-scale learning tasks with strict orthogonality constraints [2305.17901, 2312.01014].

Source: https://www.emergentmind.com/topics/iterative-cayley-retraction