Are Convex Optimization Curves Convex?

Guy Barzilai, Ohad Shamir, Moslem Zamani

Abstract

In the study of optimization, we often assume that gradient descent on a smooth convex function yields a "well-behaved" convex optimization curve. This paper reveals a surprising theoretical threshold: while gradient descent converges for step sizes up to $2/L$, the resulting optimization curve is only guaranteed to be convex if the step size $\eta \le 1.75/L$. Beyond this point, the curve can lose convexity and exhibit plateaus, potentially misleading practitioners into believing training has stalled. Conversely, the norm of the gradient remains a reliable monotonic signal across the entire convergent regime.

Introduction

When training machine learning models, the "loss curve"—a plot of the objective function value over iterations—is the primary diagnostic tool. Ideally, these curves are convex, indicating that the rate of improvement slows down smoothly as the model approaches a minimum. If a curve becomes non-convex or plateaus, it might suggest the model has reached a local optimum or stalled, even if a significant drop in loss is imminent.

While the convergence of gradient descent (GD) on $L$-smooth convex functions is well-understood for step sizes $\eta < 2/L$, the geometric properties of the sequence of function values $\{f(x_n)\}$ had not been rigorously characterized. This research asks a fundamental question: Does "convex optimization" actually produce "convex curves"?

The Geometry of Discrete Optimization

The authors define an optimization curve as the linear interpolation of the sequence of function values $\{(n, f(x_n))\}$. To prove convexity, one must show that the sequence of differences $\{f(x_n) - f(x_{n+1})\}$ is non-increasing, meaning the "gains" per step are getting smaller over time.

Gradient descent steps on a quadratic function (left) and the resulting optimization curve (right).

As shown in the figure above, for a simple quadratic function $f(x) = x^2$, the steps taken by gradient descent lead to a sequence of values that form a characteristic decay curve. The paper investigates the conditions under which this decay remains strictly convex regardless of the starting point or the specific $L$-smooth convex function being optimized.

The "Magic" Threshold: $1.75/L$

The most striking finding is that the "safe" zone for convexity is smaller than the zone for convergence.

  1. The Positive Result (Theorem 1): For any $L$-smooth convex function, if the step size $\eta \in (0, 1.75/L]$, the optimization curve is provably convex. This value $1.75/L$ is derived from the fraction $7/4L$.
  2. The Negative Result (Theorem 2): For any step size $\eta \in (1.75/L, 2/L)$, there exists a smooth convex function (such as a Huber-like function) and a starting point where the optimization curve loses convexity.

This non-convexity is purely an artifact of discretization. In the continuous-time analogue, Gradient Flow (GF), the optimization curve is always convex for smooth convex functions. When the discrete step size is too large (exceeding $1.75/L$), the system "over-corrects" in a way that breaks the smooth, decelerating decay of the loss, even while successfully converging to the global minimum.

Gradient Norm as a Robust Signal

While the loss curve might become "jittery" or non-convex with large step sizes, the researchers found that the gradient norm $\|\nabla f(x_n)\|$ is much more robust. They prove in Theorem 3 that for any step size in the convergent range ($\eta \le 2/L$), the sequence of gradient norms is non-increasing. This suggests that if a practitioner is using a large learning rate and observes a non-convex loss curve, the gradient norm may provide a more stable and reliable indicator of progress toward the optimum than the function value itself.

Conclusion and Future Directions

This work highlights a subtle but important distinction between convergence and the geometric behavior of optimization trajectories. While the $1.75/L$ threshold provides a new theoretical bound for "well-behaved" curves, several questions remain. The current counter-examples show non-convexity over short intervals; whether a curve can remain concave (accelerating) for many steps is still an open question. Furthermore, extending this analysis to stochastic methods (SGD) or non-convex landscapes typical of deep learning remains a significant challenge for future research.

Summary updated

BibTeX
@article{barzilai2025are,
  author = {Guy Barzilai and Ohad Shamir and Moslem Zamani},
  title = {{Are Convex Optimization Curves Convex?}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=TZtpxselK2},
}
Figure