A mixed precision preconditioned Jacobi method for the symmetric eigenvalue problem
Zhiyuan Zhang, Zheng-Jian Bai
TL;DR
This work analyzes the floating-point behavior of Jacobi rotations and develops mixed-precision preconditioned Jacobi methods for both the symmetric eigenvalue problem and the SVD. The core idea is to compute a low-precision eigen-decomposition to obtain a preliminary eigenvector structure, then enforce high-precision orthogonality via Gram-Schmidt to form an accurate initial guess for Jacobi iterations. The authors provide detailed error bounds for single steps and full sweeps under various orderings, and extend the framework to the SVD with a mixed-precision one-sided Jacobi variant. Comprehensive numerical experiments on CPUs and GPUs demonstrate substantial speedups over classical Jacobi while maintaining high accuracy, highlighting the practical potential of mixed-precision Jacobi methods for large-scale linear algebra tasks.
Abstract
The eigenvalue problem is a fundamental problem in scientific computing. In this paper, we first give the error analysis for a single step or sweep of Jacobi's method in floating point arithmetic. Then we propose a mixed precision preconditioned Jacobi method for the symmetric eigenvalue problem: We first compute the eigenvalue decomposition of a real symmetric matrix by an eigensolver at low precision and we obtain a low-precision matrix of eigenvectors; Then by using the high-precision modified Gram-Schmidt orthogonalization process, a high-precision orthogonal matrix is obtained, which is used as an initial guess for Jacobi's method. The rounding error analysis of the proposed method is established under some conditions. We also present a mixed precision preconditioned one-sided Jacobi method for the singular value problem and the corresponding rounding error analysis is discussed. Numerical experiments on CPUs and GPUs are reported to illustrate the efficiency of the proposed method over the original Jacobi method.
