Pivoting and Scaling Policies for Half-Precision LU Factorization
Half-precision arithmetic accelerates LU factorization on modern GPUs, but its narrow dynamic range makes overflow a primary failure mode alongside rounding error and growth. Partial pivoting is inexpensive but can produce unreliable FP16 factors, whereas robust alternatives require costly broader searches. We therefore investigate pivot selection and dynamic-range control as separate, adaptive solver policies. We introduce three lightweight strategies: Delayed Pivoting searches a short column window when candidates nearly tie; Geometric Pivoting resolves ties via candidate-row alignment; and Scattered Pivoting samples separated trailing columns. A unified per-step growth relation characterizes their local behavior. We combine these rules with dynamic scaling, which monitors panel diagonals and rescales trailing columns by powers of two to prevent overflow. Native FP16 experiments on an NVIDIA V100 and simulations on SuiteSparse matrices show that scaling provides the primary robustness mechanism, raising finite-error coverage after iterative refinement from 26 to 55 out of 63 test pairs. However, finite results are not necessarily accurate: ill-conditioned problems may still require robust pivoting or remain unsolved. At \(n=60\text{Ki}\) (\(61{,}440\)), our rules add only \(0.17\%\) – \(0.52\%\) overhead relative to partial pivoting. These findings demonstrate the value of exposing adaptive pivoting and scaling independently rather than enforcing a single fixed policy.
Authors
- Sandra Catalán (ORCID: https://orcid.org/0000-0002-9321-2728)
- José R. Herrero (ORCID: https://orcid.org/0000-0002-4060-367X)
- José I. Aliaga (ORCID: https://orcid.org/0000-0001-8469-764X)
- Nima Sahraneshinsamani (ORCID: https://orcid.org/0009-0003-1065-2133)
Institutions
- Universitat Jaume I (ES)
- Universitat Politècnica de Catalunya (ES)
Publication Details
- Journal
- ACM Transactions on Mathematical Software
- Published
- 2026-12-03
- DOI
- https://doi.org/10.1145/3872852
- Primary Topic
- Matrix Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00