Scalable QR Factorisation of Ill-Conditioned Tall-and-Skinny Matrices on Distributed GPU Systems
The QR factorisation is a cornerstone of numerical linear algebra, essential for solving overdetermined linear systems, eigenvalue problems, and various scientific computing tasks. However, computing it for ill-conditioned tall-and-skinny (TS) matrices on large-scale distributed-memory systems, particularly those with multiple GPUs, presents significant challenges in balancing numerical stability, high performance, and efficient communication. Traditional Householder-based QR methods provide numerical stability but perform poorly on TS matrices due to their reliance on memory-bound kernels. This paper introduces a novel algorithm for computing the QR factorisation of ill-conditioned TS matrices based on CholeskyQR methods. Although CholeskyQR is fast, it typically fails due to severe loss of orthogonality for ill-conditioned inputs. To solve this, our new algorithm, mCQRGSI+, combines the speed of CholeskyQR with stabilising techniques from the Gram–Schmidt process. It is specifically optimised for distributed multi-GPU systems, using adaptive strategies to balance computation and communication. Our analysis shows the method achieves accuracy comparable to Householder QR, even for extremely ill-conditioned matrices (condition numbers up to 1016). Scaling experiments demonstrate speedups of up to 12× over ScaLAPACK and 16× over SLATE’s CholeskyQR2. This work delivers a method that is both robust and highly parallel, advancing the state-of-the-art for this challenging class of problems.
Authors
- Nenad Mijić (ORCID: https://orcid.org/0000-0001-7738-5007)
- Dario Živković (ORCID: https://orcid.org/0000-0001-6139-3969)
- Abhiram Kaushik (ORCID: https://orcid.org/0000-0003-1313-5070)
- Davor Davidović (ORCID: https://orcid.org/0000-0003-2649-9236)
Institutions
- University of Helsinki (FI)
- Helsinki Institute of Physics (FI)
- Ruđer Bošković Institute (HR)
- University of Jyväskylä (FI)
Publication Details
- Journal
- Mathematics
- Published
- 2025-11-11
- DOI
- https://doi.org/10.3390/math13223608
- Primary Topic
- Matrix Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Sveučilište u Zagrebu
- Hrvatska Zaklada za Znanost
- European Regional Development Fund