arXiv reader

General framework for online-to-nonconvex conversion: Schedule-free SGD is also effective for nonconvex optimization

Kwangjun Ahn, Gagik Magakyan and Ashok Cutkosky

arXiv
2411.07061v1 · PDF · 11 November 2024
Categories
cs.LG, math.OC, stat.ML
Licence
CC BY 4.0 The site shows the text.

Abstract

This work investigates the effectiveness of schedule-free methods, developed by A. Defazio et al. (NeurIPS 2024), in nonconvex optimization settings, inspired by their remarkable empirical success in training neural networks. Specifically, we show that schedule-free SGD achieves optimal iteration complexity for nonsmooth, nonconvex optimization problems. Our proof begins with the development of a general framework for online-to-nonconvex conversion, which converts a given online learning algorithm into an optimization algorithm for nonconvex losses. Our general framework not only recovers existing conversions but also leads to two novel conversion schemes. Notably, one of these new conversions corresponds directly to schedule-free SGD, allowing us to establish its optimality. Additionally, our analysis provides valuable insights into the parameter choices for schedule-free SGD, addressing a theoretical gap that the convex theory cannot explain.

Items 38

Theorem

Theorem 1

RDWC

Schedule-free SGD (?), with an appropriate choice of parameters \gamma, c_t, \kappa_t, achieves optimal rates for nonsmooth and nonconvex F.

Assumption

Assumption 1

9Y40

Let F:\mathbb{R}^d \to \mathbb{R} be a differentiable function with the following properties:

  • Let \Delta_F \coloneqq F({\mathbf x}_0) -\inf_{{\mathbf x}} F({\mathbf x}).

  • For any two points {\mathbf x} and {\mathbf w}, F({\mathbf x})-F({\mathbf w}) = \int_0^1 \left\langle \nabla F({\mathbf w}+t({\mathbf x}-{\mathbf w})),{\mathbf x}-{\mathbf w} \right\rangle\mathrm{d} t.

  • F is G-Lipshitz, i.e., for any point {\mathbf x}, \left\|\nabla F({\mathbf x})\right\|\leq G.

Assumption

Assumption 2 (Stochastic gradient oracle)

XOA9

We assume access to a stochastic gradient oracle at any point {\mathbf x}. More formally, for any given point {\mathbf x}, each call to the oracle independently returns a stochastic gradient \mathbf{g} that satisfies the following properties:

\mathbb{E}[\mathbf{g}] = \nabla F({\mathbf x}), \quad \text{and} \quad \mathbb{E}\left[\left\|\mathbf{g} - \nabla F({\mathbf x})\right\|^2\right] \leq \sigma^2.

We denote the stochastic gradient oracle as \textsc{StoGrad}. When the oracle returns the stochastic gradient \mathbf{g} at point {\mathbf x}, we write this as \mathbf{g} \gets \textsc{StoGrad}({\mathbf x}).

Definition

Definition 1 ((\lambda,\eps)-stationary point)

HIHK

Suppose F:\mathbb{R}^d\to \mathbb{R} is differentiable. We say {\mathbf x} is a (\lambda,\varepsilon)-stationary point of F if \left\| \nabla F({\mathbf x})\right\|^{[\lambda]} \leq \varepsilon, where

\begin{aligned} \left\| \nabla F({\mathbf x})\right\|^{[\lambda]} \coloneqq \inf_{\substack{p \in \mathcal{P}(\mathbb{R}^d),\\\mathbb{E}_{{\mathbf w}\sim p}[{\mathbf w}] ={\mathbf x}} } \left\{\left\|\mathbb{E}[\nabla F({\mathbf w})]\right\| + \lambda \cdot \mathbb{E}\left\|{\mathbf w}-{\mathbf x}\right\|^2 \right\}\,. \end{aligned}
Proposition

Proposition 1

2RVZ

If F is L-smooth, then an (L^2 \varepsilon^{-1},\varepsilon)-stationary point {\mathbf x} of F satisfies \left\|\nabla F({\mathbf x})\right\|\leq 2\varepsilon. Moreover, if F is H-second-order-smooth, then an (H/2,\varepsilon)-stationary point {\mathbf x} of F satisfies \left\|\nabla F({\mathbf x})\right\|\leq 2\varepsilon.

