Papers
Topics
Authors
Recent
Search
2000 character limit reached

Adaptive Randomized Rank-Revealing Algorithm

Updated 8 July 2026
  • The paper introduces an adaptive randomized algorithm that incrementally builds an orthonormal basis until the residual error falls below a set tolerance, ensuring near-optimal low-rank factorization.
  • The method employs blocked randomized sampling, re-orthogonalization, and optional power iterations to efficiently capture the matrix subspace while reducing communication overhead.
  • The adaptive strategy allows precise residual monitoring and robust error bounds, achieving accuracy comparable to classical QR and SVD methods without heavy pivoting.

Searching arXiv for the cited papers to ground the article in current records. Adaptive randomized rank-revealing algorithms are randomized low-rank factorization procedures that take a matrix and a tolerance, build an approximate range basis incrementally, and stop when a residual criterion indicates that the requested accuracy has been met. In the blocked scheme of Martinsson and Voronin, the output may be a QB decomposition, a postprocessed partial QR factorization, or a partial SVD; the rank is not prescribed in advance but is chosen adaptively so that the residual falls below ε\varepsilon, and in the reported experiments the computed rank is very close to the optimal ε\varepsilon-rank (Martinsson et al., 2015).

1. Definition and rank-revealing objective

In the core formulation, the input is an m×nm\times n matrix AA and a tolerance ε>0\varepsilon>0, with mnm\ge n assumed without loss of generality and real and complex cases treated similarly. The primary output is an approximate low-rank factorization of AA, usually written either as

AQB,A \approx Q B,

with QRm×kQ\in\mathbb{R}^{m\times k} orthonormal and BRk×nB\in\mathbb{R}^{k\times n}, or as a postprocessed partial QR factorization

ε\varepsilon0

or as a partial SVD

ε\varepsilon1

The defining feature is adaptivity: ε\varepsilon2 is an output of the algorithm rather than an input, and the stopping rule is tied to the requested error tolerance (Martinsson et al., 2015).

The rank-revealing target is usually expressed relative to the optimal ε\varepsilon3-rank. In Frobenius norm, the optimal ε\varepsilon4-rank ε\varepsilon5 is the smallest integer such that

ε\varepsilon6

The blocked adaptive QB method monitors the residual

ε\varepsilon7

and stops when it falls below ε\varepsilon8. This makes the procedure rank-revealing in a direct operational sense: the computed basis is enlarged only until the tolerance is met, rather than until a preassigned target dimension has been reached (Martinsson et al., 2015).

A broader literature uses the same design principle with different factorizations and stopping signals. Some methods track Frobenius residuals, some track trailing QR blocks, and some use sketch-based strong RRQR criteria. This suggests that “adaptive randomized rank-revealing algorithm” is best understood as a family of randomized low-rank methods organized around adaptive rank determination rather than as a single canonical factorization.

2. Core blocked adaptive QB construction

The central blocked algorithm begins with randomized sampling of the column space. A Gaussian test matrix ε\varepsilon9 is drawn, with oversampling m×nm\times n0 denoted m×nm\times n1 in the original paper and typical m×nm\times n2. The sampled matrix is

m×nm\times n3

and an orthonormal basis is extracted as

m×nm\times n4

When stronger spectral concentration is needed, optional power iterations are used, either in unblocked form

m×nm\times n5

with re-orthonormalization between applications of m×nm\times n6 and m×nm\times n7, or in blocked form through alternating m×nm\times n8 and m×nm\times n9 steps (Martinsson et al., 2015).

The blocked variant constructs AA0 incrementally. For block AA1, one draws AA2, forms AA3, optionally applies AA4 power steps, and then reprojects against previously computed blocks:

AA5

The projected coefficient block is

AA6

and the global factors are assembled as

AA7

Blocking is essential because it replaces pivot-heavy matrix-vector style updates with matrix-matrix multiplies such as AA8 and AA9, which are more communication-efficient and better suited to BLAS-3 execution (Martinsson et al., 2015).

Two standard postprocessing paths turn the adaptive QB factorization into more specialized rank-revealing forms. For partial QR, one computes a small QR with column pivoting on ε>0\varepsilon>00,

ε>0\varepsilon>01

and sets ε>0\varepsilon>02, yielding

ε>0\varepsilon>03

For partial SVD, one computes the small SVD

ε>0\varepsilon>04

sets ε>0\varepsilon>05, and truncates to rank ε>0\varepsilon>06:

ε>0\varepsilon>07

The large matrix ε>0\varepsilon>08 is never pivoted directly; pivoting or diagonalization is pushed onto the much smaller projected factor ε>0\varepsilon>09 (Martinsson et al., 2015).

3. Residual tracking, adaptive stopping, and guarantees

A distinctive feature of the blocked adaptive QB method is that the Frobenius residual can be monitored deterministically and cheaply:

mnm\ge n0

In block form, this becomes an incremental residual tally

mnm\ge n1

starting from mnm\ge n2 and stopping when mnm\ge n3. This avoids either repeated norm estimation on a large residual or a dependence on heuristic diagonal-decay tests (Martinsson et al., 2015).

