Online Learning Without Prior Information

Ashok Cutkosky, Kwabena Boahen

Problem Definition and Prior Work

The case in which we have no bound on either BB or Lmax⁡L_{\max} is common in practice. A standard pragmatic approach to this lack of information is to simply make a guess for these parameters and then apply an algorithm that uses the guess as input, but this approach is theoretically unsound in online learning, and rather laborious and inelegant in general. We explore lower bounds and algorithms that adapt to the unknown quantities in a principled way in this paper.

Where no information is given, we prove that there is a frontier of matching lower and upper bounds on RT(u)R_{T}(u) that trades-off a ∥u∥Lmax⁡Tlog⁡(∥u∥T)\|u\|L_{\max}\sqrt{T}\log(\|u\|T) term with a exp⁡(max⁡tLt/Lt−1)\exp(\max_{t}L_{t}/L_{t-1}) term along two dimensions, which we parametrize by kk and γ\gamma.The square root is missing from the exponential term because we improved the lower bound given in Cutkosky and Boahen (2016) (see Section 3). Along the first dimension, the exponential penalty is reduced to exp⁡((Lt/Lt−1)/k2)\exp((L_{t}/L_{t-1})/k^{2}) for any k>0k>0 at the expense of rescaling the regret’s T\sqrt{T} term to k∥u∥Lmax⁡Tlog⁡(∥u∥T)k\|u\|L_{\max}\sqrt{T}\log(\|u\|T). Along the second dimension, the logarithm’s power in the T\sqrt{T} term is reduced to ∥u∥Lmax⁡Tlog⁡γ(∥u∥T)\|u\|L_{\max}\sqrt{T}\log^{\gamma}(\|u\|T) for any γ∈(1/2,1]\gamma\in(1/2,1] at the expense of increasing the exponential penalty to exp⁡((Lt/Lt−1)1/(2γ−1))\exp((L_{t}/L_{t-1})^{1/(2\gamma-1)}). We prove the lower bounds by constructing a specific adversarial loss sequence, and we prove the upper bounds by providing a family of algorithms whose regret matches the lower bound frontier for any kk and γ\gamma.

Notation and Setup

We will focus all of our lower bounds in Section 3 and algorithms in Section 5 on the case in which the domain WW is an entire Hilbert space, so that WW has infinite diameter and no boundary. This case is very common in practical optimization optimization problems encountered in machine learning, in which any constraints are often only implicitly enforced via regularization. Our objective is to design lower bounds and algorithms such that RT(u)R_{T}(u) depends on ∥u∥\|u\|, TT, and Lmax⁡L_{\max} without prior knowledge of these parameters.

A Frontier of Lower Bounds

In this section we give our frontier of lower bounds for online optimization without prior information. First we describe our adversarial loss sequence and lower bound frontier along the kk dimension, and then we extend the argument to obtain the full two dimensional frontier parametrized by both kk and γ\gamma.

The cost that an algorithm pays when faced with the adversarial sequence is stated formally in the following Theorem.

where Lt=max⁡t′≤t∥gt′∥L_{t}=\max_{t^{\prime}\leq t}\|g_{t^{\prime}}\|, and Lmax⁡=LT=max⁡t≤T∥gt∥L_{\max}=L_{T}=\max_{t\leq T}\|g_{t}\|.

The first inequality in this bound demonstrates that it is impossible to guarantee sublinear regret without prior information while maintaining O(Lmax⁡∥u∥log⁡(∥u∥))O(L_{\max}\|u\|\log(\|u\|)) dependence on Lmax⁡L_{\max} and ∥u∥\|u\|,it is possible to guarantee sublinear regret in exchange for O(Lmax⁡∥u∥2)O(L_{\max}\|u\|^{2}) dependence, see Orabona and Pál (2016b) but the second inequality provides hope that if the loss sequence is limited to small jumps in LtL_{t}, then we might be able to obtain sublinear regret. Specifically, from the first inequality, observe that in order to bring the exponential term to lower than O(T)O(T), the value of kk needs to be at least Ω(T/log⁡(T))\Omega(\sqrt{T}/\log(T)), which causes the non-exponential term to become O(T)O(T). However, the second inequality emphasizes that our high regret is the result of a large jump in the value of LtL_{t}, so that we might expect to do better if there are no such large jumps. Our upper bounds are given in the form of algorithms that guarantee regret matching the second inequality of this lower bound for any kk, showing that we can indeed do well without prior information so long as LtL_{t} does not increase too quickly.

2 Trade-offs in the Logarithmic exponent γ𝛾\gamma

To extend the frontier to the γ\gamma dimension, we modify our adversarial sequence by setting gT=O(γk1/γT1−1/2γ)g_{T}=O(\gamma k^{1/\gamma}T^{1-1/2\gamma}) instead of O(kT)O(k\sqrt{T}). This results in a penalty that is exponential in (T/k)1/γ(\sqrt{T}/k)^{1/\gamma}, which we express as a multiple of (Lt/γk2Lt−1)1/(2γ−1)(L_{t}/\gamma k^{2}L_{t-1})^{1/(2\gamma-1)}. Since γ∈(1/2,1]\gamma\in(1/2,1], we are getting a larger exponential penalty even though the adversarial subgradients have decreased in size, illustrating that decreasing the logarithmic factor is very expensive.

The full frontier is stated formally in the following Theorem.

where Lt=max⁡t′≤t∥gt′∥L_{t}=\max_{t^{\prime}\leq t}\|g_{t^{\prime}}\| and Lmax⁡=LT=max⁡t≤T∥gt∥L_{\max}=L_{T}=\max_{t\leq T}\|g_{t}\|.

Again, the first inequality tells us that adversarial sequences can always deny the algorithm sublinear regret and the second inequality says that so long as LtL_{t} grows slowly, we can still hope for sublinear regret. This time, however, the second inequality appears to blow up when γ→1/2\gamma\to 1/2. In this case, Lmax⁡=O(k2)L_{\max}=O(k^{2}) regardless of TT and so the value of Lt/Lt−1L_{t}/L_{t-1} is never very large, keeping the exponent in the second inequality less than 1 so that the singularity in the exponent does not send the bound to infinity. This singularity at γ=1/2\gamma=1/2 tells us that the adversary does not need to be “very adversarial” in order to force us to experience exponential regret.

To gain some more intuition for what happens at γ=1/2\gamma=1/2, consider a model in which the adversary must commit ahead of time to some Lmax⁡L_{\max} (which corresponds to picking kk), unknown to the optimization algorithm, such that ∥gt∥≤Lmax⁡\|g_{t}\|\leq L_{\max} for all tt. When a bound Lbound≥Lmax⁡L_{\text{bound}}\geq L_{\max} is known to the algorithm ahead of time, then it is possible to achieve O(∥u∥LboundTlog⁡(∥u∥T))O(\|u\|L_{\text{bound}}\sqrt{T\log(\|u\|T)}) regret (e.g. see Orabona and Pál (2016a)). However, note that when γ=1/2\gamma=1/2, committing to an appropriate Lmax⁡L_{\max} would not prevent an adversary from using the sequence of Theorem 2. Therefore, Theorem 2 tells us that algorithms which achieve O(∥u∥LboundTlog⁡(∥u∥T))O(\|u\|L_{\text{bound}}\sqrt{T\log(\|u\|T)}) regret are inherently very fragile because if the bound is incorrect (which happens for large enough kk), then the adversary can force the algorithm to suffer Lmax⁡exp⁡(O(T/Lmax⁡))L_{\max}\exp(O(T/L_{\max})) regret for arbitrarily large TT.