Definition

Definition 2 (Discounted regret)

OFSD

Consider the loss sequence \ell_{1:T}. For any T\geq 1, we define the discounted regret of an online learner with respect to a comparator \mathbf{u} as:

\begin{aligned} {\sf Regret}^{[\beta ]}_T(\mathbf{u}) \coloneqq \sum_{t=1}^T \beta^{T-t}\left( \ell_t({\boldsymbol \delta}_t)- \ell_t(\mathbf{u}) \right). \end{aligned}
Definition

Definition 3 (Exponential moving average (EMA) of iterates)

LVKT

Given a discount factor \beta \in (0,1) and a sequence of iterates \{\mathbf{y}_s\}_{s=1}^t, the \beta-EMA of the sequence up to time t, denoted as \overline{\mathbf{y}}_t, is defined as

\begin{aligned} \overline{\mathbf{y}}_t = \frac{1-\beta}{1-\beta^t} \sum_{s=1}^t \beta^{t-s} \mathbf{y}_s. \end{aligned}
Used by Theorem 2
Definition

Definition 4 (Random index distribution)

ZFI3

Let \tau be a random index distributed over \{1, 2, \dots, T\} with the following distribution:

\begin{aligned} \Pr(\tau = t) = \begin{cases} \frac{1 - \beta^t}{T}, & \text{for}~~ t = 1, \dots, T-1, \\ \frac{1}{1-\beta} \cdot \frac{1 - \beta^T}{T}, & \text{for}~~ t = T. \end{cases} \end{aligned}
Used by Theorem 2
Definition

Definition 5 (\bx-iterate stability)

U6GG

Consider the iterates generated by ?. The iterate stability factor, denoted by C_{{\mathbf x}} \geq 0, is the smallest nonnegative constant such that:

\begin{aligned} \mathbb{E} \sum_{t=1}^{T} \|\mathbf{x}_t - \mathbf{x}_{t-1}\|^2 \leq C_{{\mathbf x}} \cdot \mathbb{E} \sum_{t=1}^{T} \|{\boldsymbol \delta}_t\|^2. \end{aligned}
Lemma

Lemma 1 (Generic online-to-nonconvex conversion)

O1G9

Consider the iterates generated according to ?. For \beta \in (0, 1) and D > 0, define the comparators for online learner as follows:

\begin{aligned} \forall t \in[T], \quad \mathbf{u}_t \coloneqq -D \frac{\sum_{s=1}^{t} \beta^{t - s} \nabla F(\mathbf{y}_s)}{\left\|\sum_{s=1}^{t} \beta^{t - s} \nabla F(\mathbf{y}_s)\right\|} . \end{aligned}

Then, as long as the regularization strength satisfies \mu \geq 8\lambda D \left(1 + { C_{{\mathbf x}}}{(1-\beta)^{-2}} \right), the following holds:

\begin{aligned} \mathbb{E}_{\tau } \left\| \nabla F(\overline{\mathbf{y}}_{\tau})\right\|^{[\lambda]} &\leq \frac{ 1}{DT}\left(\beta \mathbb{E}\left[{\sf Regret}^{[\beta ]}_T(\mathbf{u}_T) \right] + (1-\beta)\sum_{t=1}^{T} \mathbb{E}\left[{\sf Regret}^{[\beta ]}_t(\mathbf{u}_t)\right]\right) \\ &\quad + \frac{1}{DT} \mathbb{E} \sum_{t=1}^{T} (F({\mathbf x}_{t}) - F({\mathbf w}_{t})) + \frac{\mu D}{2} + \frac{\sigma }{T\sqrt{1-\beta}} + \sigma \sqrt{1-\beta}. \end{aligned}
Proof of Lemma 1

See ?.

Lemma

Lemma 2

FVEK

