Directional Smoothness and Gradient Methods: Convergence and Adaptivity

Aaron Mishkin, Ahmed Khaled, Yuanhao Wang, Aaron Defazio, Robert M. Gower

Introduction

This paper introduces "directional smoothness," a novel framework for analyzing optimization algorithms that evaluates a function's behavior along the specific path the algorithm takes, rather than relying on global, worst-case constants. By moving away from pessimistic global assumptions, the authors provide much tighter convergence bounds and prove that classic methods—like the Polyak step-size—automatically adapt to the local "smoothness" of the optimization trajectory.

The Problem with Global Assumptions

In the world of optimization theory, the gold standard for analyzing Gradient Descent (GD) is the assumption of $L$-smoothness. This assumes that the gradient of a function doesn't change too quickly anywhere in the entire parameter space. While mathematically convenient, this assumption has two major flaws:

  1. It is too pessimistic: The global constant $L$ represents the absolute worst-case scenario. In practice, GD often traverses regions that are much "flatter" and better behaved than the global $L$ suggests.
  2. It is often false: Many modern models, especially deep neural networks, aren't globally $L$-smooth, yet GD still works remarkably well on them.

Existing "local smoothness" theories attempt to fix this but often require complex proofs, assumptions that the iterates stay within a bounded box, or modifications to the algorithm itself (like line searches). The authors sought a simpler, more natural way to explain why GD performs so well by looking only at the properties of the function along the actual path of optimization.

Methods: Directional Smoothness

The authors introduce the concept of Directional Smoothness ($M(x, y)$). Instead of relying on one global $L$, they define functions that bound the objective based on two specific points, $x$ and $y$.

Comparison of global L-smoothness vs. local directional smoothness bounds.

They propose three specific versions of this smoothness:

  • Point-wise smoothness ($D$): Depends only on the gradients at the endpoints.
  • Path-wise smoothness ($A$): A tighter bound that looks at the gradient variation along the straight line (chord) between two points.
  • Optimal point-wise smoothness ($H$): The tightest possible quadratic upper bound.

Using these definitions, they derive Path-Dependent Sub-Optimality Bounds. These bounds demonstrate that the progress made at each step depends heavily on the local geometry rather than the global worst-case.

Crucially, they analyze two adaptive strategies:

  1. Strongly Adapted Step-sizes: Setting the step-size $\eta_k$ based on the local directional smoothness. They show that for quadratic problems, this recovers the famous "Cauchy step-size."
  2. Polyak Step-size: A classic rule that uses the current function value and the optimal value ($f^*$). They prove a surprising result: the Polyak step-size adapts to any directional smoothness function automatically, achieving fast rates without needing to know the local constants beforehand.

Key Insights

  • The "Aha" Moment for Polyak: The most significant insight is that the Polyak step-size acts as a "universal adapter." It doesn't need to know the directional smoothness to benefit from it. This explains why Polyak's method often outperforms constant step-size GD in practical settings.
  • Average vs. Worst-Case: The convergence rate depends on the average directional smoothness along the path. If most of the path is smooth, a few "rough" patches won't ruin the overall convergence speed.
  • Edge of Stability: The paper connects adapted step-sizes to the "edge of stability" phenomenon observed in deep learning, where step-sizes often hover right at the limit of what the local curvature allows.

Key Results

The authors validated their theory using synthetic quadratic problems and real-world UCI repository datasets (e.g., ionosphere, mammographic, horse-colic).

Optimality gap and theoretical bounds on the ionosphere and mammographic datasets.
  • Tighter Bounds: On datasets like ionosphere and mammographic, the authors' theoretical bounds were orders of magnitude tighter than classical $L$-smoothness bounds, closely tracking the actual empirical progress.
  • Linear Convergence: On the horse-colic dataset, methods using adaptive step-sizes (like Polyak and Normalized GD) achieved linear convergence, while standard GD was significantly slower.
  • Acceleration: They successfully extended the theory to Nesterov’s Accelerated Gradient Descent (AGD), proving that acceleration also benefits from path-dependent smoothness.

Limitations and Future Work

While promising, the framework has limitations. Finding the "strongly adapted" step-size for general non-quadratic functions requires solving a non-linear root-finding problem, which can be computationally expensive. Furthermore, the Polyak step-size requires knowing the optimal value $f^*$, which is rarely known in machine learning (though often assumed to be 0 for over-parameterized neural networks). Finally, most of the rigorous proofs assume convexity; extending these path-dependent bounds to the non-convex landscapes of deep learning remains an exciting open challenge.

Summary updated

BibTeX
@inproceedings{mishkin2024directional,
  author = {Aaron Mishkin and Ahmed Khaled and Yuanhao Wang and Aaron Defazio and Robert M. Gower},
  title = {{Directional Smoothness and Gradient Methods: Convergence and Adaptivity}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=m9WZrEXWl5},
}
Figure