Online Non-Stationary Stochastic Quasar-Convex Optimization

Yuen-Man Pun, Iman ShamesarXiv 2024 · DOI

Introduction

In modern machine learning, many optimization landscapes are inherently non-convex, yet they are often solved using simple gradient-based methods. While traditional online learning theory relies heavily on convexity, real-world applications—ranging from online advertising to resource allocation—frequently encounter non-stationary environments where the underlying data distribution shifts over time. This paper addresses a critical gap by providing the first theoretical guarantees for Online Gradient Descent (OGD) applied to quasar-convex functions in non-stationary, noisy settings.

The Challenge of Non-Stationarity and Non-Convexity

Standard online learning assumes a static optimal solution or a convex loss landscape. However, neural networks and many Generalized Linear Models (GLMs) are non-convex. The authors focus on quasar-convexity, a property where a function is unimodal along any line segment passing through its global minimizer. This class of functions is "better" than general non-convex functions because it lacks local minima that could trap optimization algorithms, yet it is broad enough to encompass models like GLMs with ReLU or logistic activations.

The primary goal is to minimize dynamic regret, which measures the difference between the algorithm's cumulative loss and the loss of the best possible decision at each specific time step $t$.

Methodology: Online Gradient Descent

The study analyzes the performance of Online Gradient Descent (OGD) under non-stationary conditions. To quantify performance, the authors introduce several key metrics related to the environment's volatility and the noise in gradient feedback.

Notation and algorithm definitions used in the analysis.

The analysis moves beyond standard Lipschitz smoothness to "weak smoothness," where the gradient norm is bounded relative to the distance to the optimum. This allows for a more flexible theoretical framework that better matches practical scenarios.

Key Theoretical Results

The core contribution of this work is the derivation of sublinear dynamic regret bounds for quasar-convex functions. The bounds are expressed in terms of the cumulative path variation ($V_T$), representing how much the target moves, and the cumulative gradient variance ($E_T^2$), representing noise.

Comparison of regret bounds for various online optimization settings.

As shown in the comparison table above, this work establishes that for weakly smooth quasar-convex losses, the regret is $O(V_T + E_T^2)$. For the more restrictive case of strongly quasar-convex functions, the bound tightens to $O(V_T + E_T)$. These results demonstrate that as long as the environment does not change too rapidly (i.e., $V_T$ is sublinear), the average error of the online algorithm will vanish over time.

Validating with Generalized Linear Models (GLMs)

The authors provide a rigorous theoretical foundation for why gradient methods work well for GLMs. They prove that GLMs with common activation functions—such as ReLU, Leaky ReLU, and Logistic—satisfy strong quasar-convexity under specific distributional assumptions.

To validate these findings, simulations were conducted on synthetic datasets ($n=50, T=1000$). The results confirmed that:

  • Regret curves grow sublinearly across all tested activation functions.
  • The algorithm is robust to noisy gradient feedback, effectively averaging out noise over time.
  • The performance is directly tied to the "path length" of the optimal parameters, confirming the theoretical link between regret and environmental volatility.

Conclusion and Future Directions

This research provides a significant step forward in understanding non-convex online optimization. By identifying quasar-convexity as a viable "middle ground" between convexity and general non-convexity, the authors offer a framework for analyzing complex models in changing environments.

Future work includes extending these results to multi-layer neural networks, where the composition of quasar-convex functions does not automatically preserve the property. Additionally, exploring second-order methods like the Online Newton Method for quasar-convex losses could further improve convergence rates in non-stationary settings.

Summary updated

Abstract

Recent research has shown that quasar-convexity can be found in applications such as identification of linear dynamical systems and generalized linear models. Such observations have in turn spurred exciting developments in design and analysis algorithms that exploit quasar-convexity. In this work, we study the online stochastic quasar-convex optimization problems in a dynamic environment. We establish regret bounds of online gradient descent in terms of cumulative path variation and cumulative gradient variance for losses satisfying quasar-convexity and strong quasar-convexity. We then apply the results to generalized linear models (GLM) when the underlying parameter is time-varying. We establish regret bounds of online gradient descent when applying to GLMs with leaky ReLU activation function, logistic activation function, and ReLU activation function. Numerical results are presented to corroborate our findings.
BibTeX
@misc{pun2024online,
  author = {Yuen-Man Pun and Iman Shames},
  title = {{Online Non-Stationary Stochastic Quasar-Convex Optimization}},
  year = {2024},
  eprint = {2407.03601},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.03601},
}
Figure