[Paper Review] Finding Approximate Local Minima Faster than Gradient Descent
This paper introduces FastCubic, a novel non-convex second-order optimization algorithm that finds an ε-approximate local minimum in time linear in dimension and training sample size. It achieves faster convergence than gradient descent—even for the weaker goal of finding critical points—by leveraging Hessian-vector products and accelerated subroutines, with provably optimal runtime for smooth non-convex problems including deep neural network training.
We design a non-convex second-order optimization algorithm that is guaranteed to return an approximate local minimum in time which scales linearly in the underlying dimension and the number of training examples. The time complexity of our algorithm to find an approximate local minimum is even faster than that of gradient descent to find a critical point. Our algorithm applies to a general class of optimization problems including training a neural network and other non-convex objectives arising in machine learning.
Motivation & Objective
- To design a provably efficient algorithm for finding approximate local minima in non-convex optimization, a central challenge in modern machine learning.
- To overcome the 1/ε² convergence bottleneck of first-order methods like gradient descent for critical point identification.
- To achieve faster runtime than gradient descent even when only seeking critical points, not local minima.
- To provide a general-purpose algorithm applicable to standard ML objectives, including deep neural network training.
- To establish theoretical runtime bounds that scale linearly with dimension and sample size for second-order smooth functions.
Proposed method
- The algorithm, FastCubic, uses a cubic regularization framework with Hessian-vector products to efficiently approximate the Newton step.
- It employs an accelerated subproblem solver based on Nesterov-style acceleration to minimize the cubic model in each iteration.
- A binary search procedure is used to compute the correct regularization parameter that ensures sufficient decrease in the cubic model.
- The method leverages approximate eigenvector computation via the power method and shift-and-invert techniques to detect negative curvature.
- Hessian-vector products are computed in O(d) time for many ML problems, enabling linear dependence on dimension and sample size.
- The algorithm uses approximate matrix inversion via preconditioned iterative solvers, with runtime bounded by the cost of solving linear systems.
Experimental results
Research questions
- RQ1Can we design a second-order optimization algorithm that finds approximate local minima faster than gradient descent?
- RQ2Is it possible to achieve linear-time convergence in dimension and sample size for non-convex optimization under standard smoothness assumptions?
- RQ3Can a second-order method outperform first-order methods even when only seeking critical points?
- RQ4What is the optimal trade-off between accuracy ε and runtime for finding approximate local minima in non-convex settings?
- RQ5How can Hessian-vector products be leveraged efficiently in large-scale ML problems like deep learning?
Key findings
- FastCubic finds an ε-approximate local minimum in time Õ(nd/ε³ᐟ² + n³ᐟ⁴d/ε⁷ᐟ⁴) for finite-sum problems, which is faster than gradient descent’s O(nd/ε²) for critical points.
- For general non-convex problems, the runtime is Õ(1/ε⁷ᐟ⁴ · Th), where Th is the time to compute a Hessian-vector product.
- The algorithm achieves a faster convergence rate than all prior methods for finding critical points, breaking the 1/ε² barrier of first-order methods.
- For neural network training, FastCubic runs in Õ(nd/ε³ᐟ² + n³ᐟ⁴d/ε⁷ᐟ⁴) time, with Hessian-vector products computable in O(d) time.
- The method guarantees both gradient and Hessian conditions for approximate local minima: ‖∇f(x)‖ ≤ ε and ∇²f(x) ⪰ −√εI.
- Theoretical analysis shows that the algorithm’s runtime is dominated by solving linear systems, with the cost of matrix inversion and eigenvector approximation bounded via preconditioned iterative methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.