Let \beta \in (0,1), \mu \geq 0, \eta > 0, and a sequence of vectors \{\mathbf{g}_t\}_{t=1}^T. Suppose that \mathbb{E}\left\|\mathbf{g}_t\right\|^2 \leq G^2 + \sigma^2 for all t\in[T]. Consider an online learner initialized with {\boldsymbol \delta}_1 = \bm{0} and updated as follows:

\begin{aligned} \tag{$\beta$-\textsf{OMD}} {\boldsymbol \delta}_{t+1} = \frac{\beta}{1 + \eta \mu} \left( {\boldsymbol \delta}_{t} - \eta \mathbf{g}_t \right). \end{aligned}

Then, this online learner with \eta = \frac{2}{G + \sigma} \left\|\mathbf{u}\right\| \sqrt{1-\beta} achieves the following discounted regret bound:

\begin{aligned} \mathbb{E}\left[{\sf Regret}^{[\beta ]}_T(\mathbf{u})\right] \leq \frac{2\left\|\mathbf{u}\right\|(G + \sigma)}{\beta\sqrt{1-\beta}} + \frac{\mu}{2}\left\|\mathbf{u}\right\|^2. \end{aligned}
Used by Theorem 2
Proof of Lemma 2

See ?.

Theorem

Theorem 2 (Generic nonconvex guarantees)

XPPZ

Consider the iterates generated according to ?, where the online learner \mathcal{A} achieves the discounted regret given by (2). Let \varepsilon > 0 be such that \varepsilon \leq \frac{7}{2}(G + \sigma) and let T \geq 49 (G + \sigma)^2 \varepsilon^{-2}. Then, there exists a choice of parameters \beta=\beta_\star, D=D_\star, \mu=\mu_\star such that with \overline{\mathbf{y}}_t and \tau as specified by Definition 3 and Definition 4, the following holds:

\begin{aligned} \mathbb{E}_{\tau } \left\| \nabla F(\overline{\mathbf{y}}_{\tau})\right\|^{[\lambda]} &\leq 3\varepsilon + \frac{ 1}{D_\star T} \cdot \mathbb{E} \sum_{t=1}^{T} (F({\mathbf x}_{t}) - F({\mathbf w}_{t})) , \end{aligned}

The choice of parameters is summarized as follows:

  • The discounting factor is \beta_\star = 1 - (\frac{\varepsilon}{7(G + \sigma)})^2.

  • The comparator norm is D_\star = \frac{1}{4} \lambda^{-1/2} \varepsilon^{1/2} \left(1+\frac{49(G + \sigma)^2 }{\varepsilon^2} \sqrt{C_{{\mathbf x}}} \right)^{-1}.

  • The regularization strength is \mu_\star = 2 \lambda^{1/2}\varepsilon^{1/2} \left(1 + \frac{49(G + \sigma)^2 }{\varepsilon^2}\sqrt{C_{{\mathbf x}}} \right).

Proof of Theorem 2

See ?.

Corollary

Corollary 3

6N5Y

Consider the iterates of ?. Under the setting of Theorem 2, it holds that \mathbb{E}_{\tau} \left\| \nabla F(\overline{\mathbf{y}}_{\tau})\right\|^{[\lambda]} \leq 4\varepsilon, provided that

\begin{aligned} T \geq \max \left\{ 392(G+\sigma)^2 \Delta_F\lambda^{1/2} \varepsilon^{-7/2} , ~~49 (G + \sigma)^2 \varepsilon^{-2} \right\}. \end{aligned}
Proof of Corollary 3

With ?, the above inequalities, (?) and (?), show that \sum_{t=1}^{T} \left(F({\mathbf x}_t) - F({\mathbf w}_t)\right) \leq \Delta_F and C_{{\mathbf x}} \leq 1. Therefore, by applying Theorem 2, we have

\begin{aligned} \mathbb{E}_{\tau} \left[\left\| \nabla F(\overline{\mathbf{y}}_{\tau})\right\|^{[\lambda]}\right] &= 3\varepsilon + \frac{4 \lambda^{1/2} \varepsilon^{-1/2}\left(1+\frac{49(G + \sigma)^2 }{\varepsilon^2} \right)}{T} \leq 3\varepsilon + \frac{4 \lambda^{1/2} \varepsilon^{-1/2}\left( 2\cdot\frac{ 49(G + \sigma)^2 }{\varepsilon^2} \right)}{T} , \end{aligned}

