On the Hardness of Online Nonconvex Optimization with Single Oracle Feedback

Ziwei Guan, Yi Zhou, Yingbin Liang

Introduction

In online optimization, an agent makes a sequence of decisions while an environment reveals a sequence of loss functions, with the ultimate goal of minimizing "regret." While the convex case is well-understood, online nonconvex optimization remains a challenging frontier.

Most previous research on nonconvexity has either targeted "global regret" (which is computationally intractable for most nonconvex functions) or relied on "window smoothing." Window smoothing simplifies the problem by averaging functions over time, but it requires an unrealistic, unlimited number of gradient queries at every single step.

This paper tackles the more practical single oracle feedback setting. In this scenario, the agent can only query the environment for one piece of information per step: an exact gradient, a noisy stochastic gradient, or just the function's value (a "black-box" query). To evaluate performance, the authors use local regret, which measures how close the agent gets to "stationary points" (the flat regions of the function) over time. Ultimately, the paper establishes the fundamental performance limits (lower bounds) for this setting and introduces a novel estimator that allows zeroth-order algorithms to match the performance of first-order ones.

Methods and Oracle Settings

The authors analyze three distinct feedback flavors, establishing theoretical lower bounds and optimal algorithms for each:

1. Single Gradient Oracle (SGO)

In the SGO setting, the agent receives the exact gradient $\nabla f_t(x_t)$ at each time step. The authors prove that the classic Online Gradient Descent (OGD) algorithm is optimal here, achieving the theoretical lower bound for local regret.

Algorithm 1: Online Gradient Descent (OGD)

2. Single Stochastic Gradient Oracle (SSGO)

Here, the agent receives a noisy, stochastic version of the gradient. The paper demonstrates that Online Stochastic Gradient Descent (OSGD) successfully hits the theoretical lower bound for this noisy setting.

Algorithm 2: Online Stochastic Gradient Descent (OSGD)

3. Single Value Oracle (SVO)

This is the most challenging setting. The agent only observes the scalar function value $f_t(x_t)$, with no access to the slope or gradient.

The core methodological innovation of this paper is the One-point Running Difference Gradient Estimator. Typically, estimating a gradient from function values requires at least two points (a "two-point estimator") to calculate the slope. In a single-query setting, this is impossible. The authors overcome this by using the current value $f_t$ and the previous value $f_{t-1}$ to construct a "running difference." By carefully managing the step size and perturbation, they simulate the low-variance benefits of a two-point estimator using only one query per step.

(Note: As a theoretical contribution focused on proving mathematical "hardness" and convergence rates, this paper does not use empirical datasets. Instead, it utilizes "hard-to-learn" synthetic function constructions, such as sigmoid-based functions and complex nonconvex chains, to prove that no algorithm can perform better than the derived lower bounds.)

Key Insights and Results

The paper provides tight upper and lower bounds for local regret ($\mathcal{R}(T)$), revealing several critical insights about online nonconvex optimization:

  • Function Variation ($V_T$) Dictates Difficulty: The difficulty of the problem is directly tied to how much the environment's functions change over time. If the functions change too rapidly, no algorithm can learn effectively. The paper's bounds are "problem-dependent," scaling gracefully with this variation.
  • The "Single Oracle" Bottleneck: The single-query constraint makes the problem fundamentally harder than the previously studied "window-smoothed" versions, forcing the agent to "restart" its learning more frequently.
  • Tight Regret Bounds:
    • Exact Gradients (SGO): Both the lower bound and OGD achieve $\mathcal{R}(T) = \Theta(1 + V_T)$.
  • Stochastic Gradients (SSGO): Both the lower bound and OSGD achieve $\mathcal{R}(T) = \Theta(\sigma_g \sqrt{(1 + V_T)T})$.
  • Value-Only (SVO): The proposed running difference algorithm achieves $\mathcal{R}(T) = O(d \sqrt{(1 + V_T)T})$.

The most surprising insight is that in the SVO (value-only) setting, an agent does not need two queries per step to achieve optimal results. By looking back at the previous step's data, the running difference estimator achieves a regret rate that matches what would be expected if the agent had access to a full stochastic gradient. This effectively bridges the gap between zeroth-order and first-order online optimization.

Limitations and Future Work

While the paper establishes strong theoretical foundations, it notes a few limitations:

  • Linear-Span Restriction: The lower bounds are proven specifically for "linear-span" algorithms (where the next move is a linear combination of previous gradients). While this covers most popular methods (like OGD, Adam, or Nesterov acceleration), it does not technically encompass every conceivable algorithm class.
  • Smoothness Requirements: The analysis assumes the functions are "smooth" (i.e., they have Lipschitz continuous gradients). Handling non-smooth nonconvex functions—which frequently appear in deep learning architectures—remains an open challenge.
  • Beyond Local Regret: Local regret guarantees finding a stationary point, but not necessarily a "good" local minimum. Future work could explore whether single-oracle feedback is sufficient to escape "bad" stationary points or saddle points in a purely online setting.

Summary updated

BibTeX
@inproceedings{guan2024hardness,
  author = {Ziwei Guan and Yi Zhou and Yingbin Liang},
  title = {{On the Hardness of Online Nonconvex Optimization with Single Oracle Feedback}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=iZgECfyHXF},
}
Figure