Skip to main content
QUICK REVIEW

[Paper Review] Streaming Complexity of SVMs

Alexandr Andoni, Collin Burns|arXiv (Cornell University)|Jan 1, 2020
Stochastic Gradient Optimization TechniquesComputer Science11 references2 citations
TL;DR

This paper investigates the space complexity of streaming algorithms for bias-regularized Support Vector Machines (SVMs), showing that for low-dimensional settings (d = 1, 2), sublinear space algorithms exist for both point estimation and optimization—achieving O(1/√ε) and O(ε⁻⁴/⁵) space, respectively—while proving tight or nearly tight lower bounds that reveal a strict gap between point estimation and optimization in streaming settings.

ABSTRACT

We study the space complexity of solving the bias-regularized SVM problem in the streaming model. In particular, given a data set (x_i,y_i) ∈ ℝ^d× {-1,+1}, the objective function is F_λ(θ,b) = λ/2‖(θ,b)‖₂² + 1/n∑_{i=1}ⁿ max{0,1-y_i(θ^Tx_i+b)} and the goal is to find the parameters that (approximately) minimize this objective. This is a classic supervised learning problem that has drawn lots of attention, including for developing fast algorithms for solving the problem approximately: i.e., for finding (θ,b) such that F_λ(θ,b) ≤ min_{(θ',b')} F_λ(θ',b')+ε. One of the most widely used algorithms for approximately optimizing the SVM objective is Stochastic Gradient Descent (SGD), which requires only O(1/λε) random samples, and which immediately yields a streaming algorithm that uses O(d/λε) space. For related problems, better streaming algorithms are only known for smooth functions, unlike the SVM objective that we focus on in this work. We initiate an investigation of the space complexity for both finding an approximate optimum of this objective, and for the related "point estimation" problem of sketching the data set to evaluate the function value F_λ on any query (θ, b). We show that, for both problems, for dimensions d = 1,2, one can obtain streaming algorithms with space polynomially smaller than 1/λε, which is the complexity of SGD for strongly convex functions like the bias-regularized SVM [Shalev-Shwartz et al., 2007], and which is known to be tight in general, even for d = 1 [Agarwal et al., 2009]. We also prove polynomial lower bounds for both point estimation and optimization. In particular, for point estimation we obtain a tight bound of Θ(1/√{ε}) for d = 1 and a nearly tight lower bound of Ω̃(d/{ε}²) for d = Ω(log(1/ε)). Finally, for optimization, we prove a Ω(1/√{ε}) lower bound for d = Ω(log(1/ε)), and show similar bounds when d is constant.

Motivation & Objective

  • To understand the space complexity of solving the bias-regularized SVM problem in the streaming model.
  • To investigate whether better streaming algorithms exist for non-smooth objectives like SVMs compared to standard SGD, which requires O(d/λε) space.
  • To establish tight or nearly tight lower bounds for both point estimation and optimization in low-dimensional settings.
  • To demonstrate a strict gap between the space complexity of point estimation and optimization, even for d = 1.
  • To explore the feasibility of sketching data for evaluating the SVM objective function on any query (θ, b) within additive ε-error.

Proposed method

  • Proposes a novel streaming algorithm for point estimation using geometric and probabilistic arguments in low dimensions (d = 1, 2), achieving O(1/√ε) and O(ε⁻⁴/⁵) space, respectively.
  • Employs a reduction from optimization to point estimation via net arguments, showing that a good point estimator enables approximate SVM optimization.
  • Constructs hard instances using carefully chosen data points (xα, xβ, xq) and auxiliary points vi with controlled inner products to simulate support vector behavior.
  • Uses strong convexity and gradient-based analysis to derive lower bounds on the distance between optimal solutions in two distinct data configurations.
  • Applies a communication complexity framework to prove lower bounds by reducing to a two-party problem where Bob must distinguish between two data sets.
  • Leverages the relationship λ = δ² and sets n = 1/(20√ε) to calibrate parameters so that the lower bound construction remains valid under streaming constraints.

Experimental results

Research questions

  • RQ1Can point estimation for the bias-regularized SVM be achieved with space sub-linear in n for d > 1?
  • RQ2What is the optimal space complexity for streaming point estimation of the SVM objective function in low dimensions (d = 1, 2)?
  • RQ3Is there a provable gap between the space complexity of point estimation and optimization for SVMs in the streaming model?
  • RQ4Can streaming algorithms achieve better space complexity than SGD for non-smooth objectives like SVMs?
  • RQ5What are the tight or nearly tight lower bounds for both point estimation and optimization in the streaming setting for d = 1 and d ≥ 2?

Key findings

  • For d = 1, the paper achieves a point estimation space complexity of O(1/√ε), which is tight up to logarithmic factors.
  • For d = 2, the paper achieves a point estimation space complexity of O(ε⁻⁴/⁵), with a lower bound of Ω(ε⁻³/⁵), showing near-optimality.
  • For d = Ω(log(1/ε)), the paper proves a lower bound of Ω(d/(ε² polylog(1/ε))) for point estimation, which is tight up to polylogarithmic factors.
  • The paper establishes a Ω(1/√ε) lower bound for optimization when d = Ω(log(1/ε)), demonstrating a strict gap from the O(1/λε) complexity of SGD.
  • The results show that point estimation requires significantly more space than optimization in the streaming model, even for d = 1.
  • For d = 2 and λ = Θ(1/n²), the lower bound for sketching is Ω(ε⁻¹/⁴), and for d ≥ 3 and λ = Θ(1/n), it is Ω(ε⁻¹/²), showing dependence on dimension and regularization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.