provided that T \geq 49 (G + \sigma)^2 \varepsilon^{-2}. From this, the iteration complexity bound (3) follows.

Corollary

Corollary 4

9HMK

Consider the iterates of ?. Under the setting of Theorem 2, the following holds:

\begin{aligned} \mathbb{E}_{\tau } \left\| \nabla F(\overline{\mathbf{y}}_{\tau})\right\|^{[\lambda]} \leq 3\varepsilon + \frac{4\lambda^{1/2} \varepsilon^{-1/2}}{T} \mathbb{E} \sum_{t=1}^{T} \left( F({\mathbf x}_0) - F({\mathbf w}_t) \right) , \end{aligned}

provided that T \geq 49 (G + \sigma)^2 \varepsilon^{-2}.

Corollary

Corollary 5

CBLO

Consider the iterates of ?. Under the setting of Theorem 2, it holds that

\begin{aligned} \mathbb{E}_{n \sim \mathrm{Unif}([N])}\mathbb{E}_{\tau} \left\| \nabla F(\overline{\mathbf{y}}^{(n)}_{\tau})\right\|^{[\lambda]} \leq 4\varepsilon, \end{aligned}

provided that N \geq 4\Delta_F \lambda^{1/2} \varepsilon^{-3/2} and T \geq 49 (G + \sigma)^2 \varepsilon^{-2}.

Proof of Corollary 5

Applying Corollary 5 to each epoch n, we obtain:

\begin{aligned} \mathbb{E}_{\tau } \left\| \nabla F(\overline{\mathbf{y}}_{\tau}^{(n)})\right\|^{[\lambda]} &\leq 3\varepsilon + \frac{4\lambda^{1/2} \varepsilon^{-1/2}}{T} \mathbb{E} \sum_{t=1}^{T} \left( F(\mathbf{a}_n) - F({\mathbf w}^{(n)}_t) \right) \\ & = 3\varepsilon + 4\lambda^{1/2} \varepsilon^{-1/2} \mathbb{E} \left( F(\mathbf{a}_n) - F(\mathbf{a}_{n+1}) \right), \end{aligned}

where the last equality follows because \mathbf{a}_{n+1} is chosen uniformly at random from \{{\mathbf w}^{(n)}_t\}_{t=1}^T.

Summing over all epochs, since \sum_{n=1}^N ( F(\mathbf{a}_n) - F(\mathbf{a}_{n+1})) = F(\mathbf{a}_1) - F(\mathbf{a}_{N+1}), we have:

\begin{aligned} \mathbb{E}_{n \sim \mathrm{Unif}([N])}\mathbb{E}_{\tau} \left\| \nabla F(\overline{\mathbf{y}}^{(n)}_{\tau})\right\|^{[\lambda]} &\leq 3\varepsilon + \frac{4\lambda^{1/2} \varepsilon^{-1/2}}{N} \mathbb{E} \left( F(\mathbf{a}_1) - F(\mathbf{a}_{N+1}) \right) \\ &\leq 3\varepsilon + \frac{4\lambda^{1/2} \varepsilon^{-1/2}\Delta_F}{N}. \end{aligned}

Thus, setting N \geq 4\Delta_F \lambda^{1/2} \varepsilon^{-3/2} ensures that the right-hand side is at most 4\varepsilon.

Corollary

Corollary 6

ZG4V

Consider the iterates of ? with the parameter choices as in Theorem 2, i.e., \beta = \beta_\star, D = D_\star, \mu = \mu_\star, and the parameters of ? chosen as:

\begin{aligned} \eta = \eta_\star \coloneqq \frac{2}{G + \sigma} D_\star \sqrt{1 - \beta_\star}\quad \text{and} \quad \zeta= \zeta_\star \coloneqq \frac{\beta_\star}{1 + \eta_\star \mu_\star}. \end{aligned}

