Skip to main content
QUICK REVIEW

[Paper Review] Second-Order Stochastic Optimization for Machine Learning in Linear Time

Naman Agarwal, Brian Bullins|arXiv (Cornell University)|Feb 12, 2016
Stochastic Gradient Optimization TechniquesComputer Science31 references42 citations
TL;DR

This paper introduces LiSSA, a stochastic second-order optimization algorithm that achieves Newton-like convergence rates with per-iteration cost linear in data sparsity, enabling practical second-order methods for large-scale machine learning. It matches or improves upon first-order methods in runtime while maintaining theoretical guarantees and empirical performance on real datasets.

ABSTRACT

First-order stochastic methods are the state-of-the-art in large-scale machine learning optimization owing to efficient per-iteration complexity. Second-order methods, while able to provide faster convergence, have been much less explored due to the high cost of computing the second-order information. In this paper we develop second-order stochastic methods for optimization problems in machine learning that match the per-iteration cost of gradient based methods, and in certain settings improve upon the overall running time over popular first-order methods. Furthermore, our algorithm has the desirable property of being implementable in time linear in the sparsity of the input data.

Motivation & Objective

  • Address the high per-iteration cost of traditional second-order methods in large-scale machine learning by enabling efficient Hessian approximation.
  • Develop a stochastic second-order algorithm that maintains fast convergence while achieving linear time complexity per iteration.
  • Achieve provably faster running time than first-order methods in settings where the number of training examples exceeds the dimensionality.
  • Ensure the algorithm is implementable in time linear in the sparsity of input data, making it suitable for high-dimensional sparse datasets.
  • Provide theoretical guarantees on convergence with improved runtime bounds compared to existing methods.

Proposed method

  • Propose LiSSA, a stochastic Hessian inverse estimator based on Taylor approximation of the matrix inverse, enabling efficient approximate Newton steps.
  • Use a stochastic approximation of the Hessian inverse via sampling individual data components, reducing per-iteration cost to O(d).
  • Introduce a variance-reduced estimator with parameters S₁ and S₂ to control convergence and stability, where S₂ is set to O(κ ln κ) for optimal performance.
  • Leverage matrix sampling techniques from [LMP13, CLM+15] in LiSSA-Sample to improve runtime guarantees in the m > d regime.
  • Design the algorithm to be invariant to coordinate system and curvature-aware, inheriting the geometric advantages of Newton’s method.
  • Implement the method with adaptive parameter tuning, using S₁ = 1 and S₂ ≈ κ ln κ in practice, as validated by experiments.

Experimental results

Research questions

  • RQ1Can second-order optimization be made practical for large-scale machine learning by reducing per-iteration cost to linear time?
  • RQ2Can a stochastic Hessian inverse estimator achieve convergence rates comparable to Newton’s method while remaining efficient?
  • RQ3Does the proposed method outperform first-order methods in terms of overall running time, especially when m ≫ d?
  • RQ4Can the algorithm maintain linear time complexity in the sparsity of input data, enabling use on high-dimensional sparse datasets?
  • RQ5Is the variance of the Hessian inverse estimator controllable such that theoretical convergence bounds are achievable with practical parameter settings?

Key findings

  • LiSSA achieves a total runtime of Õ((m + S₁κ)d log(1/ε)) to reach ε-suboptimal solution, with S₁ bounded by O(κ²) in theory and often O(1) in practice.
  • The algorithm converges faster than first-order methods in terms of iterations and outperforms them in wall-clock time on real-world datasets.
  • LiSSA runs in time linear in data sparsity, making it efficient for high-dimensional sparse data such as text or recommendation systems.
  • In experiments, LiSSA with S₂ ≈ κ ln κ achieved the best convergence, validating theoretical expectations on parameter choice.
  • LiSSA outperforms accelerated first-order methods like APCG in well-conditioned settings, but APCG dominates in very ill-conditioned regimes due to κ dependence.
  • LiSSA-Sample achieves better runtime guarantees than state-of-the-art convex optimization methods in the m > d regime, leveraging matrix sampling techniques.

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.