Abstract
Adaptive Randomized Pivoting (ARP) has emerged as a robust method for column and row subset selection in large-scale linear algebra. This paper establishes a formal mathematical equivalence between ARP and volume sampling, a technique widely used in active machine learning. By leveraging this connection, we introduce two optimized variants: RejectionRPQR, which utilizes block-wise rejection sampling to bypass sequential bottlenecks, and SkARP, which employs sketchy interpolative decomposition for rapid computation. Our results demonstrate speedups of up to 23x on sparse matrices while maintaining near-optimal approximation accuracy.
Introduction
The column (or row) subset selection problem is fundamental to modern data science. Given a large matrix $A$, the goal is to identify a small subset of columns or rows that effectively capture the matrix's essential information. This is critical for tasks ranging from feature selection to dataset compression and interpretable low-rank approximations.
While traditional methods like the Rank-Revealing QR decomposition are effective, they often struggle with the scale of modern datasets. Recently, Cortinovis and Kressner introduced Adaptive Randomized Pivoting (ARP), which provides near-optimal subsets. However, the original ARP implementation relies on a sequential "randomly pivoted QR" step, which is computationally expensive due to its reliance on vector-vector and matrix-vector operations. This work addresses these limitations by providing a theoretical foundation for ARP and introducing high-performance algorithmic variants.
Theoretical Foundations: ARP as Volume Sampling
A key contribution of this work is the theoretical reinterpretation of ARP. We prove that the subset selected by the ARP algorithm is a sample drawn from the volume sampling distribution, also known as a Determinantal Point Process (DPP).
By framing the row selection process as an active linear regression problem solved via volume sampling, we can apply existing results from the machine learning literature to derive ARP's error bounds more simply. This "Aha!" moment reveals that ARP's row selection is essentially volume sampling in disguise, providing a clearer path for theoretical analysis and future improvements.
Algorithmic Enhancements
To overcome the computational bottlenecks of the original ARP, we propose two major upgrades focused on matrix-matrix optimization and sketching.
RejectionRPQR
Standard randomly pivoted QR requires updating the entire remaining matrix after each pivot selection, a process that is inherently sequential. We introduce RejectionRPQR, which replaces this with a rejection sampling approach. Instead of a full update, we propose a block of potential pivots based on their leverage scores. These candidates are accepted or rejected based on a probability threshold, and orthogonalization is performed only on the accepted subset. This allows the algorithm to leverage fast, block-wise matrix-matrix arithmetic.
SkARP (Sketchy ARP)
For the final low-rank approximation, computing an exact pseudoinverse can be prohibitively expensive. We introduce SkARP, which utilizes an oversampled sketchy interpolative decomposition (OSID). By multiplying the matrix by a sparse random embedding (such as a "SparseStack" matrix), SkARP approximates the pseudoinverse significantly faster.
As shown in the algorithm above, the choice of type allows for different trade-offs between speed and accuracy. type = 2 (OptARP) provides the highest accuracy, while type = OSID (SkARP) offers the best computational efficiency.
Experimental Evaluation
We evaluated our algorithms on a variety of synthetic and real-world datasets, including dense and sparse matrices, kernel matrices from scientific computing, and the GSE10072 genetics dataset.
Performance and Accuracy
- Massive Speedups: On dense matrices, our RejectionRPQR-based implementations achieved up to a 7x speedup over the original ARP. On sparse matrices, the performance gain reached 23x.
- Accuracy Maintained: The OptARP variant matches the accuracy of the gold-standard randomly pivoted QR. While SkARP introduces a slight penalty to the error rate (approximately 1.5x), it remains within near-optimal bounds.
- End-to-End Guarantees: We successfully proved that SkARP mathematically guarantees a near-optimal rank-$k$ approximation, specifically bounding the median error.
Conclusion
This work bridges the gap between the practical success of Adaptive Randomized Pivoting and the theoretical elegance of volume sampling. By introducing RejectionRPQR and SkARP, we provide tools that are both mathematically grounded and computationally efficient for large-scale data analysis.
We recommend SkARP as the default choice for most applications due to its superior speed-to-accuracy tradeoff. Future work will focus on tightening the theoretical bounds to provide high-probability guarantees with smaller, explicit constants.
Summary updated