Adaptive and Oblivious Randomized Subspace Methods for High-Dimensional Optimization: Sharp Analysis and Lower Bounds

Jonathan Lacotte, Mert PilanciIEEE Trans. Information Theory 2020

Abstract

We propose novel randomized optimization methods for high-dimensional convex problems based on restrictions of variables to random subspaces. We consider oblivious and data-adaptive subspaces and study their approximation properties via convex duality and Fenchel conjugates. A suitable adaptive subspace can be generated by sampling a correlated random matrix whose second order statistics mirror the input data. We illustrate that the adaptive strategy can significantly outperform the standard oblivious sampling method, which is widely used in the recent literature. We show that the relative error of the randomized approximations can be tightly characterized in terms of the spectrum of the data matrix and Gaussian width of the dual tangent cone at optimum. We develop lower bounds for both optimization and statistical error measures based on concentration of measure and Fano’s inequality. We then present the consequences of our theory with data matrices of varying spectral decay profiles. Experimental results show that the proposed approach enables significant speed ups in a wide variety of machine learning and optimization problems including logistic regression, kernel classification with random convolution layers and shallow neural networks with rectified linear units.

Introduction

In modern machine learning, optimization problems often involve a massive number of features ($d$), making standard algorithms computationally prohibitive. These algorithms typically require manipulating large data matrices $A \in \mathbb{R}^{n \times d}$, leading to high memory and time complexity. A common strategy to mitigate this is sketching, which reduces dimensionality by projecting variables into a random subspace of dimension $m \ll d$.

Traditional "oblivious" sketching methods choose the random subspace independently of the data. However, these methods often suffer from high recovery errors unless the subspace dimension $m$ is nearly as large as the original dimension $d$. This paper addresses this gap by introducing data-adaptive subspaces and providing a sharp theoretical analysis of their superior performance.

Methodology

The authors focus on regularized convex problems of the form: $$x^* := \text{argmin}_{x \in \mathbb{R}^d} \{ f(Ax) + \frac{\lambda}{2} \|x\|_2^2 \}$$

Their approach introduces two primary innovations:

  1. Adaptive Sketching: Instead of a completely random matrix $S$, the authors utilize an adaptive embedding $S = A^\top \tilde{S}$, where $\tilde{S}$ is an oblivious sketch (e.g., a Gaussian matrix). This ensures the subspace aligns with the principal components of the data matrix $A$.
  2. First-Order Dual Recovery: Rather than simply returning the solution within the subspace, the authors use a "first-order" estimator $\hat{x}^{(1)}$ derived from Fenchel duality. By solving a low-dimensional problem to find a dual solution $y^*$, they map it back to the primal space using the gradient: $\hat{x}^{(1)} = -\frac{1}{\lambda} A^\top \nabla f(A S \alpha^*)$.

Theoretical Analysis and Spectral Decay

A key insight of this work is that the error of the adaptive method is governed by the "spectral residual" of the data matrix. When the data's singular values decay quickly—a common trait in real-world datasets—the adaptive method achieves near-perfect recovery with a very small sketch size. In contrast, oblivious methods are fundamentally biased, with errors bounded away from zero by a factor of $(1 - m/d)$.

Comparison of characteristic error bounds for adaptive vs. oblivious estimators under different spectral decay profiles.

As shown in the table above, the adaptive estimator $\hat{x}^{(1)}$ exhibits significantly faster error decay compared to oblivious estimators. For instance, under exponential spectral decay, the adaptive error decreases exponentially with the sketch size $m$, whereas the oblivious error only improves at a rate of $\sqrt{K/m}$.

Empirical Results

The proposed methods were evaluated on high-dimensional benchmarks, including MNIST and CIFAR-10, using Random Fourier Features (RFF) to generate high-dimensional representations ($d$ up to 60,000).

  • Accuracy: On CIFAR-10, the adaptive method matched the test accuracy of the full primal solution using a sketch size of only $m=512$, representing a reduction factor of approximately 120x.
  • Speedup: The "Sketch-Newton" and "Sketch-SVRG" algorithms reached optimal test accuracy 10 times faster than standard first-order methods applied to the full-dimensional problem.
  • Numerical Stability: The re-scaled sketched programs were found to be better conditioned than the original high-dimensional problems, facilitating faster convergence for solvers like SGD.

Conclusion

This work demonstrates that data-adaptive sketching, combined with dual recovery maps, provides a powerful framework for high-dimensional optimization. While adaptive sketching requires an additional pass over the data matrix, the resulting gains in accuracy and convergence speed are substantial. Future research may extend these adaptive subspace techniques to non-convex settings, such as the direct training of deep neural networks.

Summary updated

BibTeX
@article{lacotte2020adaptive,
  author = {Jonathan Lacotte and Mert Pilanci},
  title = {{Adaptive and Oblivious Randomized Subspace Methods for High-Dimensional Optimization: Sharp Analysis and Lower Bounds}},
  journal = {IEEE Trans. Information Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=p7hEZ0wQXKF},
}
Figure