arXiv:2610.26473cs.LGOct 2026

Manuscript Offprint

arXiv:2610.26473

A Simple and Unified Method for Gradient-Variation Regret

Hang Yu, Peng Zhao

Abstract

Gradient-variation online learning has attracted increasing attention for its connections to game theory and optimization. It has been studied in both non-stationary online learning, which aims to minimize dynamic regret against time-varying comparator sequences, and universal online learning, which seeks to adapt to unknown loss curvature. Prior work obtained gradient-variation bounds using different techniques tailored to each setting. We propose a simple and unified method based on surrogate losses with a quadratic penalty on decision movement, yielding gradient-variation bounds in both settings. For non-stationary online learning, the method induces an optimistic-to-gradient-variation reduction, enabling a broad class of algorithms to match the rate established by Zhao et al. (2024). For universal online learning, it yields a simple algorithm that matches the optimal universal regret bounds of Yan et al. (2024) while relaxing the extended smoothness assumption. Finally, we apply our method to online games and improve on existing guarantees.

Keywords: Gradient-variation regret, Universal online learning, Dynamic regret, Online game.

1. Introduction

Online convex optimization (OCO) provides a versatile framework for studying sequential interactions between a learner and an environment (Hazan, 2016; Orabona, 2019). At each round t∈[T]t \in [T], the learner selects a decision xt\mathbf{x}_t from a compact convex set X⊆Rd\mathcal{X} \subseteq \mathbb{R}^d, while the environment simultaneously chooses a convex loss function ft:X→Rf_t : \mathcal{X} \to \mathbb{R}. The learner then incurs loss ft(xt)f_t(\mathbf{x}_t) and observes the gradient ∇ft(xt)\nabla f_t(\mathbf{x}_t), aiming to optimize the game-theoretical performance measure known as static regret (Cesa-Bianchi and Lugosi, 2006), which is defined as

REGT=∑t=1Tft(xt)−min⁡x∈X∑t=1Tft(x).(1.1)\mathrm{REG}_{T}=\sum_{t=1}^{T}f_{t}(\mathbf{x}_{t})-\min_{\mathbf{x}\in\mathcal{X}}\sum_{t=1}^{T}f_{t}(\mathbf{x}). \tag{1.1}

For OCO, the minimax optimal regret bounds are O(T)\mathcal{O}(\sqrt{T}) for convex functions (Zinkevich, 2003), O(1λlog⁡T)\mathcal{O}(\frac{1}{\lambda}\log T) for λ\lambda-strongly convex functions (Hazan, 2016), and O(dαlog⁡T)\mathcal{O}(\frac{d}{\alpha}\log T) for α\alpha-exp-concave functions (Yang et al., 2014). Beyond worst-case minimax optimality, prior work studied regret bounds that adapt to problem-dependent hardness. Among these problem-dependent quantities, gradient variation (Chiang et al., 2012; Yang et al., 2014) is of particular interest. It quantifies the cumulative variation in gradients between consecutive loss functions:

VT≜∑t=2Tsup⁡x∈X∥∇ft(x)−∇ft−1(x)∥22.(1.2)V_{T}\triangleq\sum_{t=2}^{T}\sup_{\mathbf{x}\in\mathcal{X}}\|\nabla f_{t}(\mathbf{x})-\nabla f_{t-1}(\mathbf{x})\|_{2}^{2}. \tag{1.2}

Adapting to gradient variation improves regret bounds to O(VT)\mathcal{O}(\sqrt{V_T}), O(1λlog⁡VT)\mathcal{O}(\frac{1}{\lambda}\log V_T), and O(dαlog⁡VT)\mathcal{O}(\frac{d}{\alpha}\log V_T) for convex, λ\lambda-strongly convex, and α\alpha-exp-concave loss functions, respectively. Gradient-variation

© H. Yu & P. Zhao.

adaptivity also helps bridge adversarial and stochastic optimization (Sachs et al., 2022; Chen et al., 2024), enables fast rates in games (Rakhlin and Sridharan, 2013b; Syrgkanis et al., 2015), and facilitates acceleration in smooth offline optimization (Cutkosky, 2019; Kavis et al., 2019; Zhao et al., 2025b), among other applications. Recent work further explored gradient variation in more challenging settings, including non-stationary online learning and universal online learning.

Non-stationary Online Learning. Static regret (1.1) measures performance against a fixed comparator x∗∈arg⁡min⁡x∈X∑t=1Tft(x)\mathbf{x}^* \in \arg\min_{\mathbf{x} \in \mathcal{X}} \sum_{t=1}^T f_t(\mathbf{x}) and becomes an inadequate measure in non-stationary environments where the optimal decision may change over time. To address this limitation, prior work studied dynamic regret (Zinkevich, 2003), which compares the learner's performance with a sequence of time-varying comparators {ut}t=1T\{\mathbf{u}_t\}_{t=1}^T and is defined as follows:

D−REGT(u1:T)≜∑t=1Tft(xt)−∑t=1Tft(ut).(1.3)\mathrm{D-REG}_{T}(\mathbf{u}_{1:T})\triangleq\sum_{t=1}^{T}f_{t}(\mathbf{x}_{t})-\sum_{t=1}^{T}f_{t}(\mathbf{u}_{t}). \tag{1.3}