Continuing with the model in which the adversary must commit to some unknown Lmax⁡L_{\max} ahead of time, suppose we are satisfied with O(∥u∥Lmax⁡Tlog⁡γ(∥u∥T))O(\|u\|L_{\max}\sqrt{T}\log^{\gamma}(\|u\|T)) regret for some γ>1/2\gamma>1/2. In this case, after some (admittedly possibly very large) number of iterations, the exponential term in the second inequality no longer grows with TT, and the adversarial strategy of Theorem 2 is not available because this strategy requires a choice of Lmax⁡L_{\max} that depends on TT. Therefore an algorithm that guarantees regret matching the second inequality for some kk and γ\gamma will obtain an asymptotic dependence on TT that is only log⁡γ(T)T\log^{\gamma}(T)\sqrt{T}.

These lower bounds show that there is a fundamental frontier of tradeoffs the between parameters γ\gamma and kk and the exponential penalty. Now we proceed to derive algorithms that match any point on the frontier without prior information.

Regret Analysis without Information

In this section we provide the tools used to derive algorithms whose regret matches the lower bounds in the previous section. Our algorithms make use of the Follow-the-Regularized-Leader (FTRL) framework, which is an elegant and intuitive way to design online learning algorithms (see Shalev-Shwartz (2011); McMahan (2014) for detailed discussions). After seeing the ttht^{th} loss of the online learning game, an FTRL algorithm chooses a function ψt\psi_{t} (called a regularizer), and picks wt+1w_{t+1} according to:

Careful choice of regularizers is obviously crucial to the success of such an algorithm, and in the following we provide simple conditions on ψ\psi sufficient for FTRL to achieve optimal regret without prior information. Our analysis generalizes many previous works for online learning with unconstrained WW (e.g. Orabona (2013, 2014); Cutkosky and Boahen (2016)) in which regret bounds were proved via arduous ad-hoc constructions. Further, our techniques improve the regret bound in the algorithm that does not require prior information of Cutkosky and Boahen (2016). We note that an alternative set of conditions on regularizers was given in Orabona and Pál (2016a) via an elegant reduction to coin-betting algorithms, but this prior analysis requires a known bound on Lmax⁡L_{\max}.

Our regularizers ψt\psi_{t} take the form ψt(w)=katηtψ(atw)\psi_{t}(w)=\frac{k}{a_{t}\eta_{t}}\psi(a_{t}w) for some fixed function ψ\psi and numbers ata_{t} and ηt\eta_{t}. The value kk specifies the corresponding tradeoff parameter in the lower-bound frontier, while the function ψ\psi specifies the value of γ\gamma. The values for ata_{t} and ηt\eta_{t} do not depend on kk or ψ\psi, but are carefully chosen functions of the observed gradients g1,…,gtg_{1},\dots,g_{t} that guarantee the desired asymptotics in the regret bound.

Prior analyses of FTRL often make use of strongly-convex regularizers to simplify regret analysis, but it turns out that strongly-convex regularizers cannot match our lower bounds. Fortunately, there is a simple generalization of strong-convexity that will suffice for our purposes. This generalized notion is very similar to a dual version of the “local smoothness” condition used in Orabona (2013). We define this generalization of strong-convexity below.

We’ll usually just write σ\sigma-strongly convex instead of σ(⋅,⋅)\sigma(\cdot,\cdot)-strongly convex since our definition is purely a generalization of the standard one. We will also primarily make use of the special case σ(w,z)=min⁡(σ(w),σ(z))\sigma(w,z)=\min(\sigma(w),\sigma(z)).

2 Adaptive regularizers

Now we present a few definitions that will allow us to easily construct sequences of regularizers that achieve regret bounds without information. Intuitively, we require that our regularizers ψt\psi_{t} grow super-linearly in order to ensure that ψt(w)+g1:tw\psi_{t}(w)+g_{1:t}w always has a minimal value. However, we do not want ψt\psi_{t} to grow quadratically because this will result in O(∥u∥2)O(\|u\|^{2}) regret. The formal requirements on the shape of ψt\psi_{t} are presented in the following definition:

For any CC, there exists a BB such that ψ(x)σ(x)≥C\psi(x)\sigma(x)\geq C for all ∥x∥≥B\|x\|\geq B.

is called a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer. We also define the useful auxiliary function h(w)=ψ(w)σ(w)h(w)=\psi(w)\sigma(w) and by mild abuse of notation, we define h−1(x)=max⁡h(w)≤x∥w∥h^{-1}(x)=\max_{h(w)\leq x}\|w\|.

We will use adaptive regularizers as building blocks for our FTRL regularizers ψt\psi_{t}, so it is important to have examples of such functions. We will provide some tools for finding adaptive regularizers in Section 5, but to keep an example in mind for now, we remark that ψ(w)=(∥w∥+1)log⁡(∥w∥+1)−∥w∥\psi(w)=(\|w\|+1)\log(\|w\|+1)-\|w\| is a (1∥⋅∥+1,∥⋅∥)\left(\frac{1}{\|\cdot\|+1},\|\cdot\|\right)-adaptive regularizer where ∥⋅∥\|\cdot\| is the L2L_{2} norm.

The following definition specifies the sequences ηt\eta_{t} and ata_{t} which we use to turn an adaptive regularizer into the regularizers used for our FTRL algorithms:

Let ∥⋅∥\|\cdot\| be a norm and ∥⋅∥⋆\|\cdot\|_{\star} be the dual norm (∥x∥⋆=sup⁡∥y∥=1x⋅y\|x\|_{\star}=\sup_{\|y\|=1}x\cdot y). Let g1,…,gTg_{1},\dots,g_{T} be a sequence of subgradients and set Lt=max⁡t′≤t∥gt∥⋆L_{t}=\max_{t^{\prime}\leq t}\|g_{t}\|_{\star}. Define the sequences 1ηt\frac{1}{\eta_{t}} and ata_{t} recursively by:

Suppose ψ\psi is a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer and k>0k>0. Define

Now without further ado, we give our regret bound for FTRL using these regularizers.

Suppose ψ\psi is a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer and g1,…,gTg_{1},\dots,g_{T} is some arbitrary sequence of subgradients. Let k≥1k\geq 1, and let ψt\psi_{t} be defined as in Definition 5.

Then FTRL with regularizers ψt\psi_{t} achieves regret

This bound consists of three terms, the first of which will correspond to the T\sqrt{T} term in our lower bounds and the last of which will correspond to the exponential penalty. The middle term is a constant independent of uu and TT. To unpack a specific instantiation of this bound, consider the example adaptive regularizer ψ(w)=(∥w∥+1)log⁡(∥w∥+1)−∥w∥\psi(w)=(\|w\|+1)\log(\|w\|+1)-\|w\|. For this choice of ψ\psi, we have ψ(2uT)/2T=O(∥u∥Tlog⁡(T∥u∥+1))\psi(2uT)/\sqrt{2T}=O(\|u\|\sqrt{T}\log(T\|u\|+1)) so that the first term in the regret bound matches the T\sqrt{T} term in our lower bound with γ=1\gamma=1. Roughly speaking, h(w)≈log⁡(w)h(w)\approx\log(w), so that h−1(x)≈exp⁡(x)h^{-1}(x)\approx\exp(x) and the quantity D=max⁡tLt−12(∥g∥⋆2)1:t−1h−1(5Ltk2Lt−1)D=\max_{t}\frac{L_{t-1}^{2}}{(\|g\|_{\star}^{2})_{1:t-1}}h^{-1}\left(\frac{5L_{t}}{k^{2}L_{t-1}}\right) matches the exponential penalty in our lower bound. In the following section we formalize this argument and exhibit a family of adaptive regularizers that enable us to design algorithms whose regret matches any desired point on the lower bound frontier.

