NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sketching Meets Random Projection in the Dual: A Provable Recovery Algorithm for Big and High-dimensional Data

Jialei Wang, Jason D. Lee, Mehrdad Mahdavi, Mladen Kolar, Nati Srebro

Abstract

Sketching techniques scale up machine learning algorithms by reducing the sample size or dimensionality of massive data sets without sacrificing their statistical properties. In this paper, we provide a unified optimization framework that links two popular data reduction techniques: Iterative Hessian Sketch (IHS) and Iterative Dual Random Projection (IDRP). By revealing that these methods are essentially preconditioned gradient descent in the primal and dual spaces, we develop accelerated algorithms and a novel "doubly sketched" method that simultaneously handles massive sample sizes and high dimensionality.

Introduction

In the era of "Big Data," machine learning models face two distinct scaling bottlenecks: massive sample sizes ($n$) and high dimensionality ($p$). While sketching—compressing data via random projections—helps, it often requires large sketch sizes for high accuracy. Recent iterative methods like IHS (which reduces $n$) and IDRP (which reduces $p$) improved this, but they were developed independently and still struggle when both $n$ and $p$ are massive. This work bridges this gap to create a more efficient, robust solver for big, high-dimensional ridge regression problems.

Methods

The paper introduces three major technical contributions:

  • The Primal-Dual Connection: The authors prove that Dual Random Projection is mathematically equivalent to applying the Hessian Sketch to the dual optimization problem. This unification allows both methods to be analyzed under a single theoretical umbrella.
  • Acceleration via Conjugate Gradient: Iterative sketching is essentially a form of gradient descent where the sketched Hessian acts as a preconditioner. By replacing standard gradient descent with Preconditioned Conjugate Gradient (PCG), the authors create Acc-IHS and Acc-IDRP, which converge significantly faster and exhibit greater stability.
  • Iterative Primal-Dual Sketch (IPDS): This "hero" algorithm applies sketching to both primal and dual variables. Instead of solving a subproblem of size $m \times p$ (IHS) or $n \times d$ (IDRP), IPDS solves a "doubly sketched" subproblem of size $m \times d$, where $m \ll n$ and $d \ll p$.
Figure 2: Comparison of IHS and Acc-IHS on the connect4 dataset. The accelerated version (Acc-IHS) converges significantly faster and remains stable even at smaller sketch sizes.

Key Results

The authors evaluated their algorithms on several real-world datasets, categorized by their challenges: Large $n$, Small $p$ (connect4, slice, year); Small $n$, Large $p$ (colon-cancer, duke breast-cancer, leukemia); and Large $n$, Large $p$ (cifar, gisette, sector).

Figure 5: Comprehensive performance evaluation across nine datasets. The top rows demonstrate the speedup from acceleration in primal (IHS) and dual (DRP) sketching. The bottom row highlights the efficiency of the Iterative Primal-Dual Sketch (IPDS) on datasets where both $n$ and $p$ are large.

Key insights from the experimental results include:

  • Faster Convergence: Accelerated algorithms (Acc-IHS/Acc-IDRP) reached optimal solutions in significantly fewer iterations than their non-accelerated counterparts.
  • Robustness to Sketch Size: Accelerated versions are much more stable and can converge even with sketch sizes that cause standard methods to fail.
  • Efficiency in High Dimensions: For datasets where both $n$ and $p$ were large (like sector), standard IHS and DRP often diverged. The IPDS algorithm remained stable and reached high accuracy by solving much smaller subproblems, as evidenced by the dual x-axes in the bottom row of Figure 5.

Conclusion

By switching between primal and dual views, the authors show that "reducing samples" and "reducing features" are two sides of the same coin. Viewing sketching as preconditioning naturally suggests using advanced optimization tools like Conjugate Gradient, leading to algorithms that are not only faster but also more robust. Future work may extend these primal-dual sketching insights to non-convex problems and self-concordant loss functions like logistic regression.

Summary updated

BibTeX
@inproceedings{wang2017sketching,
  author = {Jialei Wang and Jason D. Lee and Mehrdad Mahdavi and Mladen Kolar and Nati Srebro},
  title = {{Sketching Meets Random Projection in the Dual: A Provable Recovery Algorithm for Big and High-dimensional Data}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
  url = {https://openreview.net/forum?id=4yjygJfnLVf},
}
Figure