A desirable dynamic regret bound adapts to the comparator path length PT≜∑t=2T∥ut−ut−1∥2P_T \triangleq \sum_{t=2}^T \| \mathbf{u}_t - \mathbf{u}_{t-1} \|_2, which measures cumulative changes in the comparator sequence and is unknown to the learner. Zhang et al. (2018) obtained the minimax-optimal dynamic regret bound O(T(1+PT))\mathcal{O}(\sqrt{T(1 + P_T)}), which was later strengthened for smooth functions to O((1+VT+PT)(1+PT))\mathcal{O}(\sqrt{(1 + V_T + P_T)(1 + P_T)}) (Zhao et al., 2024).

Universal Online Learning. Classical approaches require prior knowledge of the curvature of loss functions to select suitable algorithms and obtain the corresponding regret guarantees. Such information, however, may be unavailable in practice. Universal online learning aims to develop a single algorithm that adapts to unknown curvature and matches the regret guarantees achievable when the curvature is known (van Erven and Koolen, 2016; Wang et al., 2020; Zhang et al., 2022; Yan et al., 2023, 2024). van Erven and Koolen (2016) initiated the study of universal online learning by developing a single algorithm with regret bounds of O(dαlog⁡T)\mathcal{O}(\frac{d}{\alpha} \log T) for α\alpha-exp-concave functions and O(T)\mathcal{O}(\sqrt{T}) for convex functions. Wang et al. (2020) subsequently obtained O(1λlog⁡T)\mathcal{O}(\frac{1}{\lambda} \log T) for λ\lambda-strongly convex functions while retaining optimal regret guarantees for convex and exp-concave functions. Exploiting smoothness, Zhang et al. (2022) refined minimax guarantees to optimal gradient-variation bounds for strongly convex and exp-concave functions. Yan et al. (2023) further obtained a regret of O(VTlog⁡VT)\mathcal{O}(\sqrt{V_T \log V_T}) bound for convex functions. Under an extended smoothness assumption, Yan et al. (2024) achieved optimal universal gradient-variation bounds for all three classes of functions.

Our Contributions. In this work, we propose a simple and unified method for gradient-variation regret bounds in these challenging settings. For non-stationary online learning, our method yields a black-box reduction that converts optimistic regret bounds into gradient-variation bounds. This reduction enables a broad class of algorithms to achieve O((1+VT+PT)(1+PT))\mathcal{O}(\sqrt{(1+V_T+P_T)(1+P_T)}), matching the rate established by Zhao et al. (2024). For universal online learning, our method simplifies algorithm design and yields an algorithm that matches the optimal gradient-variation bounds of Yan et al. (2024) while relaxing their extended smoothness assumption. These bounds are O(VT)\mathcal{O}(\sqrt{V_T}), O(dαlog⁡VT)\mathcal{O}(\frac{d}{\alpha}\log V_T), and O(1λlog⁡VT)\mathcal{O}(\frac{1}{\lambda}\log V_T) for convex, α\alpha-exp-concave, and λ\lambda-strongly convex functions, respectively. Table 1 compares these guarantees with prior work. Notably, our algorithm preserves the “Regret bounded by Variation in Utilities” (RVU) property, which is crucial for fast convergence in games, while requiring minimal smoothness assumptions. We further apply our universal regret guarantee to facilitate fast convergence in online games. Under honest play, the sum of the two players’ regrets is O(1)\mathcal{O}(1) in both bilinear and strongly convex–strongly concave games, matching

Table 1: Comparison of universal regret guarantees. The regret columns show bounds for strongly convex, exp-concave, and convex loss functions using O(⋅)\mathcal{O}(\cdot) notation. We list universal guarantees in terms of the gradient variation VTV_T or the time horizon TT. The “Regret bounded by Variation in Utilities” (RVU) column indicates whether the method supports this property for fast convergence in online games. In the Smoothness column, “No” means no smoothness assumption, “Yes” means smoothness on X\mathcal{X}, and “Extended” means smoothness on a larger domain containing X\mathcal{X}.

WorksRegret BoundsRVUSmoothness
Strongly ConvexExp-concaveConvex
Zhang et al. (2022)O(log⁡VT)\mathcal{O}(\log V_T)O(dlog⁡VT)\mathcal{O}(d\log V_T)O(T)\mathcal{O}(\sqrt{T})NoYes
Yan et al. (2023)O(log⁡VT)\mathcal{O}(\log V_T)O(dlog⁡VT)\mathcal{O}(d\log V_T)O(VTlog⁡VT)\mathcal{O}(\sqrt{V_T\log V_T})YesYes
Yan et al. (2024)O(log⁡VT)\mathcal{O}(\log V_T)O(dlog⁡VT)\mathcal{O}(d\log V_T)O(VT)\mathcal{O}(\sqrt{V_T})NoExtended
OursO(log⁡VT)\mathcal{O}(\log V_T)O(dlog⁡VT)\mathcal{O}(d\log V_T)O(VT)\mathcal{O}(\sqrt{V_T})YesYes

Yan et al. (2023). Under dishonest play, the individual regret guarantee in bilinear games improves from O(Tlog⁡T)\mathcal{O}(\sqrt{T\log T}) in Yan et al. (2023) to O(T)\mathcal{O}(\sqrt{T}).

Organization. The remainder of the paper is organized as follows. Section 2 introduces the preliminaries and reviews existing approaches to gradient-variation bounds. Section 3 presents our unified method for deriving gradient-variation regret bounds. Section 4 establishes a black-box reduction for non-stationary online learning. Section 5 develops a simple universal algorithm with optimal gradient-variation regret bounds. Section 6 applies these universal guarantees to online games. Finally, Section 7 concludes the paper. All proofs are deferred to the appendices.

References (25)