Finding a low-rank basis in a matrix subspace

Yuji Nakatsukasa, Tasuku Soma, André Uschmajew

TL;DR

This paper introduces a novel algorithm for finding a basis of low-rank matrices for a given matrix subspace. This is a challenging problem with applications in data compression and eigenvalue problems, and the proposed method combines soft and hard thresholding with alternating projections to efficiently find such a basis.

What Problem Does This Paper Address?

The paper tackles the "low-rank basis problem": given a subspace of matrices, find a basis for that subspace where each basis matrix is as low-rank as possible. This is a generalization of finding a sparse basis for a vector subspace. While finding a sparse vector is well-studied, finding a low-rank basis for matrices is more complex. The challenge lies in simultaneously satisfying the subspace constraint and minimizing the rank of each basis matrix, which is an NP-hard problem. Existing methods for low-rank matrix approximation often struggle with subspace constraints or don't directly address finding a basis of low-rank matrices.

Methods

The authors propose a two-phase greedy algorithm.

Phase I: Rank Estimation (Soft Thresholding) This phase aims to estimate the minimum rank and find an initial low-rank matrix. It uses a relaxation of the rank minimization problem to a nuclear norm minimization problem, subject to a Frobenius norm constraint. The core of this phase is an iterative process involving:

  1. Singular Value Shrinkage (Soft Thresholding): A technique that reduces the magnitude of singular values below a certain threshold, effectively aiming to reduce the rank.
  2. Projection onto the Subspace: Ensuring the resulting matrix remains within the given matrix subspace. This process is framed as a block coordinate descent (BCD) method. An adaptive thresholding parameter is used, which is a novel feature compared to prior work.

Phase II: Finding a Matrix of Estimated Rank (Hard Thresholding & Alternating Projections) Once a rank estimate is obtained from Phase I, Phase II refines this by finding a matrix of that specific rank within the subspace. This phase replaces soft thresholding with:

  1. Hard Thresholding (Rank Truncation): Directly setting singular values below the estimated rank to zero.
  2. Alternating Projections: Iteratively projecting between the subspace and the set of matrices with the target rank. This is conceptually similar to Phase I but uses hard thresholding.

The overall algorithm is greedy, finding basis matrices sequentially and ensuring linear independence, potentially using a restart mechanism if linear dependence is detected.

Datasets

Not discussed in the paper. The paper uses synthetically generated data for experiments.

Key Insights and Ideas

  • Generalization of Sparse Vector Problem: The low-rank basis problem is a natural extension of the sparse vector problem, with analogous challenges and potential solutions.
  • Two-Phase Approach: Separating rank estimation (Phase I) from finding a matrix of that rank (Phase II) is crucial for handling the complexity.
  • Adaptive Thresholding: Dynamically adjusting the singular value thresholding parameter in Phase I is important for effective rank estimation.
  • Alternating Projections for Low-Rank Manifolds: The paper demonstrates the effectiveness of alternating projections for finding matrices on the intersection of a subspace and a low-rank manifold.
  • Low-Rank Eigenvectors: The work highlights that eigenvectors of certain matrices (e.g., circulant matrices, graph Laplacians) can themselves be low-rank when matricized, enabling significant compression and accurate computation.

Key Results

  • The proposed algorithm (Algorithm 5) successfully finds low-rank bases for matrix subspaces.
  • Experimental results show that the algorithm can accurately estimate ranks, even when they are not recovered in increasing order.
  • For rank-one basis problems, Phase II is often unnecessary, and the algorithm performs comparably to specialized tensor decomposition methods (like Tensorlab's CP decomposition) in terms of accuracy, though it is slower.
  • The algorithm demonstrates good performance in applications like image separation and computing accurate eigenvectors for near-multiple eigenvalues, where it can achieve significant memory savings.
  • Local convergence analysis for Phase II is provided, showing R-linear convergence under certain genericity assumptions.

Limitations and Future Work

  • NP-Hardness: The core problem of finding a truly minimal rank basis remains NP-hard. The algorithm provides a practical heuristic.
  • Initial Guess Sensitivity: The quality of the initial guess for Phase I can influence the rank estimate and the order in which ranks are recovered. Finding a "good" initial guess is an open problem.
  • Global Convergence Analysis: While local convergence for Phase II is analyzed, a rigorous global convergence analysis for the entire algorithm is still an open problem.
  • Parameter Tuning: The algorithm has several parameters (e.g., $\delta$, $T_{tol}$, $change_{it}$) that require careful tuning, although the authors provide typical values used in experiments.
  • Future Work: The authors suggest exploring parallel restart strategies for linear independence and further investigating the conditions under which low-rank structures appear in eigenvectors of various graph types.

Summary updated

Abstract

For a given matrix subspace, how can we find a basis that consists of low-rank matrices? This is a generalization of the sparse vector problem. It turns out that when the subspace is spanned by rank-1 matrices, the matrices can be obtained by the tensor CP decomposition. For the higher rank case, the situation is not as straightforward. In this work we present an algorithm based on a greedy process applicable to higher rank problems. Our algorithm first estimates the minimum rank by applying soft singular value thresholding to a nuclear norm relaxation, and then computes a matrix with that rank using the method of alternating projections. We provide local convergence results, and compare our algorithm with several alternative approaches. Applications include data compression beyond the classical truncated SVD, computing accurate eigenvectors of a near-multiple eigenvalue, image separation and graph Laplacian eigenproblems.
BibTeX
@article{nakatsukasa2017finding,
  author = {Yuji Nakatsukasa and Tasuku Soma and André Uschmajew},
  title = {{Finding a low-rank basis in a matrix subspace}},
  journal = {Math. Program.},
  year = {2017},
  doi = {10.1007/s10107-016-1042-2},
}
Figure