Sketching Algorithms and Lower Bounds for Ridge Regression

04/13/2022
by   Praneeth Kacham, et al.
0

We give a sketching-based iterative algorithm that computes 1+ε approximate solutions for the ridge regression problem min_x Ax-b_2^2 +λx_2^2 where A ∈ℝ^n × d with d ≥ n. Our algorithm, for a constant number of iterations (requiring a constant number of passes over the input), improves upon earlier work of Chowdhury et al., by requiring that the sketching matrix only has a weaker Approximate Matrix Multiplication (AMM) guarantee that depends on ϵ, along with a constant subspace embedding guarantee. The earlier work instead requires that the sketching matrix have a subspace embedding guarantee that depends on ϵ. For example, to produce a 1+ε approximate solution in 1 iteration, which requires 2 passes over the input, our algorithm requires the OSNAP embedding to have m= O(nσ^2/λε) rows with a sparsity parameter s = O(log(n)), whereas the earlier algorithm of Chowdhury et al., with the same number of rows of OSNAP requires a sparsity s = O(√(σ^2/λε)·log(n)), where σ = A_2 is the spectral norm of the matrix A. We also show that this algorithm can be used to give faster algorithms for kernel ridge regression. Finally, we show that the sketch size required for our algorithm is essentially optimal for a natural framework of algorithms for ridge regression by proving lower bounds on oblivious sketching matrices for AMM. The sketch size lower bounds for AMM may be of independent interest.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset