Revisiting Smoothed Online Learning: Competitive Ratio, Dynamic Regret with Switching Cost, and Best of Both Worlds
Authors: Lijun Zhang, Linzhe He, Wei Jiang, Shiyin Lu
Organizations: State Key Laboratory of Novel Software Technology, Nanjing University, Nanjing 210023, China · School of Artificial Intelligence, Nanjing University, Nanjing 210023, China · School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094, China · Alibaba Group, Hangzhou 310052, China
We revisit smoothed online learning and develop algorithms with improved competitive ratios, optimal dynamic regret with switching cost, and best-of-both-worlds guarantees. Surprisingly, minimizing the hitting cost alone is max(1,α2)-competitive for α-polyhedral functions under the ℓ2-norm switching cost and 1+λ4-competitive for λ-quadratic growth functions under the squared ℓ2-norm switching cost, significantly improving existing guarantees. The polyhedral bound is tight for this naive algorithm, and we establish a matching lower bound for α≥1. For convex λ-quadratic growth hitting costs, minimizing a suitably weighted sum of hitting and squared ℓ2-norm switching costs yields a competitive ratio of 1+λ2. For dynamic regret with the ℓ2-norm switching cost, we develop Smoothed Ader (SAder), which achieves the optimal O(T(1+PT)) rate in the standard online convex optimization setting, where PT is the comparator's path-length. Its lookahead version removes the bounded-gradient assumption, and a matching lower bound establishes optimality in this setting. Finally, for convex hitting costs on a bounded convex domain, we develop UDNP to aggregate any two experts in the lookahead setting under both switching costs. Its additional cumulative cost is at most O(1) relative to the first expert and O(TlogT) relative to the second, yielding best-of-both-worlds guarantees without bounded gradients.
Figures & tables
Algorithm
Assumptions
Competitive Ratio
OBD ( Chen et al., 2018 )
ft(⋅) is α -polyhedral
3+α8
ft(⋅) is convex
X is convex
The Naive Approach
ft(⋅) is α -polyhedral
1+α2
( Lin et al., 2020 , Lemma 1)
The Naive Approach
max(1,α2)
Table 1: Competitive Ratios of OBD and Related Methods. All algorithms operate in the lookahead setting. The switching cost is the ℓ2 -norm for the α -polyhedral results and Constrained OBD, and the squared ℓ2 -norm for all remaining results.
State Key Laboratory for Novel Software Technology, Nanjing University · School of Artificial Intelligence, Nanjing University · School of Software Technology, Zhejiang University