Distributed Sketching for Randomized Optimization: Exact Characterization, Concentration and Lower Bounds

Burak Bartan, Mert PilanciIEEE Trans. Information Theory 2022 · DOI

Abstract

Distributed sketching uses random projections to compress massive datasets, addressing computation and communication bottlenecks in large-scale optimization. This work provides the first exact characterization of expected error and concentration bounds for distributed sketching. Crucially, it introduces a bias correction technique for regularized problems like Ridge Regression, allowing distributed workers to produce unbiased solutions. The methods are validated through theoretical proofs and large-scale experiments on serverless architectures.

Introduction

In the era of "Big Data," traditional optimization methods face two primary bottlenecks: the computational cost of forming Hessian matrices for millions of features and the communication lag inherent in moving large matrices between nodes in distributed systems. "Sketching" addresses these by multiplying data by a random matrix to reduce dimensionality while preserving essential properties. However, a significant challenge in distributed sketching is bias. When multiple workers average solutions from different sketches, regularized problems (e.g., Ridge Regression) often yield results that systematically deviate from the true optimum. This paper provides a rigorous foundation to address these issues.

Theoretical Framework and Methods

The authors analyze several sketching techniques, including Gaussian sketches, Randomized Hadamard transforms, and Leverage Score sampling. Their primary contributions include:

  1. Distributed Randomized Regression: Workers solve independent, sketched least-squares problems, and the master node averages these solutions to reduce variance.
  2. Bias Correction: The authors demonstrate that using the same regularization parameter ($\lambda$) for sketched sub-problems as the original problem introduces bias. They derive a closed-form formula to re-calibrate worker-side regularization ($\lambda_2^*$), ensuring the final averaged estimate is unbiased.
  3. Distributed Newton Sketch: This extends the framework to iterative second-order optimization, providing optimal step sizes and regularization coefficients.
Summary of optimization problems and corresponding theoretical results.

Key Insights: Variance, Bias, and Exactness

A central insight of this work is the distinction between variance and bias in distributed environments. While increasing the number of workers ($q$) effectively reduces variance (dropping by $1/q$), it does nothing to mitigate bias. Without the proposed bias correction, adding more workers yields diminishing returns as error becomes dominated by bias.

Furthermore, the paper moves beyond traditional "Big-O" bounds to provide exact formulas for expected error. For Gaussian sketches, the expected relative error is shown to be exactly $\frac{1}{q} \frac{d}{m-d-1}$, matching the theoretical lower bound derived from Fisher Information.

Distribution of optimality ratios for Gaussian and Randomized Hadamard sketches across different numbers of workers (q).

Experimental Results and Scalability

The researchers evaluated their methods on massive real-world datasets, including the Airline dataset (~121 million records) and EMNIST. Key results include:

  • Bias Correction Efficacy: Using the corrected $\lambda_2^*$ significantly reduced error compared to vanilla averaging methods like the GIANT algorithm.
  • Straggler Resilience: Because sketching tasks are i.i.d., the master node can compute running averages of available parameters, making the approach ideal for "bursty" serverless environments like AWS Lambda.
  • Performance: Experiments on AWS Lambda demonstrated efficient handling of datasets up to 300GB, with iteration times as low as 5 seconds despite inherent platform overhead.

Conclusion

This paper provides a tight theoretical characterization of distributed sketching. By introducing bias correction and exact error formulas, it enables more accurate and scalable optimization in distributed and serverless environments. Future work may focus on extending exact bias correction formulas to arbitrary singular value distributions and further reducing communication overhead for extremely high-dimensional problems.

Summary updated

BibTeX
@article{bartan2022distributed,
  author = {Burak Bartan and Mert Pilanci},
  title = {{Distributed Sketching for Randomized Optimization: Exact Characterization, Concentration and Lower Bounds}},
  journal = {IEEE Trans. Information Theory},
  year = {2022},
  doi = {10.1109/tit.2023.3247559},
}
Figure