Abstract
Algorithms in high-performance computing are governed by two primary costs: arithmetic and communication. The latter represents the movement of data between levels of a memory hierarchy or between processors over a network. As the "processor-memory gap" continues to widen, communication has become the dominant factor in both execution time and energy consumption. While theoretical lower bounds for communication in $O(n^3)$ linear algebra algorithms have been established, conventional libraries like LAPACK and ScaLAPACK often fail to reach them. This paper presents a suite of parallel and sequential algorithms for eigenvalue problems and the Singular Value Decomposition (SVD) that asymptotically attain these communication lower bounds.
Introduction
For decades, the optimization of numerical algorithms focused almost exclusively on minimizing floating-point operations (flops). However, in modern computing architectures, arithmetic is relatively inexpensive compared to the cost of moving data. This shift has necessitated a new algorithmic frontier: communication-avoiding linear algebra.
In previous work (Ballard et al., 2010), lower bounds were established for the amount of data movement required for $O(n^3)$ algorithms. This paper addresses the gap between those theoretical limits and the performance of current standard implementations. By introducing randomized spectral divide-and-conquer and successive band reduction techniques, the authors provide a path toward eigenvalue and SVD computations that are no longer throttled by memory bandwidth or network latency.
Algorithmic Frameworks
The authors propose two primary strategies to achieve communication optimality across different matrix types.
1. Randomized Spectral Divide-and-Conquer
Traditional eigenvalue algorithms often rely on reducing a matrix to a condensed form (such as Hessenberg or tridiagonal). In contrast, the spectral divide-and-conquer approach recursively splits the matrix's spectrum into smaller components.
- Implicit Repeated Squaring (IRS): To facilitate the split, the algorithm uses IRS to map eigenvalues inside a specific contour to 0 and those outside to 1.
- Randomized Rank-Revealing QR (RURV): To ensure numerical stability and efficiency during the splitting process, the authors employ a randomized RURV factorization.
- The Role of Randomization: By utilizing Haar-distributed random matrices to "scramble" the input, the algorithm avoids unfavorable eigenvalue clusters. This makes the method robust against a wide variety of input distributions without requiring a-priori knowledge of the spectrum.
2. Successive Band Reduction (SBR)
For symmetric matrices and SVD, the authors utilize Successive Band Reduction. This approach reduces a dense matrix to a banded form, then iteratively narrows the band until a tridiagonal or bidiagonal form is reached. By carefully tuning the block sizes used in these reductions, the algorithms reach communication lower bounds while only increasing the total arithmetic count by a small constant factor (typically between 2x and 2.6x).
Key Insights and Theoretical Contributions
The Communication-Arithmetic Trade-off
A central theme of this research is the willingness to "trade flops for bytes." The randomized divide-and-conquer algorithms perform significantly more arithmetic than traditional methods. However, because they communicate far less, they are projected to be substantially faster on modern hardware where data movement is the primary bottleneck.
Schur Form and Lower Bounds
The authors provide a critical proof showing that the communication complexity of computing the QR decomposition can be reduced to that of computing the Schur form. This allows the extension of known communication lower bounds for simpler matrix factorizations to the more complex eigenvalue problem.
Pseudospectrum Awareness
In the non-symmetric case, eigenvalues can be extremely sensitive to perturbations. The proposed algorithms are designed to be "pseudospectrum aware," returning a convex hull of the $\epsilon$-pseudospectrum. This provides a more numerically honest representation of the spectrum in the presence of noise or ill-conditioning.
Results and Validation
The algorithms were validated using synthetic numerical experiments, including normal matrices with random eigenvalues and non-normal matrices featuring Jordan blocks. These tests confirmed that the randomized RURV approach is numerically stable and avoids the convergence pitfalls of earlier "inverse-free" spectral methods.
Most importantly, the algorithms attain the following theoretical lower bounds:
- Sequential Bandwidth: $\Omega(n^3 / \sqrt{M})$, where $M$ is the size of fast memory.
- Parallel Bandwidth: $\Omega(n^2 / \sqrt{P})$, where $P$ is the number of processors.
Conclusion and Future Work
This work demonstrates that it is possible to reach the theoretical limits of communication efficiency for the most challenging problems in linear algebra. While the arithmetic overhead remains a point of optimization, the transition to communication-avoiding algorithms is essential for the next generation of exascale computing. Future research will focus on minimizing parallel latency (the number of messages sent) and developing full-scale implementations to identify the specific hardware thresholds where these algorithms outperform traditional libraries.
Summary updated