The algorithm inherits the standard randomized range-finder bounds. If randQB uses oversampling mnm\ge n4 and builds mnm\ge n5 with mnm\ge n6 columns, then

mnm\ge n7

In spectral norm,

mnm\ge n8

For slowly decaying spectra, power iterations make the bound effectively depend on mnm\ge n9, which substantially improves spectral accuracy. The same analysis underlies the empirical claim that the adaptively chosen rank is close to the optimal AA0-rank, especially in Frobenius norm and, with AA1, also in spectral norm (Martinsson et al., 2015).

The fixed-precision extensions randQB_EI and randQB_FP preserve the same residual identity but reorganize the arithmetic. randQB_EI updates the Frobenius error indicator block by block without maintaining the residual matrix, while randQB_FP precomputes the sketches

AA2

to reduce passes over AA3. In exact arithmetic, randQB_FP is mathematically equivalent to the existing randQB algorithms, and when AA4 and the matrix is available in row-major order or can be streamed row-by-row, it can act as a single-pass method (Yu et al., 2016).

A different adaptive route appears in randomized strong RRQR. There the sketch

AA5

is factorized by deterministic SRRQR, and the adaptive rank is chosen by a tolerance AA6 on the trailing block of the sketch. If AA7 is an AA8-embedding for the relevant subspaces, the strong rank-revealing inequalities transfer from the sketch to the original matrix with

AA9

including

AQB,A \approx Q B,0

and adaptive stopping can be driven by AQB,A \approx Q B,1 (Grigori et al., 24 Mar 2025).

4. Communication structure, complexity, and empirical behavior

The asymptotic flop count of the blocked adaptive QB method is AQB,A \approx Q B,2, matching classical Gram–Schmidt templates, but the computational structure is different. The dominant kernels are matrix-matrix multiplies AQB,A \approx Q B,3 and AQB,A \approx Q B,4 per block, together with QR factorizations on AQB,A \approx Q B,5 panels and small QR or SVD postprocessing on AQB,A \approx Q B,6 matrices. For the main variants, the paper gives

AQB,A \approx Q B,7

AQB,A \approx Q B,8

and, with power iterations,

AQB,A \approx Q B,9

The point of blocking is not lower asymptotic complexity but lower communication and better use of high-throughput kernels (Martinsson et al., 2015).

This communication argument is central. By avoiding column pivoting on the large matrix, the algorithm eliminates global pivot searches and column swaps on QRm×kQ\in\mathbb{R}^{m\times k}0, reduces synchronizations, and shifts work toward BLAS-3 operations. The original paper states that this gives far fewer synchronizations than CPQR and better cache and GPU utilization, while the small QR or SVD stages remain cheap relative to the large matrix operations (Martinsson et al., 2015).

The empirical findings reported for the blocked randomized scheme are unusually strong. In Frobenius norm, the error is essentially at the SVD-optimal level and often indistinguishable from optimal even when singular values decay slowly. Relative to CPQR, accuracy is reported as at least as good and often much better, with Kahan-type matrices singled out as examples where randomized QB markedly outperforms CPQR. In spectral norm, one or two power iterations remove the gap for slowly decaying spectra. Speedups are substantial on multicore CPUs and larger still on GPUs, precisely because the algorithm relies on matrix-matrix multiplies and avoids pivot synchronization (Martinsson et al., 2015).

This performance profile places the algorithm in a broader communication-avoiding lineage. Randomized pivoting on sketches, as in RQRCP, likewise moves pivot decisions to a small compressed matrix and attains performance near that of unpivoted QR while retaining QRCP-quality rank revelation; truncated variants further avoid large trailing updates, and TUXV uses such a truncated randomized QR step as the front end of a truncated SVD approximation (Duersch et al., 2020). For matrices stored out of core, the same general design principle motivates blocked left-looking CPQR and algorithm-by-blocks randUTV schemes that overlap I/O with computation and keep time scaling close to QRm×kQ\in\mathbb{R}^{m\times k}1 with only a modest increase in the constant relative to in-core execution (Heavner et al., 2020).

5. Major variants and neighboring factorizations

The adaptive randomized rank-revealing paradigm has diversified into several closely related factorizations.

Method Factorization Adaptive signal
Blocked adaptive QB QRm×kQ\in\mathbb{R}^{m\times k}2, or postprocessed QR/SVD QRm×kQ\in\mathbb{R}^{m\times k}3
randQB_EI / randQB_FP QB, fixed-precision Frobenius error indicator QRm×kQ\in\mathbb{R}^{m\times k}4
Randomized SRRQR QRm×kQ\in\mathbb{R}^{m\times k}5 QRm×kQ\in\mathbb{R}^{m\times k}6
randUTV / PowerURV / RU-QLP UTV, URV, or randomized QLP-like factorization trailing block norm or diagonal core decay

randUTV computes

QRm×kQ\in\mathbb{R}^{m\times k}7

