On a randomized small-block Lanczos method for large-scale null space computations
Daniel Kressner, Nian Shao
TL;DR
The paper tackles large-scale null-space computation for sparse matrices by introducing a randomized small-block Lanczos method applied to $B = A^{\mathsf{T}}A + \varepsilon D$, where a small diagonal perturbation $\varepsilon D$ and a random initial guess enable reliable convergence even for $d=1$. It provides a perturbation theory that shows zero-eigenvalue repulsion and analyzes how the perturbation affects the null-space residual, followed by a self-contained convergence analysis for single-vector Krylov subspaces and Rayleigh–Ritz extraction. Practical enhancements including restarting, partial reorthogonalization, and preconditioning are developed, and a detailed algorithm with pseudocode is presented. Numerical experiments on graph connectivity and cohomology problems demonstrate memory and computational advantages over traditional null-space solvers and large-block Lanczos, particularly when the nullity is moderate and memory is constrained. The work establishes a solid theoretical understanding for $d=1$ and offers a scalable, efficient framework for incremental null-space computation in large-scale settings, with Open questions remaining for $d>1$ scenarios.
Abstract
Computing the null space of a large sparse matrix $A$ is a challenging computational problem, especially if the nullity -- the dimension of the null space -- is not small. When applying a block Lanczos method to $A^\mathsf{T} A$ for this purpose, conventional wisdom suggests to use a block size $d$ that is not smaller than the nullity. In this work, we show how randomness can be utilized to allow for smaller $d$ without sacrificing convergence or reliability. Even $d = 1$, corresponding to the standard single-vector Lanczos method, becomes a safe choice. This is achieved by using a small random diagonal perturbation, which moves the zero eigenvalues of $A^\mathsf{T} A$ away from each other, and a random initial guess. We analyze the effect of the perturbation on the attainable quality of the null space and derive convergence results that establish robust convergence for $d=1$. As demonstrated by our numerical experiments, a smaller block size combined with restarting and partial reorthogonalization results in reduced memory requirements and computational effort. It also allows for the incremental computation of the null space, without requiring a priori knowledge of the nullity. Our algorithm is best suited for situations when the nullity of $A$ is moderate.