Optimal Algorithms

In this section we construct specific adaptive regularizers in order to obtain optimal algorithms using our regret upper bound of Theorem 6. The results in the previous section hold for arbitrary norms, but from this point on we will focus on the L2L_{2} norm. Our regret upper bound expresses regret in terms of the function h−1h^{-1}. Inspection of the bound shows that if h−1(x)h^{-1}(x) is exponential in x1/(2γ−1)x^{1/(2\gamma-1)}, and ψ(w)=O(∥w∥log⁡γ(∥w∥+1))\psi(w)=O(\|w\|\log^{\gamma}(\|w\|+1)), then our upper bound will match (the second inequality in) our lower bound frontier. The following Collary formalizes this observation.

If ψ\psi is an (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer such that

then for any k≥1k\geq 1, FTRL with regularizers ψt(w)=katηtψ(atw)\psi_{t}(w)=\frac{k}{a_{t}\eta_{t}}\psi(a_{t}w) yields regret

We call regularizers that satisfy these conditions γ\gamma-optimal.

With this Corollary in hand, to match our lower bound frontier we need only construct a γ\gamma-optimal adaptive regularizer for all γ∈(1/2,1]\gamma\in(1/2,1]. Constructing adaptive regularizers is made much simpler with Proposition 8 below. This proposition allows us to design adaptive regularizers in high dimensional spaces by finding simple one-dimensional functions. It can be viewed as taking the place of arguments in prior work (McMahan and Orabona, 2014; Orabona and Pál, 2016a; Cutkosky and Boahen, 2016) that reduce high dimensional problems to one-dimensional problems by identifying a “worst-case” direction for each subgradient gtg_{t}.

Let ∥⋅∥\|\cdot\| be the L2L_{2} norm (∥w∥=∥w∥2=w⋅w)(\|w\|=\|w\|_{2}=\sqrt{w\cdot w}). Let ϕ\phi be a three-times differentiable function from the non-negative reals to the reals that satisfies

lim⁡x→∞ϕ(x)ϕ′′(x)=∞\lim_{x\to\infty}\phi(x)\phi^{\prime\prime}(x)=\infty.

Then ψ(w)=ϕ(∥w∥)\psi(w)=\phi(\|w\|) is a (ϕ′′(∥⋅∥),∥⋅∥)(\phi^{\prime\prime}(\|\cdot\|),\|\cdot\|)-adaptive regularizer.

Now we are finally ready to derive our first optimal regularizer:

Let ∥⋅∥\|\cdot\| be the L2L_{2} norm. Let ϕ(x)=(x+1)log⁡(x+1)−x\phi(x)=(x+1)\log(x+1)-x. Then ψ(w)=ϕ(∥w∥)\psi(w)=\phi(\|w\|) is a 11-optimal, (ϕ′′(∥⋅∥),∥⋅∥)(\phi^{\prime\prime}(\|\cdot\|),\|\cdot\|)-adaptive regularizer.

We can use Proposition 8 to prove this with a few simple calculations:

Now the conclusion of the Proposition is immediate from Proposition 8 and inspection of the above equations.

A simple application of Corollary 7 shows that FTRL with regularizers ψt(w)=kηt((∥w∥+1)log⁡(∥w∥+1)−∥w∥)\psi_{t}(w)=\frac{k}{\eta_{t}}((\|w\|+1)\log(\|w\|+1)-\|w\|) matches our lower bound with γ=1\gamma=1 for any desired kk.

In fact, the result of Proposition 9 is a more general phenomenon:

Let ∥⋅∥\|\cdot\| be the L2L_{2} norm. Given γ∈(1/2,1]\gamma\in(1/2,1], set ϕ(x)=∫0xlog⁡γ(z+1) dz\phi(x)=\int_{0}^{x}\log^{\gamma}(z+1)\ dz. Then ψ(w)=ϕ(∥w∥)\psi(w)=\phi(\|w\|) is a γ\gamma-optimal, (ϕ′′(∥⋅∥),∥⋅∥)(\phi^{\prime\prime}(\|\cdot\|),\|\cdot\|)-adaptive regularizer.

Since γ≤1\gamma\leq 1, ϕ′′′(x)≤0\phi^{\prime\prime\prime}(x)\leq 0 and so ϕ\phi satisfies the first four conditions of Proposition 8. It remains to characterize ϕ(x)\phi(x) and ϕ(x)ϕ′′(x)\phi(x)\phi^{\prime\prime}(x), which we do by finding lower and upper bounds on ϕ(x)\phi(x):

where the inequality follows since xx+1≤log⁡(x+1)\frac{x}{x+1}\leq\log(x+1), which can be verified by differentiating both sides. Therefore ϕ(x)≥12xlog⁡γ(x+1)\phi(x)\geq\frac{1}{2}x\log^{\gamma}(x+1). This lower-bound implies

which gives us the last condition in Proposition 8, as well as the first condition for γ\gamma-optimality.

This implies ϕ(x)≤xlog⁡(x+1)\phi(x)\leq x\log(x+1) which gives us the second condition for γ\gamma-optimality.

Thus, by applying Theorem 6 to the regularizers of Proposition 10, we have a family of algorithms that matches our family of lower-bounds up to constants. The updates for these regularizers are extremely simple:

The guarantees of Theorem 6 do not make any assumptions on how kk is chosen, so that we could choose kk using prior knowledge if it is available. For example, if a bound on Lt/Lt−1L_{t}/L_{t-1} is known, we can set k≥max⁡tLt/Lt−1k\geq\sqrt{\max_{t}L_{t}/L_{t-1}}. This reduces the exponentiated quantity max⁡tLt/k2Lt−1\max_{t}L_{t}/k^{2}L_{t-1} to a constant, leaving a regret of O(∥u∥log⁡(T∥u∥+1)Lmax⁡Tmax⁡tLt/Lt−1)O(\|u\|\log(T\|u\|+1)L_{\max}\sqrt{T\max_{t}L_{t}/L_{t-1}}). This bound holds without requiring a bound on Lmax⁡L_{\max}. Thus our algorithms open up an intermediary realm in which we have no bounds on ∥u∥\|u\| or Lmax⁡L_{\max}, and yet we can leverage some other information to avoid the exponential penalty.

FreeRex

Now we explicitly describe an algorithm, along with a fully worked-out regret bound. The norm ∥⋅∥\|\cdot\| used in the following is the L2L_{2} norm (∥w∥=w⋅w\|w\|=\sqrt{w\cdot w}), and our algorithm uses the adaptive regularizer ψ(w)=(∥w∥+1)log⁡(∥w∥+1)−∥w∥\psi(w)=(\|w\|+1)\log(\|w\|+1)-\|w\|. Similar calculations could be performed for arbitrary γ\gamma using the regularizers of Proposition 10, but we focus on the γ=1\gamma=1 because it allows for simpler and tighter analysis through our closed-form expression for ψ\psi. Since we do not require any information about the losses, we call our algorithm FreeRex for Information-free Regret via exponential updates.

The regret of FreeRex (Algorithm 1) is bounded by

Define ϕ(x)=(x+1)log⁡(x+1)−x\phi(x)=(x+1)\log(x+1)-x. Then ψ(w)=(∥w∥+1)log⁡(∥w∥+1)−∥w∥\psi(w)=(\|w\|+1)\log(\|w\|+1)-\|w\| is a (ϕ′′(∥⋅∥),∥⋅∥)(\phi^{\prime\prime}(\|\cdot\|),\|\cdot\|)-adaptive regularizer by Proposition 9. Therefore we can immediately apply Theorem 6 to obtain

where we’ve defined ϕmin′′=inf⁡∥w∥≤h−1(10/k2)kϕ′′(∥w∥)\phi^{\prime\prime}_{\text{min}}=\inf_{\|w\|\leq h^{-1}(10/k^{2})}k\phi^{\prime\prime}(\|w\|).

From Proposition 19 (part 2) we have 1ηT≤2∥g∥1:T2+Lmax⁡max⁡t≤T∥g1:t∥\frac{1}{\eta_{T}}\leq\sqrt{2\|g\|^{2}_{1:T}+L_{\max}\max_{t\leq T}\|g_{1:t}\|}. We also have (∥w∥+1)log⁡(∥w∣+1)−∥w∥=∥w∥log⁡(∥w∥+1)+log⁡(∥w∥+1)−∥w∥≤∥w∥log⁡(∥w∥+1)(\|w\|+1)\log(\|w|+1)-\|w\|=\|w\|\log(\|w\|+1)+\log(\|w\|+1)-\|w\|\leq\|w\|\log(\|w\|+1), so we are left with

Now it remains to bound h−1(10/k2)h^{-1}(10/k^{2}) and DD. From our expression for hh, we have

Substituting the value QT=2∥g∥1:TLmax⁡Q_{T}=2\frac{\|g\|_{1:T}}{L_{\max}}, we conclude

From which the result follows by substituting in our expression for DD.

As a specific example, for k=5k=\sqrt{5} we numerically evaluate the bound to get

Conclusions

We have presented a frontier of lower bounds on the worst-case regret of any online convex optimization algorithm without prior information. This frontier demonstrates a fundamental trade-off at work between kuLmax⁡log⁡γ(Tu+1)kuL_{\max}\log^{\gamma}(Tu+1) and exp⁡[(max⁡tLtγk2Lt−1)12γ−1]\exp\left[\left(\max_{t}\frac{L_{t}}{\gamma k^{2}L_{t-1}}\right)^{\frac{1}{2\gamma-1}}\right] terms. We also present some easy-to-use theorems that allow us to construct algorithms that match our lower bound for any chosen kk and γ\gamma. Note that by virtue of not requiring prior information, our algorithms are nearly hyperparameter-free. They only require the essentially unavoidable trade-off parameters kk and γ\gamma. Since our analysis does not make assumptions about the loss functions or comparison point uu, the parameters kk and γ\gamma can be freely chosen by the user. Unlike other algorithms that require ∥u∥\|u\| or Lmax⁡L_{\max}, there are no unknown constraints on these parameters.

Although we answer some important questions, there is still much to do in online learning without prior information. For example, it is possible to obtain O(∥u∥2Lmax⁡T)O(\|u\|^{2}L_{\max}\sqrt{T}) regret without prior information (Orabona and Pál, 2016b), so it should be possible to extend our lower-bound frontier beyond ∥u∥log⁡(∥u∥)\|u\|\log(\|u\|). Further, it would be valuable to further characterize the conditions for which the adversary can guarantee regret that is exponential in TT. We showed that one such condition is that there must be a large jump in the value of LtL_{t}, but there may very well be others. Fully characterizing these conditions should allow us design algorithms that smoothly interpolate between “nice” environments that do not satisfy the conditions and fully adversarial ones that do.

Finally, while our analysis allows for the use of arbitrary norms, we focus our examples on the L2L_{2} norm. It may be interesting to design adaptive regularizers with respect to a more diverse set of norms, or to extend our theory to encompass time-changing norms.

References

Appendix A Lower Bound Proof

Before getting started, we need one technical observation:

and set rt=Zt−Zt−1r_{t}=Z_{t}-Z_{t-1}. Then for all sufficiently large TT,

For sufficiently large TT, this quantity is positive and increasing in TT. Therefore for sufficiently large TT,

where the third inequality holds only for sufficiently large TT.

Now we prove Theorem 2, restated below. Theorem 1 is an immediate consequence of Theorem 2, so we do not prove it seperately. See 2

Let Sn=∑t=1nw^tS_{n}=\sum_{t=1}^{n}\hat{w}_{t}. Let Zt=t1−1/2γ2t[exp⁡(t1/2γ(4k)1/γ)−1]Z_{t}=\frac{t^{1-1/2\gamma}}{2t}\left[\exp\left(\frac{t^{1/2\gamma}}{(4k)^{1/\gamma}}\right)-1\right], and set rt=Zt−Zt−1r_{t}=Z_{t}-Z_{t-1} Suppose T1>T0T_{1}>T_{0} is such that

For all t1>t2>T1t_{1}>t_{2}>T_{1}, Zt1>Zt2Z_{t_{1}}>Z_{t_{2}}.

For all t>T1t>T_{1}, rt≥Zt−13γ(4k)1/γ(t−1)1−1/2γr_{t}\geq\frac{Z_{t-1}}{3\gamma(4k)^{1/\gamma}(t-1)^{1-1/2\gamma}} (by Proposition 12).

We consider the quantity lim inf⁡n→∞SnZn\liminf_{n\to\infty}\frac{S_{n}}{Z_{n}}. There are two cases, either the lim inf⁡\liminf is less than 1, or it is not.

Case 1: lim inf⁡n→∞SnZn<1\liminf_{n\to\infty}\frac{S_{n}}{Z_{n}}<1

Set u=1T[exp⁡(T1/2γ(4k)1/γ)−1]u=\frac{1}{T}\left[\exp\left(\frac{T^{1/2\gamma}}{(4k)^{1/\gamma}}\right)-1\right]. Then clearly

Now observe that we have chosen uu carefully so that

where we have used Lmax⁡=1L_{\max}=1 to insert factors of Lmax⁡L_{\max} where appropriate.

Observing that Lt/Lt−1=1L_{t}/L_{t-1}=1 for all tt, we can also easily conclude (using properties 3 and 5 of T1T_{1}):

Case 2: lim inf⁡n→∞SnZn≥1\liminf_{n\to\infty}\frac{S_{n}}{Z_{n}}\geq 1

By definition of lim inf⁡\liminf, there exists some T2>T1T_{2}>T_{1} and Q≥1Q\geq 1 such that ST2≤32QZT2S_{T_{2}}\leq\frac{3}{2}QZ_{T_{2}} and for all t>T2t>T_{2}, St>3Q4ZtS_{t}>\frac{3Q}{4}Z_{t}.

Suppose for contradiction that w^t≤Q2rt\hat{w}_{t}\leq\frac{Q}{2}r_{t} for all t>T2t>T_{2}. Then for all T>T2T>T_{2},

Since the second term does not depend on TT, this implies that for sufficiently large TT, STZT≤34QZT\frac{S_{T}}{Z_{T}}\leq\frac{3}{4}QZ_{T}, which contradicts our choice of T2T_{2}. Therefore w^t>Q2rt\hat{w}_{t}>\frac{Q}{2}r_{t} for some t>T2t>T_{2}.

Let TT be the the smallest index T>T2T>T_{2} such that w^T>Q2rT\hat{w}_{T}>\frac{Q}{2}r_{T}. Since w^t≤Q2rt\hat{w}_{t}\leq\frac{Q}{2}r_{t} for t<Tt<T, we have

where we have used property 1 of T1T_{1} to conclude ZT2≤ZT−1Z_{T_{2}}\leq Z_{T-1}.

where we have used Q≥1Q\geq 1 in the last line. Now we use the fact that Lmax⁡=18γ(4k)1/γ(T−1)1−1/2γL_{\max}=18\gamma(4k)^{1/\gamma}(T-1)^{1-1/2\gamma} (by property 6 of T1T_{1}) to write

where we have used the fourth assumption on T1T_{1} in the last line.

Since we are considering u=0u=0, we can always insert arbitrary multiples of uu:

Now we relate the quantity in the exponent to Lt/Lt−1L_{t}/L_{t-1}. We have LT=gTL_{T}=g_{T} and LT−1=1L_{T-1}=1 so that

Now observe that 1T−1=LT−12∑t=1T−1∥gt∥2\frac{1}{T-1}=\frac{L_{T-1}^{2}}{\sum_{t=1}^{T-1}\|g_{t}\|^{2}} so that we have

Further, since 1t−1=Lt−12∑t′=1t−1∥gt′∥2\frac{1}{t-1}=\frac{L_{t-1}^{2}}{\sum_{t^{\prime}=1}^{t-1}\|g_{t^{\prime}}\|^{2}} for all t≤Tt\leq T, condition 5 on T1T_{1} tells us that

Therefore we can put everything together to get

Appendix B FTRL regret

We prove a general bound on the regret of FTRL. Our bound is not fundamentally tighter than the many previous analyses of FTRL, but we decompose the regret in a new way that makes our analysis much easier. We make use of “shadow regularizers”, ψt+\psi^{+}_{t} that can be used to characterize regret more easily. Our bound bears some similarity in form to the adaptive online mirror descent bound of (Orabona et al., 2014) and the analysis of FTRL with varying regularizers of (Cutkosky and Boahen, 2016).

We define Xt=wt+2+X_{t}=w^{+}_{t+2} for t<Tt<T and XT=uX_{T}=u. We’ll use the symbols XtX_{t} as intermediate variables in our proof in an attempt to keep the algebra cleaner. By definition of wt+1+w^{+}_{t+1}, for all t≤Tt\leq T we have

Summing this inequality across all tt we have

Now we substitute our values of Xt=wt+2+X_{t}=w^{+}_{t+2} for t<Tt<T and XT=uX_{T}=u to obtain

Appendix C Facts About Strong Convexity

In this section we prove some basic facts about our generalized strong convexity.

ψ+f\psi+f is σ\sigma-strongly convex for any convex function ff.

cψc\psi is cσc\sigma-strongly convex for any c≥0c\geq 0.

Suppose c≥0c\geq 0 and ϕ(w)=ψ(cw)\phi(w)=\psi(cw). Let σ′(x,y)=σ(cx,cy)\sigma^{\prime}(x,y)=\sigma(cx,cy). Then ϕ\phi is c2σ′c^{2}\sigma^{\prime}-strongly convex.

Let x,y∈Wx,y\in W and let g∈∂ψ(x)g\in\partial\psi(x) and b∈∂f(x)b\in\partial f(x). Then g+b∈∂(ψ+f)(x)g+b\in\partial(\psi+f)(x). By convexity and strongly convexity respectively we have:

so that adding these equations shows that ψ+f\psi+f is σ\sigma-strongly convex.

This follows immediately by multiplying the defining equation for strong convexity of ψ\psi by cc.

Let x,y∈Wx,y\in W and let g∈∂ψ(cx)g\in\partial\psi(cx). Then cg∈∂ϕ(x)cg\in\partial\phi(x).

Note that for any linear function f(w)=g⋅wf(w)=g\cdot w, if ψ\psi is σ\sigma-strongly convex, then ψ+f\psi+f is also σ\sigma-strongly convex.

We show that the following lemma from (McMahan, 2014) about strongly-convex functions continues to hold under our more general definition. The proof of this lemma (and the next) are identical to the standard ones, but we include them here for completeness.

Suppose AA and BB are arbitrary convex functions such that A+BA+B is σ\sigma-strongly convex. Let w1=argminAw_{1}=\mathop{\text{argmin}}A and w2=argminA+Bw_{2}=\mathop{\text{argmin}}A+B and let g∈∂B(w1)g\in\partial B(w_{1}). Then

Since w2∈argminA+Bw_{2}\in\mathop{\text{argmin}}A+B, we have 0∈∂(A+B)(w2)0\in\partial(A+B)(w_{2}) and so by definition of strong convexity we have

Now let g∈∂B(w1)g\in\partial B(w_{1}). Consider the function A^(w)=A(w)+B(w)−⟨g,w⟩\hat{A}(w)=A(w)+B(w)-\langle g,w\rangle. Then we must have 0∈∂A^(w1)0\in\partial\hat{A}(w_{1}) and so by strong-convexity again we have

Finally, we have an analog of a standard way to check for strong-convexity:

Appendix D Proof of Theorem 8

First we prove a proposition that allows us to generate a strongly convex function easily:

Where the last line follows since ϕ′(x)x≥ϕ′′(x)\frac{\phi^{\prime}(x)}{x}\geq\phi^{\prime\prime}(x) for all x≥0x\geq 0. Since ϕ′′′(x)≤0\phi^{\prime\prime\prime}(x)\leq 0, ϕ′′(x)\phi^{\prime\prime}(x) is always decreasing for positive xx and so we have

for all t∈t\in. Therefore we can apply Proposition 16 to conclude that ψ\psi is ϕ′′(∥w∥)\phi^{\prime\prime}(\|w\|)-strongly convex.

Now we prove Proposition 8, restated below: See 8

It’s clear that ψ(0)=0\psi(0)=0 so the first condition for being an adaptive regularizer is satisfied.

Next we will show that ϕ′(x)x≥ϕ′′(x)\frac{\phi^{\prime}(x)}{x}\geq\phi^{\prime\prime}(x) so that we can apply Proposition 17. It suffices to show

Clearly this identity holds for x=0x=0. Differentiating the right-hand-side of the equation, we have

since ϕ′′′(x)≤0\phi^{\prime\prime\prime}(x)\leq 0 and x≥0x\geq 0. Thus ϕ′(x)−xϕ′′(x)\phi^{\prime}(x)-x\phi^{\prime\prime}(x) is non-decreasing and so must always be non-negative.

Therefore, by Proposition 17, ψ\psi is (ϕ′′(∥⋅∥),∥⋅∥)(\phi^{\prime\prime}(\|\cdot\|),\|\cdot\|)-strongly convex. Also, since ϕ′′′(x)≤0\phi^{\prime\prime\prime}(x)\leq 0, ϕ′′(∥x∥)≤ϕ′′(∥y∥)\phi^{\prime\prime}(\|x\|)\leq\phi^{\prime\prime}(\|y\|) when ∥x∥≥∥y∥\|x\|\geq\|y\| so that ψ\psi satisfies the second condition for being an adaptive regularizer.

Finally, observe that lim⁡x→∞ϕ(x)ϕ′′(x)\lim_{x\to\infty}\phi(x)\phi^{\prime\prime}(x) implies by definition that for any CC there exists a BB such that ϕ(x)ϕ′′(x)≥C\phi(x)\phi^{\prime\prime}(x)\geq C whenever x≥Bx\geq B. Therefore we immediately see that ψ(x)ϕ′′(∥x∥)≥C\psi(x)\phi^{\prime\prime}(\|x\|)\geq C for all ∥x∥≥B\|x\|\geq B so that the third condition is satified.

Appendix E Proof of Theorem 6

First we define new regularizers ψt+\psi_{t}^{+} analagously to ψt\psi_{t} that we will use in conjunction with Theorem 13:

Given a norm ∥⋅∥\|\cdot\| and a sequence of subgradients g1,…,gTg_{1},\dots,g_{T}, define LtL_{t} and 1ηt\frac{1}{\eta_{t}} as in Definition 5, and define L0=L1L_{0}=L_{1}. We define 1ηt+\frac{1}{\eta_{t}^{+}} recursively by:

Further, given a k≥1k\geq 1 and a non-decreasing sequence of positive numbers ata_{t}, define ψt+\psi_{t}^{+} by:

Throughout the following arguments we will assume ηt\eta_{t} and ηt+\eta_{t}^{+} are the sequences defined in Definitions 5 and 18.

The next proposition establishes several identities that we will need in proving our bounds.

Suppose ψ\psi is a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer, and g1,⋯ ,gTg_{1},\cdots,g_{T} be some sequence of subgradients. Then the following identities hold:

Let ψ^\hat{\psi} be such that ψ^(at−1w)=ψ(at−1w)\hat{\psi}(a_{t-1}w)=\psi(a_{t-1}w) for w∈Ww\in W and ψ^(at−1w)=∞\hat{\psi}(a_{t-1}w)=\infty for w∉Ww\notin W. There exists some subgradient of ψ^\hat{\psi} at at−1wta_{t-1}w_{t}, which with mild abuse of notation we call ∇ψ(at−1wt)\nabla\psi(a_{t-1}w_{t}), such that:

Let ψ^\hat{\psi} be such that ψ^(at−1w)=ψ(at−1w)\hat{\psi}(a_{t-1}w)=\psi(a_{t-1}w) for w∈Ww\in W and ψ^(at−1w)=∞\hat{\psi}(a_{t-1}w)=\infty for w∉Ww\notin W. Then we can write wt=argminw∈Wkat−1ηt−1ψ(at−1w)+g1:t−1⋅w=argminkat−1ηt−1ψ^(at−1w)+g1:t−1w_{t}=\mathop{\text{argmin}}_{w\in W}\frac{k}{a_{t-1}\eta_{t-1}}\psi(a_{t-1}w)+g_{1:t-1}\cdot w=\mathop{\text{argmin}}\frac{k}{a_{t-1}\eta_{t-1}}\hat{\psi}(a_{t-1}w)+g_{1:t-1}. From this it follws that there is some subgradient of ψ^\hat{\psi} at at−1wta_{t-1}w_{t}, which we refer to (by mild abuse of notation) as ∇ψ^(at−1wt)\nabla\hat{\psi}(a_{t-1}w_{t}) such that

Note that we must appeal to a subgradient rather than the actual gradient in order to encompass the case that at−1wta_{t-1}w_{t} is on the boundary of WW.

Now we are ready to prove the various parts of the Proposition.

By definition of ηt−1\eta_{t-1} and ηt+\eta^{+}_{t} we have

where in the last line we used the fact that ηt+≤ηt−1\eta^{+}_{t}\leq\eta_{t-1} to conclude that 1+ηt+ηt−1≤21+\frac{\eta^{+}_{t}}{\eta_{t-1}}\leq 2.

For the other direction, we have two cases:

1(ηt+)2=1(ηt−1)2+2∥gt∥⋆min⁡(∥gt∥⋆,Lt−1)\frac{1}{(\eta^{+}_{t})^{2}}=\frac{1}{(\eta_{t-1})^{2}}+2\|g_{t}\|_{\star}\min(\|g_{t}\|_{\star},L_{t-1}).

1(ηt+)2=Lt−1∥g1:t∥⋆\frac{1}{(\eta^{+}_{t})^{2}}=L_{t-1}\|g_{1:t}\|_{\star}.

Case 1 1(ηt+)2=1(ηt−1)2+2∥gt∥⋆min⁡(∥gt∥⋆,Lt−1)\frac{1}{(\eta^{+}_{t})^{2}}=\frac{1}{(\eta_{t-1})^{2}}+2\|g_{t}\|_{\star}\min(\|g_{t}\|_{\star},L_{t-1}):

where in the last line we used the fact that 1+ηt+ηt−1≥11+\frac{\eta^{+}_{t}}{\eta_{t-1}}\geq 1.

Case 2 1(ηt+)2=Lt−1∥g1:t∥⋆\frac{1}{(\eta^{+}_{t})^{2}}=L_{t-1}\|g_{1:t}\|_{\star}:

Now we follow the exact same argument as in Case 1 to show 1ηt+−1ηt−1≤Lt−1∥gt∥⋆ηt+\frac{1}{\eta^{+}_{t}}-\frac{1}{\eta_{t-1}}\leq L_{t-1}\|g_{t}\|_{\star}\eta^{+}_{t}, which proves the desired result.

We proceed by induction for both claims. The statements are clear for 1η1=2∥g1∥⋆\frac{1}{\eta_{1}}=\sqrt{2}\|g_{1}\|_{\star}. Suppose

Then observe that 1ηt2+2∥gt+1∥⋆2≤2Lt+1(∥g∥⋆)1:t+1\frac{1}{\eta_{t}^{2}}+2\|g_{t+1}\|_{\star}^{2}\leq 2L_{t+1}(\|g\|_{\star})_{1:t+1} by the induction hypothesis, and Lt+1∥g1:t+1∥⋆≤2Lt+1(∥g∥⋆)1:t+1L_{t+1}\|g_{1:t+1}\|_{\star}\leq 2L_{t+1}(\|g\|_{\star})_{1:t+1}. Therefore 1ηt+1≤2Lt+1(∥g∥⋆)1:t+1\frac{1}{\eta_{t+1}}\leq\sqrt{2L_{t+1}(\|g\|_{\star})_{1:t+1}}, proving the first claim.

The induction step for the second claim follows from the observations:

so that 1ηt+1≤2(∥g∥⋆2)1:t+1+Lmax⁡max⁡t′≤t+1∥g1:t′∥⋆\frac{1}{\eta_{t+1}}\leq\sqrt{2(\|g\|_{\star}^{2})_{1:t+1}+L_{\max}\max_{t^{\prime}\leq t+1}\|g_{1:t^{\prime}}\|_{\star}} as desired.

Let Iat−1W(w)I_{a_{t-1}W}(w) be the indicator of the set at−1Wa_{t-1}W - Iat−1W(at−1w)=0I_{a_{t-1}W}(a_{t-1}w)=0 if w∈Ww\in W and ∞\infty otherwise. Observe that ψ^(w)=ψ(w)+Iat−1W(w)\hat{\psi}(w)=\psi(w)+I_{a_{t-1}W}(w). Observe that ψ^(w)=Iat−1W(w)+ψ(w)\hat{\psi}(w)=I_{a_{t-1}W}(w)+\psi(w).

Now the third equation follows from Lemma 15, setting A(w)=Iat−1W(w)+kat−1ηt−1ψ(w)+g1:t−1at−1⋅wA(w)=I_{a_{t-1}W}(w)+\frac{k}{a_{t-1}\eta_{t-1}}\psi(w)+\frac{g_{1:t-1}}{a_{t-1}}\cdot w and B(w)=Iat−1W(w)+gtat−1⋅w+(1at−1ηt+−kat−1ηt−1)ψ(w)B(w)=I_{a_{t-1}W}(w)+\frac{g_{t}}{a_{t-1}}\cdot w+\left(\frac{1}{a_{t-1}\eta^{+}_{t}}-\frac{k}{a_{t-1}\eta_{t-1}}\right)\psi(w). Then by inspection of the definitions of wtw_{t} and wt+1+w^{+}_{t+1}, we have at−1wt=argminAa_{t-1}w_{t}=\mathop{\text{argmin}}A and at−1wt+1+=argminA+Ba_{t-1}w^{+}_{t+1}=\mathop{\text{argmin}}A+B. Further, by Corollary 14, A+BA+B is kσat−1ηt+\frac{k\sigma}{a_{t-1}\eta^{+}_{t}}-strongly convex. We can re-write AA and BB in terms of ψ^\hat{\psi} by simply replacing the ψ\psis with ψ^\hat{\psi}s and removing the Iat−1WI_{a_{t-1}W}s. Now we use the facts noted at the beginning of the proof:

Applying these identities with Lemma 15 we have:

And we divide by at−1a_{t-1} to conclude the desired identity.

Using the already-proved parts 1 and 3 of this Proposition and definition of dual norm, we have

The fifth part of the Proposition follows directly from part 3 by the definition of dual norm.

Case 1 1(ηt+)2=1(ηt−1)2+2∥gt∥⋆min⁡(∥gt∥⋆,Lt−1)\frac{1}{(\eta^{+}_{t})^{2}}=\frac{1}{(\eta_{t-1})^{2}}+2\|g_{t}\|_{\star}\min(\|g_{t}\|_{\star},L_{t-1}): In this case we have

Case 2 1(ηt+)2=Lt−1∥g1:t∥⋆\frac{1}{(\eta^{+}_{t})^{2}}=L_{t-1}\|g_{1:t}\|_{\star}:

Suppose ψ\psi a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer and g1,⋯ ,gTg_{1},\cdots,g_{T} is some sequence of subgradients. We use the terminology of Definition 5. Recall that we define h(w)=ψ(w)σ(w)h(w)=\psi(w)\sigma(w) and h−1(x)=max⁡h(w)≤x∥w∥h^{-1}(x)=\max_{h(w)\leq x}\|w\|. Suppose either of the follow holds:

∥wt+1+∥≥h−1(2Ltk2Lt−1)at−1\|w^{+}_{t+1}\|\geq\frac{h^{-1}\left(2\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} and ∥wt+1+∥≥∥wt∥\|w^{+}_{t+1}\|\geq\|w_{t}\|.

∥wt∥≥h−1(5Ltk2Lt−1)at−1\|w_{t}\|\geq\frac{h^{-1}\left(5\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} and ∥wt∥≥∥wt+1+∥\|w_{t}\|\geq\|w^{+}_{t+1}\|.

As in Proposition 19, we use ∇ψ(x)\nabla\psi(x) to simply mean some particular subgradient of ψ\psi at xx.

Case 1: ∥wt+1+∥≥h−1(2Ltk2Lt−1)at−1\|w^{+}_{t+1}\|\geq\frac{h^{-1}\left(2\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} and ∥wt+1+∥≥∥wt∥\|w^{+}_{t+1}\|\geq\|w_{t}\|:

By definition of adaptive regularizer (part 2), we must have σ(at−1wt+1+)≤σ(at−1wt)\sigma(a_{t-1}w^{+}_{t+1})\leq\sigma(a_{t-1}w_{t}) since ∥wt+1+∥≥∥wt∥\|w^{+}_{t+1}\|\geq\|w_{t}\|. Therefore σ(at−1wt+1+,at−1wt)=σ(at−1wt+1+)\sigma(a_{t-1}w^{+}_{t+1},a_{t-1}w_{t})=\sigma(a_{t-1}w^{+}_{t+1}).

By definition of hh, when ∥wt+1+∥≥h−1(2Ltk2Lt−1)at−1\|w^{+}_{t+1}\|\geq\frac{h^{-1}\left(2\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} we can apply Proposition 19 (parts 1 and 5) to obtain

We remark that in the calculations above, we showed

Case 2 ∥wt∥≥h−1(5∥gt∥⋆k2Lt−1)at−1\|w_{t}\|\geq\frac{h^{-1}\left(5\frac{\|g_{t}\|_{\star}}{k^{2}L_{t-1}}\right)}{a_{t-1}}, and ∥wt∥≥∥wt+1+∥\|w_{t}\|\geq\|w^{+}_{t+1}\|:

Again, by definition of adaptive regularizer (part 2), we must have σ(at−1wt+1+)≥σ(at−1wt)\sigma(a_{t-1}w^{+}_{t+1})\geq\sigma(a_{t-1}w_{t}) since ∥wt+1+∥≤∥wt∥\|w^{+}_{t+1}\|\leq\|w_{t}\|. Therefore σ(at−1wt+1+,at−1wt)=σ(at−1wt)\sigma(a_{t-1}w^{+}_{t+1},a_{t-1}w_{t})=\sigma(a_{t-1}w_{t}). Let ψ^\hat{\psi} be as in Proposition 19 part 4. Oberve that wt+1+w_{t+1}^{+} and wtw_{t} are both in WW, so that we have ψ(at−1wt+1+)=ψ^(at−1wt+1+)\psi(a_{t-1}w^{+}_{t+1})=\hat{\psi}(a_{t-1}w^{+}_{t+1}) and ψ(at−1wt)=ψ^(at−1wt)\psi(a_{t-1}w_{t})=\hat{\psi}(a_{t-1}w_{t}). Then we have:

Now by definition of hh, when ∥wt∥≥h−1(5Ltk2Lt−1)at−1\|w_{t}\|\geq\frac{h^{-1}(5\frac{L_{t}}{k^{2}L_{t-1}})}{a_{t-1}} we have

The next theorem is a general fact about adaptive regularizers that is useful for controlling ψt+−ψt\psi^{+}_{t}-\psi_{t}:

Let’s differentiate: ddaψ(aw)a=∇ψ(aw)⋅wa−ψ(aw)a2\frac{d}{da}\frac{\psi(aw)}{a}=\frac{\nabla\psi(aw)\cdot w}{a}-\frac{\psi(aw)}{a^{2}}. Thus it suffices to show

But this follows immediately from the definition of subgradient, since ψ(0)=0\psi(0)=0.

Suppose ψ\psi is a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer and g1,…,gTg_{1},\dots,g_{T} is an arbitrary sequence of subgradients (possibly chosen adaptively). Using the terminology of Definition 5,

This follows from the fact that at−1≤ata_{t-1}\leq a_{t}, and property 4 of an adaptive regularizer (ψ(ax)/a\psi(ax)/a is a non-decreasing function of aa). By Proposition 19 (part 1), we have 1ηt+≤1ηt\frac{1}{\eta^{+}_{t}}\leq\frac{1}{\eta_{t}}. Therefore:

Suppose ψ\psi is a (σ,∥⋅∥)(\sigma,\|\cdot\|)-adaptive regularizer and g1,…,gTg_{1},\dots,g_{T} is an arbitrary sequence of subgradients (possibly chosen adaptively). We use the regularizers of Definition 5. Recall that we define h(w)=ψ(w)σ(w)h(w)=\psi(w)\sigma(w) and h−1(x)=argmaxh(w)≤x∥w∥h^{-1}(x)=\mathop{\text{argmax}}_{h(w)\leq x}\|w\|. Define

By Lemma 20, whenever either ∥wt+1+∥≥h−1(5Ltk2Lt−1)at−1≥h−1(2Ltk2Lt−1)at−1\|w^{+}_{t+1}\|\geq\frac{h^{-1}\left(5\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}}\geq\frac{h^{-1}\left(2\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} or ∥wt∥≥h−1(5Ltk2Lt−1)at−1\|w_{t}\|\geq\frac{h^{-1}\left(5\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} we must have

When ∥gt∥⋆≤2Lt−1\|g_{t}\|_{\star}\leq 2L_{t-1}, then we have h−1(5Ltk2Lt−1)≤h−1(10/k2)h^{-1}\left(5\frac{L_{t}}{k^{2}L_{t-1}}\right)\leq h^{-1}(10/k^{2}). Thus when max⁡(∥wt∥,∥wt+1+∥)≤h−1(5Ltk2Lt−1)at−1\max(\|w_{t}\|,\|w_{t+1}^{+}\|)\leq\frac{h^{-1}\left(5\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} and ∥gt∥⋆≤2Lt−1\|g_{t}\|_{\star}\leq 2L_{t-1}, by Proposition 19 (part 5), we have

Therefore when ∥gt∥⋆≤2Lt−1\|g_{t}\|_{\star}\leq 2L_{t-1} we have (using Proposition 19 part 1):

so that we can improve our conditional bound to:

When both ∥wt+1+∥\|w^{+}_{t+1}\| and ∥wt∥\|w_{t}\| are less than than h−1(5Ltk2Lt−1)at−1\frac{h^{-1}\left(5\frac{L_{t}}{k^{2}L_{t-1}}\right)}{a_{t-1}} then we also have

Let a1,…,aMa_{1},\dots,a_{M} be a sequence of non-negative numbers such that ai+1≥2aia_{i+1}\geq 2a_{i}. Then

We proceed by induction on MM. For the base case, we observe that a1≤2a1a_{1}\leq 2a_{1}. Suppose ∑i=1M−1ai≤2aM−1\sum_{i=1}^{M-1}a_{i}\leq 2a_{M-1}. Then we have

The next lemma establishes some identities analogous to the bounds ∑t=1T1t=O(T)\sum_{t=1}^{T}\frac{1}{\sqrt{t}}=O(\sqrt{T}), and ∑t=1T1T2=O(1)\sum_{t=1}^{T}\frac{1}{T^{2}}=O(1). These are useful for dealing with increasing ata_{t} in our regret bounds.

Using part 1 from Proposition 19, and observing that ηt+≥ηt\eta^{+}_{t}\geq\eta_{t}, we have

For the second part of the lemma, we observe that for ∥gt∥⋆≤2Lt−1\|g_{t}\|_{\star}\leq 2L_{t-1},

Similarly, we also have (∥g∥⋆2)1:t≤(1+Lt2Lt−12)(∥g∥⋆2)1:t−1(\|g\|^{2}_{\star})_{1:t}\leq(1+\frac{L_{t}^{2}}{L_{t-1}^{2}})(\|g\|^{2}_{\star})_{1:t-1} so that

where in the last line we have used Lt/Lt−1≤2L_{t}/L_{t-1}\leq 2.

Combining these two calculations, we have

Let T1,T2,…,TnT_{1},T_{2},\dots,T_{n} be the indices such that ∥gTi∥⋆>2LTi−1\|g_{T_{i}}\|_{\star}>2L_{T_{i}-1}, and define Tn=T+1T_{n}=T+1. We will show that for any ii with Ti+1>Ti+1T_{i+1}>T_{i}+1,

We’ll prove by induction that equation (2) holds for all N≤Ti+1−1N\leq T_{i+1}-1. Suppose it holds for some N<Ti+1−1N<T_{i+1}-1. Then by concavity of −1x-\frac{1}{\sqrt{x}}, we have

To finish the induction, we show that 6(LN−LN+1)−2(LN2−LN+12)(∥g∥⋆2)1:N≤06(L_{N}-L_{N+1})-\frac{2(L_{N}^{2}-L_{N+1}^{2})}{\sqrt{(\|g\|^{2}_{\star})_{1:N}}}\leq 0. We factor out the non-negative quantity LN+1−LNL_{N+1}-L_{N}, and then observe that LN+1≤2LNL_{N+1}\leq 2L_{N} since Ti+1≤N<N+1≤Ti+1−1T_{i}+1\leq N<N+1\leq T_{i+1}-1 (and in particular, LN+1≠TiL_{N+1}\neq T_{i} for any ii).

Therefore equation (2) holds for all N≤Ti+1−1N\leq T_{i+1}-1, so that we have

so that equation (1) holds. Now we write (using the convention that ∑t=xzyt=0\sum_{t=x}^{z}y_{t}=0 if z<xz<x):

where in the last step we have observed that by definition of TiT_{i}, LTi+1−1≥2LTi−1L_{T_{i+1}-1}\geq 2L_{T_{i}-1} for all ii and used Lemma 24.

Since 1ηt2≥2(∥g∥⋆2)1:t\frac{1}{\eta_{t}^{2}}\geq 2(\|g\|^{2}_{\star})_{1:t}, we immediately recover the lower bound on ata_{t}. The upper bound follows from Proposition 19 (part 2), which states 1ηt2≤2Lt(∥g∥⋆)1:t\frac{1}{\eta_{t}^{2}}\leq 2L_{t}(\|g\|_{\star})_{1:t}

Now we’re ready to prove Theorem 6, which we restate for reference: See 6

Using Theorem 13 and Lemmas 22 and 23, our regret is bounded by

Now using Lemma 25 we can simplify this to

Finally, observe that each value of ∥gt∥⋆\|g_{t}\|_{\star} in the sum ∑∥gt∥⋆>2Lt−1∥gt∥⋆D\sum_{\|g_{t}\|_{\star}>2L_{t-1}}\|g_{t}\|_{\star}D is at least twice the previous value, so that by Lemma 24 we conclude

Finally, we observe that (by Lemma 26), aT≤2∥g∥1:TLT=QTa_{T}\leq 2\frac{\|g\|_{1:T}}{L_{T}}=Q_{T}, which gives the first inequality in the Theorem statement.

Using the fact that 1ηt≤2Lmax⁡(∥g∥⋆)1:t\frac{1}{\eta_{t}}\leq\sqrt{2L_{\max}(\|g\|_{\star})_{1:t}} (from Proposition 19 part 2), we have ηT+≥1Lmax⁡2T\eta^{+}_{T}\geq\frac{1}{L_{\max}\sqrt{2T}} and it is clear that aT≤2Ta_{T}\leq 2T, so that we recover the second inequality as well.