Faster Low-Rank Approximation and Kernel Ridge Regression via the Block-Nyström Method

Sachin Garg, Michal Derezinski · DOI

TL;DR

This paper introduces "Block-Nyström," a novel algorithm for approximating large matrices that significantly speeds up computations in machine learning and optimization, especially for datasets with "heavy-tailed" spectral properties. It achieves this by cleverly breaking down a large approximation problem into smaller, manageable blocks, leading to substantial performance gains.

What Problem Does This Paper Address?

Many machine learning tasks, like training complex models or optimizing functions, rely on working with large matrices. When these matrices have a "heavy-tailed" spectrum (meaning their eigenvalues decay slowly), standard approximation techniques like the Nyström method become computationally too expensive. This is a major bottleneck for applying these powerful methods to large, real-world datasets. The authors aim to overcome this limitation by developing a faster and more efficient low-rank approximation method.

Methods

The core innovation is the Block-Nyström method. Instead of a single large Nyström approximation, it constructs multiple smaller Nyström approximations (blocks) and combines them. This "block-diagonal structure" is key.

  • Block-Nyström Construction: The method injects a block-diagonal structure into the Nyström approximation. This is achieved by sampling landmarks in blocks and forming a block-diagonal matrix from the principal submatrices.
  • Bias-Variance Trade-off Optimization: By averaging multiple smaller Nyström approximations, Block-Nyström effectively optimizes the bias-variance trade-off. This is particularly beneficial for heavy-tailed spectra where tail estimates are crucial.
  • Recursive Preconditioning for Fast Inversion: A significant challenge in matrix approximation is efficiently inverting the approximated matrix. The authors propose a recursive preconditioning scheme that allows for near-linear time inversion, a substantial improvement over standard methods.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and algorithmic development, using synthetic matrix properties rather than specific datasets.

Key Insights and Ideas

  • The Power of Blocking: Breaking down a large approximation into smaller, averaged blocks can yield better spectral approximation guarantees than a single large approximation, especially for the "tail" of the spectrum. This is counter-intuitive but mathematically sound.
  • Bias-Variance Trade-off is Key: The effectiveness of Block-Nyström hinges on its ability to manage the bias-variance trade-off. By averaging, it reduces variance in the tail of the spectrum, which is critical for heavy-tailed data.
  • Recursive Preconditioning is a Game-Changer for Inversion: The standard methods for inverting low-rank approximations become computationally prohibitive when the approximation itself is block-structured. The proposed recursive approach cleverly bypasses this by iteratively reducing the problem size, achieving near-linear inversion time.
  • Heavy Tails are Where Block-Nyström Shines: The biggest computational gains are observed when the matrix spectrum is heavy-tailed, precisely where traditional Nyström methods struggle the most.

Key Results

  • Faster Approximation: Block-Nyström provides a A-regularized O(a)-approximation of a psd matrix A with a rank of m = Õ(da2x(A)) in time Õ((nm² + m³)/a² + nm). This is faster than classical Nyström when the effective dimension is large and the spectrum is heavy-tailed.
  • Efficient Inversion: The method allows for applying the inverse of the approximated matrix (A + λI)⁻¹ to a vector in Õ(nma⁰(1)) time, a significant improvement for applications requiring matrix inversion.
  • Improved Preconditioning: Block-Nyström speeds up preconditioning for convex optimization, leading to faster convergence for optimization algorithms.
  • Near-Optimal KRR: In kernel ridge regression (KRR), Block-Nyström achieves near-optimal learning rates with improved computational cost, especially in "unattainable" learning settings where the true hypothesis lies outside the Hilbert space. For instance, it can improve KRR runtime from Õ(n².⁰⁶⁵) to Õ(n².⁰⁴⁴) for certain heavy-tailed spectral distributions.

Limitations and Future Work

  • Theoretical Focus: The paper is primarily theoretical, focusing on guarantees and analysis. Empirical validation on diverse real-world datasets would be a valuable next step.
  • Parameter Tuning: The performance of Block-Nyström might depend on the choice of parameters like a and q (number of blocks), which could require careful tuning in practice.
  • Generalization of Recursive Solver: While the recursive solver is shown to be efficient for Block-Nyström, its broader applicability to other matrix approximation techniques could be explored.
  • Extension to Non-PSD Matrices: The current work focuses on positive semidefinite matrices. Extending the Block-Nyström framework to general matrices could open up new applications.

Summary updated

BibTeX
@inproceedings{garg2025faster,
  author = {Sachin Garg and Michal Derezinski},
  title = {{Faster Low-Rank Approximation and Kernel Ridge Regression via the Block-Nyström Method}},
  booktitle = {Conference on Learning Theory},
  year = {2025},
}
Figure