Abstract
We consider the problem of finding an $\varepsilon$-approximate stationary point of a smooth function on a compact domain of $\R^d$. In contrast with dimension-free approaches such as gradient descent, we focus here on the case where $d$ is finite, and potentially small. This viewpoint was explored in 1993 by Vavasis, who proposed an algorithm which, for {\em any fixed finite dimension $d$}, improves upon the $O(1/\varepsilon^2)$ oracle complexity of gradient descent. For example for $d=2$, Vavasis’ approach obtains the complexity $O(1/\varepsilon)$. Moreover for $d=2$ he also proved a lower bound of $\Omega(1/\sqrt{\varepsilon})$ for deterministic algorithms (we extend this result to randomized algorithms). Our main contribution is an algorithm, which we call {\em gradient flow trapping} (GFT), and the analysis of its oracle complexity. In dimension $d=2$, GFT closes the gap with Vavasis’ lower bound (up to a logarithmic factor), as we show that it has complexity $O\left(\sqrt{\frac{\log(1/\varepsilon)}{\varepsilon}}\right)$. In dimension $d=3$, we show a complexity of $O\left(\frac{\log(1/\varepsilon)}{\varepsilon}\right)$, improving upon Vavasis’ $O\left(1 / \varepsilon^{1.2} \right)$. In higher dimensions, GFT has the remarkable property of being a {\em logarithmic parallel depth} strategy, in stark contrast with the polynomial depth of gradient descent or Vavasis’ algorithm. In this higher dimensional regime, the total work of GFT improves quadratically upon the only other known polylogarithmic depth strategy for this problem, namely naive grid search.
Introduction
In non-convex optimization, a primary goal is to find an $\varepsilon$-stationary point, where $\|\nabla f(x)\| \le \varepsilon$. Standard Gradient Descent (GD) is dimension-free, requiring $O(1/\varepsilon^2)$ steps regardless of the dimension $d$. However, when $d$ is small—as in hyperparameter tuning or low-dimensional physical simulations—this approach fails to exploit the geometry of the space.
While Vavasis (1993) demonstrated that $O(1/\varepsilon)$ complexity is achievable in 2D, a significant gap remained relative to the theoretical lower bound of $\Omega(1/\sqrt{\varepsilon})$. Furthermore, GD is inherently sequential. This paper introduces Gradient Flow Trapping (GFT), an algorithm that improves query complexity in low dimensions and offers a breakthrough in parallel complexity.
Methods: The Trapping Principle
The core of GFT is a "local-to-global" trapping principle, reminiscent of cutting-plane methods in convex optimization. If a function's values on the boundary of a region are significantly higher than at an interior "pivot" point $x$, the gradient flow originating at $x$ is effectively trapped within that region. It cannot exit without passing through a stationary point.
To implement this efficiently, GFT employs several strategies:
- Parallel Trap Subroutine: The algorithm queries a $\sqrt{\varepsilon}$-net on specific hyperplanes. This allows it to either identify a point with a significantly lower function value (enabling a "jump") or prove that a stationary point is trapped in a smaller sub-region.
- Edge Fixing: To account for discretization errors from the net, a specialized subroutine "fixes" boundaries, ensuring the trapping property holds as the search space shrinks.
- Non-Convex Cutting Planes: Unlike traditional cutting-plane methods, GFT does not require convexity. By monitoring the boundary, it guarantees the existence of a stationary point even in highly non-linear landscapes.
Key Results
GFT significantly improves upon existing bounds for low-dimensional optimization:
- Dimension $d=2$: GFT achieves a complexity of $O\left(\sqrt{\frac{\log(1/\varepsilon)}{\varepsilon}}\right)$, nearly closing the gap with the lower bound.
- Dimension $d=3$: The complexity is improved to $O\left(\frac{\log(1/\varepsilon)}{\varepsilon}\right)$, a substantial gain over the previous $O(1/\varepsilon^{1.2})$.
- Parallelism: GFT is the first algorithm to achieve polylogarithmic depth ($O(\text{poly}(d) \log(1/\varepsilon))$). This allows for massive speedups on parallel hardware, as the time to find a solution grows very slowly with precision requirements.
- Lower Bounds: The authors extend Vavasis' lower bound to randomized algorithms by connecting the problem to "unpredictable walks" in probability theory.
Discussion and Limitations
While GFT excels in low dimensions ($d=2, 3$) and parallel settings, it faces the "curse of dimensionality." For $d \ge 4$, the total work grows exponentially, and Vavasis’s original algorithm may perform less total work, though GFT remains superior in parallel depth.
Future work includes closing the remaining logarithmic gap in 2D and extending the geometric proofs to handle more complex, non-monotone paths in higher dimensions.
Summary updated