math.NASep 27, 2024

Probabilistic Analysis of Least Squares, Orthogonal Projection, and QR Factorization Algorithms Subject to Gaussian Noise

Authors: Ali LotfiJulien LangouMohammad Meysami

Abstract

We consider the effect of Gaussian perturbations on least-squares residuals, orthogonal projections, and QR-type algorithms. The problem that motivated our investigations is as follows: suppose that a full column-rank matrix BRm×nB\in\mathbb{R}^{m\times n} has already been computed, and suppose that a new normalized column q=(x+y)/x+y2q=(x+y)/\|x+y\|_2 is to be appended to BB, where xspan(B)x\perp\operatorname{span}(B) is the ideal orthogonal component and yy represents the orthogonalization error. How large can the condition number κ([B,q])κ([B,q]) of the resulting matrix [B,q][B,q] become? While we provide a Weyl-type bound on the singular values of [B,q][B,q], in terms of the extremal singular values of BB and the quantity BTy2/x+y2\|B^T y\|_2/\|x+y\|_2, we also derive exact probability laws for norms and projection residuals under Gaussian perturbations. Finally, we use these probability laws to derive probabilistic condition-number bounds for QR-type processes with imperfect orthogonalization and exact normalization.

Explore similar work

Apr 25, 2026cs.DS

Well-Conditioned Oblivious Perturbations in Linear Space

Perturbing a deterministic nn-dimensional matrix with small Gaussian noise is a cornerstone of smoothed analysis of algorithms [Spielman and Teng, JACM 2004], as it reduces the condition number of the input to O(n)O(n), and with it the complexity of many matrix algorithms. However, when deployed algorithmically, these perturbations are expensive due to the cost of generating and storing n2n^2 Gaussian random variables. We propose a perturbation that requires generating and storing O(n)O(n) random numbers in O(logn)O(\log n) bits of precision, and reduces the condition number of any deterministic matrix to O(n)O(n), matching Gaussian perturbations. Our result in particular implies a better complexity for the perturbed conjugate gradient algorithm, showing that we can solve an n×nn\times n linear system in linear space to within an arbitrarily small constant backward error using O(n)O(n) matrix-vector products. In our construction, we introduce the concept of a pattern matrix, which is a dense deterministic matrix that maps all sparse vectors into dense vectors, and we combine it with a sparse perturbation whose entries are dependent and located in a non-uniform fashion. In order to analyze this construction, we develop new techniques for lower bounding the smallest singular value of a random matrix with dependent entries.
Shabarish Chenakkod, Michał Dereziński, Xiaoyu Dong +1
Aug 12, 2026cs.DS

Fast Length-Squared Sampling for Positive-Semidefinite Matrices

We describe a simple rejection-sampling-based algorithm to perform length-squared sampling on an n×nn \times n positive-semidefinite (psd) matrix: that is, to sample a column with probability proportional to its squared 2\ell_2-norm. The algorithm runs in just O(n)O(n) expected time, which is significantly sublinear in the input matrix size. The runtime is optimal, even when the input is assumed to be diagonal. Our result has several applications. Length-squared sampling is used by a number of sublinear time algorithms for matrix problems, like low-rank approximation and eigenvalue approximation. Often, it is assumed that the algorithm is given access to the matrix column norms, and thus can perform length-squared sampling efficiently. Our result shows that, at least for psd matrices, we can remove this assumption. We also discuss an application to an asymptotically optimal algorithm for estimating the Frobenius norm of a psd matrix to relative error. Finally, we show that our sampling algorithm yields a very simple sublinear time algorithm for the robust psd low-rank approximation problem introduced by Bakshi et al. (FOCS, 2020), which nearly matches the more complex method developed there.
Rajarshi Bhattacharjee, Ethan N. Epperly, Cameron Musco +1
Jun 9, 2026math.ST

Bidirectional Random Projections

This paper analyzes bidirectional random projections for ordinary least squares (OLS) regression under the fixed design setting. Let (X,Y)Rn×p×Rn(X,Y) \in \mathbb{R}^{n \times p} \times \mathbb{R}^n be a sample and RRn1×n,WRp×p1R \in \mathbb{R}^{n_1 \times n}, W \in \mathbb{R}^{p \times p_1} be two properly distributed random projections. We develop an expected excess loss bound for the OLS estimator built on (WXR,WY)(WXR, WY). Compared to an established bound for OLS estimator built on (XR,Y)(XR, Y), the gap is approximately O(p1+C1p1)O\left( p_1 + C \frac{1}{p_1} \right), where CC scales with n1/nn_1/n and can be negative for small n1/nn_1/n. Its implications are confirmed by numerical results on real-world data.
Chao Lan, Luyuan Yang