Then, it holds that \mathbb{E}_{\tau} \left\| \nabla F(\overline{\mathbf{y}}_{\tau})\right\|^{[\lambda]} \leq 5\varepsilon, provided that

\begin{aligned} T \geq \max \left\{ 980(G+\sigma)^2 \Delta_F\lambda^{1/2} \varepsilon^{-7/2} , ~~49 (G + \sigma)^2 \varepsilon^{-2} \right\}. \end{aligned}
Proof (Proof sketch) of Corollary 6

It is clear by definition that C_{{\mathbf x}} = \frac{1}{\zeta_\star}. Thus, the crux of the proof lies in controlling the sum of loss decrements by leveraging (?) in order to apply Theorem 2. In particular, we decompose the sum using the G-Lipschitz continuity of F as follows:

\begin{aligned} \sum_{t=1}^{T} \left(F({\mathbf x}_t) - F({\mathbf w}_t)\right) &= \sum_{t=1}^{T} \left(F({\mathbf x}_{t}) - F({\mathbf w}_{t-1}) + F({\mathbf w}_{t-1}) - F({\mathbf w}_t)\right) \\ &\leq \sum_{t=1}^{T} G \|{\mathbf x}_t - {\mathbf w}_{t-1}\| + \sum_{t=1}^{T} \left(F({\mathbf w}_{t-1}) - F({\mathbf w}_t)\right). \end{aligned}

Applying the closeness property (?) between {\mathbf x}_t and {\mathbf w}_{t-1}, we can show that the first term in the upper bound is at most \mathcal{O}\left(D_\star T \varepsilon\right), making it a lower-order term. For a complete proof, see ?.

Proposition

Proposition 2

S16H

Under ? and using the extrapolated iterates defined in (?), the following holds:

\begin{aligned} {\mathbf z}_{t+1} - {\mathbf z}_{t} = -\frac{\eta}{1-\zeta} \mathbf{g}_{t}. \end{aligned}
Proposition

Proposition 3

HDN8

With the parameter choices given in Corollary 6, we have \zeta = \zeta_\star = 1 - \Theta \left(\frac{\varepsilon^2}{(G + \sigma)^2} \right). Specifically, the parameters in schedule-free SGD are set as follows:

  • \kappa_t is chosen uniformly from [\zeta_\star, 1], implying that 1 - \Theta \left(\frac{\varepsilon^2}{(G + \sigma)^2}\right) \leq \kappa_t \leq 1 for all t. This selection ensures that \kappa_t remains close to 1.

  • The step size for the base SGD ({\mathbf z}-trajectory) is set to \frac{\eta_\star}{1-\zeta_\star}, making it \Theta\left(\frac{(G + \sigma)^2}{\varepsilon^2}\right) times larger than the OMD step size, \eta_\star.

Lemma

Lemma 7

ICJ0

For \beta\in(0,1), consider the iterates generated as per ?.

Consider the following definitions:

  • For each t \in [T], let \mathbf{u}_t \coloneqq -D \frac{\sum_{s=1}^t\beta^{t-s}\nabla F(\mathbf{y}_s)}{\left\|\sum_{s=1}^t\beta^{t-s}\nabla F(\mathbf{y}_s)\right\|}.

  • For each t \in [T], let \mathbf{Y}_t be the random iterate distributed over \{\mathbf{y}_s\}_{s=1}^t as:

    \begin{aligned} \Pr(\mathbf{Y}_t= \mathbf{y}_s) = q_{t,s} \coloneqq \beta^{t-s} \cdot \frac{1-\beta}{1-\beta^t} \quad \text{for $s=1,2,\dots, t$.} \end{aligned}

Then, the following upper bound holds:

