Efficient Optimization with Orthogonality Constraint: a Randomized Riemannian Submanifold Method

Andi Han, Pierre-Louis Poirion, Akiko Takeda

Introduction

Optimization problems involving orthogonality constraints—where variables must satisfy $X^\top X = I_p$—are ubiquitous in machine learning, appearing in tasks ranging from Principal Component Analysis (PCA) to the training of orthogonal neural networks. These constraints define the Stiefel manifold, a curved geometric space. While Riemannian optimization methods are designed to navigate such spaces, they often encounter a significant computational bottleneck: the retraction operation.

Retraction is the process of mapping a point from a flat tangent space back onto the curved manifold. For large-scale matrices of dimension $n \times p$, standard retractions like QR decomposition or Singular Value Decomposition (SVD) carry a heavy computational cost of $O(np^2)$. As model dimensions grow, this step becomes prohibitively expensive, limiting the scalability of traditional Riemannian techniques.

The RSDM Framework

To address this bottleneck, we introduce Riemannian Random Submanifold Descent (RSDM). The core innovation of RSDM is to restrict each optimization update to a randomly selected, low-dimensional submanifold. Instead of updating the entire matrix $X$ in the full Stiefel manifold, RSDM parameterizes the update through the action of the orthogonal group $O(n)$, effectively updating the variable as $X_{k+1} = U_k X_k$. Here, $U_k$ is a random orthogonal matrix that confines the update to a small $r$-dimensional slice of the manifold.

Conceptual illustration of the random submanifold method on a 2-sphere. Each update is restricted to a 1D circular submanifold, simplifying the projection back to the surface.

By focusing on these submanifolds, the cost of the retraction operation is slashed from $O(np^2)$ to just $O(r^3)$. The paper explores two primary sampling strategies for these submanifolds:

  1. Uniform Orthogonal Sampling: $U_k$ is sampled from the Haar measure on $O(n)$, providing strong theoretical convergence guarantees at a per-iteration cost of $O(npr)$.
  2. Uniform Permutation Sampling: $U_k$ is derived from a random permutation matrix. This approach is exceptionally efficient ($O(nr^2)$) as it utilizes sparse indexing and small-scale rotations, making it highly suitable for modern GPU architectures.

Beyond the Stiefel manifold, the framework naturally extends to quotient manifolds like the Grassmann manifold and flag manifolds, making it a versatile tool for various geometric optimization tasks.

Theoretical and Empirical Performance

RSDM is backed by rigorous theoretical analysis, demonstrating convergence for general nonconvex functions and those satisfying the Riemannian Polyak–Łojasiewicz (PL) condition. This holds true even in stochastic settings where only noisy gradients are available.

Empirically, RSDM demonstrates superior performance across a variety of benchmarks, including the Procrustes problem and large-scale PCA. When compared against standard Riemannian Gradient Descent (RGD) and other state-of-the-art "retraction-free" methods like Landing and PCAL, RSDM consistently achieves faster convergence in terms of wall-clock time.

Convergence performance on Procrustes and PCA benchmarks. RSDM variants (purple and pink) demonstrate significantly faster convergence relative to time compared to established baselines.

In high-dimensional PCA experiments (e.g., $n=3000, p=2500$), RSDM reached high precision while competing methods were still in the early stages of optimization. Furthermore, in deep learning applications such as training Orthogonal Vision Transformers (O-ViT) on CIFAR10, RSDM not only converged faster but also achieved higher final test accuracy. This suggests that the randomized nature of the submanifold selection may provide a beneficial regularization effect or help the optimizer escape local minima.

Conclusion and Future Directions

RSDM offers a scalable and efficient solution for optimization with orthogonality constraints by leveraging the power of random submanifolds. Its benefits are most pronounced in large-scale settings where $p$ is close to $n$. Future work will explore hybrid methods that adaptively switch between full and submanifold updates, as well as the integration of RSDM with second-order optimization techniques and adaptive learning rate schemes.

Summary updated

BibTeX
@inproceedings{han2025efficient,
  author = {Andi Han and Pierre-Louis Poirion and Akiko Takeda},
  title = {{Efficient Optimization with Orthogonality Constraint: a Randomized Riemannian Submanifold Method}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=9JpzL95oYE},
}
Figure