Abstract
Optimizing over the set of orthogonal matrices is a central component in problems like sparse-PCA or tensor decomposition. Unfortunately, such optimization is hard since simple operations on orthogonal matrices easily break orthogonality, and correcting orthogonality usually costs a large amount of computation. Here we propose a framework for optimizing orthogonal matrices, that is the parallel of coordinate-descent in Euclidean spaces. It is based on Givens-rotations, a fast-to-compute operation that affects a small number of entries in the learned matrix, and preserves orthogonality. We show two applications of this approach: an algorithm for tensor decomposition that is used in learning mixture models, and an algorithm for sparse-PCA. We study the parameter regime where a Givens rotation approach converges faster and achieves a superior model on a genome-wide brain-wide mRNA expression dataset.
Introduction
Many fundamental machine learning tasks, including Principal Component Analysis (PCA), Independent Component Analysis (ICA), and various tensor decompositions, involve optimization over the manifold of orthogonal matrices. A significant bottleneck in these problems is that standard gradient-based updates typically move the solution off the manifold. Restoring orthogonality—often via Singular Value Decomposition (SVD) or QR decomposition—requires $O(d^3)$ operations for a $d \times d$ matrix, which becomes prohibitively expensive in high-dimensional settings.
Riemannian Coordinate-Descent via Givens Rotations
This paper proposes a novel framework that adapts the concept of coordinate descent to the orthogonal manifold. Instead of general gradient steps followed by costly projections, the method utilizes Givens rotations. A Givens rotation is a sparse operation that rotates two specific dimensions by an angle $\theta$ while keeping all other dimensions fixed.
The key advantages of this approach are:
- Intrinsic Orthogonality: By construction, applying a Givens rotation to an orthogonal matrix yields another orthogonal matrix. No re-orthogonalization is required.
- Computational Efficiency: Each update costs only $O(d)$ operations, a significant reduction from the $O(d^3)$ cost of full-matrix methods.
- Sparsity: The updates are localized, affecting only two rows or columns at a time, which mirrors the efficiency of coordinate descent in Euclidean space.
The authors demonstrate that the set of all possible Givens rotations forms a basis for the tangent space of the orthogonal manifold, providing a theoretical foundation for this "Riemannian coordinate-descent."
Applications and Results
The framework was applied to two major problems: Sparse PCA and Orthogonal Tensor Decomposition.
Sparse PCA Performance
In Sparse PCA, the goal is to find principal components that are both orthogonal and sparse. The Givens rotation method was compared against the standard Generalized Power Method on gene expression datasets.
As shown in Figure 3, the Givens-based approach achieves higher mean explained variance with significantly fewer floating-point operations (FLOPS). Furthermore, it tends to find solutions with higher sparsity (fewer non-zeros) for the same level of explained variance, suggesting it navigates the non-convex optimization landscape more effectively than power-method-based alternatives.
Robustness and Scalability
The method's performance was further evaluated across different sparsity constraints and component counts to ensure generalizability.
Figure 4 illustrates that the Givens coordinate minimization consistently reaches competitive or superior explained variance levels across a range of settings, often with lower computational overhead. This efficiency enabled the analysis of massive datasets, such as the Allen Brain Atlas mRNA expression data, which contains measurements for 20,000 genes across thousands of locations.
Conclusion
By leveraging the sparse, manifold-preserving properties of Givens rotations, this work provides a scalable alternative for optimization over orthogonal matrices. The proposed coordinate-descent framework avoids the $O(d^3)$ bottleneck of traditional methods, offering improved speed and solution quality in tasks like Sparse PCA and tensor decomposition. Future work may explore parallelizing updates on disjoint index pairs to further accelerate performance on modern hardware.
Summary updated