\begin{aligned} \mathbb{E}_{\tau } \left\|\mathbb{E}_{\mathbf{Y}_{\tau}}\nabla F(\mathbf{Y}_{\tau})\right\| &\leq \frac{\beta \mathbb{E}\left[{\sf Regret}^{[\beta ]}_T(\mathbf{u}_T) \right] + (1-\beta)\sum_{t=1}^{T} \mathbb{E}\left[{\sf Regret}^{[\beta ]}_t(\mathbf{u}_t)\right]}{DN} - \frac{\mu\mathbb{E} \sum_{t=1}^T \left\|{\boldsymbol \delta}_t\right\|^2}{2DT} \\ &\quad +\frac{\mathbb{E} \sum_{t=1}^{T} (F({\mathbf x}_{t}) - F({\mathbf w}_{t}))}{DT} + \frac{\sigma \beta}{T\sqrt{1-\beta}} + \sigma \sqrt{1-\beta}+ \frac{\mu D}{2} . \end{aligned}
Proof of Lemma 7

See ?.

Lemma

Lemma 8

8K0C

For \beta\in(0,1), consider the iterates generated as per ?

\begin{aligned} \mathbb{E}_{\tau} \mathbb{E}_{\mathbf{Y}_{\tau}} \left\|\mathbf{Y}_{\tau} - \overline{\mathbf{y}}_{\tau}\right\|^2 \leq \frac{2}{T} \mathbb{E}\sum_{t=1}^{T} \left\|{\boldsymbol \delta}_t\right\|^2 + \frac{4\beta }{(1-\beta)^2T } \mathbb{E}\sum_{t=1}^T \left\|{\mathbf x}_t-{\mathbf x}_{t-1}\right\|^2. \end{aligned}
Proof of Lemma 8

See ?.

Lemma

Lemma 9

O2I8

For \beta\in(0,1), consider the iterates generated as per ?.

Consider the following definitions:

  • For each t \in [T], let \mathbf{u}_t \coloneqq -D \frac{\sum_{s=1}^t\beta^{t-s}\nabla F(\mathbf{y}_s)}{\left\|\sum_{s=1}^t\beta^{t-s}\nabla F(\mathbf{y}_s)\right\|}.

  • For each t \in [T], let \mathbf{Y}_t be the random iterate distributed over \{\mathbf{y}_s\}_{s=1}^t as:

    \begin{aligned} \Pr(\mathbf{Y}_t= \mathbf{y}_s) = q_{t,s} \coloneqq \beta^{t-s} \cdot \frac{1-\beta}{1-\beta^t} \quad \text{for $s=1,2,\dots, t$.} \end{aligned}

Then, for any n\in [T], we have

\begin{aligned} \mathbb{E}\sum_{t=1}^{n} \beta^{n-t}(F({\mathbf w}_{t}) - F({\mathbf x}_{t})) &\leq -D \frac{1-\beta^n}{1-\beta} \mathbb{E} \left\|\mathbb{E}_{\mathbf{Y}_n}\nabla F(\mathbf{Y}_n)\right\| +\frac{\sigma D}{\sqrt{1-\beta}} \\ &\quad +\mathbb{E} [{\sf Regret}^{[\beta ]}_n(\mathbf{u}_n)] +\mathbb{E} \sum_{t=1}^n \beta^{n-t} ( - \frac{\mu}{2}\left\|{\boldsymbol \delta}_t\right\|^2 + \frac{\mu}{2}D^2). \end{aligned}
Proof of Lemma 9

See ?.

Lemma

Lemma 10 (Variance decomposition lemma)

B1RW

For each n \in [T] the following holds:

\begin{aligned} \mathbb{E}_{\mathbf{Y}_{n}} \left\|\mathbf{Y}_{n} - \overline{\mathbf{y}}_{n}\right\|^2 \leq 2\mathbb{E}_{\mathbf{X}_{n}} \left\|\mathbf{X}_{n} - \overline{\mathbf{x}}_{n}\right\|^2 + 2\sum_{s=1}^{n} q_{n,s} \left\|\mathbf{y}_s - {\mathbf x}_s\right\|^2. \end{aligned}
Proof of Lemma 10

See ?.

Lemma

Lemma 11

8RV5

The following holds:

