Reduced and Mixed-Precision Block Householder QR Factorization
Abstract
Recent advances in hardware architecture have highlighted the importance of reduced-precision arithmetic for improving performance and reducing energy consumption in large-scale scientific applications. However, uniformly low-precision methods can suffer from numerical instability, especially in fundamental linear algebra routines. Mixed-precision strategies therefore play an important role in balancing efficiency, stability, and accuracy. In this paper, we focus on the block Householder QR decomposition using the WY representation and study its behavior in reduced- and mixed-precision settings. Starting from a uniform half-precision variant, we show that performing norm computations with fp32 accumulation is necessary to avoid overflow and underflow on large matrices. Based on this observation, we introduce mpWYQR, a mixed-precision algorithm that increases the precision of only selected computations and avoids most of the precision conversions required by the existing mixed-precision blocked QR algorithm (mpBQR3) introduced in [L. M. Yang, A. Fox, and G. Sanders, SIAM J. Sci. Comp., 43.3 (2021), pp. A1723--A1753]. Our analysis shows that mpWYQR accuracy is governed by low-precision unit roundoff, and that its error bound exceeds that of mpBQR3 by only a constant factor, with identical heuristic bounds. In experiments across a range of matrix sizes and condition numbers, we show that mpWYQR retains mpBQR3 accuracy while running up to faster and using less memory. We also discuss the performance cost of computing inner products in higher precision, and the library support needed for an efficient GPU implementation.
Create a lesson
Metadata
- Categories
- math.NA, cs.NA
- Comments
- 22 pages
Related papers
Three mixed-precision preconditioners for CholeskyQR
Shared title terminologymath.NAYuqi Liu, Massimiliano Fasi
Schur decomposition with logarithmic precision in cubic time up to logarithmic factors
Shared title terminologymath.NAMatthew J. Colbrook
Adaptive Precision Incomplete Matrix Factorization
Shared title terminologymath.NAAndrew Lister, Theo Mary, Jennifer Scott
Adaptive accuracy-driven splitting in Ozaki matrix multiplication and application to block LU factorization
Shared title terminologymath.NAErin Carson, Yuxin Ma
Mixed-Precision Coalesced Matrix-Free Multigrid with Vertex-Patch Smoothing
Shared title terminologymath.NAMichał Wichrowski
Symmetry-reduced High-index Saddle Dynamics for Saddle Point Search under Continuous Symmetries
Shared title terminologymath.NAYuanshen Lin, Jianyuan Yin, Lei Zhang