Bayesian Extensive-Rank Matrix Factorization with Rotational Invariant Priors

Farzad Pourkamali, Nicolas Macris

Abstract

Matrix factorization (MF) is a cornerstone of modern data science, traditionally optimized for the low-rank regime. However, many contemporary applications involve the "extensive-rank" regime, where the rank scales linearly with matrix dimensions. This paper explores a Bayesian approach to extensive-rank MF using rotationally invariant priors. By integrating techniques from statistical mechanics and random matrix theory, the authors derive optimal spectral algorithms. They demonstrate that Rotation Invariant Estimators (RIEs) can achieve the theoretical minimum mean-square error, effectively matching the performance of an oracle estimator in the large-dimension limit.

Introduction

Matrix factorization aims to decompose a noisy observation matrix $S$ into two hidden factors, $X$ and $Y$, typically expressed as $S = \sqrt{\kappa}XY + W$, where $W$ is additive noise and $\kappa$ denotes the signal-to-noise ratio. While the low-rank case is well-studied, the extensive-rank regime remains a theoretical challenge. In this setting, standard tools like Approximate Message Passing (AMP) often become sub-optimal. The primary difficulty lies in finding estimators that minimize Mean Square Error (MSE) while overcoming the rotation ambiguity inherent in high-dimensional factorizations.

Methodology

The researchers adopt a Bayesian perspective, assuming the priors for $X$ and $Y$ are rotationally invariant. This assumption focuses the estimation on the eigenvalues and singular values rather than the specific orientation of eigenvectors.

Key Techniques

  • Rotation Invariant Estimators (RIEs): These estimators share the same eigenvectors or singular vectors as the observation matrix $S$. The goal is to identify the optimal denoising function for the observed eigenvalues.
  • The Replica Method: Borrowed from the physics of disordered systems, this method allows for the derivation of the "resolvent" of the matrices, tracking signal-noise interactions in high dimensions.
  • Random Matrix Theory (RMT): Stieltjes transforms and Rectangular R-transforms are used to describe the distribution of singular values as the matrix size $N \to \infty$.
  • Symmetry Breaking: To bypass rotation ambiguity, the authors impose symmetry on one factor (e.g., $X$), facilitating unique identification.

Key Results: The Oracle Match

The most significant insight is that RIEs, which rely only on the observation $S$ and the statistics of the priors, perform as well as an "Oracle Estimator" with access to the ground-truth matrices.

Figure 1: Comparison of MSE for RIEs and Oracle estimators across different signal-to-noise ratios $\kappa$. The plots show near-perfect overlap for estimating (a) factor $X$, (b) factor $Y$, and (c) the product $XY$.

As illustrated in Figure 1, the MSE of the proposed RIEs is virtually indistinguishable from the Oracle MSE across various signal-to-noise ratios. Panel (c) further demonstrates that while factorizing $X$ and $Y$ is fundamentally more difficult than denoising the product $XY$, the RIEs handle both tasks effectively. The results also indicate that performance improves as the aspect ratio (rows to columns) decreases, providing more data samples relative to features.

Discussion and Limitations

While powerful, the approach has several caveats:

  1. Mathematical Rigor: The derivation relies on the Replica Method, which is widely used in physics but remains challenging to prove rigorously in mathematics.
  2. Rotational Invariance: The estimators are specifically designed for rotationally invariant priors and do not natively account for structures like sparsity or non-negativity. However, they can provide a robust "spectral initialization" for more complex pipelines.
  3. Computational Cost: The algorithm requires Singular Value Decomposition (SVD) and numerical approximation of transforms, which may be intensive for massive datasets.

Conclusion

This work provides a new map for the "Wild West" of extensive-rank matrix factorization. By proving that the true posterior mean is a Rotation Invariant Estimator for rotationally invariant priors, the authors establish a benchmark for Bayesian optimality. This methodology could potentially be extended to analyze the extensive-rank weight matrices in deep neural networks, offering a new window into how complex models represent information.

Summary updated

BibTeX
@inproceedings{pourkamali2023bayesian,
  author = {Farzad Pourkamali and Nicolas Macris},
  title = {{Bayesian Extensive-Rank Matrix Factorization with Rotational Invariant Priors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=ca2QmdOlIh},
}
Figure