\begin{aligned} \mathbb{E}_{\tau} \mathbb{E}_{\mathbf{Y}_{\tau}} \left\|\mathbf{X}_{\tau} - \overline{\mathbf{x}}_{\tau}\right\|^2 \leq \frac{2\beta }{(1-\beta)^2 T} \sum_{n=1}^T \left\|{\mathbf x}_n-{\mathbf x}_{n-1}\right\|^2. \end{aligned}
Proof of Lemma 11

See ?.

Proposition

Proposition 4

YELG

For each n \in [T], it holds that

\begin{aligned} \mathbb{E}_{\mathbf{X}_n} \left\|\mathbf{X}_n - \overline{\mathbf{x}}_n\right\|^2 \leq 2\sum_{t=1}^n \lambda_{n,t} \left\|{\mathbf x}_{t}- {\mathbf x}_{t-1}\right\|^2, \quad \text{where}~\lambda_{n,t} \coloneqq\sum_{i=t}^n\sum_{j=1}^{t-1} q_{n,i} q_{n,j} (i-j) . \end{aligned}
Proof of Proposition 4

Let us fix n \in [T]. Let \widehat{\mathbf{X}}_n be an independent copy of \mathbf{X}_n. Then, by Jensen’s inequality, we get:

\begin{aligned} \mathbb{E}_{\mathbf{X}_n} \left\|\mathbf{X}_n - \overline{\mathbf{x}}_n\right\|^2 &= \mathbb{E}_{\mathbf{X}_n} \left\|\mathbf{X}_n - \mathbb{E}_{\widehat{\mathbf{X}}_n}[\widehat{\mathbf{X}}_n]\right\|^2 \leq \mathbb{E}_{\mathbf{X}_n, \widehat{\mathbf{X}}_n} \left\|\mathbf{X}_n - \widehat{\mathbf{X}}_n\right\|^2 \\ &= 2 \sum_{i=1}^n \sum_{j=1}^{i-1} q_{n,i} q_{n,j} \left\|{\mathbf x}_i- {\mathbf x}_{j}\right\|^2\,. \end{aligned}

Next, using Cauchy-Schwartz and triangle inequality, we get:

\begin{aligned} \left\|{\mathbf x}_i- {\mathbf x}_{j}\right\|^2 \leq \left(\sum_{t=j+1}^i \left\|{\mathbf x}_{t}-{\mathbf x}_{t-1}\right\|\right)^2 \leq (i-j) \sum_{t=j+1}^i \left\|{\mathbf x}_t-{\mathbf x}_{t-1}\right\|^2. \end{aligned}

Hence, it follows that

\begin{aligned} \mathbb{E}_{\mathbf{X}_n} \left\|\mathbf{X}_n - \overline{\mathbf{x}}_n\right\|^2 &\leq 2 \sum_{i=1}^n \sum_{j=1}^{i-1} \sum_{t=j+1}^i q_{n,i} q_{n,j} (i-j) \left\|{\mathbf x}_t-{\mathbf x}_{t-1}\right\|^2 \\ &= 2 \sum_{t=1}^n \left(\sum_{i=t}^n\sum_{j=1}^{t-1} q_{n,i} q_{n,j} (i-j) \right) \left\|{\mathbf x}_t-{\mathbf x}_{t-1}\right\|^2 \end{aligned}

This completes the proof.

Proposition

Proposition 5

9170

For 1\leq t\leq n\leq T, it holds that

\begin{aligned} \lambda_{n,t} \leq \frac{(n-t+1) \beta^{n-t+1}}{1-\beta^n}. \end{aligned}
Proof of Proposition 5

In order to prove the desired upper bound, let us first simplify the expression for \lambda_{n,t} as follows:

\begin{aligned} \lambda_{n,t} &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \sum_{i=t}^n\sum_{j=1}^{t-1} \beta^{n-i} \beta^{n-j} (i-j)\\ &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \sum_{i=t}^n\sum_{\delta=i-t+1}^{i-1} \beta^{n-i} \beta^{n-i+\delta} \delta &&(\delta\coloneqq i-j)\\ &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \sum_{k=0}^{n-t}\sum_{\delta=n-k-t+1}^{n-k-1} \beta^{k} \beta^{k+\delta} \delta &&(k\coloneqq n-i)\\ &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \sum_{k=0}^{n-t}\left[\beta^{2k}\sum_{\delta=n-k-t+1}^{n-k-1} \delta\beta^{\delta} \right]. \end{aligned}

