Sample complexity bounds for localized sketching

Rakshith Sharma Srinivasa, Mark A. Davenport, Justin Romberg

Introduction

In the era of "Big Data," standard linear algebra operations such as matrix multiplication and ridge regression often become computationally prohibitive. Sketching has emerged as a powerful solution, where a massive data matrix is multiplied by a smaller random matrix to create a "compressed" version (a sketch). This sketch preserves the essential geometric properties of the original data while allowing for much faster processing.

However, most traditional sketching methods, such as dense Gaussian projections or Subsampled Randomized Hadamard Transforms (SRHT), are global. They require access to the entire dataset simultaneously or allow for arbitrary row sampling. This presents a significant hurdle for distributed systems, where data is collected at disparate edge nodes (e.g., sensor arrays), and for streaming data, which must be processed in sequential chunks.

Localized Sketching Methodology

This paper introduces localized sketching, a technique where the sketching matrix is constrained to be block-diagonal. In this framework, each data block $A_j$ is multiplied by its own local sketching matrix $S_j$. This structure allows for trivial parallelization and avoids the massive communication overhead required by global methods.

Comparison of sketching paradigms: Global Dense (left), Row Sampling (middle), and Localized Block-Diagonal (right).

Coherence-Based Allocation

A critical challenge in localized sketching is determining how many rows ($M_j$) to allocate to each local sketch. A naive approach might assign an equal number of rows to every block. The authors propose a more sophisticated coherence-based allocation strategy. They define a coherence parameter $\Gamma(U_j)$ for each block, measuring its "influence" or unique information relative to the entire dataset. By setting $M_j$ proportional to this coherence, the method ensures that informative blocks are sketched more densely.

Key Insights and Theoretical Results

The paper's most striking insight is that a local sketch does not need to be a perfect "subspace embedding" of its own block. Information can be "lost" locally, provided the aggregated sketches from all blocks form a valid subspace embedding for the entire matrix.

Theoretically, the authors prove that localized sketching achieves the same optimal sample complexity as global sketching:

  • Matrix Multiplication: $O(sr/\epsilon^2)$, where $sr$ is the stable rank.
  • Ridge Regression: $O(sd_\lambda/\epsilon)$, where $sd_\lambda$ is the statistical dimension.

Empirical Performance

The proposed method was evaluated using synthetic data and the YearPredictionMSD (Million Song Dataset), a standard benchmark for large-scale regression.

Approximation error $f(\hat{x})/f(x^*)$ for ridge regression across different sketching methods. Non-uniform (coherence-based) block diagonal sketching matches the performance of dense Gaussian sketching.

As shown in the experimental results, the "phase transition"—the point where the sketch size becomes sufficient for high accuracy—is virtually identical for localized sketching (using coherence-based sizing) and dense global Gaussian sketching. In contrast, uniform block-diagonal allocation requires significantly more rows to reach the same accuracy level. Furthermore, in large-scale tests, block-diagonal sketching was 10x to 50x faster than FFT-based global sketching methods.

Conclusion

Localized sketching with coherence-based allocation bridges the gap between computational efficiency and statistical accuracy. By leveraging the inherent structure of distributed or streaming data, it provides a scalable framework for large-scale linear algebra that matches the theoretical guarantees of global methods while offering substantial practical speedups.

Summary updated

BibTeX
@inproceedings{srinivasa2020sample,
  author = {Rakshith Sharma Srinivasa and Mark A. Davenport and Justin Romberg},
  title = {{Sample complexity bounds for localized sketching}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure