cs.LGJul 8, 2026

Distributed Sketching on Data Partitions for OLS Regression

Authors: Luyuan YangBrayden GarnerShayan ShafaeiChao Lan

Organizations: a School of Computer Science, University of Oklahoma, U.S.

Abstract

This paper studies distributed sketching for ordinary least squares (OLS) regression, an approach that distributes small sketches of a large data set over multiple machines to separately construct OLS estimators and average them. Unlike prior studies that consider sketching on the whole data set, we consider sketching on partitioned subsets to further reduce computational cost. Under the fixed design setting, we characterize the exact excess loss of the averaged OLS estimator. Results show that this loss is comparable to the established loss for sketching on the whole data set when the divergence among subset covariances is small.

Explore similar work

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
May 23, 2026cs.LG

From One-Pass SGD to Data Reuse: Mini-Batch Scaling Laws in Sketched Linear Regression

Scaling laws provide compact descriptions of how prediction error varies with compute, model size, and data, but existing theory mainly treats single-sample SGD or full data reuse, leaving the role of mini-batching unclear. We study batch scaling laws for sketched linear regression under a power-law covariance spectrum and a source condition on the target parameter. We analyze one-pass batch SGD, multi-pass batch SGD with replacement, and multi-pass batch SGD without replacement. Our first result is a risk decomposition: all three procedures share the same irreducible and approximation terms, while their stochastic terms depend on the sampling protocol. One-pass batch SGD splits into bias and variance, whereas the two multi-pass methods split into GD bias, GD variance, and a fluctuation term around a common GD reference trajectory. We then prove source-condition scaling laws for one-pass and multi-pass mini-batch methods. For one-pass batch SGD, mini-batching preserves the approximation and optimization-bias exponents, while the variance scales as O(min(M,(Teffγ)1/a)/(BTeff))O(\min(M,(T_{\mathrm{eff}}γ)^{1/a})/(B T_{\mathrm{eff}})). Thus the usual 1/B1/B covariance reduction holds at fixed update count TT, but in the one-pass regime T=N/BT=N/B it is partly offset by the shorter optimization horizon. For multi-pass batch SGD, with- and without-replacement sampling have identical approximation and GD bias/variance terms; they differ only in the fluctuation covariance prefactor, which is 1/B1/B with replacement and ρN,B=(NB)/(B(N1))ρ_{N,B}=(N-B)/(B(N-1)) without replacement. Hence without-replacement sampling is less noisy for B>1B>1, and when B=NB=N the fluctuation vanishes, recovering deterministic gradient descent. These results place batch size on the same theoretical footing as compute, data, and model dimension in sketched linear regression.
Ziyan Chen, Zhongzhu Zhou, Ding-Xuan Zhou
May 28, 2026cs.LG

The Fast Mixing Mechanism for Differential Privacy

Randomized sketching is a central tool for compressing large-scale optimization problems while preserving accuracy. In particular, sketches that are based on structured matrices, such as the Hadamard matrix, can be applied efficiently and often yield solutions that approximate those of the original problem at much lower computational cost. In differential privacy (DP), Gaussian sketching has been used to solve DP linear regression, beginning with \citet{sheffet2017differentially, sheffet2019old} and later refined by \citet{lev2025gaussianmix, lev2026near}. However, although these methods achieve strong utility guarantees, they usually do not improve runtime over classical DP approaches. In this work, we introduce a new DP sketching mechanism based on fast transforms, which, in certain cases, matches the runtime of classical fast sketching methods. We prove state-of-the-art privacy guarantees for this mechanism and show that, in favorable regimes, they match those of the Gaussian sketch up to a constant factor. As an application, we combine this mechanism with recent sketch-based methods for DP linear regression to obtain a new algorithm with strong utility and improved runtime. We establish privacy and accuracy guarantees for this algorithm, yielding, to the best of our knowledge, the first fast method for DP ordinary least squares.
Omri Lev, Moshe Shenfeld, Vishwak Srinivasan +2