Towards More Efficient SPSD Matrix Approximation and CUR Matrix Decomposition

Shusen Wang, Zhihua Zhang, Tong Zhang

TL;DR

This paper introduces a "fast SPSD matrix approximation model" that achieves nearly the same accuracy as existing "prototype" methods but with significantly improved efficiency, approaching linear time complexity. This new method also offers a more efficient way to compute CUR matrix decompositions, making large-scale data analysis tasks more feasible.

What Problem Does This Paper Address?

Many machine learning techniques, particularly those involving kernel methods and graph analysis, rely on computations with large, dense, symmetric positive semi-definite (SPSD) matrices. Standard methods for tasks like eigenvalue decomposition and matrix inversion become computationally prohibitive as the size of these matrices (denoted by n) grows. Existing approximation methods, like the Nyström method, are efficient but often lack accuracy, while more accurate methods (like the "prototype model") are too slow for large datasets. The core challenge is to find a method that is both computationally efficient (ideally linear in n) and highly accurate, comparable to the best possible low-rank approximations.

Methods

The paper proposes a "fast SPSD matrix approximation model" that builds upon existing sketching techniques. The core idea is to approximate the solution to an optimization problem that underlies matrix approximation. Instead of directly solving the expensive optimization problem for the "prototype model," the authors introduce a new sketching matrix S alongside the existing sketching matrix P. This allows them to solve a "whitened" version of the problem, significantly reducing computational cost.

Key aspects of their method include:

  • Fast SPSD Matrix Approximation Model: This model uses two sketching matrices, P and S, to efficiently compute a matrix U such that K ≈ CUCT, where C = KP. The model's efficiency comes from trading off some computational effort in the sketching process for a much faster computation of U.
  • Connection to Nyström and Prototype Models: The Nyström method is shown to be a special case of their fast model where S = P, and the prototype model is a special case where S = In (the identity matrix). This unified perspective helps explain the accuracy-efficiency trade-offs of existing methods.
  • CUR Matrix Decomposition Extension: The authors show that their fast model can be directly applied to accelerate CUR matrix decomposition, reducing the time complexity for computing the U matrix from O(mn) to O(min{m, n}).

Datasets

The paper evaluates its methods on several standard datasets for kernel approximation, classification, and clustering tasks. These include:

  • Kernel Approximation: Letters, PenDigit, Cpusmall, Mushrooms, WineQuality.
  • Classification: MNIST, PenDigit, USPS, Mushrooms, Gisette, DNA.
  • Spectral Clustering: Datasets from Table 7 (not explicitly named but implied to be for clustering).

The paper does not introduce new benchmarks but uses established datasets to demonstrate the effectiveness of its proposed algorithms.

Key Insights and Ideas

  • Unified Framework for Matrix Approximation: The paper provides a unifying perspective on existing methods like Nyström and the prototype model by showing they are special cases of a more general "fast model." This helps explain why Nyström is fast but less accurate, and the prototype is accurate but slow.
  • Efficiency Through "Whitening": The core innovation is using a second sketching matrix S to "whiten" the problem, allowing for a much faster computation of the U matrix without sacrificing significant accuracy.
  • Linear Time Achievability: The proposed fast model demonstrates that achieving near-best-rank approximation accuracy can be done in time that is linear in the matrix size n, a significant improvement over existing quadratic-time methods.
  • Broad Applicability: The techniques are shown to be effective not only for SPSD matrices but also for general matrices via CUR decomposition, highlighting their broad impact.

Key Results

  • Accuracy: The fast SPSD matrix approximation model achieves accuracy comparable to the prototype model, with an error bound of ||K - CUfastCT ||F ≤ (1 + €)||K - Kk ||F with high probability, where Kk is the best rank-k approximation.
  • Efficiency: The time complexity for computing the U matrix is reduced to O(nc²/e + nc²d/e) (for kernel approximation) or O(cre⁻¹·min{m, n} · min{c, r}) (for CUR decomposition), which is significantly faster than existing methods, often approaching linear time in n.
  • Empirical Performance: Experiments show that the fast model is nearly as accurate as the prototype model even with much smaller sketching sizes (s), and significantly more accurate than the Nyström method for comparable computational costs. For classification tasks, the fast model also shows superior performance.

Limitations and Future Work

  • Sketch Size Dependence: While the fast model is efficient, its performance still depends on the choice of sketching matrix sizes (c and s). The paper suggests optimal settings for s (e.g., s = O(c√n/e)) but notes that larger s leads to higher accuracy and cost.
  • Suboptimal Dependence on Parameters: The paper mentions that the dependence on c and ε in the error bounds might be suboptimal and could potentially be improved.
  • Future Work: The authors suggest that their techniques have broad applications beyond SPSD approximation and CUR decomposition, implying potential for further research in related areas. The paper also notes that while uniform sampling for S is practical, leverage score sampling can offer stronger theoretical guarantees.

Summary updated

BibTeX
@article{wang2016towards,
  author = {Shusen Wang and Zhihua Zhang and Tong Zhang},
  title = {{Towards More Efficient SPSD Matrix Approximation and CUR Matrix Decomposition}},
  journal = {J. Mach. Learn. Res.},
  year = {2016},
}
Figure