arXiv:2608.28941math.NAAug 2026

Manuscript Offprint

arXiv:2608.28941

A GPU-Accelerated Blocked Adaptive Randomized Range Finder Based on an Implicit Householder QR Decomposition

Carolin Penke, Andreas Herten

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

1st1^{st} Carolin Penke

Jülich Supercomputing Centre

Forschungszentrum Jülich

Jülich, Germany

c.penke@fz-juelich.de

2nd2^{nd} Andreas Herten

Jülich Supercomputing Centre

Forschungszentrum Jülich

Jülich, Germany

a.herten@fz-juelich.de

Abstract—Low-rank methods can reduce the memory and computational requirements of deep neural network training in approaches such as GaLore. Randomized range finders offer an attractive alternative to singular value decompositions, particularly when the required rank is determined adaptively from a prescribed approximation tolerance. We introduce a blocked adaptive randomized range finder based on an implicit Householder QR decomposition and an optimized hybrid CPU-GPU implementation. The proposed method avoids explicit reorthogonalization. Numerical experiments show that it preserves orthogonality and approximation accuracy in regimes where block Gram–Schmidt without reorthogonalization becomes unstable. The blocked formulation exposes matrix–matrix operations and enables overlap of CPU panel factorization with GPU updates. On an NVIDIA GH200, the overlapped implementation reduces the runtime for the largest tested matrix from 9.91s on the CPU to 0.407s. The method provides a stable and efficient building block for low-rank approximation on heterogeneous systems with applications in computational science and engineering.

Index Terms—randomized numerical linear algebra, randomized range finder, low-rank approximation, Householder QR factorization, GPU acceleration, heterogeneous computing, low-rank deep learning

I. INTRODUCTION

Dominant low-dimensional subspaces of a matrix, and their approximations, form a crucial element in many methods for solving problems in computational science, engineering, and machine learning. For a matrix A, its dominant left singular subspace is spanned by the singular vectors associated with its largest singular values.

Such a subspace, represented by an orthonormal basis in matrix form, can serve as a starting point for efficiently computing an approximate truncated singular value decomposition (SVD). The SVD forms the basis of principal component analysis, a cornerstone of data analysis and feature selection, where directions are identified that capture the largest variation in a dataset.

Our main motivating example comes from the training of deep neural networks. Modern architectures such as transformers place high demands on computation and GPU memory during pre-training and fine-tuning. Low-rank methods reduce these requirements by operating in reduced subspaces. In particular, GaLore and its successors project gradients onto a low-dimensional subspace and represent optimizer states in this reduced space, thereby reducing memory consumption [1]. Efficiently computing a basis for such subspaces is an important component of these methods.

Classical model order reduction also provides applications, for example in the POD method [2].

A common computational problem underlying these examples is the following. Given a matrix A∈Rm×nA \in \mathbb{R}^{m \times n}, the goal is to compute an orthonormal basis Q∈Rm×kQ \in \mathbb{R}^{m \times k} that approximately captures the dominant range of AA, in the sense that

A≈QQTA,QTQ=Ik,(1)A\approx Q Q^{T}A,\qquad Q^{T}Q=I_{k}, \tag{1}

where IkI_{k} denotes an identity matrix of size k. This basis yields the low-rank approximation

A≈QB,B=QTA∈Rk×n.(2)A\approx Q B,\qquad B=Q^{T}A\in\mathbb{R}^{k\times n}. \tag{2}

Given an SVD A=UΣVTA = U \Sigma V^{T}, the Eckart-Young theorem gives a best rank-k approximation by choosing Q as the first k columns of U, yielding

∥A−QQTA∥2=σk+1.\|A-Q Q^{T}A\|_{2}=\sigma_{k+1}.

Computing these vectors through a full SVD, for example through bidiagonalization followed by a divide-and-conquer method, however, is expensive [3]. In many applications, only a low-dimensional dominant subspace basis Q is required, so computing a full factorization performs substantially more work than necessary.

Randomized numerical linear algebra provides efficient alternatives to classical matrix algorithms by incorporating random sampling while retaining numerical or probabilistic guarantees [4], [5]. Randomized range finders are a widely used class of methods for computing dominant subspaces. They can construct a basis either for a prescribed target rank or adaptively until a specified approximation tolerance is reached.

Blocked randomized range finders expose matrix–matrix operations that are well suited to modern memory hierarchies and accelerator architectures such as GPUs. Existing blocked adaptive formulations commonly rely on Gram–Schmidt orthogonalization and explicit reorthogonalization [6], [7]. Besides their numerical stability implications, the resulting dependencies can limit the ability to overlap panel processing with matrix updates in hybrid CPU–GPU implementations.

In this work, we generalize the framework of blocked Householder QR factorizations [8]–[10] to obtain a blocked adaptive randomized range finder. By representing the basis implicitly through blocked Householder reflectors, the resulting formulation avoids explicit reorthogonalization while exposing predominantly matrix–matrix operations. For the GPU implementation, we adapt the hybrid QR factorization strategy used in the GPU-accelerated MAGMA library [11], restructuring the computation to efficiently overlap CPU panel factorization with GPU-based matrix updates. Numerical experiments evaluate both the approximation quality and numerical stability of the proposed formulation as well as the performance of its hybrid CPU–GPU implementation on an NVIDIA GH200.