in a blocked, single-stage, non-iterative manner. The diagonal of QRm×kQ\in\mathbb{R}^{m\times k}8 approximates the singular values, the trailing block norm approximates the best residual, and the factorization can be halted after processing QRm×kQ\in\mathbb{R}^{m\times k}9 columns or blocks once the trailing block norm falls below a tolerance. The algorithm is explicitly presented as rank-revealing, highly parallel, and close to SVD quality for low-rank approximation, especially with one or two power iterations (Martinsson et al., 2017).

PowerURV produces

BRk×nB\in\mathbb{R}^{k\times n}0

by applying power iteration to a Gaussian matrix and then performing an unpivoted QR on BRk×nB\in\mathbb{R}^{k\times n}1. Its rank-revealing criterion is expressed through the partitioned factor

BRk×nB\in\mathbb{R}^{k\times n}2

with

BRk×nB\in\mathbb{R}^{k\times n}3

The paper emphasizes that BRk×nB\in\mathbb{R}^{k\times n}4 is usually sufficient, that re-orthonormalization is necessary during power iteration, and that the vast majority of flops lie in level-3 BLAS (Gopal et al., 2018).

Randomized Unpivoted QLP computes a QLP-like factorization

BRk×nB\in\mathbb{R}^{k\times n}5

from a randomized sampling stage followed by two unpivoted QR factorizations. It is rank-revealing through the lower-triangular core: the analysis gives lower bounds on BRk×nB\in\mathbb{R}^{k\times n}6, upper bounds on BRk×nB\in\mathbb{R}^{k\times n}7, and principal-angle and low-rank approximation bounds in both spectral and Frobenius norms. The method is explicitly positioned as a randomized, highly parallel alternative to pivoted QLP and randomized SVD (Kaloorazi et al., 2022).

Taken together, these developments indicate that adaptive randomized rank revelation is not confined to QB decompositions. It also appears in strong RRQR, UTV and URV factorizations, QLP-like decompositions, CUR constructions, and application-specific pipelines such as matrix completion and tile low-rank factorizations. What unifies them is the combination of randomized dimensionality reduction, a small deterministic core factorization, and a stopping rule that exposes the numerical rank.

6. Misconceptions, limitations, and application domains

A recurrent misconception is that randomization makes rank revelation heuristic rather than analyzable. The published theory contradicts that view. The blocked adaptive QB method comes with expectation bounds in Frobenius and spectral norms and uses concentration of measure to justify very small failure probability; randomized SRRQR transfers deterministic strong RRQR bounds from a sketch to the original matrix under an explicit BRk×nB\in\mathbb{R}^{k\times n}8-embedding hypothesis (Martinsson et al., 2015, Grigori et al., 24 Mar 2025).

A second misconception is that avoiding pivoting on the large matrix necessarily sacrifices accuracy. The experiments reported for the blocked randomized QB algorithm say the opposite: the method is at least as accurate as CPQR and often much better, while its blocked form is more GPU-friendly and more communication-efficient (Martinsson et al., 2015). A plausible implication is that the historical association between rank revelation and explicit pivoting is weaker than in classical QR-based workflows.

The main technical limitation is that not all stopping criteria behave equally well for all norms. Frobenius monitoring is especially attractive because

BRk×nB\in\mathbb{R}^{k\times n}9

is exact in exact arithmetic and cheap to update. Spectral targets are more delicate; the recommended remedy is typically to use ε\varepsilon00 or ε\varepsilon01 power iterations, or to stop in Frobenius norm and then post-truncate using the small SVD of ε\varepsilon02 (Martinsson et al., 2015, Yu et al., 2016). Another limitation is sketch quality: insufficient sketch size, slowly decaying spectra, or poorly separated singular values can weaken accuracy constants, and the standard remedies are larger oversampling, modest power iteration, or a stronger embedding dimension (Martinsson et al., 2015, Grigori et al., 24 Mar 2025).

The application range is broad. Fixed-precision QB variants were developed for large and sparse matrices, including image compression and information retrieval (Yu et al., 2016). Adaptive randomized rank-revealing SVD variants were used to accelerate singular value thresholding in matrix completion, with recycling strategies across SVT iterations (Li et al., 2017). Stabilized blocked deflation schemes were applied to image processing, background estimation, information retrieval, and RPCA-style video background modeling (Liu et al., 11 Aug 2025). Tile-wise adaptive randomized approximation was embedded in tile low-rank Cholesky and ε\varepsilon03 factorizations for covariance matrices and related dense operators on CPUs and GPUs (Boukaram et al., 2021). Randomized strong RRQR extends the same adaptive rank-revealing logic to column subset selection, interpolative decomposition, CUR-like decompositions, and null-space approximation (Grigori et al., 24 Mar 2025).

In that sense, the adaptive randomized rank-revealing algorithm is best regarded as a methodological pattern: randomized range identification or sketching, blocked orthogonalization, a small deterministic core factorization, and a tolerance-driven stopping rule that exposes the numerical rank while minimizing communication. The original blocked adaptive QB algorithm remains the canonical example because it shows this pattern in its simplest and most influential form (Martinsson et al., 2015).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Adaptive Randomized Rank-Revealing Algorithm.