Mixed-Precision Orthogonalization-Free Projection Methods for Eigenvalue and Singular Value Problems

Tianshi Xu, Zechen Zhang, Jie Chen, Yousef Saad, Yuanzhe Xi

TL;DR

This paper introduces OFRR (Orthogonalization-Free Rayleigh-Ritz), a novel framework for solving large-scale eigenvalue and singular value problems using mixed-precision arithmetic. By replacing traditional orthogonalization steps (which fail in low precision) with a generalized eigenvalue approach and an "inner-product-free" Hessenberg process, the authors achieve high numerical accuracy and significant GPU speedups without the stability risks of standard low-precision methods.

What Problem Does This Paper Address?

In high-performance computing, using lower precision (like FP16 or BF16) is a "holy grail" because it reduces energy consumption, saves memory, and speeds up communication. However, eigenvalue and Singular Value Decomposition (SVD) tasks are notoriously sensitive to precision.

Standard methods like the Rayleigh-Ritz (RR) projection rely on orthogonalization (usually via QR factorization). In low precision, the "orthogonality" of these basis vectors quickly degrades due to rounding errors. When the basis is no longer perfectly orthogonal, standard solvers produce "spurious" results or fail entirely. The authors aim to break this dependence on orthogonality, allowing researchers to reap the performance benefits of mixed precision without sacrificing the correctness of their spectral analysis.

Methods

The authors propose two major shifts from the status quo:

  1. Orthogonalization-Free Rayleigh-Ritz (OFRR): Instead of forcing a basis $U$ to be orthonormal ($U^T U = I$), they allow $U$ to be merely linearly independent. They then solve a generalized eigenvalue problem: $U^* A U y = \lambda U^* U y$. By explicitly accounting for the non-orthogonality through the "mass matrix" $M = U^* U$, they can extract accurate eigenvalues even from "messy" low-precision bases.
  2. The Krylov-Hessenberg Process: Traditional basis construction (like Gram-Schmidt) is heavy on inner products, which are prone to overflow/underflow in FP16. The authors adapt the Hessenberg process—essentially a variant of LU factorization—to build the subspace. This method is inner-product-free, making it far more stable in low-precision environments.
  3. Mixed-Precision Pipeline: The authors suggest a specific data flow: store large basis vectors in FP16, perform heavy matrix-vector multiplications in FP16 (with FP32 accumulation), and reserve high-precision FP64 only for the final, much smaller projected problem.

Datasets

The algorithms were evaluated on:

  • Synthetic Gaussian Kernel Matrices: Used to simulate different spectral decay properties by varying "length scale" parameters.
  • SuiteSparse Matrix Collection: Real-world matrices including BCSSTK01, BCSSTK03 (structural engineering), and 1138_BUS (power networks).
  • Random Matrices: Used for GPU benchmarking with dimensions up to $50,000 \times 400$.

Key Insights and Ideas

  • Orthogonality is Optional: The "aha moment" is that while orthogonality is convenient for math, linear independence is all that is strictly required for projection. By shifting the complexity to a generalized eigenvalue solver, we can tolerate the "noise" of low-precision arithmetic.
  • Inner Products are the Enemy: In FP16, the limited dynamic range makes summing long vectors (inner products) dangerous. The Hessenberg process avoids this by extracting projection coefficients directly from vector entries, similar to partial pivoting in LU.
  • Right-Looking is Faster: For GPU implementation, "right-looking" variants of these algorithms (which update all trailing columns at once) are significantly faster than "left-looking" versions because they maximize memory bandwidth and utilize BLAS level-3 operations.

Key Results

  • Accuracy: In half-precision (FP16) tests, standard Rayleigh-Ritz methods often showed relative errors near $10^0$ (total failure). In contrast, the OFRR method maintained stable errors (often $10^{-3}$ to $10^{-4}$), effectively reaching the theoretical limit of the precision used.
  • Speedup: On an NVIDIA RTX 3070 Ti, the right-looking Hessenberg implementation achieved over 10x speedup compared to standard left-looking Modified Gram-Schmidt (MGS) across various matrix sizes.
  • Stability: The Hessenberg-based OFRR was shown to be more robust than Classical Gram-Schmidt (CGS) when matrices were numerically low-rank, preventing the basis from collapsing.

Limitations and Future Work

  • Custom Kernel Optimization: The authors note that their GPU kernels are prototypes. They expect even higher performance with further optimizations like memory fusion and architecture-specific block sizing.
  • Linear Independence Risk: While OFRR doesn't need orthogonality, it still requires the basis to be linearly independent. If the matrix is extremely ill-conditioned, the basis could still become singular, though the Hessenberg process with pivoting helps mitigate this.
  • Extension to Other Solvers: The paper focuses on subspace iteration and Krylov methods; extending this "orthogonalization-free" philosophy to other solvers (like Jacobi-Davidson) remains a future direction.

Summary updated

BibTeX
@article{xu2026mixed,
  author = {Tianshi Xu and Zechen Zhang and Jie Chen and Yousef Saad and Yuanzhe Xi},
  title = {{Mixed-Precision Orthogonalization-Free Projection Methods for Eigenvalue and Singular Value Problems}},
  journal = {SIAM J. Sci. Comput.},
  year = {2026},
  doi = {10.1137/25m1756922},
}
Figure