Next, let us compute the inner summation:

\begin{aligned} \sum_{\delta=n-k-t+1}^{n-k-1} \delta\beta^{\delta} &= \beta \cdot \frac{\mathrm{d}}{\mathrm{d}\beta} \sum_{\delta=n-k-t+1}^{n-k-1} \beta^{\delta} = \beta \cdot \frac{\mathrm{d}}{\mathrm{d}\beta} \left( \frac{\beta^{n-k-t+1} - \beta^{n-k}}{1-\beta} \right) \\ &= \frac{\beta^{a-k+1} - \beta^{b-k+1}}{(1-\beta)^2} + \frac{(a-k) \beta^{a-k} -(b-k) \beta^{b-k}}{1-\beta}. &&(a \coloneqq n-t+1,~ b\coloneqq n) \end{aligned}

Substituting this back to the above expression for \lambda_{n,t}, we have

\begin{aligned} \lambda_{n,t} &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \sum_{k=0}^{n-t} \beta^{2k} \left[ \frac{\beta^{a-k+1} - \beta^{b-k+1}}{(1-\beta)^2} + \frac{(a-k) \beta^{a-k} -(b-k) \beta^{b-k}}{1-\beta} \right]\\ &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \sum_{k=0}^{n-t} \left[ \left(\frac{\beta^{a+1} -\beta^{b+1}}{(1-\beta)^2} + \frac{a\beta^a -b\beta^b}{1-\beta}\right) \beta^k - \frac{\beta^a -\beta^b}{1-\beta}k\beta^k \right]. \end{aligned}

Now one can compute the first and second terms above using the following identities:

  • First term: note that \sum_{k=0}^{n-t} \beta^k = \frac{1-\beta^{n-t+1}}{1-\beta} = \frac{1-\beta^a}{1-\beta}.

  • Second term: note that \sum_{k=0}^{n-t} k\beta^k = \beta \frac{\mathrm{d}}{\mathrm{d} \beta} \left( \frac{1-\beta^a}{1-\beta}\right) =\frac{\beta -\beta^{a+1}}{(1-\beta)^2} - \frac{a\beta^a}{1-\beta}.

Thus, it follows that

\begin{aligned} \lambda_{n,t} &= \left(\frac{1-\beta}{1-\beta^n}\right)^2 \cdot \left[ \left(\frac{\beta^{a+1} -\beta^{b+1}}{(1-\beta)^2} + \frac{a\beta^a -b\beta^b}{1-\beta}\right)\cdot \frac{1-\beta^a}{1-\beta} - \frac{\beta^a -\beta^b}{1-\beta} \cdot \left( \frac{\beta -\beta^{a+1}}{(1-\beta)^2} - \frac{a\beta^a}{1-\beta}\right) \right]\\ &= \frac{ (\beta^{a+1}-\beta^{b+1}) \frac{1-\beta^a}{1-\beta} + (a \beta^a -b\beta^b)(1-\beta^a) - (\beta^{a+1}-\beta^{b+1}) \frac{1-\beta^a}{1-\beta } + (\beta^a-\beta^b) a\beta^a}{(1-\beta^n)^2}\\ &= \frac{ (a \beta^a -b\beta^b)(1-\beta^a) + (\beta^a-\beta^b) a\beta^a}{(1-\beta^n)^2} = \frac{ a\beta^a (1-\beta^b) -b\beta^b(1-\beta^a)}{(1-\beta^n)^2} \leq \frac{ a\beta^a (1-\beta^b) }{(1-\beta^n)^2}. \end{aligned}

Upon plugging back the definition of a and b, this completes the proof of Proposition 5.

Source and licence

The text on this page is from arXiv:2411.07061v1 by Kwangjun Ahn, Gagik Magakyan and Ashok Cutkosky, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2411/2411.07061.jsonl.