Fixed-rank matrix factorizations and Riemannian low-rank optimization

Bamdev Mishra, Gilles Meyer, Silvère Bonnabel, Rodolphe Sepulchre

Abstract

Motivated by the problem of learning a linear regression model whose parameter is a large fixed-rank non-symmetric matrix, we consider the optimization of a smooth cost function defined on the set of fixed-rank matrices. We adopt the geometric framework of optimization on Riemannian quotient manifolds. We study the underlying geometries of several well-known fixed-rank matrix factorizations and then exploit the Riemannian quotient geometry of the search space in the design of a class of gradient descent and trust-region algorithms. The proposed algorithms generalize previous results on fixed-rank symmetric positive semidefinite matrices, apply to a broad range of applications, scale to high-dimensional problems, and confer a geometric basis to recent contributions on the learning of fixed-rank non-symmetric matrices. Numerical experiments suggest that the proposed algorithms compete with the state-of-the-art and that manifold optimization offers an effective and versatile framework for the design of machine learning algorithms that learn a fixed-rank matrix.

Introduction

Many modern machine learning tasks—such as collaborative filtering (movie recommendation), multi-task learning, and dimensionality reduction—rely on finding a large matrix $W$ that is low-rank. A common approach is to represent a rank-$r$ matrix as a product of two smaller matrices, $W = GH^T$. However, this representation is not unique; it is invariant under the action of the general linear group $GL(r)$, meaning $W = (GM^{-1})(HM^T)$ for any invertible matrix $M$. Standard optimization algorithms often struggle with this redundancy, leading to numerical instability and slow convergence, particularly when the factors $G$ and $H$ are poorly scaled relative to one another.

Methodology: Riemannian Quotient Manifolds

We address these challenges by employing Riemannian optimization on quotient manifolds. This approach mathematically "collapses" all equivalent factorizations into a single point on a curved manifold, effectively removing the redundancy of the representation. We explore three specific matrix factorizations, each offering distinct geometric properties:

  1. Full-rank ($W = GH^T$): A generalization of the standard approach designed to handle scaling issues.
  2. Polar ($W = UBV^T$): Where $U$ and $V$ have orthogonal columns and $B$ is a symmetric positive definite matrix.
  3. Subspace-projection ($W = UY^T$): Where $U$ represents the column subspace.
Visualizing the three matrix factorizations (Full-rank, Polar, and Subspace-projection) and their associated search spaces.

For each factorization, we derive the necessary geometric ingredients—tangent spaces, metrics, and retractions—to implement optimization algorithms. The geometry of the quotient manifold allows us to define a search space that respects the underlying symmetries of the factorization, ensuring that the optimization process remains stable and efficient.

Geometric framework of optimization on a Riemannian quotient manifold, illustrating the relationship between the total space, the quotient space, and the mapping of tangent vectors via retractions.

Algorithms and Key Insights

We develop two main classes of algorithms within this framework:

  • Riemannian Gradient Descent (RGD): A first-order method suitable for large-scale problems.
  • Riemannian Trust-Region (RTR): A second-order method that offers faster (quadratic) convergence near the solution.

A key insight from our study of the Polar factorization is that allowing the middle matrix $B$ to be a full symmetric positive definite matrix—rather than strictly diagonal as in a standard Singular Value Decomposition (SVD)—provides the necessary degrees of freedom for smoother convergence. Furthermore, by selecting a specific Riemannian metric, our algorithms become scale-invariant. This prevents the "flattening" of the cost function that typically occurs when one matrix factor becomes significantly larger than the other, a common failure mode for standard Euclidean methods like Maximum Margin Matrix Factorization (MMMF).

Experimental Evaluation

The framework was evaluated primarily on the Low-Rank Matrix Completion problem using large-scale synthetic benchmarks (e.g., $32,000 \times 32,000$ matrices of rank 5).

  • Superior Convergence: The RTR algorithm consistently demonstrated better asymptotic convergence rates compared to state-of-the-art solvers like LMaFit and SVP.
  • Robustness to Unbalance: Riemannian methods remained unaffected by unbalanced initializations of matrix factors, whereas Euclidean-based methods slowed down significantly.
  • Computational Efficiency: All geometric operations (such as projecting a gradient onto the manifold) are designed to be linear in the dimensions of the matrix ($d_1, d_2$), ensuring the approach is scalable to high-dimensional datasets.

Conclusion

Riemannian optimization on quotient manifolds provides a robust and versatile framework for learning fixed-rank matrices. By accounting for the inherent symmetries of matrix factorizations, the proposed algorithms offer improved stability and convergence over standard Euclidean methods. While the current work assumes a fixed rank $r$, it establishes a geometric foundation for future research into automated rank selection and specialized geometries for non-Gaussian noise distributions in matrix completion.

Summary updated

Abstract

Motivated by the problem of learning a linear regression model whose parameter is a large fixed-rank non-symmetric matrix, we consider the optimization of a smooth cost function defined on the set of fixed-rank matrices. We adopt the geometric framework of optimization on Riemannian quotient manifolds. We study the underlying geometries of several well-known fixed-rank matrix factorizations and then exploit the Riemannian quotient geometry of the search space in the design of a class of gradient descent and trust-region algorithms. The proposed algorithms generalize our previous results on fixed-rank symmetric positive semidefinite matrices, apply to a broad range of applications, scale to high-dimensional problems and confer a geometric basis to recent contributions on the learning of fixed-rank non-symmetric matrices. We make connections with existing algorithms in the context of low-rank matrix completion and discuss relative usefulness of the proposed framework. Numerical experiments suggest that the proposed algorithms compete with the state-of-the-art and that manifold optimization offers an effective and versatile framework for the design of machine learning algorithms that learn a fixed-rank matrix.
BibTeX
@inproceedings{mishra2014fixed,
  author = {Bamdev Mishra and Gilles Meyer and Silvère Bonnabel and Rodolphe Sepulchre},
  title = {{Fixed-rank matrix factorizations and Riemannian low-rank optimization}},
  booktitle = {Comput. Stat},
  year = {2014},
  url = {https://openreview.net/forum?id=es1m4ZqpW2c},
}
Figure