Towards More Efficient Nystrom Approximation and CUR Matrix Decomposition

Shusen Wang, Zhihua Zhang, Tong Zhang

Introduction

Large-scale Symmetric Positive Semi-Definite (SPSD) matrices are fundamental to many machine learning algorithms, including Support Vector Machines (SVMs) and spectral clustering. However, standard operations on an $n \times n$ matrix, such as inversion or eigenvalue decomposition, are computationally expensive, scaling at $O(n^3)$ or $O(n^2k)$. This paper introduces a "fast model" for SPSD matrix approximation that achieves linear time complexity relative to $n$ while maintaining high accuracy.

The Computational Bottleneck

Existing approximation methods typically face a trade-off between speed and accuracy:

  1. The Nyström Method: While extremely fast, it often suffers from low accuracy. Achieving high precision requires sampling a large number of columns, which can lead to quadratic time complexity.
  2. The Prototype Model (Randomized SVD): This model provides high accuracy but requires $O(n^2c)$ time because it must process the entire matrix to compute the optimal core matrix.

The authors propose a method that is linear in $n$, like Nyström, but reaches the accuracy benchmarks of the prototype model.

The Fast SPSD Matrix Approximation Model

The core of the proposed method is the Fast SPSD Matrix Approximation Model. Standard approximations take the form $K \approx C U C^T$, where $C$ is a sketch of the original matrix $K$. The "fast model" optimizes the calculation of the core matrix $U$ by using a second sketching matrix, $S$.

Table 1: Summary of notation used for SPSD matrix approximation models.

As defined in the notation table above, the core matrix is computed as: $$U^{fast} = (S^T C)^\dagger (S^T K S) (C^T S)^\dagger$$ By choosing $S$ to be a small column-selection matrix, the model only needs to access a tiny fraction of the original matrix $K$. This allows for computation in $O(nc^2)$ time. This logic is also extended to CUR Matrix Decomposition for general matrices, significantly reducing the cost of computing the $U$ matrix from $O(mn)$ to $O(\min\{m, n\})$.

Theoretical Insights

A significant insight of this work is that the Nyström method is a special case of the fast model where the second sketch $S$ is equal to the first sketch $P$. This explains Nyström's potential for inaccuracy—it effectively uses a "noisy" sketch for optimization. By decoupling the columns used for the basis ($C$) from those used to view the matrix ($S$), the fast model achieves a $1 + \epsilon$ relative-error bound in linear time.

Table 2: Required sketch sizes for different sketching methods to satisfy key properties.

The performance of the model is tied to the properties of the sketching matrices used. Table 2 details the required sketch sizes for various methods, such as Leverage Sampling and SRHT, to satisfy the theoretical conditions for these error bounds.

Experimental Evaluation

The authors evaluated the model using several datasets from the LIBSVM repository, including MNIST, USPS, and various kernel approximation tasks.

  • Performance: In empirical tests for Kernel PCA and Spectral Clustering, the Fast Model consistently outperformed the Nyström method, matching the accuracy of the expensive Prototype model at a fraction of the time.
  • Efficiency: The model maintains an $O(nc)$ memory footprint, making it suitable for large-scale problems.
  • CUR Speedup: For general matrices, the time complexity of computing the CUR $U$ matrix was reduced to linear complexity with minimal loss in approximation quality, as demonstrated through image reconstruction tasks.

Conclusion and Future Work

This paper presents a scalable approach to matrix approximation that bridges the gap between efficiency and accuracy. While the current model achieves optimal $\sqrt{n}$ lower bounds, future work may focus on tightening dependencies on the number of columns ($c$) and the error parameter ($\epsilon$). Additionally, the choice of the second sketching matrix $S$ remains a critical factor in scenarios where matrix entry calculation is extremely costly.

Summary updated

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