Introduction
Adversarial training (AT) [41 , 15 , 29 ] is widely regarded as the de facto approach for training models that are robust to perturbations of the input data [4 ] . Conceptually, adversarial training recasts empirical risk minimization as minimizing the worst-case loss over an ℓ p \ell_p ℓ p ball around each training instance, typically choosing p = 2 p = 2 p = 2 or p = ∞ p = \infty p = ∞ to bound the perturbation’s Euclidean norm or per-coordinate magnitude [34 ] .
In practice, the AT is typically solved using stochastic first-order methods, where the gradient calculation for the outer parameters relies on an approximate solution to the inner maximization problem [29 , 48 ] . While highly effective empirically, analyzing the trajectory and convergence of these algorithms presents substantial challenges. This complexity stems from two primary sources. First, the inherent min-max nature of AT makes its optimization landscape considerably more intricate than that of Standard Training (ST) [24 ] . Second, the stochasticity of the optimizer introduces an additional layer of complexity, compounded by the noise and approximations involved in solving the inner problem. To isolate these phenomena and gain a fundamental understanding of the unique features of AT compared to ST, recent literature [55 , 54 , 42 , 28 ] (Li et al. 2020) has shifted its focus toward deterministic Gradient Descent (GD), which dates back to the classical work of Cauchy [7 ] and forms the foundation of all first-order methods [33 ] .
In this work, we focus on three complementary aspects of the training dynamics of AT via GD. The implicit bias describes which solutions are selected by the optimization algorithm among those compatible with minimizing the training objective. The optimization error quantifies how quickly the loss approaches its infimum. Finally, sharpness measures the local curvature of the loss landscape along the training trajectory and plays an important role in understanding the optimization dynamics of deep neural networks [14 ] . Together, these perspectives address which predictors training selects, how efficiently it reaches low loss, and how the local geometry evolves. While these foundational questions have been extensively probed in ST, existing theoretical work on AT remains severely constrained in its algorithmic scope. Specifically, the vast majority of current literature on the dynamics of AT relies on infinitesimal learning rates, which makes the dynamics become a continuous-time gradient flow [42 ] (Gu et al. 2021), or restricts the analysis to small step sizes that are exponentially small in the dimension [28 ] (Li et al. 2020; Lv and Zhu 2022). Such frameworks fail to capture the behavior of practical optimization regimes, which frequently employ large constant step sizes [34 ] that induce non-monotonic loss behaviors and complex sharpness behaviors like the Edge-of-Stability (EoS) phenomena [10 ] . In this work, we begin by studying the implicit bias and optimization of GD with arbitrary constant step sizes in adversarial linear logistic regression with separable data, whose standard training counterpart is known to exhibit new phenomena absent from the small step size analyses (Wu et al., 2023, 2024). We then turn to an empirical study of adversarial neural network training, studying how the sharpness evolves during adversarial training and comparing it with the EoS phenomena in standard training.
Our Contributions.
In this work, we focus mainly on ℓ ∞ \ell_\infty ℓ ∞ -adversarial attacks since it is the mostly used in practice, and also less theoretically understood compared with other norms [45 ] . Most of our results can also be extended to ℓ p \ell_p ℓ p -attacks for p ∈ [ 1 , ∞ ] p \in[1,\infty] p ∈ [ 1 , ∞ ] using the ℓ p / ℓ q \ell_p/\ell_q ℓ p / ℓ q duality, except for the results in § 4 , which relies on properties specific to the ℓ ∞ \ell_\infty ℓ ∞ norm. We summarize our main contributions below.
Implicit Bias of GD for Adversarial Logistic Regression. For adversarial logistic regression, we prove that, under standard separability assumption on the dataset, GD with arbitrary constant step size converges to a robust max-margin direction u 2 , ∞ ( c ) u_{2,\infty}(c) u 2 , ∞ ( c ) depending on the adversarial radius c > 0 c > 0 c > 0 . (Theorem 3.1) This behaves differently from ST, where the implicit bias is driven toward the standard max-margin direction on the original data, see the left of Figure 1 for a comparison between these two directions. While this discrepancy was first shown by Li et al. (2020), our work extends their findings in two aspects. First, our result holds for arbitrary constant step sizes, whereas Li et al. (2020) require step sizes exponentially small with dimension. Second, we establish a rate of order ln T / ln T \ln T/\ln T ln T / ln T for the implicit bias, improving over Li et al. (2020) by a factor of order 1 / ln T 1/\sqrt{\ln T} 1/ ln T . In Proposition 3.2 we also show that this rate is tight, thereby providing a comprehensive
Figure 1. Illustrations of the main findings of this work. Left: AT and ST have different implicit bias under large constant step sizes. Middle: The ST loss decreases monotonically after a phase transition time τ \tau τ , whereas the AT loss increases infinitely often. It can also be observed that the AT loss decreases very slowly. Right: ST and AT can exhibit different sharpness evolutions. In particular, ST exhibits the edge-of-stability phenomenon, in which the sharpness oscillates around 2 / η 2/\eta 2/ η , while the sharpness of AT decreases to a value much lower than 2 / η 2/\eta 2/ η .
characterization of the implicit bias for this problem.
Optimization of GD for Adversarial Logistic Regression. Recent work by Wu et al. (2024) characterizes GD for standard logistic regression with large step sizes through two phases separated by a transition time τ \tau τ : the loss behaves non-monotonically before τ \tau τ and monotonically afterward. They further show that this non-monotonic phase is necessary to achieve an accelerated loss convergence rate of O ~ ( 1 / T 2 ) \widetilde{O}(1/T^2) O ( 1/ T 2 ) . Surprisingly, we find that both the existence of the transition time and the acceleration effect of large step size can fail for AT. In fact, the situation of AT is even worse: Theorem 4.2 shows that, for any adversarial radius c > 0 c > 0 c > 0 and time budget T T T , there exists a dataset on which GD’s optimization error is bounded below by a positive constant depending only on c c c . Moreover, there exist infinitely many steps t t t where the loss increases from t t t to t + 1 t+1 t + 1 . In the middle of Figure 1 , we illustrate this phenomenon. These results show that the optimization aspect of GD with large constant step sizes can behave differently in AT than in ST.
Sharpness Evolution in AT. We conduct experiments on AT with neural networks to study how sharpness evolves along the training trajectory. We observe that the sharpness initially increases monotonically and then begins to oscillate with an overall decreasing trend. This behavior remains consistent across different architectures, datasets, and adversarial attack generation approaches. It also differs from the EoS phenomenon in ST of neural network with deterministic GD [10 ] , where sharpness oscillates around 2 / η 2/\eta 2/ η for step size η \eta η after an initial monotone increasing stage. The right of Figure 1 present their difference. To develop theoretical understanding of this phenomenon, we analyze a min-max variant of the theoretical model proposed in Ahn et al. [1 ] . Our analysis shows that the sharpness of this model converges points with a sharpness level significantly below the standard sharpness level 2 / η 2/\eta 2/ η , consistent with our empirical findings. These results show that sharpness evolves very differently in standard and adversarial neural network training.
Related Works
Implicit Bias of Linear Logistic Regression. In standard training, Soudry et al. [40 ] and Ji and Telgarsky (2018) showed that GD converges to the max-margin direction for linear models on separable data. Subsequent work studied other training algorithms than GD, like steepest descent Gunasekar et al. [17 ] , momentum methods [44 , 53 ] , and spectral descent method like Muon Fan et al. [13 ] . Most of these analyses require sufficiently small step sizes. An exception is Wu et al. (2023), who established the implicit bias of GD with any constant step size under additional assumptions. For AT, Li et al. (2020) showed that GD for separable adversarial logistic regression converges to robust max-margin direction with exponentially small step size. Subsequent work extended the results on adversarial training to other linear networks and training dynamics [42 , 28 , 27 ] (Lv and Zhu 2022). Wang et al. [45 ] derived faster robust margin-maximization rates for other optimization methods than GD, and their analysis does not extend to ℓ ∞ \ell_\infty ℓ ∞ adversarial attacks.
Optimization with Large Step Sizes. In practice, large step sizes can lead to non-monotonic loss trajectories while preserving favorable long-term behavior. For standard logistic regression, Wu et al. (2024, 2026) showed that large step size gradient descent can accelerate the convergence rate despite oscillations. Cai et al. [6 ] extends the results to non-Homogeneous two-layer neural networks. Crawshaw and Liu [11 ] established tighter bounds for two-dimensional separable logistic regression. Beyond the convergence rate analysis, Andriushchenko et al. [3 ] showed that large step sizes help neural networks to learn sparse features to improve generalization. Meng et al. [30 ] studied the bifurcation behaviors of gradient descent with large step sizes in logistic regression with non-separable dataset . Liang and Montufar [23 ] characterized critical step sizes for scalar-vector factorization and showed that large step sizes can induce chaotic optimization dynamics.
Sharpness & Edge-of-Stability. Sharpness plays an important role in neural network training. Cohen et al. [10 ] observed the edge-of-stability (EoS) phenomenon, in which sharpness initially increases and then hovers near 2 / η 2/\eta 2/ η . Several works have developed theoretical explanations for these dynamics. For example, Damian et al. [12 ] identified the self-stabilization mechanism. Cohen et al. [9 ] introduced central flows to model the time-averaged trajectories of oscillatory optimizers. Ahn et al. [1 ] connected EoS to generalization performance of neural networks. Another lines of work theoretically studied the EoS through a minimalist example approach [21 , 57 , 46 , 25 ] . Recent works of Islamov et al. [18 ] and Song et al. [39 ] generalized the EoS to Riemannian and zero-th order optimization settings.
Preliminaries
Adversarial Linear Logistic Regression
Given a dataset { ( x i , y i ) } i = 1 N \{(\mathbf{x}_i,y_i)\}_{i=1}^{N} {( x i , y i ) } i = 1 N where ( x i , y i ) ∈ R d × { ± 1 } (\mathbf{x}_i,y_i) \in\mathbb{R}^{d} \times\{\pm1\} ( x i , y i ) ∈ R d × { ± 1 } , we consider ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression with adversarial radius c ≥ 0 c \ge0 c ≥ 0 . The objective is to minimize L A d v ( w ) \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}) L Adv ( w ) over w ∈ R d \mathbf{w} \in\mathbb{R}^{d} w ∈ R d , where
L A d v ( w ) : = ∑ i = 1 N max ∥ δ i ∥ ∞ ≤ c ln ( 1 + e − y i ( x i + δ i ) ⊤ w ) = ∑ i = 1 N ln ( 1 + e − y i x i ⊤ w + c ∥ w ∥ 1 ) . \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}) := \sum_{i=1}^{N} \max_{\|\boldsymbol{\delta}_i\|_\infty\le c} \ln(1+e^{-y_i(\mathbf{x}_i+\boldsymbol{\delta}_i)^\top\mathbf{w}})
= \sum_{i=1}^{N}\ln(1+e^{-y_i\mathbf{x}_i^\top\mathbf{w}+c\|\mathbf{w}\|_1}). L Adv ( w ) := i = 1 ∑ N ∥ δ i ∥ ∞ ≤ c max ln ( 1 + e − y i ( x i + δ i ) ⊤ w ) = i = 1 ∑ N ln ( 1 + e − y i x i ⊤ w + c ∥ w ∥ 1 ) .
(ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression)
Here the second equality follows from the duality between ℓ ∞ \ell_\infty ℓ ∞ and ℓ 1 \ell_1 ℓ 1 norms. When c = 0 c=0 c = 0 , this reduces to the standard logistic loss L ( w ) \mathcal{L}(\mathbf{w}) L ( w ) . We consider the (sub)gradient descent (GD) dynamics:
w t + 1 = w t − η ∂ w L A d v ( w t ) . \mathbf{w}_{t+1}=\mathbf{w}_t-\eta\,\partial_{\mathbf{w}}\mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t). w t + 1 = w t − η ∂ w L Adv ( w t ) .
Here η > 0 \eta>0 η > 0 is the step size. In this work, following Wu et al. (2024), we use the term large step size to refer to any constant step size for the iteration in (GD). We also always select the minimum Euclidean-norm subgradient of ∥ w ∥ 1 \|\mathbf{w}\|_1 ∥ w ∥ 1 , whose j j j -th component is zero whenever w j = 0 w_j=0 w j = 0 . This choice is standard in the literature [37 ] (Sclocchi and Domahot 2023) and is consistent with PyTorch’s autograd convention.
Definition 2.1. For data set { ( x i , y i ) } i = 1 N \{(\mathbf{x}_i,y_i)\}_{i=1}^{N} {( x i , y i ) } i = 1 N and adversarial radius c c c , we define the following notations:
γ 2 , ∞ ( c ) = max ∥ w ∥ 2 = 1 min i ∈ [ N ] min ∥ δ i ∥ ∞ ≤ c y i ⟨ x i + δ i , w ⟩ \gamma_{2,\infty}(c)=\max_{\|\mathbf{w}\|_2=1}\min_{i\in[N]}\min_{\|\boldsymbol{\delta}_i\|_\infty\le c} y_i\langle\mathbf{x}_i+\boldsymbol{\delta}_i,\mathbf{w}\rangle γ 2 , ∞ ( c ) = ∥ w ∥ 2 = 1 max i ∈ [ N ] min ∥ δ i ∥ ∞ ≤ c min y i ⟨ x i + δ i , w ⟩
u 2 , ∞ ( c ) : = argmax ∥ w ∥ 2 = 1 min i ∈ [ N ] min ∥ δ i ∥ ∞ ≤ c y i ⟨ x i + δ i , w ⟩ \mathbf{u}_{2,\infty}(c):=\underset{\|\mathbf{w}\|_2=1}{\operatorname{argmax}}\ \min_{i\in[N]}\min_{\|\boldsymbol{\delta}_i\|_\infty\le c} y_i\langle\mathbf{x}_i+\boldsymbol{\delta}_i,\mathbf{w}\rangle u 2 , ∞ ( c ) := ∥ w ∥ 2 = 1 argmax i ∈ [ N ] min ∥ δ i ∥ ∞ ≤ c min y i ⟨ x i + δ i , w ⟩
Here, γ 2 , ∞ ( c ) \gamma_{2,\infty}(c) γ 2 , ∞ ( c ) represents the ℓ 2 \ell_2 ℓ 2 margin of the extended dataset:
{ ( x ′ , y ′ ) ∣ ∃ i , ∥ x ′ − x i ∥ ∞ ≤ c , y ′ = y i } , \{(\mathbf{x}',y')\mid\exists i,\ \|\mathbf{x}'-\mathbf{x}_i\|_\infty\le c,\ y'=y_i\}, {( x ′ , y ′ ) ∣ ∃ i , ∥ x ′ − x i ∥ ∞ ≤ c , y ′ = y i } ,
which includes all admissible perturbations of the original samples with their labels unchanged, and u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) is the corresponding max-margin direction. We assume that the dataset is robustly linearly separable, meaning that the extended dataset remains linearly separable. This assumption is standard in analyses of (GD) for adversarial training [8 , 28 ] (Li et al. 2020).
Assumption 2.2. The dataset { ( x i , y i ) } i = 1 N \{(\mathbf{x}_i,y_i)\}_{i=1}^{N} {( x i , y i ) } i = 1 N is robustly linearly separable, i.e., γ 2 , ∞ > 0 \gamma_{2,\infty}>0 γ 2 , ∞ > 0 .
General Adversarial Training
Adversarial training (AT) is a widely used approach to improving the robustness of machine learning models. For ℓ ∞ \ell_\infty ℓ ∞ -adversarial attack with radius c c c , it minimizes L A d v ( w ) \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}) L Adv ( w ) , defined as
L A d v ( w ) = 1 N ∑ i = 1 N g c ( x i , w ) , where \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}) = \frac{1}{N}\sum_{i=1}^{N} g_c(\mathbf{x}_i,\mathbf{w}), \quad\text{where} L Adv ( w ) = N 1 i = 1 ∑ N g c ( x i , w ) , where
g c ( x i , w ) = max ∥ x i ′ − x i ∥ ∞ ≤ c g ( x i ′ , w ) . (1) g_c(\mathbf{x}_i,\mathbf{w}) = \max_{\lVert\mathbf{x}'_i-\mathbf{x}_i\rVert_\infty\le c} g(\mathbf{x}'_i,\mathbf{w}). \tag*{(1)} g c ( x i , w ) = ∥ x i ′ − x i ∥ ∞ ≤ c max g ( x i ′ , w ) . (1)
Here, g g g is a loss function, such as mean squared error (MSE), with dependence on the label y i y_i y i suppressed for simplicity. In practice, a common approximation of the inner maximization problem is the fast gradient sign method (FGSM) [15 ] :
x i ′ = x i + c Sign ( ∇ x g ( x i , w ) ) . (2) \mathbf{x}'_i = \mathbf{x}_i + c\operatorname{Sign}(\nabla_{\mathbf{x}}g(\mathbf{x}_i,\mathbf{w})). \tag*{(2)} x i ′ = x i + c Sign ( ∇ x g ( x i , w )) . (2)
Alternatively, projected gradient descent (PGD) [29 ] approximately solves the inner maximization problem using T T T projected gradient ascent steps. Starting from x i , 0 ∈ B i \mathbf{x}_{i,0} \in\mathcal{B}_i x i , 0 ∈ B i , it updates
x i , t = Proj B i ( x i , t − 1 + α Sign ( ∇ x g ( x i , t − 1 , w ) ) ) , (3) \mathbf{x}_{i,t} = \operatorname{Proj}_{\mathcal{B}_i}\left(\mathbf{x}_{i,t-1}+\alpha\operatorname{Sign}(\nabla_{\mathbf{x}}g(\mathbf{x}_{i,t-1},\mathbf{w}))\right), \tag*{(3)} x i , t = Proj B i ( x i , t − 1 + α Sign ( ∇ x g ( x i , t − 1 , w )) ) , (3)
for t = 1 , … , T t=1,\ldots,T t = 1 , … , T . Here α > 0 \alpha>0 α > 0 is the attack step size and B i : = { x ′ : ∥ x ′ − x i ∥ ∞ ≤ c } \mathcal{B}_i:=\{\mathbf{x}':\lVert\mathbf{x}'-\mathbf{x}_i\rVert_\infty\le c\} B i := { x ′ : ∥ x ′ − x i ∥ ∞ ≤ c } . Then the adversarial example used in training is defined as x i ′ : = x i , T \mathbf{x}'_i:=\mathbf{x}_{i,T} x i ′ := x i , T . We define the sharpness at w \mathbf{w} w as the largest eigenvalue of the parameter Hessian evaluated on fixed adversarial examples { x i ′ } i = 1 N \{\mathbf{x}'_i\}_{i=1}^{N} { x i ′ } i = 1 N , namely,
λ max ( 1 N ∑ i = 1 N ∇ w 2 g ( x i ′ , w ) ) \lambda_{\max}\left(\frac{1}{N}\sum_{i=1}^{N}\nabla_{\mathbf{w}}^2g(\mathbf{x}'_i,\mathbf{w})\right) λ m a x ( N 1 i = 1 ∑ N ∇ w 2 g ( x i ′ , w ) )
Following the standard practice in sharpness analyses of AT, we compute the parameter Hessian while holding the adversarial examples fixed [52 , 24 , 38 , 47 , 56 , 43 ] . Computing the Hessian while accounting for the dependence of x i ′ \mathbf{x}'_i x i ′ on w \mathbf{w} w would require differentiating through the adversarial example generation, making it computationally prohibitive. When c = 0 c=0 c = 0 , the notation is same as the sharpness in ST.
Implicit Bias of Adversarial Logistic Regression
In this section, we study the implicit bias of gradient descent for ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression, while proofs are deferred to Appendix § 9 . Following earlier analyses of implicit bias of standard training [32 ] (Ji and Telgarsky 2021; Wu et al. 2023), we decompose each gradient descent iterate of adversarial training into its projection onto the robust max-margin direction and its orthogonal component:
w t = v t u 2 , ∞ ( c ) + r t , \mathbf{w}_t = v_t\mathbf{u}_{2,\infty}(c)+\mathbf{r}_t, w t = v t u 2 , ∞ ( c ) + r t ,
where v t = ⟨ w t , u 2 , ∞ ( c ) ⟩ v_t=\langle\mathbf{w}_t,\mathbf{u}_{2,\infty}(c)\rangle v t = ⟨ w t , u 2 , ∞ ( c )⟩ is the projection of w t \mathbf{w}_t w t onto the robust max-margin direction, and r t \mathbf{r}_t r t is the orthogonal component, i.e., ⟨ r t , u 2 , ∞ ( c ) ⟩ = 0 \langle\mathbf{r}_t,\mathbf{u}_{2,\infty}(c)\rangle=0 ⟨ r t , u 2 , ∞ ( c )⟩ = 0 . The ratio ∥ r t ∥ 2 / v t \lVert\mathbf{r}_t\rVert_2/v_t ∥ r t ∥ 2 / v t determines the convergence rate of implicit bias. We present the main theorem of this section below.
Theorem 3.1. Under Assumption 2.2, fix any constant step size η > 0 \eta>0 η > 0 and let { w t } t ≥ 0 \{\mathbf{w}_t\}_{t\ge0} { w t } t ≥ 0 be given by the (GD) dynamic with w 0 = 0 1 \mathbf{w}_0=\mathbf{0}^1 w 0 = 0 1 . Then, for every t ≥ 1 t\ge1 t ≥ 1 , we have
(i) v t ≥ 1 γ 2 , ∞ 2 ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) v_t \ge\frac{1}{\gamma_{2,\infty}^2(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t\right) v t ≥ γ 2 , ∞ 2 ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) .
(ii) ∃ C r > 0 \exists C_r>0 ∃ C r > 0 , independent of t t t , s.t. ∥ r t ∥ 2 ≤ C r ln ln t \lVert\mathbf{r}_t\rVert_2\le C_r\ln\ln t ∥ r t ∥ 2 ≤ C r ln ln t .
(iii) ∥ w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) ∥ 2 ≤ 2 ∥ r t ∥ 2 / v t = O ( ln ln t ln t ) \left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-\mathbf{u}_{2,\infty}(c)\right\rVert_2\le2\lVert\mathbf{r}_t\rVert_2/v_t=O\left(\frac{\ln\ln t}{\ln t}\right) ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) 2 ≤ 2 ∥ r t ∥ 2 / v t = O ( l n t l n l n t ) .
We make the following comments. Previous work of Li et al. (2020) established the implicit bias of (GD) toward the robust max-margin direction u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) under Assumption 2.2 and with step size at most of order e − Θ ( d ) e^{-\Theta(\sqrt{d})} e − Θ ( d ) . Theorem 3.1 strengthens their result in two respects. First, it allows any positive constant step size. This is practically relevant because constant step sizes are often chosen empirically, and exponentially small step sizes are rarely used in practice [34 ] . Second, it improves the implicit bias convergence rate established by Li et al. (2020) from O ( 1 / ln t ) O(1/\sqrt{\ln t}) O ( 1/ ln t ) to O ( ln ln t / ln t ) O(\ln\ln t/\ln t) O ( ln ln t / ln t ) . The next result shows that this improved rate is tight.
Proposition 3.2. The dataset x 1 = ( 1 / 2 , 1 / 4 ) \mathbf{x}_1=(1/2,1/4) x 1 = ( 1/2 , 1/4 ) , x 2 = ( 1 / 2 , 1 / 2 ) \mathbf{x}_2=(1/2,1/2) x 2 = ( 1/2 , 1/2 ) , y 1 = y 2 = 1 y_1=y_2=1 y 1 = y 2 = 1 , c = 1 / 4 c=1/4 c = 1/4 is robustly linearly separable . The GD trajectory { w t } t = 1 ∞ \{\mathbf{w}_t\}_{t=1}^{\infty} { w t } t = 1 ∞ on it satisfies
lim t → ∞ ln t ln ln t ∥ w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) ∥ 2 = 1. \lim_{t\to\infty}\frac{\ln t}{\ln\ln t}\left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-\mathbf{u}_{2,\infty}(c)\right\rVert_2=1. t → ∞ lim ln ln t ln t ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) 2 = 1.
Finally, Theorem 3.1 directly implies a convergence rate of
L A d v ( w t ) = O ~ ( 1 / t ) , (4) \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t)=\widetilde{O}(1/t), \tag*{(4)} L Adv ( w t ) = O ( 1/ t ) , (4)
where O ~ \widetilde{O} O hide the log factors and the dependence on η \eta η and the other parameters of the problem.
Proof Overview of Theorem 3.1. Our analysis builds on the proof strategy of Wu et al. (2023) for ST with large step sizes. We handle the irregularities in adversarial training, such as nonsmoothness, through refined comparison points and tighter cumulative loss difference bounds as explained below. In the following, we illustrate our proof by recovering the O ( 1 / ln t ) O(1/\sqrt{\ln t}) O ( 1/ ln t ) rate of Li et al. (2020) under arbitrary constant step sizes. We then explain how to refine this argument to obtain the full result. The complete proof is provided in Appendix § 9 .
Part (i) of Theorem 3.1 follows from the fact that, at each iteration, there exists at least one data x j x_j x j whose robust margin min ∥ δ i ∥ ∞ ≤ c y j ⟨ x j + δ i , w t ⟩ \min_{\lVert\delta_i\rVert_\infty\le c} y_j\langle x_j+\delta_i,w_t\rangle min ∥ δ i ∥ ∞ ≤ c y j ⟨ x j + δ i , w t ⟩ is at most γ 2 , ∞ v t \gamma_{2,\infty}v_t γ 2 , ∞ v t , ensuring sufficient growth of v t v_t v t (see Proposition B.2 , similar argument also used in Lemma B.6 of Wu et al. (2023)). In the following we focus on bounding the term ∥ r t ∥ 2 \lVert r_t\rVert_2 ∥ r t ∥ 2 . Let { w ~ t } t = 1 ∞ \{\widetilde{w}_t\}_{t=1}^{\infty} { w t } t = 1 ∞ be a series of comparison points with known bounds on its norms and loss values. The proof starts from the following comparison inequality, which holds for any η > 0 \eta>0 η > 0 and is derived using the convexity of ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression:
∥ w t − w ~ t ∥ 2 2 ≤ 2 η ∑ s < t ( L A d v ( w ~ s ) − L A d v ( w s ) ) + ∑ s < t ∥ w s + 1 − w s ∥ 2 2 (5) \lVert w_t-\widetilde{w}_t\rVert_2^2\le2\eta\sum_{s<t}\left(\mathcal{L}_{\mathrm{Adv}}(\widetilde{w}_s)-\mathcal{L}_{\mathrm{Adv}}(w_s)\right)+\sum_{s<t}\lVert w_{s+1}-w_s\rVert_2^2 \tag*{(5)} ∥ w t − w t ∥ 2 2 ≤ 2 η s < t ∑ ( L Adv ( w s ) − L Adv ( w s ) ) + s < t ∑ ∥ w s + 1 − w s ∥ 2 2 (5)
We choose the comparison points { w ~ t } \{\widetilde{w}_t\} { w t } according to
w ~ t = 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) u 2 , ∞ ( c ) , \widetilde{w}_t=\frac{1}{\gamma_{2,\infty}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t\right)u_{2,\infty}(c), w t = γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) u 2 , ∞ ( c ) ,
whose norm and cumulative adversarial loss are both O ( ln t ) O(\ln t) O ( ln t ) . Intuitively, the growth of w t w_t w t along u 2 , ∞ ( c ) u_{2,\infty}(c) u 2 , ∞ ( c ) , measured by v t = ⟨ w t , u 2 , ∞ ( c ) ⟩ v_t=\langle w_t,u_{2,\infty}(c)\rangle v t = ⟨ w t , u 2 , ∞ ( c )⟩ , controls the updates of w t w_t w t , allowing us to establish ∑ s < t ∥ w s + 1 − w s ∥ 2 2 ≤ K v t \sum_{s<t}\lVert w_{s+1}-w_s\rVert_2^2\le Kv_t ∑ s < t ∥ w s + 1 − w s ∥ 2 2 ≤ K v t for some constant K K K (see Lemma B.3 ). Dropping the negative loss term in (5) , and using
v t = ⟨ w t − w ~ t , u 2 , ∞ ( c ) ⟩ + O ( ln t ) ≤ ∥ w t − w ~ t ∥ 2 + O ( ln t ) , v_t=\langle w_t-\widetilde{w}_t,u_{2,\infty}(c)\rangle+O(\ln t)\le\lVert w_t-\widetilde{w}_t\rVert_2+O(\ln t), v t = ⟨ w t − w t , u 2 , ∞ ( c )⟩ + O ( ln t ) ≤ ∥ w t − w t ∥ 2 + O ( ln t ) ,
we get
∥ r t ∥ 2 2 ≤ ∥ w t − w ~ t ∥ 2 2 ≤ O ( ln t ) + K ∥ w t − w ~ t ∥ 2 , \lVert r_t\rVert_2^2\le\lVert w_t-\widetilde{w}_t\rVert_2^2\le O(\ln t)+K\lVert w_t-\widetilde{w}_t\rVert_2, ∥ r t ∥ 2 2 ≤ ∥ w t − w t ∥ 2 2 ≤ O ( ln t ) + K ∥ w t − w t ∥ 2 ,
which implies ∥ r t ∥ 2 ≤ ∥ w t − w ~ t ∥ 2 = O ( ln t ) \lVert r_t\rVert_2\le\lVert w_t-\widetilde{w}_t\rVert_2=O(\sqrt{\ln t}) ∥ r t ∥ 2 ≤ ∥ w t − w t ∥ 2 = O ( ln t ) . Combining this with the lower bound of v t v_t v t in Part (i) of Theorem 3.1 gives the O ( 1 / ln t ) O(1/\sqrt{\ln t}) O ( 1/ ln t ) rate of implicit bias. Note that even in this simple setting, our analysis already differs from that of Wu et al. (2023) for standard training, where additional rank assumptions on the dataset (Assumption 2 & 3 in their work) are used to establish a uniform bound on ∥ r t ∥ 2 \lVert r_t\rVert_2 ∥ r t ∥ 2 . We avoid such assumption by constructing suitable comparison points, which adaptive to the adversarial training process and gives a refined growth rate of ∥ r t ∥ 2 \lVert r_t\rVert_2 ∥ r t ∥ 2 .
To obtain the O ( ln ln t / ln t ) O(\ln\ln t/\ln t) O ( ln ln t / ln t ) rate, we sharpen the bound on ∥ r t ∥ 2 \lVert r_t\rVert_2 ∥ r t ∥ 2 from O ( ln t ) O(\sqrt{\ln t}) O ( ln t ) in above argument to O ( ln ln t ) O(\ln\ln t) O ( ln ln t ) by choosing more suitable comparison points { w ~ t } t = 1 ∞ \{\widetilde{w}_t\}_{t=1}^{\infty} { w t } t = 1 ∞ . The new construction includes vector directions that are orthogonal to u 2 , ∞ ( c ) u_{2,\infty}(c) u 2 , ∞ ( c ) , thus is more close to the gradient descent trajectories for adversarial logistic regression (see Proposition B.4 ). We also refine the analysis of the cumulative adversarial loss difference in (5) by retaining the negative loss term (see Proposition B.6), and use the fact that the cumulative squared updates in (5) are in fact uniformly bounded (see Lemma B.3 ).
Optimization of Adversarial Logistic Regression
In this section, we study how the ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression evolves under GD with arbitrary constant step sizes. It is well-known that gradient descent dynamics with η > 2 / L \eta>2/L η > 2/ L may exhibit non-monotonic loss behavior, where L L L is the Lipschitz constant of the gradient. Recent work of Wu et al. (2024) characterize these non-monotonic loss behavior in standard linear logistic regression (c = 0 c=0 c = 0 ). We informally restate their main results below using our notation:
Theorem 4.1 (Wu et al. (2024)). Under Assumption 2.2 with c = 0 c=0 c = 0 , and normalize the dataset such that ∥ x i ∥ ≤ 1 \lVert x_i\rVert\le1 ∥ x i ∥ ≤ 1 for i ∈ [ N ] i\in[N] i ∈ [ N ] . For standard logistic regression, gradient descent with a constant step size η > 0 \eta>0 η > 0 satisfies:
(Phase transition time) There exists some phase transition time τ \tau τ , depending on the step size η \eta η and the dataset, before which the loss can be non-monotonic and after which L ( w t + 1 ) ≤ L ( w t ) \mathcal{L}(w_{t+1})\le\mathcal{L}(w_t) L ( w t + 1 ) ≤ L ( w t ) for all t ≥ τ t\ge\tau t ≥ τ .
(Accelerated Convergence Rate) For a sufficiently large time budget T T T , an appropriate constant step size η = Θ ( T ) \eta=\Theta(T) η = Θ ( T ) yields a upper bound L ( w T ) = O ~ ( 1 / T 2 ) \mathcal{L}(w_T)=\widetilde{O}(1/T^2) L ( w T ) = O ( 1/ T 2 ) .
The work of Ji and Telgarsky (2018) also established a O ~ ( 1 / T ) \widetilde{O}(1/T) O ( 1/ T ) loss bound for every fixed step size η ∈ ( 0 , 1 ] \eta\in(0,1] η ∈ ( 0 , 1 ] for ST. These results nature questions for AT: (i) does there also exist a phase transition time? (ii) can any constant step size, possibly tuned to the time horizon T T T , that guarantees a fast vanishing loss bound? The following theorem shows that the answer is negative.
Theorem 4.2. For any 0 < c < 2 0<c<2 0 < c < 2 and time budget T > 64 / c T>64/c T > 64/ c , there exists a dataset D T D_T D T whose dimension depends on T T T and satisfies Assumption 2.2, such that for any step size η > 0 \eta>0 η > 0 , gradient descent dynamics on D T D_T D T satisfies
(Uniform Constant Lower Bound) The loss function has a uniform constant lower bound L A d v ( w T ) ≥ C \mathcal{L}_{\mathrm{Adv}}(w_T)\ge C L Adv ( w T ) ≥ C , where C C C only depends on c c c .
(No phase transition time) When gradient descent is run indefinitely on D T D_T D T , there exist infinitely many t t t such that L A d v ( w t + 1 ) > L A d v ( w t ) \mathcal{L}_{\mathrm{Adv}}(w_{t+1})>\mathcal{L}_{\mathrm{Adv}}(w_t) L Adv ( w t + 1 ) > L Adv ( w t ) .
We have two remarks. First, for ST, Theorem 4.1 shows that an appropriately chosen large constant step size can yield a polynomial acceleration of the loss convergence rate, from the 1 / T 1/T 1/ T scale to O ~ ( 1 / T 2 ) \widetilde{O}(1/T^2) O ( 1/ T 2 ) . In contrast, Theorem 4.2 shows that the convergence is intrinsically non-uniform over the problem class: for every T T T , there exists a problem for which the optimization error at time T T T is bounded below by a positive real for every constant step size. Note that there is no contradiction with eq. (4) , which instead ensures an instance dependent convergence. Second, Theorem 4.1 shows that, in standard training, there exists a transition time before which the loss can be non-monotonic and after which it decreases monotonically. Moreover, Wu et al. (2024) show that this non-monotonic phase is essential for the acceleration obtained with large step sizes. In contrast, Theorem 4.2 shows that in AT such a transition time need not exist: the loss may increase infinitely often. Notably, these increases occur even between differentiable iterates, so the persistent non-monotonicity is not an artifact of evaluating subgradients at nonsmooth points.
Proof Overview of Theorem 4.2. We construct a single sample dataset D T = { ( x , 1 ) } D_T = \{(x, 1)\} D T = {( x , 1 )} , where
x = ( 2 , q − 1 , … , q − 1 ) ∈ R 1 + q 2 , q = 4 T 2 . x = (2, q^{-1}, \ldots, q^{-1}) \in\mathbb{R}^{1+q^2}, \qquad q = 4T^2. x = ( 2 , q − 1 , … , q − 1 ) ∈ R 1 + q 2 , q = 4 T 2 .
We have ∥ x ∥ 2 = 5 \lVert x\rVert_2 = \sqrt{5} ∥ x ∥ 2 = 5 . This data has one dominant coordinate and T 4 T^4 T 4 small coordinates whose magnitudes are below the adversarial radius. It can be seen that D T D_T D T is linearly robustly separable for c < 2 c < 2 c < 2 with robust max-margin direction u 2 , ∞ ( c ) = ( 1 , 0 , … , 0 ) u_{2,\infty}(c) = (1, 0, \ldots, 0) u 2 , ∞ ( c ) = ( 1 , 0 , … , 0 ) and γ 2 , ∞ ( c ) = 2 − c \gamma_{2,\infty}(c) = 2 - c γ 2 , ∞ ( c ) = 2 − c . The nonsmooth ℓ 1 \ell_1 ℓ 1 term in the adversarial loss causes the last q 2 q^2 q 2 small coordinates of w t w_t w t to oscillate around zero, which makes the gradient descent dynamics unstable since it depends on the sign of these small coordinates. Large step sizes can amplify these oscillations, whose combined contribution to the loss outweighs the improvement along the dominant coordinate. More precisely, consider the robust margin min ∥ δ ∥ ∞ ≤ c ⟨ x + δ , w t ⟩ \min_{\lVert\delta\rVert_\infty\le c}\langle x+\delta,w_t\rangle min ∥ δ ∥ ∞ ≤ c ⟨ x + δ , w t ⟩ . For sufficiently large step sizes, the first coordinate of x x x contributes at most 4 η T 4\eta T 4 η T to the robust margin, whereas the remaining coordinates contribute at most − η c T 2 / 2 -\eta cT^2/2 − η c T 2 /2 in total. Thus the negative contribution dominates, keeping the adversarial loss large throughout the time budget. The detailed proof of Theorem 4.2 is presented in Appendix § 10 .
Evolution of Sharpness in Adversarial Training
In this section, we study how the sharpness evolve along the adversarial training trajectories. Sharpness, i.e., the maximal eigenvalue of the loss Hessian, plays an important role in neural network training, from guiding the design of optimization algorithms [14 ] to improve understanding of generalization [2 ] . The classical descent lemma for GD in optimization problem min θ f ( θ ) \min_\theta f(\theta) min θ f ( θ ) states the loss decreases monotonically under GD if the sharpness remains below 2 / η 2/\eta 2/ η along the optimization process, where η \eta η is the step size [33 ] . However, in neural networks training, people usually employ large step sizes in the regime where the loss exhibits non-monotonic behavior. Cohen et al. [10 ] observe that sharpness can evolve in two stages during standard training of neural network with deterministic gradient descent:
It is natural to ask whether AT of neural networks exhibits a similar sharpness evolution to standard training. Our experiments reveal a different pattern: after an initial increase similar to progressive sharpening, adversarial sharpness oscillates with an overall decreasing trend. We report these experimental results in § 5.1 . In § 5.2 , we provide theoretical support by showing that adversarial training can reduce sharpness in an adversarial variant of a minimalist example introduced by Ahn et al. [1 ] .
Experimental Results
In Figure 2 and Figure 3 , we present our experiments on the sharpness evolution of AT under MLP, CNN, ResNet and Vision Transformer (ViT) on the CIFAR-10 dataset. The training algorithm is the deterministic gradient descent on CIFAR-10. We adopt the architectures and implementation of Cohen et al. [10 ] , keeping our setup consistent with prior work on edge-of-stability. We also use the Mean Squared Error (MSE) loss as it can most align with the edge-of-stability phenomena in ST. The experimental details are provided in Appendix § 11 .§ 2 . Our main observation is that the sharpness evolution of AT follows a very different two-stage dynamics as with ST:
Figure 2. Sharpness evolution across neural network architectures (MLP, CNN, ResNet, and Vision Transformer) and step sizes under standard training (ST) and ℓ ∞ \ell_\infty ℓ ∞ -adversarial training on CIFAR-10. Adversarial examples are generated using (FGSM). Except for the MLP at step size 0.005, sharpness under ST initially increases and then oscillates around 2 / η 2/\eta 2/ η , consistent with the edge-of-stability phenomenon [10 ] . Under AT, sharpness also initially increases, but subsequently oscillates with an overall decreasing trend. Opaque curves show smoothed trends for clarity, while semi-transparent curves show the raw values.
Figure 3. The experimental settings are identical to those in Figure 2 except that adversarial examples are generated by ℓ 2 \ell_2 ℓ 2 attacks, and adversarial radius is adjusted per common practice.
Stage II : After Stage I, sharpness begins to oscillate. Although the oscillation patterns may vary across different settings, they share a common feature: sharpness exhibits an overall decreasing trend over longer timescales .
More experiments are reported in Appendix § 11 .§ 3 , and the experimental results are consistent with the two-stage dynamics as described above. One major property of the sharpness in AT is that it tracks the curvature of a time-varying loss function, as the adversarial examples x i ′ x_i' x i ′ change at each iteration (see § 2.2 ). However, our experiments suggest that time variation alone does not explain the observed dynamics. In Figure 4 , we track sharpness along standard CNN training trajectories using loss functions with small random perturbations instead of adversarial attack on the training data at each iteration. The resulting sharpness evolution remains similar to that of standard training and differs markedly from that of adversarial training. Together, these results suggest that the observed two-stage behavior stem inherently from the adversarial training dynamics and persist across different experimental settings.
Figure 4. Sharpness evolution under randomly perturbed losses resembles that of standard training.
Theoretical Investigation on a Minimalist Example
Due to the complexity of neural network training dynamics, theoretical studies of EoS often adopt a minimalist example approach. In the following, we study an adversarial variant of a model introduced by Ahn et al. [1 ] to investigate the EoS phenomenon in standard training. Let ℓ ( s ) \ell(s) ℓ ( s ) be the Huber loss function:
ℓ ( s ) : = s 2 2 1 { ∣ s ∣ ≤ 1 } + ( ∣ s ∣ − 1 2 ) 1 { ∣ s ∣ > 1 } , (Huber loss) \ell(s) := \frac{s^2}{2}\mathbb{1}_{\{|s|\leq1\}} + \left(|s|-\frac{1}{2}\right)\mathbb{1}_{\{|s|>1\}}, \qquad\text{(Huber loss)} ℓ ( s ) := 2 s 2 1 { ∣ s ∣ ≤ 1 } + ( ∣ s ∣ − 2 1 ) 1 { ∣ s ∣ > 1 } , (Huber loss)
which is widely used for regression (Meyer [31 ] ). The theoretical model proposed by Ahn et al. [1 ] is the two-dimensional function ℓ ( x y ) \ell(xy) ℓ ( x y ) for ( x , y ) ∈ R 2 (x,y)\in\mathbb{R}^2 ( x , y ) ∈ R 2 . One main reason for the difference between the sharpness behavior of ST and AT is is the special min-max structure of AT. Motivated by this observation, we study the following adversarial variant of ℓ ( x y ) \ell(xy) ℓ ( x y ) for an adversarial radius c ≥ 0 c\geq0 c ≥ 0 , which recovers the the standard training objective of Ahn et al. [1 ] when c = 0 c=0 c = 0 :
min ( x , y ) ∈ R 2 L c ( x , y ) = min ( x , y ) ∈ R 2 max ∣ δ ∣ ≤ c ℓ ( ( x + δ ) y ) \min_{(x,y)\in\mathbb{R}^2} \mathcal{L}_c(x,y) = \min_{(x,y)\in\mathbb{R}^2}\max_{|\delta|\leq c}\ell((x+\delta)y) ( x , y ) ∈ R 2 min L c ( x , y ) = ( x , y ) ∈ R 2 min ∣ δ ∣ ≤ c max ℓ (( x + δ ) y )
(Adversarial Huber loss)
This objective can be viewed as adversarial regression on a single example with input z = 0 z=0 z = 0 and target 0, using the predictor f x , y ( z ) = y ( x + z ) f_{x,y}(z)=y(x+z) f x , y ( z ) = y ( x + z ) . Ahn et al. [1 ] studied the following gradient descent dynamic when c = 0 c=0 c = 0 :
( x t + 1 , y t + 1 ) = ( x t , y t ) − η ∂ L c ( x t , y t ) , with (x_{t+1},y_{t+1})=(x_t,y_t)-\eta\partial\mathcal{L}_c(x_t,y_t), \qquad\text{with} ( x t + 1 , y t + 1 ) = ( x t , y t ) − η ∂ L c ( x t , y t ) , with
( x 0 , y 0 ) = 2 + δ η ( x ~ , y ~ ) . (EoS initialization) (x_0,y_0)=\sqrt{\frac{2+\delta}{\eta}}(\tilde{x},\tilde{y}). \qquad\text{(EoS initialization)} ( x 0 , y 0 ) = η 2 + δ ( x ~ , y ~ ) . (EoS initialization)
Here δ > 0 \delta>0 δ > 0 , y ~ > x ~ > 0 \tilde{y}>\tilde{x}>0 y ~ > x ~ > 0 and y ~ 2 − x ~ 2 = 1 \tilde{y}^2-\tilde{x}^2=1 y ~ 2 − x ~ 2 = 1 . This initialization condition distinguishes gradient descent from continuous-time gradient flow. The sharpness of (Adversarial Huber loss) at the t t t -th iteration of gradient descent is conventionally defined as the maximum eigenvalue of the Hessian, given by λ t c : = λ max ( ∇ 2 L c ( x t , y t ) ) \lambda_t^c:=\lambda_{\max}\left(\nabla^2\mathcal{L}_c(x_t,y_t)\right) λ t c := λ m a x ( ∇ 2 L c ( x t , y t ) ) .
Proposition 5.1. Consider the GD with EoS initialization. There exist constants η 0 > 0 \eta_0>0 η 0 > 0 , depending only on δ \delta δ , x ~ \tilde{x} x ~ , y ~ \tilde{y} y ~ and c c c such that under mild boundary-avoidance assumption as described in Assumption D.3, for every 0 < η ≤ η 0 0<\eta\leq\eta_0 0 < η ≤ η 0 , the limiting sharpness λ ∞ c : = lim sup t → ∞ λ t c \lambda_\infty^c:=\limsup_{t\to\infty}\lambda_t^c λ ∞ c := lim sup t → ∞ λ t c satisfies:
Standard training (Ahn et al. [1 ] ): if c = 0 c=0 c = 0 , then 2 η − O ( 1 ) ≤ λ ∞ 0 ≤ 2 η \frac{2}{\eta}-O(1)\leq\lambda_\infty^0\leq\frac{2}{\eta} η 2 − O ( 1 ) ≤ λ ∞ 0 ≤ η 2 .
Adversarial training : if c > 0 c>0 c > 0 , then λ ∞ c = O ( η + c 2 ) \lambda_\infty^c=O(\eta+c^2) λ ∞ c = O ( η + c 2 ) .
Proposition 5.1 reveals a transition in sharpness evolution between ℓ ( x y ) \ell(xy) ℓ ( x y ) and its min-max variant. The adversarial dynamics converge to points with sharpness O ( η + c 2 ) O(\eta+c^2) O ( η + c 2 ) , much smaller than the edge-of-stability level 2 / η 2/\eta 2/ η for η , c ≪ 1 \eta,c\ll1 η , c ≪ 1 , which is typical in practice. This is consistent with the experimental results reported in § 5.1 . The difference arises from changes in both the structure of the minimizer set and the training dynamics induced by adversarial perturbations. When c = 0 c=0 c = 0 , all points ( x , y ) (x,y) ( x , y ) satisfying x y = 0 xy=0 x y = 0 are global minimizers, and the trajectory converges to ( 0 , y ∞ ) (0,y_\infty) ( 0 , y ∞ ) with y ∞ ≠ 0 y_\infty\neq0 y ∞ = 0 and sharpness close to 2 / η 2/\eta 2/ η . When c > 0 c>0 c > 0 , the minimizer set remains large: every point ( x , 0 ) (x,0) ( x , 0 ) is a global minimizer. The sharpness at such a point is ( ∣ x ∣ + c ) 2 (|x|+c)^2 ( ∣ x ∣ + c ) 2 , which can be arbitrarily large. However, the training dynamics ensure that the limiting point satisfies x ∞ = O ( η ) x_\infty=O(\sqrt{\eta}) x ∞ = O ( η ) . The detailed proof is given in Appendix § 11 .
Conclusion and Future Direction
In this paper, we studied the dynamics of deterministic gradient descent with large step sizes in adversarial training, focusing on three aspects: implicit bias and optimization in adversarial logistic regression, and sharpness evolution in adversarial neural network training. Our results reveal that the effects of large step sizes in adversarial training can differ substantially from those in standard training. An interesting direction for future work is to find a general mechanism, possibly analogous to the self-stabilization mechanism in standard training (Damian et al. [12 ] ), that explains the decreasing trend in sharpness observed in § 5 .
Adversarial Training with Large Step Sizes: Implicit Bias, Optimization, and Sharpness Supplementary Materials
More backgrounds
In the following, without loss of generality, we assume y i = 1 y_i=1 y i = 1 for all i ∈ [ N ] i\in[N] i ∈ [ N ] in what follows since if y i = − 1 y_i=-1 y i = − 1 , we can equivalently take the negative of x i x_i x i as input. We introduce the following decomposition of R d \mathbb{R}^d R d , which was motivated by Wu et al. (2023):
F : R d → R d × R d \mathcal{F}:\mathbb{R}^d\to\mathbb{R}^d\times\mathbb{R}^d F : R d → R d × R d
x ↦ ( ⟨ x , u 2 , ∞ ( c ) ⟩ u 2 , ∞ ( c ) , Proj u 2 , ∞ ⊥ ( c ) ( x ) ) . (6) x\mapsto\left(\langle x,u_{2,\infty}(c)\rangle u_{2,\infty}(c),\operatorname{Proj}_{u_{2,\infty}^{\perp}(c)}(x)\right). \tag*{(6)} x ↦ ( ⟨ x , u 2 , ∞ ( c )⟩ u 2 , ∞ ( c ) , Proj u 2 , ∞ ⊥ ( c ) ( x ) ) . (6)
We write
w t = v t u 2 , ∞ ( c ) + r t . (7) w_t=v_tu_{2,\infty}(c)+r_t. \tag*{(7)} w t = v t u 2 , ∞ ( c ) + r t . (7)
where ⟨ r t , u 2 , ∞ ( c ) ⟩ = 0 \langle r_t,u_{2,\infty}(c)\rangle=0 ⟨ r t , u 2 , ∞ ( c )⟩ = 0 . We have
− ∂ w L A d v ( w t ) = − ∑ i = 1 N ∂ w ln ( 1 + exp ( − x i T w t + c ∥ w t ∥ 1 ) ) = ∑ i = 1 N λ i , t ( x i − c s t ) , \begin{aligned}
-\partial_w\mathcal{L}_{\mathrm{Adv}}(w_t)=-\sum_{i=1}^{N}\partial_w\ln\left(1+\exp\left(-x_i^{\mathsf{T}}w_t+c\|w_t\|_1\right)\right) \\
&=\sum_{i=1}^{N}\lambda_{i,t}(x_i-cs_t),
\end{aligned} − ∂ w L Adv ( w t ) = − i = 1 ∑ N ∂ w ln ( 1 + exp ( − x i T w t + c ∥ w t ∥ 1 ) ) = i = 1 ∑ N λ i , t ( x i − c s t ) ,
where
s t = ( s t , j ) j = 1 d ∈ ∂ ∥ w t ∥ 1 , λ i , t = exp ( − x i T w t + c ∥ w t ∥ 1 ) 1 + exp ( − x i T w t + c ∥ w t ∥ 1 ) = 1 1 + exp ( x i T w t − c ∥ w t ∥ 1 ) > 0. (8) s_t=(s_{t,j})_{j=1}^{d}\in\partial\|w_t\|_1,\qquad\lambda_{i,t}=\frac{\exp\left(-x_i^{\mathsf{T}}w_t+c\|w_t\|_1\right)}{1+\exp\left(-x_i^{\mathsf{T}}w_t+c\|w_t\|_1\right)}=\frac{1}{1+\exp\left(x_i^{\mathsf{T}}w_t-c\|w_t\|_1\right)}>0. \tag*{(8)} s t = ( s t , j ) j = 1 d ∈ ∂ ∥ w t ∥ 1 , λ i , t = 1 + exp ( − x i T w t + c ∥ w t ∥ 1 ) exp ( − x i T w t + c ∥ w t ∥ 1 ) = 1 + exp ( x i T w t − c ∥ w t ∥ 1 ) 1 > 0. (8)
Thus the (GD) dynamics can be written as
w t + 1 = w t + η ∑ i = 1 N λ i , t ( x i − c s t ) (9) w_{t+1}=w_t+\eta\sum_{i=1}^{N}\lambda_{i,t}(x_i-cs_t) \tag*{(9)} w t + 1 = w t + η i = 1 ∑ N λ i , t ( x i − c s t ) (9)
Some useful Lemmas
Lemma A.1. Assume the dataset { ( x i , y i ) } i = 1 N \{(x_i,y_i)\}_{i=1}^{N} {( x i , y i ) } i = 1 N is linearly separable, i.e., ∃ w ∈ R d \exists\,w\in\mathbb{R}^d ∃ w ∈ R d such that y i w T x i > 0 y_iw^{\mathsf{T}}x_i>0 y i w T x i > 0 for all i ∈ [ N ] i\in[N] i ∈ [ N ] . If c < γ ∞ c<\gamma_\infty c < γ ∞ , we have γ 2 , ∞ ( c ) > 0 \gamma_{2,\infty}(c)>0 γ 2 , ∞ ( c ) > 0 .
Proof. Let u ∞ = argmax ∥ w ∥ 1 = 1 min i ∈ [ n ] x i T w u_\infty=\operatorname*{argmax}_{\|w\|_1=1}\min_{i\in[n]}x_i^{\mathsf{T}}w u ∞ = argmax ∥ w ∥ 1 = 1 min i ∈ [ n ] x i T w . By definition, we have γ ∞ = min i ∈ [ N ] x i T u ∞ \gamma_\infty=\min_{i\in[N]}x_i^{\mathsf{T}}u_\infty γ ∞ = min i ∈ [ N ] x i T u ∞ .
Moreover, we have
γ 2 , ∞ ( c ) ≥ min i ∈ [ N ] min ∥ δ i ∥ ∞ ≤ c ( x i + δ i ) T u ∞ \gamma_{2,\infty}(c)\geq\min_{i\in[N]}\ \min_{\|\delta_i\|_\infty\leq c}(x_i+\delta_i)^{\mathsf{T}}u_\infty γ 2 , ∞ ( c ) ≥ i ∈ [ N ] min ∥ δ i ∥ ∞ ≤ c min ( x i + δ i ) T u ∞ = min i ∈ [ N ] x i T u ∞ − c ∥ u ∞ ∥ 1 =\min_{i\in[N]}x_i^{\mathsf{T}}u_\infty-c\|u_\infty\|_1 = i ∈ [ N ] min x i T u ∞ − c ∥ u ∞ ∥ 1 = γ ∞ − c (Since min i ∈ [ N ] x i T u ∞ = γ ∞ and ∥ u ∞ ∥ 1 = 1 ) =\gamma_\infty-c\qquad\text{(Since }\min_{i\in[N]}x_i^{\mathsf{T}}u_\infty=\gamma_\infty\text{ and }\|u_\infty\|_1=1\text{)} = γ ∞ − c (Since i ∈ [ N ] min x i T u ∞ = γ ∞ and ∥ u ∞ ∥ 1 = 1 ) This completes the proof.
Lemma A.2. Let D = { ( x , 1 ) } D = \{(\mathbf{x},1)\} D = {( x , 1 )} be a one-sample dataset and let 0 ≤ c < ∥ x ∥ ∞ 0 \le c < \|\mathbf{x}\|_{\infty} 0 ≤ c < ∥ x ∥ ∞ . Then for this data set, we have
γ 2 , ∞ ( c ) = ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 . \gamma_{2,\infty}(c)=\left\|(|\mathbf{x}|-c\mathbf{1})_{+}\right\|_{2}. γ 2 , ∞ ( c ) = ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 . where the absolute value and positive part are applied coordinate wise.
Proof. For every u ∈ R d \mathbf{u} \in\mathbb{R}^{d} u ∈ R d , we have
min ∥ δ ∥ ∞ ≤ c ⟨ x + δ , u ⟩ = x T u − c ∥ u ∥ 1 . \min_{\|\boldsymbol{\delta}\|_{\infty}\le c}\langle\mathbf{x}+\boldsymbol{\delta},\mathbf{u}\rangle=\mathbf{x}^{\mathsf{T}}\mathbf{u}-c\|\mathbf{u}\|_{1}. ∥ δ ∥ ∞ ≤ c min ⟨ x + δ , u ⟩ = x T u − c ∥ u ∥ 1 . where the minimum is attained by δ j = − c sign ( u j ) \delta_j=-c\operatorname{sign}(u_j) δ j = − c sign ( u j ) . Therefore,
x T u − c ∥ u ∥ 1 ≤ ∑ j = 1 d ( ∣ x j ∣ − c ) ∣ u j ∣ ≤ ∑ j = 1 d ( ∣ x j ∣ − c ) + ∣ u j ∣ ≤ ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 ∥ u ∥ 2 . \mathbf{x}^{\mathsf{T}}\mathbf{u}-c\|\mathbf{u}\|_{1}\le\sum_{j=1}^{d}(|x_j|-c)|u_j|\le\sum_{j=1}^{d}(|x_j|-c)_{+}|u_j|\le\left\|(|\mathbf{x}|-c\mathbf{1})_{+}\right\|_{2}\|\mathbf{u}\|_{2}. x T u − c ∥ u ∥ 1 ≤ j = 1 ∑ d ( ∣ x j ∣ − c ) ∣ u j ∣ ≤ j = 1 ∑ d ( ∣ x j ∣ − c ) + ∣ u j ∣ ≤ ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 ∥ u ∥ 2 . where the final inequality uses the Cauchy-Schwarz inequality. For ∥ u ∥ 2 = 1 \|\mathbf{u}\|_{2}=1 ∥ u ∥ 2 = 1 , the last expression equals ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 \left\|(|\mathbf{x}|-c\mathbf{1})_{+}\right\|_{2} ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 . Since c < ∥ x ∥ ∞ c<\|\mathbf{x}\|_{\infty} c < ∥ x ∥ ∞ , this quantity is positive, and equality is attained by u = u ∗ \mathbf{u}=\mathbf{u}^{*} u = u ∗ , where
u j ∗ = sign ( x j ) ( ∣ x j ∣ − c ) + ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 , j ∈ [ d ] . u_j^{*}=\frac{\operatorname{sign}(x_j)(|x_j|-c)_{+}}{\left\|(|\mathbf{x}|-c\mathbf{1})_{+}\right\|_{2}},\qquad j\in[d]. u j ∗ = ∥ ( ∣ x ∣ − c 1 ) + ∥ 2 sign ( x j ) ( ∣ x j ∣ − c ) + , j ∈ [ d ] .
l l l -infinity-Robust Support Vector Machine
The ℓ ∞ \ell_{\infty} ℓ ∞ -robust support vector machine (SVM) problem can be formulated as
min w ∈ R d 1 2 ∥ w ∥ 2 2 , such that min ∥ δ i ∥ ∞ ≤ c ⟨ x i + δ i , w ⟩ ≥ 1 \min_{\mathbf{w}\in\mathbb{R}^{d}}\frac{1}{2}\|\mathbf{w}\|_{2}^{2},\qquad\text{such that}\quad\min_{\|\boldsymbol{\delta}_{i}\|_{\infty}\le c}\langle\mathbf{x}_{i}+\boldsymbol{\delta}_{i},\mathbf{w}\rangle\ge1 w ∈ R d min 2 1 ∥ w ∥ 2 2 , such that ∥ δ i ∥ ∞ ≤ c min ⟨ x i + δ i , w ⟩ ≥ 1
(ℓ ∞ \ell_{\infty} ℓ ∞ -Robust SVM)
Let w ^ ( c ) \widehat{\mathbf{w}}(c) w ( c ) be the solution of (ℓ ∞ \ell_{\infty} ℓ ∞ -Robust SVM). We have u 2 , ∞ = w ^ ( c ) / ∥ w ^ ( c ) ∥ 2 \mathbf{u}_{2,\infty}=\widehat{\mathbf{w}}(c)/\|\widehat{\mathbf{w}}(c)\|_{2} u 2 , ∞ = w ( c ) /∥ w ( c ) ∥ 2 , and γ 2 , ∞ ( c ) = 1 / ∥ w ^ ( c ) ∥ 2 \gamma_{2,\infty}(c)=1/\|\widehat{\mathbf{w}}(c)\|_{2} γ 2 , ∞ ( c ) = 1/∥ w ( c ) ∥ 2 . We use z i ( c ) \mathbf{z}_{i}(c) z i ( c ) to denote the worst-case adversarial perturbation that an adversary can construct on x i \mathbf{x}_{i} x i against the classifier parameterized by w ^ ( c ) \widehat{\mathbf{w}}(c) w ( c ) :
z i ( c ) : = x i − c s ∗ , where s ∗ ∈ ∂ ∥ w ^ ( c ) ∥ 1 . (10) \mathbf{z}_{i}(c):=\mathbf{x}_{i}-c\mathbf{s}^{*},\qquad\text{where}\quad\mathbf{s}^{*}\in\partial\|\widehat{\mathbf{w}}(c)\|_{1}. \tag*{(10)} z i ( c ) := x i − c s ∗ , where s ∗ ∈ ∂ ∥ w ( c ) ∥ 1 . (10)
We choose s ∗ \mathbf{s}^{*} s ∗ jointly with the KKT multipliers so that the representation in Proposition A.3 below holds, and fix this choice throughout the subsequent analysis. The adversarial support vectors are defined as:
S ( c ) : = { i ∈ [ N ] ∣ ⟨ z i ( c ) , u 2 , ∞ ( c ) ⟩ = γ 2 , ∞ ( c ) } S(c):=\{i\in[N]\mid\langle\mathbf{z}_{i}(c),\mathbf{u}_{2,\infty}(c)\rangle=\gamma_{2,\infty}(c)\} S ( c ) := { i ∈ [ N ] ∣ ⟨ z i ( c ) , u 2 , ∞ ( c )⟩ = γ 2 , ∞ ( c )}
(Adversarial Support Vectors)
Proposition A.3. [5 ] There exists a subgradient s ∗ ∈ ∂ ∥ w ^ ( c ) ∥ 1 \mathbf{s}^{*}\in\partial\|\widehat{\mathbf{w}}(c)\|_{1} s ∗ ∈ ∂ ∥ w ( c ) ∥ 1 , such that we have
w ^ ( c ) = ∑ i ∈ S ( c ) α i z i ( c ) , and α i ≥ 0. \widehat{\mathbf{w}}(c)=\sum_{i\in S(c)}\alpha_i\mathbf{z}_i(c),\qquad\text{and}\quad\alpha_i\ge0. w ( c ) = i ∈ S ( c ) ∑ α i z i ( c ) , and α i ≥ 0.
The main property we need for the (ℓ ∞ \ell_{\infty} ℓ ∞ -Robust SVM) is the following:
Lemma A.4. For every r ⊥ u 2 , ∞ ( c ) \mathbf{r}\perp\mathbf{u}_{2,\infty}(c) r ⊥ u 2 , ∞ ( c ) , there exists a j ∈ S ( c ) j\in S(c) j ∈ S ( c ) with α j > 0 \alpha_j>0 α j > 0 such that ⟨ z j ( c ) , r ⟩ ≤ 0 \langle\mathbf{z}_j(c),\mathbf{r}\rangle\le0 ⟨ z j ( c ) , r ⟩ ≤ 0 .
Proof. For r ⊥ u 2 , ∞ ( c ) \mathbf{r}\perp\mathbf{u}_{2,\infty}(c) r ⊥ u 2 , ∞ ( c ) , we have
0 = ⟨ u 2 , ∞ ( c ) , r ⟩ γ 2 , ∞ ( c ) = ⟨ w ^ ( c ) , r ⟩ = ∑ i ∈ S ( c ) α i ⟨ z i ( c ) , r ⟩ . 0=\frac{\langle\mathbf{u}_{2,\infty}(c),\mathbf{r}\rangle}{\gamma_{2,\infty}(c)}=\langle\widehat{\mathbf{w}}(c),\mathbf{r}\rangle=\sum_{i\in S(c)}\alpha_i\langle\mathbf{z}_i(c),\mathbf{r}\rangle. 0 = γ 2 , ∞ ( c ) ⟨ u 2 , ∞ ( c ) , r ⟩ = ⟨ w ( c ) , r ⟩ = i ∈ S ( c ) ∑ α i ⟨ z i ( c ) , r ⟩ . If every inner product with α i > 0 \alpha_i>0 α i > 0 were positive, then
∑ i ∈ S ( c ) α i ⟨ z i ( c ) , r ⟩ = ∑ i ∈ S ( c ) : α i > 0 α i ⟨ z i ( c ) , r ⟩ > 0 , \sum_{i\in S(c)}\alpha_i\langle\mathbf{z}_i(c),\mathbf{r}\rangle=\sum_{i\in S(c):\alpha_i>0}\alpha_i\langle\mathbf{z}_i(c),\mathbf{r}\rangle>0, i ∈ S ( c ) ∑ α i ⟨ z i ( c ) , r ⟩ = i ∈ S ( c ) : α i > 0 ∑ α i ⟨ z i ( c ) , r ⟩ > 0 , contradicting the preceding equality. This finished the proof.
Proof of Section 3
Preliminary estimate on the convergence rate of implicit bias
Lemma B.1. Let M = max i ∈ [ N ] ∥ x i ∥ 2 + c d M = \max_{i\in[N]}\lVert x_i\rVert_2 + c\sqrt{d} M = max i ∈ [ N ] ∥ x i ∥ 2 + c d , then we have
∥ x i − c s t ∥ 2 ≤ M . (11) \lVert x_i - cs_t\rVert_2 \le M. \tag*{(11)} ∥ x i − c s t ∥ 2 ≤ M . (11) and
∥ w t ∥ 2 ≤ η N M t . (12) \lVert w_t\rVert_2 \le\eta NMt. \tag*{(12)} ∥ w t ∥ 2 ≤ η N M t . (12)
Proof. Since the norm of subgradient satisfies ∣ s t , j ∣ ≤ 1 |s_{t,j}| \le1 ∣ s t , j ∣ ≤ 1 , we have
∥ x i − c s t ∥ 2 ≤ ∥ x i ∥ 2 + c ∥ s t ∥ 2 ≤ ∥ x i ∥ 2 + c d ≤ M . \lVert x_i-cs_t\rVert_2 \le\lVert x_i\rVert_2+c\lVert s_t\rVert_2 \le\lVert x_i\rVert_2+c\sqrt{d}\le M. ∥ x i − c s t ∥ 2 ≤ ∥ x i ∥ 2 + c ∥ s t ∥ 2 ≤ ∥ x i ∥ 2 + c d ≤ M .
Moreover,
∥ w t ∥ 2 = ∥ ∑ s = 0 t − 1 ( w s + 1 − w s ) ∥ 2 ≤ ∑ s = 0 t − 1 ∥ w s + 1 − w s ∥ 2 ≤ η N M t . \lVert w_t\rVert_2 = \left\lVert\sum_{s=0}^{t-1}(w_{s+1}-w_s)\right\rVert_2 \le\sum_{s=0}^{t-1}\lVert w_{s+1}-w_s\rVert_2 \le\eta NMt. ∥ w t ∥ 2 = s = 0 ∑ t − 1 ( w s + 1 − w s ) 2 ≤ s = 0 ∑ t − 1 ∥ w s + 1 − w s ∥ 2 ≤ η N M t .
Proposition B.2 (Growth of v t v_t v t ). For every t ≥ 0 t \ge0 t ≥ 0 , we have
v t + 1 − v t ≥ γ 2 , ∞ ( c ) ∑ i = 1 N λ i , t ≥ η γ 2 , ∞ 2 ( c ) 2 e − γ 2 , ∞ ( c ) v t . v_{t+1}-v_t \ge\gamma_{2,\infty}(c)\sum_{i=1}^{N}\lambda_{i,t}\ge\frac{\eta\gamma_{2,\infty}^2(c)}{2}e^{-\gamma_{2,\infty}(c)v_t}. v t + 1 − v t ≥ γ 2 , ∞ ( c ) i = 1 ∑ N λ i , t ≥ 2 η γ 2 , ∞ 2 ( c ) e − γ 2 , ∞ ( c ) v t . In particular, above recursion gives v t > 0 v_t>0 v t > 0 , and
v t ≥ 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) , e − γ 2 , ∞ ( c ) v t ≤ 1 1 + η γ 2 , ∞ 2 ( c ) 2 t < C 1 t + 1 . (13) v_t \ge\frac{1}{\gamma_{2,\infty}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t\right),\qquad e^{-\gamma_{2,\infty}(c)v_t}\le\frac{1}{1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t}<\frac{C_1}{t+1}. \tag*{(13)} v t ≥ γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) , e − γ 2 , ∞ ( c ) v t ≤ 1 + 2 η γ 2 , ∞ 2 ( c ) t 1 < t + 1 C 1 . (13) where C 1 = max { 1 , 2 η γ 2 , ∞ 2 ( c ) } C_1=\max\left\{1,\frac{2}{\eta\gamma_{2,\infty}^2(c)}\right\} C 1 = max { 1 , η γ 2 , ∞ 2 ( c ) 2 } , which is independent of t t t .
Proof. Recall in (8) , we define s t = ( s t , j ) i = 1 d ∈ ∂ ∥ w t ∥ 1 s_t=(s_{t,j})_{i=1}^{d}\in\partial\lVert w_t\rVert_1 s t = ( s t , j ) i = 1 d ∈ ∂ ∥ w t ∥ 1 . Since ∣ s t , j ∣ ≤ 1 |s_{t,j}|\le1 ∣ s t , j ∣ ≤ 1 , we have
⟨ s t , u 2 , ∞ ( c ) ⟩ = ∑ j = 1 d s t , j u 2 , ∞ , j ( c ) ≤ ∑ j = 1 d ∣ s t , j ∣ ∣ u 2 , ∞ , j ( c ) ∣ ≤ ∑ j = 1 d ∣ u 2 , ∞ , j ( c ) ∣ = ∥ u 2 , ∞ ( c ) ∥ 1 . (14) \langle s_t,u_{2,\infty}(c)\rangle=\sum_{j=1}^{d}s_{t,j}u_{2,\infty,j}(c)\le\sum_{j=1}^{d}|s_{t,j}|\,|u_{2,\infty,j}(c)|\le\sum_{j=1}^{d}|u_{2,\infty,j}(c)|=\lVert u_{2,\infty}(c)\rVert_1. \tag*{(14)} ⟨ s t , u 2 , ∞ ( c )⟩ = j = 1 ∑ d s t , j u 2 , ∞ , j ( c ) ≤ j = 1 ∑ d ∣ s t , j ∣ ∣ u 2 , ∞ , j ( c ) ∣ ≤ j = 1 ∑ d ∣ u 2 , ∞ , j ( c ) ∣ = ∥ u 2 , ∞ ( c ) ∥ 1 . (14)
For every i i i , we have
⟨ x i − c s t , u 2 , ∞ ( c ) ⟩ = x i T u 2 , ∞ ( c ) − c ⟨ s t , u 2 , ∞ ( c ) ⟩ ≥ x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 (15) \begin{aligned}
\langle x_i-cs_t,u_{2,\infty}(c)\rangle=x_i^{\mathsf T}u_{2,\infty}(c)-c\langle s_t,u_{2,\infty}(c)\rangle\\
&\ge x_i^{\mathsf T}u_{2,\infty}(c)-c\lVert u_{2,\infty}(c)\rVert_1 \tag*{(15)}
\end{aligned} ⟨ x i − c s t , u 2 , ∞ ( c )⟩ = x i T u 2 , ∞ ( c ) − c ⟨ s t , u 2 , ∞ ( c )⟩ ≥ x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 (15)
≥ min k ∈ [ N ] [ x k T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ] = γ 2 , ∞ ( c ) . (16) \ge\min_{k\in[N]}\left[x_k^{\mathsf T}u_{2,\infty}(c)-c\lVert u_{2,\infty}(c)\rVert_1\right]=\gamma_{2,\infty}(c). \tag*{(16)} ≥ k ∈ [ N ] min [ x k T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ] = γ 2 , ∞ ( c ) . (16)
Projecting the update into the direction of u 2 , ∞ u_{2,\infty} u 2 , ∞ yields
v t + 1 − v t = ⟨ w t + 1 − w t , u 2 , ∞ ( c ) ⟩ = η ∑ i = 1 N λ i , t ⟨ x i − c s t , u 2 , ∞ ( c ) ⟩ (17) \begin{aligned}
v_{t+1}-v_t=\langle w_{t+1}-w_t,u_{2,\infty}(c)\rangle\\
&=\eta\sum_{i=1}^{N}\lambda_{i,t}\langle x_i-cs_t,u_{2,\infty}(c)\rangle \tag*{(17)}
\end{aligned} v t + 1 − v t = ⟨ w t + 1 − w t , u 2 , ∞ ( c )⟩ = η i = 1 ∑ N λ i , t ⟨ x i − c s t , u 2 , ∞ ( c )⟩ (17)
≥ η ∑ i = 1 N λ i , t γ 2 , ∞ ( c ) = η γ 2 , ∞ ( c ) ∑ i = 1 N λ i , t > 0. (18) \ge\eta\sum_{i=1}^{N}\lambda_{i,t}\gamma_{2,\infty}(c)=\eta\gamma_{2,\infty}(c)\sum_{i=1}^{N}\lambda_{i,t}>0. \tag*{(18)} ≥ η i = 1 ∑ N λ i , t γ 2 , ∞ ( c ) = η γ 2 , ∞ ( c ) i = 1 ∑ N λ i , t > 0. (18)
Since v 0 = 0 v_0=0 v 0 = 0 , (18) gives v t > 0 v_t>0 v t > 0 for t ≥ 1 t\geq1 t ≥ 1 .
Apply Lemma A.4 to r t r_t r t and choose its index j j j according to Lemma A.4 . Recall we define s ∗ ∈ ∂ ∥ w ^ ( c ) ∥ 1 s^*\in\partial\|\widehat{w}(c)\|_1 s ∗ ∈ ∂ ∥ w ( c ) ∥ 1 in (10) . The same coordinatewise argument gives
⟨ s ∗ , w t ⟩ ≤ ∑ k = 1 d ∣ s k ∗ ∣ ∣ w t , k ∣ ≤ ∥ w t ∥ 1 . (19) \langle s^*,w_t\rangle\leq\sum_{k=1}^{d}|s_k^*||w_{t,k}|\leq\|w_t\|_1. \tag*{(19)} ⟨ s ∗ , w t ⟩ ≤ k = 1 ∑ d ∣ s k ∗ ∣∣ w t , k ∣ ≤ ∥ w t ∥ 1 . (19)
Consequently,
x j T w t − c ∥ w t ∥ 1 ≤ (15) x j T w t − c ⟨ s ∗ , w t ⟩ = ⟨ z j ( c ) , w t ⟩ = ν t ⟨ z j ( c ) , u 2 , ∞ ( c ) ⟩ + ⟨ z j ( c ) , r t ⟩ = γ 2 , ∞ ( c ) ν t + ⟨ z j ( c ) , r t ⟩ ≤ γ 2 , ∞ ( c ) ν t . (Since Lemma (A.4)) (20) x_j^\mathsf{T}w_t-c\|w_t\|_1\mathrel{\overset{\text{(15)}}{\leq}}x_j^\mathsf{T}w_t-c\langle s^*,w_t\rangle=\langle z_j(c),w_t\rangle
=\nu_t\langle z_j(c),u_{2,\infty}(c)\rangle+\langle z_j(c),r_t\rangle
=\gamma_{2,\infty}(c)\nu_t+\langle z_j(c),r_t\rangle
\leq\gamma_{2,\infty}(c)\nu_t.\quad\text{(Since Lemma (A.4))} \tag*{(20)} x j T w t − c ∥ w t ∥ 1 ≤ (15) x j T w t − c ⟨ s ∗ , w t ⟩ = ⟨ z j ( c ) , w t ⟩ = ν t ⟨ z j ( c ) , u 2 , ∞ ( c )⟩ + ⟨ z j ( c ) , r t ⟩ = γ 2 , ∞ ( c ) ν t + ⟨ z j ( c ) , r t ⟩ ≤ γ 2 , ∞ ( c ) ν t . (Since Lemma (A.4)) (20)
Hence
1 + exp ( x j T w t − c ∥ w t ∥ 1 ) ≤ 1 + exp ( γ 2 , ∞ ( c ) ν t ) , 1+\exp(x_j^\mathsf{T}w_t-c\|w_t\|_1)\leq1+\exp(\gamma_{2,\infty}(c)\nu_t), 1 + exp ( x j T w t − c ∥ w t ∥ 1 ) ≤ 1 + exp ( γ 2 , ∞ ( c ) ν t ) ,
λ j , t = 1 1 + exp ( x j T w t − c ∥ w t ∥ 1 ) ≥ 1 1 + exp ( γ 2 , ∞ ( c ) ν t ) . (21) \lambda_{j,t}=\frac{1}{1+\exp(x_j^\mathsf{T}w_t-c\|w_t\|_1)}
\geq\frac{1}{1+\exp(\gamma_{2,\infty}(c)\nu_t)}. \tag*{(21)} λ j , t = 1 + exp ( x j T w t − c ∥ w t ∥ 1 ) 1 ≥ 1 + exp ( γ 2 , ∞ ( c ) ν t ) 1 . (21)
Since γ 2 , ∞ ( c ) ν t ≥ 0 \gamma_{2,\infty}(c)\nu_t\geq0 γ 2 , ∞ ( c ) ν t ≥ 0 , we have
1 1 + exp ( γ 2 , ∞ ( c ) ν t ) = exp ( − γ 2 , ∞ ( c ) ν t ) 1 + exp ( − γ 2 , ∞ ( c ) ν t ) ≥ 1 2 exp ( − γ 2 , ∞ ( c ) ν t ) . (22) \frac{1}{1+\exp(\gamma_{2,\infty}(c)\nu_t)}
=\frac{\exp(-\gamma_{2,\infty}(c)\nu_t)}{1+\exp(-\gamma_{2,\infty}(c)\nu_t)}
\geq\frac{1}{2}\exp(-\gamma_{2,\infty}(c)\nu_t). \tag*{(22)} 1 + exp ( γ 2 , ∞ ( c ) ν t ) 1 = 1 + exp ( − γ 2 , ∞ ( c ) ν t ) exp ( − γ 2 , ∞ ( c ) ν t ) ≥ 2 1 exp ( − γ 2 , ∞ ( c ) ν t ) . (22)
ν t + 1 − ν t ≥ (14) η γ 2 , ∞ ( c ) ∑ i = 1 N λ i , t ≥ η γ 2 , ∞ ( c ) λ j , t ≥ (17),(18) η γ 2 , ∞ 2 ( c ) 2 exp ( − γ 2 , ∞ ( c ) ν t ) . (23) \nu_{t+1}-\nu_t\mathrel{\overset{\text{(14)}}{\geq}}\eta\gamma_{2,\infty}(c)\sum_{i=1}^{N}\lambda_{i,t}
\geq\eta\gamma_{2,\infty}(c)\lambda_{j,t}
\mathrel{\overset{\text{(17),(18)}}{\geq}}\frac{\eta\gamma_{2,\infty}^2(c)}{2}\exp(-\gamma_{2,\infty}(c)\nu_t). \tag*{(23)} ν t + 1 − ν t ≥ (14) η γ 2 , ∞ ( c ) i = 1 ∑ N λ i , t ≥ η γ 2 , ∞ ( c ) λ j , t ≥ (17),(18) 2 η γ 2 , ∞ 2 ( c ) exp ( − γ 2 , ∞ ( c ) ν t ) . (23)
For x ≥ 0 x\geq0 x ≥ 0 , we have the following general inequality:
e x − 1 ≥ x . (24) e^x-1\geq x. \tag*{(24)} e x − 1 ≥ x . (24)
Applying this with x = γ 2 , ∞ ( c ) ( ν t + 1 − ν t ) ≥ 0 x=\gamma_{2,\infty}(c)(\nu_{t+1}-\nu_t)\geq0 x = γ 2 , ∞ ( c ) ( ν t + 1 − ν t ) ≥ 0 gives
e γ 2 , ∞ ( c ) ν t + 1 − e γ 2 , ∞ ( c ) ν t = e γ 2 , ∞ ( c ) ν t [ e γ 2 , ∞ ( c ) ( ν t + 1 − ν t ) − 1 ] ≥ (20) e γ 2 , ∞ ( c ) ν t γ 2 , ∞ ( c ) ( ν t + 1 − ν t ) ≥ (19) e γ 2 , ∞ ( c ) ν t γ 2 , ∞ ( c ) η γ 2 , ∞ ( c ) 2 e − γ 2 , ∞ ( c ) ν t = η γ 2 , ∞ 2 ( c ) 2 . (25) e^{\gamma_{2,\infty}(c)\nu_{t+1}}-e^{\gamma_{2,\infty}(c)\nu_t}
=e^{\gamma_{2,\infty}(c)\nu_t}\left[e^{\gamma_{2,\infty}(c)(\nu_{t+1}-\nu_t)}-1\right]
\mathrel{\overset{\text{(20)}}{\geq}}e^{\gamma_{2,\infty}(c)\nu_t}\gamma_{2,\infty}(c)(\nu_{t+1}-\nu_t)
\mathrel{\overset{\text{(19)}}{\geq}}e^{\gamma_{2,\infty}(c)\nu_t}\gamma_{2,\infty}(c)\frac{\eta\gamma_{2,\infty}(c)}{2}e^{-\gamma_{2,\infty}(c)\nu_t}
=\frac{\eta\gamma_{2,\infty}^2(c)}{2}. \tag*{(25)} e γ 2 , ∞ ( c ) ν t + 1 − e γ 2 , ∞ ( c ) ν t = e γ 2 , ∞ ( c ) ν t [ e γ 2 , ∞ ( c ) ( ν t + 1 − ν t ) − 1 ] ≥ (20) e γ 2 , ∞ ( c ) ν t γ 2 , ∞ ( c ) ( ν t + 1 − ν t ) ≥ (19) e γ 2 , ∞ ( c ) ν t γ 2 , ∞ ( c ) 2 η γ 2 , ∞ ( c ) e − γ 2 , ∞ ( c ) ν t = 2 η γ 2 , ∞ 2 ( c ) . (25)
Summing the increments from s = 0 s=0 s = 0 to s = t − 1 s=t-1 s = t − 1 gives
e γ 2 , ∞ ( c ) ν t = e γ 2 , ∞ ( c ) ν 0 + ∑ s = 0 t − 1 [ e γ 2 , ∞ ( c ) ν s + 1 − e γ 2 , ∞ ( c ) ν s ] ≥ (21) 1 + η γ 2 , ∞ 2 ( c ) 2 t . (26) e^{\gamma_{2,\infty}(c)\nu_t}=e^{\gamma_{2,\infty}(c)\nu_0}+\sum_{s=0}^{t-1}\left[e^{\gamma_{2,\infty}(c)\nu_{s+1}}-e^{\gamma_{2,\infty}(c)\nu_s}\right]
\mathrel{\overset{\text{(21)}}{\geq}}1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t. \tag*{(26)} e γ 2 , ∞ ( c ) ν t = e γ 2 , ∞ ( c ) ν 0 + s = 0 ∑ t − 1 [ e γ 2 , ∞ ( c ) ν s + 1 − e γ 2 , ∞ ( c ) ν s ] ≥ (21) 1 + 2 η γ 2 , ∞ 2 ( c ) t . (26)
ν t ≥ 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) , e − γ 2 , ∞ ( c ) ν t ≤ 1 1 + η γ 2 , ∞ 2 ( c ) 2 t . (27) \nu_t\geq\frac{1}{\gamma_{2,\infty}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t\right),\qquad
e^{-\gamma_{2,\infty}(c)\nu_t}\leq\frac{1}{1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t}. \tag*{(27)} ν t ≥ γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) , e − γ 2 , ∞ ( c ) ν t ≤ 1 + 2 η γ 2 , ∞ 2 ( c ) t 1 . (27)
Finally, we have
1 + η γ 2 , ∞ 2 ( c ) 2 t ≥ min { 1 , η γ 2 , ∞ 2 ( c ) 2 } ( t + 1 ) = t + 1 C 1 . 1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t\geq\min\left\{1,\frac{\eta\gamma_{2,\infty}^2(c)}{2}\right\}(t+1)=\frac{t+1}{C_1}. 1 + 2 η γ 2 , ∞ 2 ( c ) t ≥ min { 1 , 2 η γ 2 , ∞ 2 ( c ) } ( t + 1 ) = C 1 t + 1 .
This proves all the stated bounds.
Lemma B.3 (Preliminary estimates). Let
w ~ t = w ^ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) . (28) \widetilde{w}_t=\widehat{w}(c)\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right). \tag*{(28)} w t = w ( c ) ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) . (28) There are fixed C 2 , C 3 , C 4 > 0 C_2,C_3,C_4>0 C 2 , C 3 , C 4 > 0 such that, for all t ≥ 0 t\geq0 t ≥ 0 ,
∥ r t ∥ 2 ≤ C 2 ln ( t + 2 ) , ∑ i = 1 N λ i , t ≤ C 3 ( t + 1 ) − 3 / 4 , ∑ s = 0 ∞ ∥ w s + 1 − w s ∥ 2 2 ≤ C 4 . \lVert r_t\rVert_2\leq C_2\sqrt{\ln(t+2)},\qquad\sum_{i=1}^{N}\lambda_{i,t}\leq C_3(t+1)^{-3/4},\qquad\sum_{s=0}^{\infty}\lVert w_{s+1}-w_s\rVert_2^2\leq C_4. ∥ r t ∥ 2 ≤ C 2 ln ( t + 2 ) , i = 1 ∑ N λ i , t ≤ C 3 ( t + 1 ) − 3/4 , s = 0 ∑ ∞ ∥ w s + 1 − w s ∥ 2 2 ≤ C 4 . Moreover, L A d v ( w t ) → 0 \mathcal{L}_{\mathrm{Adv}}(w_t)\to0 L Adv ( w t ) → 0 as t → ∞ t\to\infty t → ∞ .
Proof. Since w ^ ( c ) = u 2 , ∞ ( c ) / γ 2 , ∞ ( c ) \widehat{w}(c)=u_{2,\infty}(c)/\gamma_{2,\infty}(c) w ( c ) = u 2 , ∞ ( c ) / γ 2 , ∞ ( c ) , we have
⟨ w t + 1 − w ~ t + 1 , w ^ ( c ) ⟩ = v t + 1 γ 2 , ∞ ( c ) − 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 ( t + 1 ) ) = 1 γ 2 , ∞ ( c ) [ v t + 1 − 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 ( t + 1 ) ) ] ≥ (10) 0. (29) \begin{aligned}
\langle w_{t+1}-\widetilde{w}_{t+1},\widehat{w}(c)\rangle
&=\frac{v_{t+1}}{\gamma_{2,\infty}(c)}-\frac{1}{\gamma_{2,\infty}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}(t+1)\right)\\
&=\frac{1}{\gamma_{2,\infty}(c)}\left[v_{t+1}-\frac{1}{\gamma_{2,\infty}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}(t+1)\right)\right]\overset{\text{(10)}}{\geq}0. \tag*{(29)}
\end{aligned} ⟨ w t + 1 − w t + 1 , w ( c )⟩ = γ 2 , ∞ ( c ) v t + 1 − γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) ( t + 1 ) ) = γ 2 , ∞ ( c ) 1 [ v t + 1 − γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) ( t + 1 ) ) ] ≥ (10) 0. (29)
Moreover, we have
w ~ t + 1 − w ~ t = w ^ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 ( t + 1 ) 1 + η γ 2 , ∞ 2 ( c ) 2 t ) , \widetilde{w}_{t+1}-\widetilde{w}_t=\widehat{w}(c)\ln\left(\frac{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}(t+1)}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t}\right), w t + 1 − w t = w ( c ) ln 1 + 2 η γ 2 , ∞ 2 ( c ) t 1 + 2 η γ 2 , ∞ 2 ( c ) ( t + 1 ) ,
which implies
⟨ w t + 1 − w ~ t + 1 , w ~ t + 1 − w ~ t ⟩ = ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 ( t + 1 ) 1 + η γ 2 , ∞ 2 ( c ) 2 t ) ⟨ w t + 1 − w ~ t + 1 , w ^ ( c ) ⟩ ≥ (25) 0. (30) \langle w_{t+1}-\widetilde{w}_{t+1},\widetilde{w}_{t+1}-\widetilde{w}_t\rangle
=\ln\left(\frac{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}(t+1)}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t}\right)\langle w_{t+1}-\widetilde{w}_{t+1},\widehat{w}(c)\rangle\overset{\text{(25)}}{\geq}0. \tag*{(30)} ⟨ w t + 1 − w t + 1 , w t + 1 − w t ⟩ = ln 1 + 2 η γ 2 , ∞ 2 ( c ) t 1 + 2 η γ 2 , ∞ 2 ( c ) ( t + 1 ) ⟨ w t + 1 − w t + 1 , w ( c )⟩ ≥ (25) 0. (30)
Expanding the square, we have
∥ w t + 1 − w ~ t ∥ 2 2 = ∥ ( w t + 1 − w ~ t + 1 ) + ( w ~ t + 1 − w ~ t ) ∥ 2 2 = ∥ w t + 1 − w ~ t + 1 ∥ 2 2 + 2 ⟨ w t + 1 − w ~ t + 1 , w ~ t + 1 − w ~ t ⟩ + ∥ w ~ t + 1 − w ~ t ∥ 2 2 ≥ (26) ∥ w t + 1 − w ~ t + 1 ∥ 2 2 . (31) \begin{aligned}
\lVert w_{t+1}-\widetilde{w}_t\rVert_2^2
&=\lVert(w_{t+1}-\widetilde{w}_{t+1})+(\widetilde{w}_{t+1}-\widetilde{w}_t)\rVert_2^2\\
&=\lVert w_{t+1}-\widetilde{w}_{t+1}\rVert_2^2+2\langle w_{t+1}-\widetilde{w}_{t+1},\widetilde{w}_{t+1}-\widetilde{w}_t\rangle+\lVert\widetilde{w}_{t+1}-\widetilde{w}_t\rVert_2^2\\
&\overset{\text{(26)}}{\geq}\lVert w_{t+1}-\widetilde{w}_{t+1}\rVert_2^2. \tag*{(31)}
\end{aligned} ∥ w t + 1 − w t ∥ 2 2 = ∥( w t + 1 − w t + 1 ) + ( w t + 1 − w t ) ∥ 2 2 = ∥ w t + 1 − w t + 1 ∥ 2 2 + 2 ⟨ w t + 1 − w t + 1 , w t + 1 − w t ⟩ + ∥ w t + 1 − w t ∥ 2 2 ≥ (26) ∥ w t + 1 − w t + 1 ∥ 2 2 . (31)
Since (ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression) is convex and ( w t − w t + 1 ) / η (w_t-w_{t+1})/\eta ( w t − w t + 1 ) / η is a subgradient at w t w_t w t , we have
L A d v ( w ~ t ) ≥ L A d v ( w t ) + 1 η ⟨ w t − w ~ t , w t + 1 − w t ⟩ . \mathcal{L}_{\mathrm{Adv}}(\widetilde{w}_t)\geq\mathcal{L}_{\mathrm{Adv}}(w_t)+\frac{1}{\eta}\langle w_t-\widetilde{w}_t,w_{t+1}-w_t\rangle. L Adv ( w t ) ≥ L Adv ( w t ) + η 1 ⟨ w t − w t , w t + 1 − w t ⟩ .
Rearranging and multiplying by η > 0 \eta>0 η > 0 yields
⟨ w t − w ~ t , w t + 1 − w t ⟩ ≤ η [ L A d v ( w ~ t ) − L A d v ( w t ) ] . (32) \langle w_t-\widetilde{w}_t,w_{t+1}-w_t\rangle\leq\eta\left[\mathcal{L}_{\mathrm{Adv}}(\widetilde{w}_t)-\mathcal{L}_{\mathrm{Adv}}(w_t)\right]. \tag*{(32)} ⟨ w t − w t , w t + 1 − w t ⟩ ≤ η [ L Adv ( w t ) − L Adv ( w t ) ] . (32)
Combining this with the preceding square expansion,
∥ w t + 1 − w ~ t + 1 ∥ 2 2 ≤ (27) ∥ w t + 1 − w ~ t ∥ 2 2 = ∥ ( w t − w ~ t ) + ( w t + 1 − w t ) ∥ 2 2 = ∥ w t − w ~ t ∥ 2 2 + 2 ⟨ w t − w ~ t , w t + 1 − w t ⟩ + ∥ w t + 1 − w t ∥ 2 2 ≤ (28) ∥ w t − w ~ t ∥ 2 2 + 2 η [ L A d v ( w ~ t ) − L A d v ( w t ) ] + ∥ w t + 1 − w t ∥ 2 2 . (33) \begin{aligned}
\lVert w_{t+1}-\widetilde{w}_{t+1}\rVert_2^2
&\overset{\text{(27)}}{\leq}\lVert w_{t+1}-\widetilde{w}_t\rVert_2^2\\
&=\lVert(w_t-\widetilde{w}_t)+(w_{t+1}-w_t)\rVert_2^2\\
&=\lVert w_t-\widetilde{w}_t\rVert_2^2+2\langle w_t-\widetilde{w}_t,w_{t+1}-w_t\rangle+\lVert w_{t+1}-w_t\rVert_2^2\\
&\overset{\text{(28)}}{\leq}\lVert w_t-\widetilde{w}_t\rVert_2^2+2\eta\left[\mathcal{L}_{\mathrm{Adv}}(\widetilde{w}_t)-\mathcal{L}_{\mathrm{Adv}}(w_t)\right]+\lVert w_{t+1}-w_t\rVert_2^2. \tag*{(33)}
\end{aligned} ∥ w t + 1 − w t + 1 ∥ 2 2 ≤ (27) ∥ w t + 1 − w t ∥ 2 2 = ∥( w t − w t ) + ( w t + 1 − w t ) ∥ 2 2 = ∥ w t − w t ∥ 2 2 + 2 ⟨ w t − w t , w t + 1 − w t ⟩ + ∥ w t + 1 − w t ∥ 2 2 ≤ (28) ∥ w t − w t ∥ 2 2 + 2 η [ L Adv ( w t ) − L Adv ( w t ) ] + ∥ w t + 1 − w t ∥ 2 2 . (33)
Since the scalar multiplying w ^ ( c ) \widehat{w}(c) w ( c ) in w ~ t \widetilde{w}_t w t is nonnegative, we have
x i T w ~ t − c ∥ w ~ t ∥ 1 = (24) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) [ x i T w ^ ( c ) − c ∥ w ^ ( c ) ∥ 1 ] ≥ ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) . (34) x_i^{\mathsf{T}}\widetilde{w}_t-c\lVert\widetilde{w}_t\rVert_1
\overset{\text{(24)}}{=}
\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right)\left[x_i^{\mathsf{T}}\widehat{w}(c)-c\lVert\widehat{w}(c)\rVert_1\right]
\geq
\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right). \tag*{(34)} x i T w t − c ∥ w t ∥ 1 = (24) ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) [ x i T w ( c ) − c ∥ w ( c ) ∥ 1 ] ≥ ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) . (34)
where the last inequality comes from w ^ ( c ) \hat{\mathbf{w}}(c) w ^ ( c ) is a solution of the (ℓ ∞ \ell_{\infty} ℓ ∞ -Robust SVM). Moreover, we have
L A d v ( w ~ t ) = ∑ i = 1 N ln ( 1 + e − x i T w ~ t + c ∥ w ~ t ∥ 1 ) ≤ ∑ i = 1 N e − x i T w ~ t + c ∥ w ~ t ∥ 1 ≤ (30) ∑ i = 1 N e − ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) = N 1 + η γ 2 , ∞ 2 ( c ) 2 t . (35) \begin{aligned}
\mathcal{L}_{\mathrm{Adv}}(\tilde{\mathbf{w}}_t)=\sum_{i=1}^{N}\ln\left(1+e^{-\mathbf{x}_i^{\mathsf{T}}\tilde{\mathbf{w}}_t+c\|\tilde{\mathbf{w}}_t\|_1}\right)\leq\sum_{i=1}^{N}e^{-\mathbf{x}_i^{\mathsf{T}}\tilde{\mathbf{w}}_t+c\|\tilde{\mathbf{w}}_t\|_1}\overset{\text{(30)}}{\leq}\sum_{i=1}^{N}e^{-\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right)} \\
&=\frac{N}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t}. \tag*{(35)}
\end{aligned} L Adv ( w ~ t ) = i = 1 ∑ N ln ( 1 + e − x i T w ~ t + c ∥ w ~ t ∥ 1 ) ≤ i = 1 ∑ N e − x i T w ~ t + c ∥ w ~ t ∥ 1 ≤ (30) i = 1 ∑ N e − l n ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) = 1 + 2 η γ 2 , ∞ 2 ( c ) t N . (35)
where the second inequality used ln ( 1 + x ) ≤ x \ln(1+x)\leq x ln ( 1 + x ) ≤ x , x ≥ 0 x\geq0 x ≥ 0 .
Also, since 0 < λ i , t < 1 0<\lambda_{i,t}<1 0 < λ i , t < 1 and w 0 = 0 \mathbf{w}_0=0 w 0 = 0 , we have
∥ w t + 1 − w t ∥ 2 = η ∥ ∑ i = 1 N λ i , t ( x i − c s t ) ∥ 2 ≤ η ∑ i = 1 N λ i , t ∥ x i − c s t ∥ 2 ≤ η M ∑ i = 1 N λ i , t . (36) \|\mathbf{w}_{t+1}-\mathbf{w}_t\|_2=\eta\left\|\sum_{i=1}^{N}\lambda_{i,t}(\mathbf{x}_i-c\mathbf{s}_t)\right\|_2\leq\eta\sum_{i=1}^{N}\lambda_{i,t}\|\mathbf{x}_i-c\mathbf{s}_t\|_2\leq\eta M\sum_{i=1}^{N}\lambda_{i,t}. \tag*{(36)} ∥ w t + 1 − w t ∥ 2 = η i = 1 ∑ N λ i , t ( x i − c s t ) 2 ≤ η i = 1 ∑ N λ i , t ∥ x i − c s t ∥ 2 ≤ η M i = 1 ∑ N λ i , t . (36)
Then ∑ i λ i , t ≤ N \sum_i\lambda_{i,t}\leq N ∑ i λ i , t ≤ N implies
∥ w t + 1 − w t ∥ 2 2 ≤ η 2 M 2 ( ∑ i = 1 N λ i , t ) 2 ≤ η 2 N M 2 ∑ i = 1 N λ i , t . (37) \|\mathbf{w}_{t+1}-\mathbf{w}_t\|_2^2\leq\eta^2M^2\left(\sum_{i=1}^{N}\lambda_{i,t}\right)^2\leq\eta^2NM^2\sum_{i=1}^{N}\lambda_{i,t}. \tag*{(37)} ∥ w t + 1 − w t ∥ 2 2 ≤ η 2 M 2 ( i = 1 ∑ N λ i , t ) 2 ≤ η 2 N M 2 i = 1 ∑ N λ i , t . (37)
Summing the recursion inequality of v t v_t v t in (18) and using v 0 = 0 v_0=0 v 0 = 0 gives
η γ 2 , ∞ ( c ) ∑ s = 0 t − 1 ∑ i = 1 N λ i , s ≤ ∑ s = 0 t − 1 ( v s + 1 − v s ) = v t , and \eta\gamma_{2,\infty}(c)\sum_{s=0}^{t-1}\sum_{i=1}^{N}\lambda_{i,s}\leq\sum_{s=0}^{t-1}(v_{s+1}-v_s)=v_t,\qquad\text{and} η γ 2 , ∞ ( c ) s = 0 ∑ t − 1 i = 1 ∑ N λ i , s ≤ s = 0 ∑ t − 1 ( v s + 1 − v s ) = v t , and
∑ s = 0 t − 1 ∥ w s + 1 − w s ∥ 2 2 ≤ (33) η 2 N M 2 ∑ s = 0 t − 1 ∑ i = 1 N λ i , s ≤ η N M 2 γ 2 , ∞ ( c ) v t . (38) \sum_{s=0}^{t-1}\|\mathbf{w}_{s+1}-\mathbf{w}_s\|_2^2\overset{\text{(33)}}{\leq}\eta^2NM^2\sum_{s=0}^{t-1}\sum_{i=1}^{N}\lambda_{i,s}\leq\frac{\eta NM^2}{\gamma_{2,\infty}(c)}v_t. \tag*{(38)} s = 0 ∑ t − 1 ∥ w s + 1 − w s ∥ 2 2 ≤ (33) η 2 N M 2 s = 0 ∑ t − 1 i = 1 ∑ N λ i , s ≤ γ 2 , ∞ ( c ) η N M 2 v t . (38)
Now sum the squared-distance recursion. Since w 0 = w ~ 0 = 0 \mathbf{w}_0=\tilde{\mathbf{w}}_0=0 w 0 = w ~ 0 = 0 and the loss is nonnegative,
∥ w t − w ~ t ∥ 2 2 = ∑ s = 0 t − 1 ( ∥ w s + 1 − w ~ s + 1 ∥ 2 2 − ∥ w s − w ~ s ∥ 2 2 ) \|\mathbf{w}_t-\tilde{\mathbf{w}}_t\|_2^2=\sum_{s=0}^{t-1}\left(\|\mathbf{w}_{s+1}-\tilde{\mathbf{w}}_{s+1}\|_2^2-\|\mathbf{w}_s-\tilde{\mathbf{w}}_s\|_2^2\right) ∥ w t − w ~ t ∥ 2 2 = s = 0 ∑ t − 1 ( ∥ w s + 1 − w ~ s + 1 ∥ 2 2 − ∥ w s − w ~ s ∥ 2 2 )
≤ (29) 2 η ∑ s = 0 t − 1 L A d v ( w ~ s ) − 2 η ∑ s = 0 t − 1 L A d v ( w s ) + ∑ s = 0 t − 1 ∥ w s + 1 − w s ∥ 2 2 \overset{\text{(29)}}{\leq}2\eta\sum_{s=0}^{t-1}\mathcal{L}_{\mathrm{Adv}}(\tilde{\mathbf{w}}_s)-2\eta\sum_{s=0}^{t-1}\mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_s)+\sum_{s=0}^{t-1}\|\mathbf{w}_{s+1}-\mathbf{w}_s\|_2^2 ≤ (29) 2 η s = 0 ∑ t − 1 L Adv ( w ~ s ) − 2 η s = 0 ∑ t − 1 L Adv ( w s ) + s = 0 ∑ t − 1 ∥ w s + 1 − w s ∥ 2 2
≤ (31),(34) 2 η N ∑ s = 0 t − 1 1 1 + η γ 2 , ∞ 2 ( c ) 2 s + η N M 2 γ 2 , ∞ ( c ) v t . (39) \overset{\text{(31),(34)}}{\leq}2\eta N\sum_{s=0}^{t-1}\frac{1}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}s}+\frac{\eta NM^2}{\gamma_{2,\infty}(c)}v_t. \tag*{(39)} ≤ (31),(34) 2 η N s = 0 ∑ t − 1 1 + 2 η γ 2 , ∞ 2 ( c ) s 1 + γ 2 , ∞ ( c ) η N M 2 v t . (39)
here we use a rather loss bound by ignoring the effect of the 2 η ∑ s = 0 t − 1 L A d v ( w s ) 2\eta\sum_{s=0}^{t-1}\mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_s) 2 η ∑ s = 0 t − 1 L Adv ( w s ) term.
For t ≥ 1 t\geq1 t ≥ 1 , we have
∑ s = 0 t − 1 1 1 + η γ 2 , ∞ 2 ( c ) 2 s = 1 + ∑ s = 1 t − 1 1 1 + η γ 2 , ∞ 2 ( c ) 2 s ≤ 1 + ∫ 0 t d x 1 + η γ 2 , ∞ 2 ( c ) 2 x = 1 + 2 η γ 2 , ∞ 2 ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) . (40) \begin{aligned}
\sum_{s=0}^{t-1}\frac{1}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}s}=1+\sum_{s=1}^{t-1}\frac{1}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}s}\leq1+\int_0^t\frac{\mathrm{d}x}{1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}x} \\
&=1+\frac{2}{\eta\gamma_{2,\infty}^{2}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right). \tag*{(40)}
\end{aligned} s = 0 ∑ t − 1 1 + 2 η γ 2 , ∞ 2 ( c ) s 1 = 1 + s = 1 ∑ t − 1 1 + 2 η γ 2 , ∞ 2 ( c ) s 1 ≤ 1 + ∫ 0 t 1 + 2 η γ 2 , ∞ 2 ( c ) x d x = 1 + η γ 2 , ∞ 2 ( c ) 2 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) . (40)
It follows that
∥ w t − w ~ t ∥ 2 2 ≤ (35),(36) 2 η N + 4 N γ 2 , ∞ 2 ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) + η N M 2 γ 2 , ∞ ( c ) v t . (41) \|\mathbf{w}_t-\tilde{\mathbf{w}}_t\|_2^2\overset{\text{(35),(36)}}{\leq}2\eta N+\frac{4N}{\gamma_{2,\infty}^{2}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right)+\frac{\eta NM^2}{\gamma_{2,\infty}(c)}v_t. \tag*{(41)} ∥ w t − w ~ t ∥ 2 2 ≤ (35),(36) 2 η N + γ 2 , ∞ 2 ( c ) 4 N ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) + γ 2 , ∞ ( c ) η N M 2 v t . (41)
The right side also bounds the zero initial distance at t = 0 t = 0 t = 0 . To eliminate v t v_t v t , apply Cauchy–Schwarz and ∥ u 2 , ∞ ( c ) ∥ 2 = 1 \lVert\mathbf{u}_{2,\infty}(c)\rVert_2 = 1 ∥ u 2 , ∞ ( c ) ∥ 2 = 1 , we get
v t = ⟨ w t − w ~ t , u 2 , ∞ ( c ) ⟩ + ⟨ w ~ t , u 2 , ∞ ( c ) ⟩ v_t = \langle\mathbf{w}_t - \widetilde{\mathbf{w}}_t, \mathbf{u}_{2,\infty}(c)\rangle+ \langle\widetilde{\mathbf{w}}_t, \mathbf{u}_{2,\infty}(c)\rangle v t = ⟨ w t − w t , u 2 , ∞ ( c )⟩ + ⟨ w t , u 2 , ∞ ( c )⟩
≤ ∥ w t − w ~ t ∥ 2 + 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) . (42) \mathrel{\leq} \lVert\mathbf{w}_t - \widetilde{\mathbf{w}}_t\rVert_2 + \frac{1}{\gamma_{2,\infty}(c)}\ln\left(1 + \frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right). \tag*{(42)} ≤ ∥ w t − w t ∥ 2 + γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) . (42)
Substitution gives
∥ w t − w ~ t ∥ 2 2 ≤ xref‘(37)‘, xref‘(38)‘ 2 η N + 4 N + η N M 2 γ 2 , ∞ 2 ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) \lVert\mathbf{w}_t - \widetilde{\mathbf{w}}_t\rVert_2^2 \mathrel{\leq}^{\text{\scriptsize{xref}`(37)`, {xref}`(38)`}} 2\eta N + \frac{4N+\eta NM^2}{\gamma_{2,\infty}^{2}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right) ∥ w t − w t ∥ 2 2 ≤ xref ‘(37)‘, xref ‘(38)‘ 2 η N + γ 2 , ∞ 2 ( c ) 4 N + η N M 2 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t )
+ η N M 2 γ 2 , ∞ ( c ) ∥ w t − w ~ t ∥ 2 . (43) \qquad+ \frac{\eta NM^2}{\gamma_{2,\infty}(c)}\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2. \tag*{(43)} + γ 2 , ∞ ( c ) η N M 2 ∥ w t − w t ∥ 2 . (43)
The inequality 2 a b ≤ a 2 + b 2 2ab \leq a^2+b^2 2 ab ≤ a 2 + b 2 gives
η N M 2 γ 2 , ∞ ( c ) ∥ w t − w ~ t ∥ 2 ≤ 1 2 ∥ w t − w ~ t ∥ 2 2 + 1 2 ( η N M 2 γ 2 , ∞ ( c ) ) 2 . (44) \frac{\eta NM^2}{\gamma_{2,\infty}(c)}\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2
\leq\frac{1}{2}\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2+\frac{1}{2}\left(\frac{\eta NM^2}{\gamma_{2,\infty}(c)}\right)^2. \tag*{(44)} γ 2 , ∞ ( c ) η N M 2 ∥ w t − w t ∥ 2 ≤ 2 1 ∥ w t − w t ∥ 2 2 + 2 1 ( γ 2 , ∞ ( c ) η N M 2 ) 2 . (44)
Subtracting the 1 2 ∥ w t − w ~ t ∥ 2 2 \frac{1}{2}\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2 2 1 ∥ w t − w t ∥ 2 2 term from both sides and multiplying by two yields
∥ w t − w ~ t ∥ 2 2 ≤ xref‘(39)‘, xref‘(40)‘ 4 η N + ( η N M 2 γ 2 , ∞ ( c ) ) 2 + 2 ( 4 N + η N M 2 ) γ 2 , ∞ 2 ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) . (45) \lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2 \mathrel{\leq}^{\text{\scriptsize{xref}`(39)`, {xref}`(40)`}} 4\eta N+\left(\frac{\eta NM^2}{\gamma_{2,\infty}(c)}\right)^2+\frac{2(4N+\eta NM^2)}{\gamma_{2,\infty}^{2}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right). \tag*{(45)} ∥ w t − w t ∥ 2 2 ≤ xref ‘(39)‘, xref ‘(40)‘ 4 η N + ( γ 2 , ∞ ( c ) η N M 2 ) 2 + γ 2 , ∞ 2 ( c ) 2 ( 4 N + η N M 2 ) ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) . (45)
In the following, we want to rewrite (45) in the form ∥ w t − w ~ t ∥ 2 2 ≤ C 2 2 ln ( t + 2 ) \lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2\leq C_2^2\ln(t+2) ∥ w t − w t ∥ 2 2 ≤ C 2 2 ln ( t + 2 ) , with C 2 C_2 C 2 be some constant independent of t t t . For brevity, set
a : = η γ 2 , ∞ 2 ( c ) 2 , A : = 4 η N + ( η N M 2 γ 2 , ∞ ( c ) ) 2 , B : = 2 ( 4 N + η N M 2 ) γ 2 , ∞ 2 ( c ) . a := \frac{\eta\gamma_{2,\infty}^{2}(c)}{2},\qquad A := 4\eta N+\left(\frac{\eta NM^2}{\gamma_{2,\infty}(c)}\right)^2,\qquad B := \frac{2(4N+\eta NM^2)}{\gamma_{2,\infty}^{2}(c)}. a := 2 η γ 2 , ∞ 2 ( c ) , A := 4 η N + ( γ 2 , ∞ ( c ) η N M 2 ) 2 , B := γ 2 , ∞ 2 ( c ) 2 ( 4 N + η N M 2 ) .
Then (45) reads
∥ w t − w ~ t ∥ 2 2 ≤ A + B ln ( 1 + a t ) . \lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2\leq A+B\ln(1+at). ∥ w t − w t ∥ 2 2 ≤ A + B ln ( 1 + a t ) .
For every t ≥ 0 t\geq0 t ≥ 0 , we have 1 + a t ≤ max { 1 , a } ( t + 2 ) 1+at\leq\max\{1,a\}(t+2) 1 + a t ≤ max { 1 , a } ( t + 2 ) and ln ( t + 2 ) ≥ ln 2 \ln(t+2)\geq\ln2 ln ( t + 2 ) ≥ ln 2 . Consequently,
A + B ln ( 1 + a t ) ≤ B ln ( t + 2 ) + A + B ln max { 1 , a } ≤ ( B + A + B ln ( max { 1 , a } ) ln 2 ) ln ( t + 2 ) . A+B\ln(1+at)\leq B\ln(t+2)+A+B\ln\max\{1,a\}\leq\left(B+\frac{A+B\ln(\max\{1,a\})}{\ln2}\right)\ln(t+2). A + B ln ( 1 + a t ) ≤ B ln ( t + 2 ) + A + B ln max { 1 , a } ≤ ( B + ln 2 A + B ln ( max { 1 , a }) ) ln ( t + 2 ) .
Thus, defining the positive constant C 2 C_2 C 2 by
C 2 2 : = B + A + B ln ( max { 1 , a } ) ln 2 , (46) C_2^2:=B+\frac{A+B\ln(\max\{1,a\})}{\ln2}, \tag*{(46)} C 2 2 := B + ln 2 A + B ln ( max { 1 , a }) , (46)
we obtain
∥ w t − w ~ t ∥ 2 2 ≤ C 2 2 ln ( t + 2 ) , t ≥ 0. (47) \lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2\leq C_2^2\ln(t+2),\qquad t\geq0. \tag*{(47)} ∥ w t − w t ∥ 2 2 ≤ C 2 2 ln ( t + 2 ) , t ≥ 0. (47)
Since w ~ t \widetilde{\mathbf{w}}_t w t is parallel to u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) , we have
w t − w ~ t = xref‘(4)‘, xref‘(24)‘ [ v t − ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) γ 2 , ∞ ( c ) ] u 2 , ∞ ( c ) + r t . (48) \mathbf{w}_t-\widetilde{\mathbf{w}}_t \mathrel{\mathop{=}^{\text{\scriptsize{xref}`(4)`, {xref}`(24)`}}} \left[v_t-\frac{\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right)}{\gamma_{2,\infty}(c)}\right]\mathbf{u}_{2,\infty}(c)+\mathbf{r}_t. \tag*{(48)} w t − w t = xref ‘(4)‘, xref ‘(24)‘ v t − γ 2 , ∞ ( c ) ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) u 2 , ∞ ( c ) + r t . (48)
Taking the square of both side on (48) , the cross term in its squared norm vanishes because ⟨ u 2 , ∞ ( c ) , r t ⟩ = 0 \langle\mathbf{u}_{2,\infty}(c),\mathbf{r}_t\rangle=0 ⟨ u 2 , ∞ ( c ) , r t ⟩ = 0 . Therefore we get
∥ w t − w ~ t ∥ 2 2 = xref‘(44)‘ [ v t − ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) γ 2 , ∞ ( c ) ] 2 ∥ u 2 , ∞ ( c ) ∥ 2 2 + ∥ r t ∥ 2 2 ≥ ∥ r t ∥ 2 2 , \lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2^2 \mathrel{\mathop{=}^{\text{\scriptsize{xref}`(44)`}}} \left[v_t-\frac{\ln\left(1+\frac{\eta\gamma_{2,\infty}^{2}(c)}{2}t\right)}{\gamma_{2,\infty}(c)}\right]^2\lVert\mathbf{u}_{2,\infty}(c)\rVert_2^2+\lVert\mathbf{r}_t\rVert_2^2\geq\lVert\mathbf{r}_t\rVert_2^2, ∥ w t − w t ∥ 2 2 = xref ‘(44)‘ v t − γ 2 , ∞ ( c ) ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) 2 ∥ u 2 , ∞ ( c ) ∥ 2 2 + ∥ r t ∥ 2 2 ≥ ∥ r t ∥ 2 2 ,
which implies
∥ r t ∥ 2 ≤ ∥ w t − w ~ t ∥ 2 ≤ C 2 ln ( t + 2 ) . (49) \lVert r_t\rVert_2 \le\lVert w_t-\widetilde{w}_t\rVert_2 \le C_2\sqrt{\ln(t+2)}. \tag*{(49)} ∥ r t ∥ 2 ≤ ∥ w t − w t ∥ 2 ≤ C 2 ln ( t + 2 ) . (49)
The triangle inequality and Cauchy–Schwarz give
( x i T w t − c ∥ w t ∥ 1 ) − ( x i T w ~ t − c ∥ w ~ t ∥ 1 ) ≥ − ∥ x i ∥ 2 ∥ w t − w ~ t ∥ 2 − c d ∥ w t − w ~ t ∥ 2 ≥ − M ∥ w t − w ~ t ∥ 2 . (50) \begin{aligned}
\left(\mathbf{x}_i^{\mathsf{T}}\mathbf{w}_t-c\lVert\mathbf{w}_t\rVert_1\right)-\left(\mathbf{x}_i^{\mathsf{T}}\widetilde{\mathbf{w}}_t-c\lVert\widetilde{\mathbf{w}}_t\rVert_1\right)
\ge-\lVert\mathbf{x}_i\rVert_2\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2-c\sqrt{d}\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2 \\
&\ge-M\lVert\mathbf{w}_t-\widetilde{\mathbf{w}}_t\rVert_2. \tag*{(50)}
\end{aligned} ( x i T w t − c ∥ w t ∥ 1 ) − ( x i T w t − c ∥ w t ∥ 1 ) ≥ − ∥ x i ∥ 2 ∥ w t − w t ∥ 2 − c d ∥ w t − w t ∥ 2 ≥ − M ∥ w t − w t ∥ 2 . (50)
Combining above bounds, we get
x i T w t − c ∥ w t ∥ 1 ≥ xref‘(46)‘, xref‘(30)‘, xref‘(45)‘ ln ( 1 + η γ 2 , ∞ 2 ( c ) t 2 ) − M C 2 ln ( t + 2 ) . (51) \mathbf{x}_i^{\mathsf{T}}\mathbf{w}_t-c\lVert\mathbf{w}_t\rVert_1
\mathrel{\overset{\text{\scriptsize{xref}`(46)`, {xref}`(30)`, {xref}`(45)`}}{\ge}}
\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)t}{2}\right)-MC_2\sqrt{\ln(t+2)}. \tag*{(51)} x i T w t − c ∥ w t ∥ 1 ≥ xref ‘(46)‘, xref ‘(30)‘, xref ‘(45)‘ ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) − M C 2 ln ( t + 2 ) . (51)
which gives
L A d v ( w t ) ≤ ∑ i = 1 N e − x i T w t + c ∥ w t ∥ 1 ≤ xref‘(47)‘ N exp ( M C 2 ln ( t + 2 ) ) 1 + η γ 2 , ∞ 2 ( c ) 2 t , \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t)\le\sum_{i=1}^{N}e^{-\mathbf{x}_i^{\mathsf{T}}\mathbf{w}_t+c\lVert\mathbf{w}_t\rVert_1}
\mathrel{\overset{\text{\scriptsize{xref}`(47)`}}{\le}}
\frac{N\exp\left(MC_2\sqrt{\ln(t+2)}\right)}
{1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t}, L Adv ( w t ) ≤ i = 1 ∑ N e − x i T w t + c ∥ w t ∥ 1 ≤ xref ‘(47)‘ 1 + 2 η γ 2 , ∞ 2 ( c ) t N exp ( M C 2 ln ( t + 2 ) ) ,
∑ i = 1 N λ i , t ≤ ∑ i = 1 N e − x i T w t + c ∥ w t ∥ 1 ≤ xref‘(47)‘ N exp ( M C 2 ln ( t + 2 ) ) 1 + η γ 2 , ∞ 2 ( c ) 2 t . (52) \sum_{i=1}^{N}\lambda_{i,t}\le\sum_{i=1}^{N}e^{-\mathbf{x}_i^{\mathsf{T}}\mathbf{w}_t+c\lVert\mathbf{w}_t\rVert_1}
\mathrel{\overset{\text{\scriptsize{xref}`(47)`}}{\le}}
\frac{N\exp\left(MC_2\sqrt{\ln(t+2)}\right)}
{1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t}. \tag*{(52)} i = 1 ∑ N λ i , t ≤ i = 1 ∑ N e − x i T w t + c ∥ w t ∥ 1 ≤ xref ‘(47)‘ 1 + 2 η γ 2 , ∞ 2 ( c ) t N exp ( M C 2 ln ( t + 2 ) ) . (52)
Now we want to bound the right hand side term of (52) more explicit in terms of t t t . Since C 1 = max { 1 , 2 / ( η γ 2 , ∞ 2 ( c ) ) } C_1=\max\{1,2/(\eta\gamma_{2,\infty}^2(c))\} C 1 = max { 1 , 2/ ( η γ 2 , ∞ 2 ( c ))} , we have
( 1 + η γ 2 , ∞ 2 ( c ) t / 2 ) − 1 ≤ C 1 t + 1 . \left(1+\eta\gamma_{2,\infty}^2(c)t/2\right)^{-1}\le\frac{C_1}{t+1}. ( 1 + η γ 2 , ∞ 2 ( c ) t /2 ) − 1 ≤ t + 1 C 1 .
Moreover, the inequality ( x / 2 − M C 2 ) 2 ≥ 0 (\sqrt{x}/2-MC_2)^2\ge0 ( x /2 − M C 2 ) 2 ≥ 0 gives M C 2 x ≤ x / 4 + M 2 C 2 2 MC_2\sqrt{x}\le x/4+M^2C_2^2 M C 2 x ≤ x /4 + M 2 C 2 2 for every x ≥ 0 x\ge0 x ≥ 0 . Applying this with x = ln ( t + 2 ) x=\ln(t+2) x = ln ( t + 2 ) yields
N exp ( M C 2 ln ( t + 2 ) ) 1 + η γ 2 , ∞ 2 ( c ) 2 t ≤ xref‘(10)‘ N C 1 t + 1 exp ( 1 4 ln ( t + 2 ) + M 2 C 2 2 ) = N C 1 e M 2 C 2 2 ( t + 2 ) 1 / 4 t + 1 ≤ 2 1 / 4 N C 1 e M 2 C 2 2 ( t + 1 ) 3 / 4 = C 3 ( t + 1 ) 3 / 4 , (53) \begin{aligned}
\frac{N\exp\left(MC_2\sqrt{\ln(t+2)}\right)}
{1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t}
\mathrel{\overset{\text{\scriptsize{xref}`(10)`}}{\le}}
\frac{NC_1}{t+1}\exp\left(\frac{1}{4}\ln(t+2)+M^2C_2^2\right) \\
&=\frac{NC_1e^{M^2C_2^2}(t+2)^{1/4}}{t+1}
\le\frac{2^{1/4}NC_1e^{M^2C_2^2}}{(t+1)^{3/4}}
=\frac{C_3}{(t+1)^{3/4}}, \tag*{(53)}
\end{aligned} 1 + 2 η γ 2 , ∞ 2 ( c ) t N exp ( M C 2 ln ( t + 2 ) ) ≤ xref ‘(10)‘ t + 1 N C 1 exp ( 4 1 ln ( t + 2 ) + M 2 C 2 2 ) = t + 1 N C 1 e M 2 C 2 2 ( t + 2 ) 1/4 ≤ ( t + 1 ) 3/4 2 1/4 N C 1 e M 2 C 2 2 = ( t + 1 ) 3/4 C 3 , (53)
where C 3 = 2 1 / 4 N C 1 exp ( M 2 C 2 2 ) C_3=2^{1/4}NC_1\exp(M^2C_2^2) C 3 = 2 1/4 N C 1 exp ( M 2 C 2 2 ) is independent of t t t . In particular, we get
0 ≤ L A d v ( w t ) ≤ C 3 ( t + 1 ) 3 / 4 , ∑ i = 1 N λ i , t ≤ C 3 ( t + 1 ) 3 / 4 . (54) 0\le\mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t)\le\frac{C_3}{(t+1)^{3/4}},\qquad
\sum_{i=1}^{N}\lambda_{i,t}\le\frac{C_3}{(t+1)^{3/4}}. \tag*{(54)} 0 ≤ L Adv ( w t ) ≤ ( t + 1 ) 3/4 C 3 , i = 1 ∑ N λ i , t ≤ ( t + 1 ) 3/4 C 3 . (54)
Finally, since
∑ t = 0 ∞ ( t + 1 ) − 3 / 2 = 1 + ∑ k = 2 ∞ k − 3 / 2 ≤ 1 + ∫ 1 ∞ x − 3 / 2 d x = 3 , \sum_{t=0}^{\infty}(t+1)^{-3/2}
=1+\sum_{k=2}^{\infty}k^{-3/2}
\le1+\int_{1}^{\infty}x^{-3/2}\,dx=3, t = 0 ∑ ∞ ( t + 1 ) − 3/2 = 1 + k = 2 ∑ ∞ k − 3/2 ≤ 1 + ∫ 1 ∞ x − 3/2 d x = 3 ,
we get
∑ t = 0 ∞ ∥ w t + 1 − w t ∥ 2 2 ≤ η 2 M 2 ∑ t = 0 ∞ ( ∑ i = 1 N λ i , t ) 2 ≤ xref‘(50)‘ η 2 M 2 C 3 2 ∑ t = 0 ∞ ( t + 1 ) − 3 / 2 ≤ C 4 , (55) \sum_{t=0}^{\infty}\lVert\mathbf{w}_{t+1}-\mathbf{w}_t\rVert_2^2
\le\eta^2M^2\sum_{t=0}^{\infty}\left(\sum_{i=1}^{N}\lambda_{i,t}\right)^2
\mathrel{\overset{\text{\scriptsize{xref}`(50)`}}{\le}}
\eta^2M^2C_3^2\sum_{t=0}^{\infty}(t+1)^{-3/2}
\le C_4, \tag*{(55)} t = 0 ∑ ∞ ∥ w t + 1 − w t ∥ 2 2 ≤ η 2 M 2 t = 0 ∑ ∞ ( i = 1 ∑ N λ i , t ) 2 ≤ xref ‘(50)‘ η 2 M 2 C 3 2 t = 0 ∑ ∞ ( t + 1 ) − 3/2 ≤ C 4 , (55)
where C 4 = 3 η 2 M 2 C 3 2 C_4=3\eta^2M^2C_3^2 C 4 = 3 η 2 M 2 C 3 2 . This finished the proof of Lemma B.3 .
Lemma B.3 already implies a preliminary convergence rate for implicit bias. Indeed, recalling w t = v t u 2 , ∞ ( c ) + r t \mathbf{w}_t=v_t\mathbf{u}_{2,\infty}(c)+\mathbf{r}_t w t = v t u 2 , ∞ ( c ) + r t with r t ⊥ u 2 , ∞ ( c ) \mathbf{r}_t\perp\mathbf{u}_{2,\infty}(c) r t ⊥ u 2 , ∞ ( c ) , we have ∥ w t ∥ 2 ≥ v t > 0 \|\mathbf{w}_t\|_2\ge v_t>0 ∥ w t ∥ 2 ≥ v t > 0 for t ≥ 1 t\ge1 t ≥ 1 . The triangle inequality also gives ∥ w t ∥ 2 − v t ≤ ∥ r t ∥ 2 \|\mathbf{w}_t\|_2-v_t\le\|\mathbf{r}_t\|_2 ∥ w t ∥ 2 − v t ≤ ∥ r t ∥ 2 . Hence,
∥ w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) ∥ 2 ≤ ∥ r t ∥ 2 ∥ w t ∥ 2 + ∥ w t ∥ 2 − v t ∥ w t ∥ 2 ≤ 2 ∥ r t ∥ 2 v t ≤ 2 γ 2 , ∞ ( c ) C 2 ln ( t + 2 ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t ) = O ( 1 ln t ) , t → ∞ . \begin{aligned}
\left\|\frac{\mathbf{w}_t}{\|\mathbf{w}_t\|_2}-\mathbf{u}_{2,\infty}(c)\right\|_2\le\frac{\|\mathbf{r}_t\|_2}{\|\mathbf{w}_t\|_2}+\frac{\|\mathbf{w}_t\|_2-v_t}{\|\mathbf{w}_t\|_2}\le\frac{2\|\mathbf{r}_t\|_2}{v_t} \\
&\le\frac{2\gamma_{2,\infty}(c)C_2\sqrt{\ln(t+2)}}{\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t\right)}=O\left(\frac{1}{\sqrt{\ln t}}\right),\qquad t\to\infty.
\end{aligned} ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) 2 ≤ ∥ w t ∥ 2 ∥ r t ∥ 2 + ∥ w t ∥ 2 ∥ w t ∥ 2 − v t ≤ v t 2∥ r t ∥ 2 ≤ ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t ) 2 γ 2 , ∞ ( c ) C 2 ln ( t + 2 ) = O ( ln t 1 ) , t → ∞.
This convergence rate proved above is the same as that of Theorem 3.4 in Li et al. (2020). In the following, we will improve this bound by choosing more suitable comparing points than w ~ t \widetilde{\mathbf{w}}_t w t .
Contraction of comparison point
For r ⊥ u 2 , ∞ ( c ) \mathbf{r}\perp\mathbf{u}_{2,\infty}(c) r ⊥ u 2 , ∞ ( c ) , define
p i ( r ) = ⟨ x i , r ⟩ − c ∑ j : u 2 , ∞ , j ( c ) ≠ 0 Sign ( u 2 , ∞ , j ( c ) ) r j − c ∑ j : u 2 , ∞ , j ( c ) = 0 ∣ r j ∣ . (56) p_i(\mathbf{r})=\langle\mathbf{x}_i,\mathbf{r}\rangle-c\sum_{j:u_{2,\infty,j}(c)\ne0}\operatorname{Sign}(u_{2,\infty,j}(c))r_j-c\sum_{j:u_{2,\infty,j}(c)=0}|r_j|. \tag*{(56)} p i ( r ) = ⟨ x i , r ⟩ − c j : u 2 , ∞ , j ( c ) = 0 ∑ Sign ( u 2 , ∞ , j ( c )) r j − c j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ r j ∣. (56)
The quantity p i ( r ) p_i(\mathbf{r}) p i ( r ) represents the change in the robust margin of x i \mathbf{x}_i x i induced by adding the orthogonal component r \mathbf{r} r to v u 2 , ∞ ( c ) v\mathbf{u}_{2,\infty}(c) v u 2 , ∞ ( c ) , provided that this addition preserves the signs on the nonzero coordinates of u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) . Specifically, if v > 0 v>0 v > 0 and Sign ( v u 2 , ∞ , j ( c ) + r j ) = Sign ( u 2 , ∞ , j ( c ) ) \operatorname{Sign}(vu_{2,\infty,j}(c)+r_j)=\operatorname{Sign}(u_{2,\infty,j}(c)) Sign ( v u 2 , ∞ , j ( c ) + r j ) = Sign ( u 2 , ∞ , j ( c )) for every j j j with u 2 , ∞ , j ( c ) ≠ 0 u_{2,\infty,j}(c)\ne0 u 2 , ∞ , j ( c ) = 0 , then
p i ( r ) = [ x i T ( v u 2 , ∞ ( c ) + r ) − c ∥ v u 2 , ∞ ( c ) + r ∥ 1 ] − [ x i T ( v u 2 , ∞ ( c ) ) − c ∥ v u 2 , ∞ ( c ) ∥ 1 ] . p_i(\mathbf{r})=\left[\mathbf{x}_i^{\mathsf T}(v\mathbf{u}_{2,\infty}(c)+\mathbf{r})-c\|v\mathbf{u}_{2,\infty}(c)+\mathbf{r}\|_1\right]-\left[\mathbf{x}_i^{\mathsf T}(v\mathbf{u}_{2,\infty}(c))-c\|v\mathbf{u}_{2,\infty}(c)\|_1\right]. p i ( r ) = [ x i T ( v u 2 , ∞ ( c ) + r ) − c ∥ v u 2 , ∞ ( c ) + r ∥ 1 ] − [ x i T ( v u 2 , ∞ ( c )) − c ∥ v u 2 , ∞ ( c ) ∥ 1 ] .
We define
F ( r ) = ∑ i ∈ S ( c ) e − p i ( r ) . F(\mathbf{r})=\sum_{i\in S(c)}e^{-p_i(\mathbf{r})}. F ( r ) = i ∈ S ( c ) ∑ e − p i ( r ) .
For each fixed r ⊥ u 2 , ∞ ( c ) \mathbf{r}\perp\mathbf{u}_{2,\infty}(c) r ⊥ u 2 , ∞ ( c ) , the sign preservation condition above holds for all sufficiently large v v v , which will be the case of {(GD)} dynamics as shown by Proposition B.2 . The contribution of the robust support vectors to the adversarial logistic loss then satisfies
∑ i ∈ S ( c ) ln ( 1 + e − γ 2 , ∞ ( c ) v − p i ( r ) ) ≈ e − γ 2 , ∞ ( c ) v F ( r ) , for sufficient large v . \sum_{i\in S(c)}\ln\left(1+e^{-\gamma_{2,\infty}(c)v-p_i(\mathbf{r})}\right)\approx e^{-\gamma_{2,\infty}(c)v}F(\mathbf{r}),\qquad\text{for sufficient large }v. i ∈ S ( c ) ∑ ln ( 1 + e − γ 2 , ∞ ( c ) v − p i ( r ) ) ≈ e − γ 2 , ∞ ( c ) v F ( r ) , for sufficient large v .
Thus, for fixed r \mathbf{r} r and sufficiently large v v v , F ( r ) F(\mathbf{r}) F ( r ) captures the contribution of the component r \mathbf{r} r of parameter w = v u 2 , ∞ ( c ) + r \mathbf{w}=v\mathbf{u}_{2,\infty}(c)+\mathbf{r} w = v u 2 , ∞ ( c ) + r to the adversarial logistic loss. Moreover, It can also be seen that
∣ p i ( r ) ∣ ≤ ( 52 ) ∣ ⟨ x i , r ⟩ ∣ + c ∑ j : u 2 , ∞ , j ( c ) ≠ 0 ∣ r j ∣ + c ∑ j : u 2 , ∞ , j ( c ) = 0 ∣ r j ∣ ≤ ∥ x i ∥ 2 ∥ r ∥ 2 + c ∥ r ∥ 1 ≤ M ∥ r ∥ 2 . (57) |p_i(\mathbf{r})|\mathrel{\overset{(52)}{\le}}|\langle\mathbf{x}_i,\mathbf{r}\rangle|+c\sum_{j:u_{2,\infty,j}(c)\ne0}|r_j|+c\sum_{j:u_{2,\infty,j}(c)=0}|r_j|\le\|\mathbf{x}_i\|_2\|\mathbf{r}\|_2+c\|\mathbf{r}\|_1\le M\|\mathbf{r}\|_2. \tag*{(57)} ∣ p i ( r ) ∣ ≤ ( 52 ) ∣ ⟨ x i , r ⟩ ∣ + c j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ r j ∣ + c j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ r j ∣ ≤ ∥ x i ∥ 2 ∥ r ∥ 2 + c ∥ r ∥ 1 ≤ M ∥ r ∥ 2 . (57)
The following Proposition is an extension of Lemma 3.3 in Ji and Telgarsky (2018) to the adversarial loss.
Proposition B.4 (Adversarial version of Ji and Telgarsky (2018, Lemma 3.3)). There are fixed r ˉ \bar{\mathbf{r}} r ˉ , v ⊥ u 2 , ∞ ( c ) \mathbf{v}\perp\mathbf{u}_{2,\infty}(c) v ⊥ u 2 , ∞ ( c ) and C 5 , C 6 ≥ 1 C_5,C_6\ge1 C 5 , C 6 ≥ 1 , independent of t t t , such that q ϵ = r ˉ + v ln ( C 5 / ϵ ) \mathbf{q}_\epsilon=\bar{\mathbf{r}}+\mathbf{v}\ln(C_5/\epsilon) q ϵ = r ˉ + v ln ( C 5 / ϵ ) satisfies, for 0 < ϵ ≤ 1 0<\epsilon\le1 0 < ϵ ≤ 1 ,
F ( q ϵ ) ≤ inf r ⊥ u 2 , ∞ ( c ) F ( r ) + ϵ , ∥ q ϵ ∥ 2 ≤ C 6 ( 1 + ln ( 1 / ϵ ) ) . (58) F(\mathbf{q}_\epsilon)\le\inf_{\mathbf{r}\perp\mathbf{u}_{2,\infty}(c)}F(\mathbf{r})+\epsilon,\qquad\|\mathbf{q}_\epsilon\|_2\le C_6(1+\ln(1/\epsilon)). \tag*{(58)} F ( q ϵ ) ≤ r ⊥ u 2 , ∞ ( c ) inf F ( r ) + ϵ , ∥ q ϵ ∥ 2 ≤ C 6 ( 1 + ln ( 1/ ϵ )) . (58)
Let
H : = { r : ⟨ r , u 2 , ∞ ( c ) ⟩ = 0 } , F ∗ : = inf r ∈ H F ( r ) . H:=\{\mathbf{r}:\langle\mathbf{r},\mathbf{u}_{2,\infty}(c)\rangle=0\},\qquad F_*:=\inf_{\mathbf{r}\in H}F(\mathbf{r}). H := { r : ⟨ r , u 2 , ∞ ( c )⟩ = 0 } , F ∗ := r ∈ H inf F ( r ) .
To specify what r ˉ \bar{\mathbf{r}} r ˉ and v \mathbf{v} v must accomplish, choose a sequence r ( n ) ∈ H \mathbf{r}^{(n)}\in H r ( n ) ∈ H such that
F ( r ( n ) ) → F ∗ , as n → ∞ , and F ( r ( n ) ) ≤ N + 1. F(\mathbf{r}^{(n)})\to F_*,\qquad\text{as }n\to\infty,\qquad\text{and}\qquad F(\mathbf{r}^{(n)})\le N+1. F ( r ( n ) ) → F ∗ , as n → ∞ , and F ( r ( n ) ) ≤ N + 1.
Such a sequence exists because F ∗ ≤ F ( 0 ) = ∣ S ( c ) ∣ ≤ N F_* \le F(0) = |S(c)| \le N F ∗ ≤ F ( 0 ) = ∣ S ( c ) ∣ ≤ N . Each term e − p i ( r ( n ) ) e^{-p_i(\mathbf{r}^{(n)})} e − p i ( r ( n ) ) belongs to [ 0 , N + 1 ] [0,N+1] [ 0 , N + 1 ] . After passing to a subsequence, all these terms have limits:
e − p i ( r ( n ) ) → ℓ i , i ∈ S ( c ) . e^{-p_i(\mathbf{r}^{(n)})} \to\ell_i,\qquad i \in S(c). e − p i ( r ( n ) ) → ℓ i , i ∈ S ( c ) .
Let I : = { i ∈ S ( c ) : ℓ i > 0 } I := \{i \in S(c) : \ell_i > 0\} I := { i ∈ S ( c ) : ℓ i > 0 } , b i : = − ln ℓ i b_i := -\ln\ell_i b i := − ln ℓ i for i ∈ I i \in I i ∈ I . Then as n → ∞ n \to\infty n → ∞ , we have
p i ( r ( n ) ) → b i ∈ R for i ∈ I , p j ( r ( n ) ) → + ∞ for j ∈ S ( c ) ∖ I , p_i(\mathbf{r}^{(n)}) \to b_i \in\mathbb{R}\quad\text{for }i \in I,\qquad p_j(\mathbf{r}^{(n)}) \to+\infty\quad\text{for }j \in S(c) \setminus I, p i ( r ( n ) ) → b i ∈ R for i ∈ I , p j ( r ( n ) ) → + ∞ for j ∈ S ( c ) ∖ I ,
which also implies F ∗ = ∑ i ∈ I e − b i F_* = \sum_{i\in I}e^{-b_i} F ∗ = ∑ i ∈ I e − b i . We will construct a convex polyhedral cone K ⊆ H K \subseteq H K ⊆ H and two vectors r ˉ , v ∈ K \bar{\mathbf{r}},\mathbf{v} \in K r ˉ , v ∈ K such that
each p i ( r ) p_i(\mathbf{r}) p i ( r ) is linear on K K K ,
p i ( r ˉ ) = b i p_i(\bar{\mathbf{r}}) = b_i p i ( r ˉ ) = b i for i ∈ I i \in I i ∈ I ,
p i ( v ) = 0 p_i(\mathbf{v}) = 0 p i ( v ) = 0 for i ∈ I i \in I i ∈ I and p j ( v ) ≥ 1 p_j(\mathbf{v}) \ge1 p j ( v ) ≥ 1 for j ∈ S ( c ) ∖ I j \in S(c) \setminus I j ∈ S ( c ) ∖ I .
Condition (2) ensures that r ˉ \bar{\mathbf{r}} r ˉ realizes the finite limiting values b i b_i b i for i ∈ I i \in I i ∈ I . Together with linearity in (1), condition (3) ensures that moving from r ˉ \bar{\mathbf{r}} r ˉ along v \mathbf{v} v preserves these values while increasing p j p_j p j for every j ∈ S ( c ) ∖ I j \in S(c) \setminus I j ∈ S ( c ) ∖ I . If S ( c ) ∖ I ≠ ∅ S(c) \setminus I \ne\varnothing S ( c ) ∖ I = ∅ , then F ( r ˉ ) > F ∗ F(\bar{\mathbf{r}}) > F_* F ( r ˉ ) > F ∗ because the corresponding exponential terms are still positive at r ˉ \bar{\mathbf{r}} r ˉ ; moving along v \mathbf{v} v makes these terms tend to zero. We first establish the claimed bounds assuming this construction, and then prove that such K K K , r ˉ \bar{\mathbf{r}} r ˉ , and v \mathbf{v} v exist.
Proof of Proposition B.4 assuming conditions (1)-(3). Since K K K is a convex cone, r ˉ + τ v ∈ K \bar{\mathbf{r}}+\tau\mathbf{v}\in K r ˉ + τ v ∈ K for every τ ≥ 0 \tau\ge0 τ ≥ 0 . Since p ( r ) p(\mathbf{r}) p ( r ) is linear on K K K , we have
p i ( r ˉ + τ v ) = b i for i ∈ I , and p j ( r ˉ + τ v ) = p j ( r ˉ ) + τ p j ( v ) for j ∈ S ( c ) ∖ I . p_i(\bar{\mathbf{r}}+\tau\mathbf{v}) = b_i\quad\text{for }i \in I,\qquad\text{and}\qquad p_j(\bar{\mathbf{r}}+\tau\mathbf{v}) = p_j(\bar{\mathbf{r}})+\tau p_j(\mathbf{v})\quad\text{for }j \in S(c)\setminus I. p i ( r ˉ + τ v ) = b i for i ∈ I , and p j ( r ˉ + τ v ) = p j ( r ˉ ) + τ p j ( v ) for j ∈ S ( c ) ∖ I .
Consequently,
F ( r ˉ + τ v ) − F ∗ = ∑ j ∈ S ( c ) ∖ I e − p j ( r ˉ ) − τ p j ( v ) ≤ e − τ ∑ j ∈ S ( c ) ∖ I e − p j ( r ˉ ) , F(\bar{\mathbf{r}}+\tau\mathbf{v})-F_*=
\sum_{j\in S(c)\setminus I}e^{-p_j(\bar{\mathbf{r}})-\tau p_j(\mathbf{v})}
\le e^{-\tau}\sum_{j\in S(c)\setminus I}e^{-p_j(\bar{\mathbf{r}})}, F ( r ˉ + τ v ) − F ∗ = j ∈ S ( c ) ∖ I ∑ e − p j ( r ˉ ) − τ p j ( v ) ≤ e − τ j ∈ S ( c ) ∖ I ∑ e − p j ( r ˉ ) ,
where the last inequality used condition (3). For 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 , consider
q ε = r ˉ + v ln ( C 5 / ε ) . \mathbf{q}_{\varepsilon}=\bar{\mathbf{r}}+\mathbf{v}\ln(C_5/\varepsilon). q ε = r ˉ + v ln ( C 5 / ε ) .
where C 5 ≥ 1 C_5 \ge1 C 5 ≥ 1 will be determined below. Since ln ( C 5 / ε ) ≥ 0 \ln(C_5/\varepsilon) \ge0 ln ( C 5 / ε ) ≥ 0 , the preceding estimate gives
F ( q ε ) − F ∗ ≤ ε C 5 ∑ j ∈ S ( c ) ∖ I e − p j ( r ˉ ) . (59) F(\mathbf{q}_{\varepsilon})-F_* \le\frac{\varepsilon}{C_5}\sum_{j\in S(c)\setminus I}e^{-p_j(\bar{\mathbf{r}})}. \tag*{(59)} F ( q ε ) − F ∗ ≤ C 5 ε j ∈ S ( c ) ∖ I ∑ e − p j ( r ˉ ) . (59)
Moreover, the triangle inequality yields
∥ q ε ∥ 2 ≤ ∥ r ˉ ∥ 2 + ∥ v ∥ 2 ln C 5 + ∥ v ∥ 2 ln ( 1 / ε ) ≤ [ ∥ r ˉ ∥ 2 + ( 1 + ln C 5 ) ∥ v ∥ 2 ] ( 1 + ln ( 1 / ε ) ) . (60) \|\mathbf{q}_{\varepsilon}\|_2 \le\|\bar{\mathbf{r}}\|_2+\|\mathbf{v}\|_2\ln C_5+\|\mathbf{v}\|_2\ln(1/\varepsilon)
\le\bigl[\|\bar{\mathbf{r}}\|_2+(1+\ln C_5)\|\mathbf{v}\|_2\bigr](1+\ln(1/\varepsilon)). \tag*{(60)} ∥ q ε ∥ 2 ≤ ∥ r ˉ ∥ 2 + ∥ v ∥ 2 ln C 5 + ∥ v ∥ 2 ln ( 1/ ε ) ≤ [ ∥ r ˉ ∥ 2 + ( 1 + ln C 5 ) ∥ v ∥ 2 ] ( 1 + ln ( 1/ ε )) . (60)
Thus by choosing
C 5 : = max { 1 , ∑ j ∈ S ( c ) ∖ I e − p j ( r ˉ ) } , and C 6 : = ∥ r ˉ ∥ 2 + ( 1 + ln C 5 ) ∥ v ∥ 2 , C_5:=\max\left\{1,\sum_{j\in S(c)\setminus I}e^{-p_j(\bar{\mathbf{r}})}\right\},\qquad\text{and}\qquad C_6:=\|\bar{\mathbf{r}}\|_2+(1+\ln C_5)\|\mathbf{v}\|_2, C 5 := max ⎩ ⎨ ⎧ 1 , j ∈ S ( c ) ∖ I ∑ e − p j ( r ˉ ) ⎭ ⎬ ⎫ , and C 6 := ∥ r ˉ ∥ 2 + ( 1 + ln C 5 ) ∥ v ∥ 2 ,
and take them into (59) and (60) , we get
F ( q ε ) − F ∗ ≤ ε , and ∥ q ε ∥ 2 ≤ C 6 ( 1 + ln ( 1 / ε ) ) , F(\mathbf{q}_{\varepsilon})-F_* \le\varepsilon,\qquad\text{and}\qquad\|\mathbf{q}_{\varepsilon}\|_2\le C_6(1+\ln(1/\varepsilon)), F ( q ε ) − F ∗ ≤ ε , and ∥ q ε ∥ 2 ≤ C 6 ( 1 + ln ( 1/ ε )) ,
which finished the proof.
Lemma B.5. The required construction of K K K , r ˉ \bar{\mathbf{r}} r ˉ and v \mathbf{v} v in conditions (1)-(3) exists.
Proof. First, we select a region where the absolute values in p i ( r ) p_i(\mathbf{r}) p i ( r ) can be replaced by linear expressions. There are finitely many sign choices for the coordinates r j r_j r j with u j = 0 u_j=0 u j = 0 . Hence a further subsequence of r ( n ) \mathbf{r}^{(n)} r ( n ) lies in one fixed convex polyhedral cone
K : = { r ∈ H : σ j r j ≥ 0 for every j with u j = 0 } , σ j ∈ { − 1 , 1 } . K := \left\{\mathbf{r}\in H : \sigma_j r_j \ge0\text{ for every }j\text{ with }u_j=0\right\}, \qquad\sigma_j\in\{-1,1\}. K := { r ∈ H : σ j r j ≥ 0 for every j with u j = 0 } , σ j ∈ { − 1 , 1 } .
In particular, inf r ∈ K F ( r ) = F ∗ \inf_{\mathbf{r}\in K} F(\mathbf{r})=F_* inf r ∈ K F ( r ) = F ∗ . Indeed, since F ( r ( n ) ) → F ∗ F(\mathbf{r}^{(n)})\to F_* F ( r ( n ) ) → F ∗ , the function values along any subsequence converge to the same limit. For r ∈ K \mathbf{r}\in K r ∈ K , we have
p i ( r ) = x i T r − c ∑ j : u 2 , ∞ , j ≠ 0 Sign ( u 2 , ∞ , j ) r j − c ∑ j : u 2 , ∞ , j = 0 σ j r j , p_i(\mathbf{r})=\mathbf{x}_i^\mathsf{T}\mathbf{r}-c\sum_{j:u_{2,\infty,j}\ne0}\operatorname{Sign}(u_{2,\infty,j})r_j-c\sum_{j:u_{2,\infty,j}=0}\sigma_jr_j, p i ( r ) = x i T r − c j : u 2 , ∞ , j = 0 ∑ Sign ( u 2 , ∞ , j ) r j − c j : u 2 , ∞ , j = 0 ∑ σ j r j ,
which is a linear function of r \mathbf{r} r .
In the following, we will use the elementary fact that a linear image of a polyhedron is a polyhedron and hence is closed, e.g., Rockafellar [35 ] .
We first show the existence of r ˉ \bar{\mathbf{r}} r ˉ . If I = ∅ I=\varnothing I = ∅ , take r ˉ = 0 \bar{\mathbf{r}}=0 r ˉ = 0 . Otherwise, the set
{ ( p i ( r ) ) i ∈ I : r ∈ K } \left\{(p_i(\mathbf{r}))_{i\in I}:\mathbf{r}\in K\right\} { ( p i ( r ) ) i ∈ I : r ∈ K }
is a closed polyhedral image. Since it contains the sequence ( p i ( r ( n ) ) ) i ∈ I → ( b i ) i ∈ I (p_i(\mathbf{r}^{(n)}))_{i\in I}\to(b_i)_{i\in I} ( p i ( r ( n ) ) ) i ∈ I → ( b i ) i ∈ I , it also contains the limit. Therefore some r ˉ ∈ K \bar{\mathbf{r}}\in K r ˉ ∈ K satisfies
p i ( r ˉ ) = b i for i ∈ I . p_i(\bar{\mathbf{r}})=b_i\qquad\text{for }i\in I. p i ( r ˉ ) = b i for i ∈ I .
We then show the existence of v ˉ \bar{\mathbf{v}} v ˉ . If I = S ( c ) I=S(c) I = S ( c ) , take v = 0 \mathbf{v}=0 v = 0 . Otherwise, all p j ( r ( n ) ) p_j(\mathbf{r}^{(n)}) p j ( r ( n ) ) with j ∈ S ( c ) ∖ I j\in S(c)\setminus I j ∈ S ( c ) ∖ I tend to + ∞ +\infty + ∞ . Passing to a further subsequence and relabeling, arrange that
p j ( r ( n ) ) ≥ n for j ∈ S ( c ) ∖ I . p_j(\mathbf{r}^{(n)})\ge n\qquad\text{for }j\in S(c)\setminus I. p j ( r ( n ) ) ≥ n for j ∈ S ( c ) ∖ I .
Set d ( n ) : = r ( n ) / n \mathbf{d}^{(n)}:=\mathbf{r}^{(n)}/n d ( n ) := r ( n ) / n . The cone property and linearity on K K K give
d ( n ) ∈ K , p i ( d ( n ) ) → 0 for i ∈ I , p j ( d ( n ) ) ≥ 1 for j ∈ S ( c ) ∖ I . \mathbf{d}^{(n)}\in K,\qquad p_i(\mathbf{d}^{(n)})\to0\quad\text{for }i\in I,\qquad p_j(\mathbf{d}^{(n)})\ge1\quad\text{for }j\in S(c)\setminus I. d ( n ) ∈ K , p i ( d ( n ) ) → 0 for i ∈ I , p j ( d ( n ) ) ≥ 1 for j ∈ S ( c ) ∖ I .
Thus { d ( n ) } \{\mathbf{d}^{(n)}\} { d ( n ) } make all p i p_i p i , i ∈ I i\in I i ∈ I , arbitrarily close to zero, while keeping p j ≥ 1 p_j\ge1 p j ≥ 1 for every j ∈ S ( c ) ∖ I j\in S(c)\setminus I j ∈ S ( c ) ∖ I . To find a vector v ∈ K \mathbf{v}\in K v ∈ K satisfying p i ( v ) = 0 p_i(\mathbf{v})=0 p i ( v ) = 0 for every i ∈ I i\in I i ∈ I while retaining p j ( v ) ≥ 1 p_j(\mathbf{v})\ge1 p j ( v ) ≥ 1 for every j ∈ S ( c ) ∖ I j\in S(c)\setminus I j ∈ S ( c ) ∖ I , consider the polyhedron
D : = { r ∈ K : p j ( r ) ≥ 1 for every j ∈ S ( c ) ∖ I } . D:=\left\{\mathbf{r}\in K:p_j(\mathbf{r})\ge1\text{ for every }j\in S(c)\setminus I\right\}. D := { r ∈ K : p j ( r ) ≥ 1 for every j ∈ S ( c ) ∖ I } .
If I ≠ ∅ I\ne\varnothing I = ∅ , the image
{ ( p i ( r ) ) i ∈ I : r ∈ D } \left\{(p_i(\mathbf{r}))_{i\in I}:\mathbf{r}\in D\right\} { ( p i ( r ) ) i ∈ I : r ∈ D }
is closed. It contains ( p i ( d ( n ) ) ) i ∈ I → 0 (p_i(\mathbf{d}^{(n)}))_{i\in I}\to0 ( p i ( d ( n ) ) ) i ∈ I → 0 , so it contains 0 0 0 . Hence there exist some v ∈ D \mathbf{v}\in D v ∈ D satisfies p i ( v ) = 0 p_i(\mathbf{v})=0 p i ( v ) = 0 for every i ∈ I i\in I i ∈ I . If I = ∅ I=\varnothing I = ∅ , any d ( n ) \mathbf{d}^{(n)} d ( n ) serves as v \mathbf{v} v . In both cases,
p i ( v ) = 0 for i ∈ I , p j ( v ) ≥ 1 for j ∈ S ( c ) ∖ I . p_i(\mathbf{v})=0\quad\text{for }i\in I,\qquad p_j(\mathbf{v})\ge1\quad\text{for }j\in S(c)\setminus I. p i ( v ) = 0 for i ∈ I , p j ( v ) ≥ 1 for j ∈ S ( c ) ∖ I .
This proves the required existence.
Cumulative loss comparison
For T ≥ 3 T\ge3 T ≥ 3 , fix the vectors from Lemma B.4 and set
q T = r ˉ + v ln ( C 5 ln ( T + 2 ) ) , (61) \mathbf{q}_T=\bar{\mathbf{r}}+\mathbf{v}\ln\left(C_5\ln(T+2)\right), \tag*{(61)} q T = r ˉ + v ln ( C 5 ln ( T + 2 ) ) , (61)
t T = ⌈ e ( ln ln ( T + 2 ) ) 2 ⌉ . (62) t_T=\left\lceil e^{(\ln\ln(T+2))^2}\right\rceil. \tag*{(62)} t T = ⌈ e ( l n l n ( T + 2 ) ) 2 ⌉ . (62)
Proposition B.6. There exist an integer T 0 ≥ 3 T_0\ge3 T 0 ≥ 3 and nonnegative constants C ~ \widetilde{C} C , which is independent of T T T , such that, for every integer T ≥ T 0 T\ge T_0 T ≥ T 0 , we have t T < T t_T<T t T < T and
∑ t = t T T − 1 [ L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ] ≤ C ~ . (63) \sum_{t=t_T}^{T-1}\left[\mathcal{L}_{\operatorname{Adv}}(\mathbf{v}t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T)-\mathcal{L}_{\operatorname{Adv}}(\mathbf{w}_t)\right]\le\widetilde{C}. \tag*{(63)} t = t T ∑ T − 1 [ L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ] ≤ C . (63)
Lemma B.7 (Loss decomposition). For every integer T ≥ 3 T \ge3 T ≥ 3 and t ≥ 0 t \ge0 t ≥ 0 , define
E 1 , t , T = e − γ 2 , ∞ ( c ) v t ( F ( q T ) − F ( r t ) ) , (64) E_{1,t,T}=e^{-\gamma_{2,\infty}(c)v_t}\left(F(\mathbf{q}_T)-F(\mathbf{r}_t)\right), \tag*{(64)} E 1 , t , T = e − γ 2 , ∞ ( c ) v t ( F ( q T ) − F ( r t ) ) , (64) E 2 , t = 1 2 e − 2 γ 2 , ∞ ( c ) v t ∑ i ∈ S ( c ) e − 2 p i ( r t ) , (65) E_{2,t}=\frac{1}{2}e^{-2\gamma_{2,\infty}(c)v_t}\sum_{i\in S(c)}e^{-2p_i(\mathbf{r}_t)}, \tag*{(65)} E 2 , t = 2 1 e − 2 γ 2 , ∞ ( c ) v t i ∈ S ( c ) ∑ e − 2 p i ( r t ) , (65) E 3 , t , T = ∑ i ∉ S ( c ) exp [ − v t ( x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] . (66) E_{3,t,T}=\sum_{i\notin S(c)}\exp\left[-v_t\left(\mathbf{x}_i^{\mathsf{T}}\mathbf{u}_{2,\infty}(c)-c\lVert\mathbf{u}_{2,\infty}(c)\rVert_1\right)-p_i(\mathbf{q}_T)\right]. \tag*{(66)} E 3 , t , T = i ∈ / S ( c ) ∑ exp [ − v t ( x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] . (66) There exists an integer T 0 ≥ 3 T_0 \ge3 T 0 ≥ 3 , independent of T T T , such that t T < T t_T<T t T < T for every integer T ≥ T 0 T\ge T_0 T ≥ T 0 and, for t T ≤ t < T t_T\le t<T t T ≤ t < T ,
L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ≤ E 1 , t , T + E 2 , t + E 3 , t , T . (67) \mathcal{L}_{\operatorname{Adv}}\left(v_t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T\right)-\mathcal{L}_{\operatorname{Adv}}(\mathbf{w}_t)\le E_{1,t,T}+E_{2,t}+E_{3,t,T}. \tag*{(67)} L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ≤ E 1 , t , T + E 2 , t + E 3 , t , T . (67)
Proof. For T ≥ 3 T\ge3 T ≥ 3 , 0 < 1 / ln ( T + 2 ) < 1 0<1/\ln(T+2)<1 0 < 1/ ln ( T + 2 ) < 1 . Substituting ε = 1 / ln ( T + 2 ) \varepsilon=1/\ln(T+2) ε = 1/ ln ( T + 2 ) into the construction in Proposition B.4 gives
q ε = r ˉ + v ln ( C 5 1 / ln ( T + 2 ) ) = r ˉ + v ln ( C 5 ln ( T + 2 ) ) = xref ( 57 ) q T , \mathbf{q}_{\varepsilon}=\bar{\mathbf{r}}+\mathbf{v}\ln\left(\frac{C_5}{1/\ln(T+2)}\right)=\bar{\mathbf{r}}+\mathbf{v}\ln\left(C_5\ln(T+2)\right)\mathrel{\overset{\text{\scriptsize{xref}}{(57)}}{=}}\mathbf{q}_T, q ε = r ˉ + v ln ( 1/ ln ( T + 2 ) C 5 ) = r ˉ + v ln ( C 5 ln ( T + 2 ) ) = xref ( 57 ) q T ,
F ( q T ) ≤ xref ( 54 ) inf r ⊥ u 2 , ∞ ( c ) F ( r ) + 1 ln ( T + 2 ) , F(\mathbf{q}_T)\mathrel{\overset{\text{\scriptsize{xref}}{(54)}}{\le}}\inf_{\mathbf{r}\perp\mathbf{u}_{2,\infty}(c)}F(\mathbf{r})+\frac{1}{\ln(T+2)}, F ( q T ) ≤ xref ( 54 ) r ⊥ u 2 , ∞ ( c ) inf F ( r ) + ln ( T + 2 ) 1 ,
∥ q T ∥ 2 ≤ xref ( 54 ) C 6 ( 1 + ln 1 1 / ln ( T + 2 ) ) = C 6 ( 1 + ln ln ( T + 2 ) ) . (68) \lVert\mathbf{q}_T\rVert_2\mathrel{\overset{\text{\scriptsize{xref}}{(54)}}{\le}}C_6\left(1+\ln\frac{1}{1/\ln(T+2)}\right)=C_6(1+\ln\ln(T+2)). \tag*{(68)} ∥ q T ∥ 2 ≤ xref ( 54 ) C 6 ( 1 + ln 1/ ln ( T + 2 ) 1 ) = C 6 ( 1 + ln ln ( T + 2 )) . (68)
For every r ⊥ u 2 , ∞ ( c ) \mathbf{r}\perp\mathbf{u}_{2,\infty}(c) r ⊥ u 2 , ∞ ( c ) , we have
F ( q T ) − F ( r ) ≤ F ( q T ) − inf s ⊥ u 2 , ∞ ( c ) F ( s ) ≤ xref ( 64 ) 1 ln ( T + 2 ) . (69) F(\mathbf{q}_T)-F(\mathbf{r})\le F(\mathbf{q}_T)-\inf_{\mathbf{s}\perp\mathbf{u}_{2,\infty}(c)}F(\mathbf{s})\mathrel{\overset{\text{\scriptsize{xref}}{(64)}}{\le}}\frac{1}{\ln(T+2)}. \tag*{(69)} F ( q T ) − F ( r ) ≤ F ( q T ) − s ⊥ u 2 , ∞ ( c ) inf F ( s ) ≤ xref ( 64 ) ln ( T + 2 ) 1 . (69)
By the definition of t T t_T t T , we have
e ( ln ln ( T + 2 ) ) 2 ≤ xref ( 58 ) t T < e ( ln ln ( T + 2 ) ) 2 + 1 , t T + 2 < e ( ln ln ( T + 2 ) ) 2 + 3 ≤ 4 e ( ln ln ( T + 2 ) ) 2 . (70) e^{(\ln\ln(T+2))^2}\mathrel{\overset{\text{\scriptsize{xref}}{(58)}}{\le}}t_T<e^{(\ln\ln(T+2))^2+1},\qquad t_T+2<e^{(\ln\ln(T+2))^2+3}\le4e^{(\ln\ln(T+2))^2}. \tag*{(70)} e ( l n l n ( T + 2 ) ) 2 ≤ xref ( 58 ) t T < e ( l n l n ( T + 2 ) ) 2 + 1 , t T + 2 < e ( l n l n ( T + 2 ) ) 2 + 3 ≤ 4 e ( l n l n ( T + 2 ) ) 2 . (70)
The preliminary bound in Proposition B.3 for r T \mathbf{r}_T r T gives
∥ r t T ∥ 2 ≤ xref ( 45 ) C 2 ln ( t T + 2 ) ≤ xref ( 66 ) C 2 ( ln ln ( T + 2 ) ) 2 + ln 4 . (71) \lVert\mathbf{r}_{t_T}\rVert_2\mathrel{\overset{\text{\scriptsize{xref}}{(45)}}{\le}}C_2\sqrt{\ln(t_T+2)}\mathrel{\overset{\text{\scriptsize{xref}}{(66)}}{\le}}C_2\sqrt{(\ln\ln(T+2))^2+\ln4}. \tag*{(71)} ∥ r t T ∥ 2 ≤ xref ( 45 ) C 2 ln ( t T + 2 ) ≤ xref ( 66 ) C 2 ( ln ln ( T + 2 ) ) 2 + ln 4 . (71)
For the component along the u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) direction, we have
v t T ≥ xref ( 10 ) 1 γ 2 , ∞ ( c ) ln ( 1 + η γ 2 , ∞ 2 ( c ) 2 t T ) ≥ xref ( 66 ) ( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) / 2 ) γ 2 , ∞ ( c ) . (72) v_{t_T}\mathrel{\overset{\text{\scriptsize{xref}}{(10)}}{\ge}}\frac{1}{\gamma_{2,\infty}(c)}\ln\left(1+\frac{\eta\gamma_{2,\infty}^2(c)}{2}t_T\right)\mathrel{\overset{\text{\scriptsize{xref}}{(66)}}{\ge}}\frac{(\ln\ln(T+2))^2+\ln(\eta\gamma_{2,\infty}^2(c)/2)}{\gamma_{2,\infty}(c)}. \tag*{(72)} v t T ≥ xref ( 10 ) γ 2 , ∞ ( c ) 1 ln ( 1 + 2 η γ 2 , ∞ 2 ( c ) t T ) ≥ xref ( 66 ) γ 2 , ∞ ( c ) ( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) /2 ) . (72)
Once the last numerator is positive, these inequalities imply
∥ q T ∥ 2 v t T ≤ xref ( 64 ) , ( 68 ) γ 2 , ∞ ( c ) C 6 ( 1 + ln ln ( T + 2 ) ) ( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) / 2 ) → 0 , as T → ∞ . (73) \frac{\lVert\mathbf{q}_T\rVert_2}{v_{t_T}}\mathrel{\overset{\text{\scriptsize{xref}}{(64),(68)}}{\le}}\frac{\gamma_{2,\infty}(c)C_6(1+\ln\ln(T+2))}{(\ln\ln(T+2))^2+\ln(\eta\gamma_{2,\infty}^2(c)/2)}\to0,\quad\text{as }T\to\infty. \tag*{(73)} v t T ∥ q T ∥ 2 ≤ xref ( 64 ) , ( 68 ) ( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) /2 ) γ 2 , ∞ ( c ) C 6 ( 1 + ln ln ( T + 2 )) → 0 , as T → ∞. (73)
Since ∥ u 2 , ∞ ( c ) ∥ 2 = 1 \lVert\mathbf{u}_{2,\infty}(c)\rVert_2=1 ∥ u 2 , ∞ ( c ) ∥ 2 = 1 , the vector u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) has at least one nonzero coordinate. Consequently,
min j : u 2 , ∞ , j ( c ) ≠ 0 ∣ u 2 , ∞ , j ( c ) ∣ > 0. \min_{j:u_{2,\infty,j}(c)\ne0}|u_{2,\infty,j}(c)|>0. j : u 2 , ∞ , j ( c ) = 0 min ∣ u 2 , ∞ , j ( c ) ∣ > 0.
Thus we can choose a fixed integer T 0 ≥ 3 T_0\ge3 T 0 ≥ 3 such that, for every integer T ≥ T 0 T\ge T_0 T ≥ T 0 , we have t T < T t_T<T t T < T and
( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) 2 ) > 0 , γ 2 , ∞ ( c ) C 6 ( 1 + ln ln ( T + 2 ) ) ( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) / 2 ) < min j : u 2 , ∞ , j ( c ) ≠ 0 ∣ u 2 , ∞ , j ( c ) ∣ . (74) (\ln\ln(T+2))^2+\ln\left(\frac{\eta\gamma_{2,\infty}^2(c)}{2}\right)>0,\qquad
\frac{\gamma_{2,\infty}(c)C_6(1+\ln\ln(T+2))}{(\ln\ln(T+2))^2+\ln(\eta\gamma_{2,\infty}^2(c)/2)}<\min_{j:u_{2,\infty,j}(c)\ne0}|u_{2,\infty,j}(c)|. \tag*{(74)} ( ln ln ( T + 2 ) ) 2 + ln ( 2 η γ 2 , ∞ 2 ( c ) ) > 0 , ( ln ln ( T + 2 ) ) 2 + ln ( η γ 2 , ∞ 2 ( c ) /2 ) γ 2 , ∞ ( c ) C 6 ( 1 + ln ln ( T + 2 )) < j : u 2 , ∞ , j ( c ) = 0 min ∣ u 2 , ∞ , j ( c ) ∣. (74)
Moreover, since we have proved v t v_t v t is an increasing function in Proposition B.2 , thus for t ≥ t T t \ge t_T t ≥ t T , we have v t ≥ v t T v_t \ge v_{t_T} v t ≥ v t T . Hence, at each such nonzero coordinate of u 2 , ∞ ( c ) \mathbf{u}_{2,\infty}(c) u 2 , ∞ ( c ) , we have
Sign ( u 2 , ∞ , j ( c ) ) ( v t u 2 , ∞ , j ( c ) + q T , j ) = v t ∣ u 2 , ∞ , j ( c ) ∣ + Sign ( u 2 , ∞ , j ( c ) ) q T , j ≥ v t T ∣ u 2 , ∞ , j ( c ) ∣ − ∥ q T ∥ 2 > (69),(70) 0. \operatorname{Sign}(u_{2,\infty,j}(c))(v_tu_{2,\infty,j}(c)+q_{T,j})=v_t|u_{2,\infty,j}(c)|+\operatorname{Sign}(u_{2,\infty,j}(c))q_{T,j}
\ge v_{t_T}|u_{2,\infty,j}(c)|-\lVert\mathbf{q}_T\rVert_2 \overset{\text{(69),(70)}}{>}0. Sign ( u 2 , ∞ , j ( c )) ( v t u 2 , ∞ , j ( c ) + q T , j ) = v t ∣ u 2 , ∞ , j ( c ) ∣ + Sign ( u 2 , ∞ , j ( c )) q T , j ≥ v t T ∣ u 2 , ∞ , j ( c ) ∣ − ∥ q T ∥ 2 > (69),(70) 0.
It follows that
Sign ( v t u 2 , ∞ , j ( c ) + q T , j ) = Sign ( u 2 , ∞ , j ( c ) ) if u 2 , ∞ , j ( c ) ≠ 0. (75) \operatorname{Sign}(v_tu_{2,\infty,j}(c)+q_{T,j})=\operatorname{Sign}(u_{2,\infty,j}(c))\quad\text{if }u_{2,\infty,j}(c)\ne0. \tag*{(75)} Sign ( v t u 2 , ∞ , j ( c ) + q T , j ) = Sign ( u 2 , ∞ , j ( c )) if u 2 , ∞ , j ( c ) = 0. (75)
For the actual iterate, ∣ a ∣ ≥ Sign ( u 2 , ∞ , j ( c ) ) a |a|\ge\operatorname{Sign}(u_{2,\infty,j}(c))a ∣ a ∣ ≥ Sign ( u 2 , ∞ , j ( c )) a at each nonzero coordinate of the direction. Thus
∥ w t ∥ 1 = ∑ j : u 2 , ∞ , j ( c ) ≠ 0 ∣ v t u 2 , ∞ , j ( c ) + r t , j ∣ + ∑ j : u 2 , ∞ , j ( c ) = 0 ∣ r t , j ∣ ≥ v t ∥ u 2 , ∞ ( c ) ∥ 1 + ∑ j : u 2 , ∞ , j ( c ) ≠ 0 Sign ( u 2 , ∞ , j ( c ) ) r t , j + ∑ j : u 2 , ∞ , j ( c ) = 0 ∣ r t , j ∣ . (76) \begin{aligned}
\lVert\mathbf{w}_t\rVert_1
&=\sum_{j:u_{2,\infty,j}(c)\ne0}|v_tu_{2,\infty,j}(c)+r_{t,j}|+\sum_{j:u_{2,\infty,j}(c)=0}|r_{t,j}|\\
&\ge v_t\lVert\mathbf{u}_{2,\infty}(c)\rVert_1+\sum_{j:u_{2,\infty,j}(c)\ne0}\operatorname{Sign}(u_{2,\infty,j}(c))r_{t,j}+\sum_{j:u_{2,\infty,j}(c)=0}|r_{t,j}|. \tag*{(76)}
\end{aligned} ∥ w t ∥ 1 = j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ v t u 2 , ∞ , j ( c ) + r t , j ∣ + j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ r t , j ∣ ≥ v t ∥ u 2 , ∞ ( c ) ∥ 1 + j : u 2 , ∞ , j ( c ) = 0 ∑ Sign ( u 2 , ∞ , j ( c )) r t , j + j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ r t , j ∣. (76)
For the comparison point, the sign equality makes the corresponding bound an equality:
∥ v t u 2 , ∞ ( c ) + q T ∥ 1 = (71) v t ∥ u 2 , ∞ ( c ) ∥ 1 + ∑ j : u 2 , ∞ , j ( c ) ≠ 0 Sign ( u 2 , ∞ , j ( c ) ) q T , j + ∑ j : u 2 , ∞ , j ( c ) = 0 ∣ q T , j ∣ . (77) \lVert v_t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T\rVert_1
\overset{\text{(71)}}{=}v_t\lVert\mathbf{u}_{2,\infty}(c)\rVert_1+\sum_{j:u_{2,\infty,j}(c)\ne0}\operatorname{Sign}(u_{2,\infty,j}(c))q_{T,j}+\sum_{j:u_{2,\infty,j}(c)=0}|q_{T,j}|. \tag*{(77)} ∥ v t u 2 , ∞ ( c ) + q T ∥ 1 = (71) v t ∥ u 2 , ∞ ( c ) ∥ 1 + j : u 2 , ∞ , j ( c ) = 0 ∑ Sign ( u 2 , ∞ , j ( c )) q T , j + j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ q T , j ∣. (77)
Combining above estimate on the ℓ 1 \ell_1 ℓ 1 norm of w t \mathbf{w}_t w t and comparison point v t u 2 , ∞ ( c ) + q T v_t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T v t u 2 , ∞ ( c ) + q T , we get
x i ⊤ w t − c ∥ w t ∥ 1 ≤ (72) v t x i ⊤ u 2 , ∞ ( c ) + x i ⊤ r t − c v t ∥ u 2 , ∞ ( c ) ∥ 1 − c ∑ j : u 2 , ∞ , j ( c ) ≠ 0 Sign ( u 2 , ∞ , j ( c ) ) r t , j − c ∑ j : u 2 , ∞ , j ( c ) = 0 ∣ r t , j ∣ = (52) v t ( x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) + p i ( r t ) . (78) \begin{aligned}
\mathbf{x}_i^\top\mathbf{w}_t-c\lVert\mathbf{w}_t\rVert_1
&\overset{\text{(72)}}{\le}v_t\mathbf{x}_i^\top\mathbf{u}_{2,\infty}(c)+\mathbf{x}_i^\top\mathbf{r}_t-cv_t\lVert\mathbf{u}_{2,\infty}(c)\rVert_1\\
&\quad-c\sum_{j:u_{2,\infty,j}(c)\ne0}\operatorname{Sign}(u_{2,\infty,j}(c))r_{t,j}-c\sum_{j:u_{2,\infty,j}(c)=0}|r_{t,j}|\\
&\overset{\text{(52)}}{=}v_t\left(\mathbf{x}_i^\top\mathbf{u}_{2,\infty}(c)-c\lVert\mathbf{u}_{2,\infty}(c)\rVert_1\right)+p_i(\mathbf{r}_t). \tag*{(78)}
\end{aligned} x i ⊤ w t − c ∥ w t ∥ 1 ≤ (72) v t x i ⊤ u 2 , ∞ ( c ) + x i ⊤ r t − c v t ∥ u 2 , ∞ ( c ) ∥ 1 − c j : u 2 , ∞ , j ( c ) = 0 ∑ Sign ( u 2 , ∞ , j ( c )) r t , j − c j : u 2 , ∞ , j ( c ) = 0 ∑ ∣ r t , j ∣ = (52) v t ( x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) + p i ( r t ) . (78)
and
x i ⊤ ( v t u 2 , ∞ ( c ) + q T ) − c ∥ v t u 2 , ∞ ( c ) + q T ∥ 1 = (73),(52) v t ( x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) + p i ( q T ) . (79) \mathbf{x}_i^\top(v_t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T)-c\lVert v_t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T\rVert_1
\overset{\text{(73),(52)}}{=}v_t\left(\mathbf{x}_i^\top\mathbf{u}_{2,\infty}(c)-c\lVert\mathbf{u}_{2,\infty}(c)\rVert_1\right)+p_i(\mathbf{q}_T). \tag*{(79)} x i ⊤ ( v t u 2 , ∞ ( c ) + q T ) − c ∥ v t u 2 , ∞ ( c ) + q T ∥ 1 = (73),(52) v t ( x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) + p i ( q T ) . (79)
By the definition of the support set S ( c ) \mathcal{S}(c) S ( c ) , for every i ∈ S ( c ) i\in\mathcal{S}(c) i ∈ S ( c ) , we have x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 = γ 2 , ∞ ( c ) \mathbf{x}_i^\top\mathbf{u}_{2,\infty}(c)-c\lVert\mathbf{u}_{2,\infty}(c)\rVert_1=\gamma_{2,\infty}(c) x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 = γ 2 , ∞ ( c ) . Since the logistic loss is decreasing in the margin, we get
ln ( 1 + e − x i ⊤ w t + c ∥ w t ∥ 1 ) ≥ (74) ln ( 1 + e − γ 2 , ∞ ( c ) v t − p i ( r t ) ) ≥ e − γ 2 , ∞ ( c ) v t − p i ( r t ) − 1 2 e − 2 γ 2 , ∞ ( c ) v t − 2 p i ( r t ) . (80) \begin{aligned}
\ln\left(1+e^{-\mathbf{x}_i^\top\mathbf{w}_t+c\lVert\mathbf{w}_t\rVert_1}\right)
&\overset{\text{(74)}}{\ge}\ln\left(1+e^{-\gamma_{2,\infty}(c)v_t-p_i(\mathbf{r}_t)}\right)\\
&\ge e^{-\gamma_{2,\infty}(c)v_t-p_i(\mathbf{r}_t)}-\frac{1}{2}e^{-2\gamma_{2,\infty}(c)v_t-2p_i(\mathbf{r}_t)}. \tag*{(80)}
\end{aligned} ln ( 1 + e − x i ⊤ w t + c ∥ w t ∥ 1 ) ≥ (74) ln ( 1 + e − γ 2 , ∞ ( c ) v t − p i ( r t ) ) ≥ e − γ 2 , ∞ ( c ) v t − p i ( r t ) − 2 1 e − 2 γ 2 , ∞ ( c ) v t − 2 p i ( r t ) . (80)
where the last inequality used ln ( 1 + x ) ≥ x − x 2 / 2 \ln(1+x)\ge x-x^2/2 ln ( 1 + x ) ≥ x − x 2 /2 for x > 0 x>0 x > 0 . Discarding the adversarial losses contributed by data points not in S ( c ) \mathcal{S}(c) S ( c ) gives
L A d v ( w t ) ≥ ∑ i ∈ S ( c ) ln ( 1 + e − x i ⊤ w t + c ∥ w t ∥ 1 ) ≥ (76) ∑ i ∈ S ( c ) [ e − γ 2 , ∞ ( c ) v t − p i ( r t ) − 1 2 e − 2 γ 2 , ∞ ( c ) v t − 2 p i ( r t ) ] = e − γ 2 , ∞ ( c ) v t F ( r t ) − E 2 , t . (81) \begin{aligned}
\mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t)
&\ge\sum_{i\in\mathcal{S}(c)}\ln\left(1+e^{-\mathbf{x}_i^\top\mathbf{w}_t+c\lVert\mathbf{w}_t\rVert_1}\right)\\
&\overset{\text{(76)}}{\ge}\sum_{i\in\mathcal{S}(c)}\left[e^{-\gamma_{2,\infty}(c)v_t-p_i(\mathbf{r}_t)}-\frac{1}{2}e^{-2\gamma_{2,\infty}(c)v_t-2p_i(\mathbf{r}_t)}\right]\\
&=e^{-\gamma_{2,\infty}(c)v_t}F(\mathbf{r}_t)-E_{2,t}. \tag*{(81)}
\end{aligned} L Adv ( w t ) ≥ i ∈ S ( c ) ∑ ln ( 1 + e − x i ⊤ w t + c ∥ w t ∥ 1 ) ≥ (76) i ∈ S ( c ) ∑ [ e − γ 2 , ∞ ( c ) v t − p i ( r t ) − 2 1 e − 2 γ 2 , ∞ ( c ) v t − 2 p i ( r t ) ] = e − γ 2 , ∞ ( c ) v t F ( r t ) − E 2 , t . (81)
For the adversarial loss at the comparison point, use ln ( 1 + x ) < x \ln(1+x)<x ln ( 1 + x ) < x for x > 0 x>0 x > 0 , we get
L A d v ( v t u 2 , ∞ ( c ) + q T ) ≤ (75) ∑ i = 1 N exp [ − v t ( x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] = e − γ 2 , ∞ ( c ) v t F ( q T ) + E 3 , t , T . (82) \begin{aligned}
\mathcal{L}_{\mathrm{Adv}}(v_t\mathbf{u}_{2,\infty}(c)+\mathbf{q}_T)
&\overset{\text{(75)}}{\le}\sum_{i=1}^{N}\exp\left[-v_t\left(\mathbf{x}_i^\top\mathbf{u}_{2,\infty}(c)-c\lVert\mathbf{u}_{2,\infty}(c)\rVert_1\right)-p_i(\mathbf{q}_T)\right]\\
&=e^{-\gamma_{2,\infty}(c)v_t}F(\mathbf{q}_T)+E_{3,t,T}. \tag*{(82)}
\end{aligned} L Adv ( v t u 2 , ∞ ( c ) + q T ) ≤ (75) i = 1 ∑ N exp [ − v t ( x i ⊤ u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] = e − γ 2 , ∞ ( c ) v t F ( q T ) + E 3 , t , T . (82)
Combining the two bounds in (82) and (81) gives
L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ≤ [ e − γ 2 , ∞ ( c ) v t F ( q T ) + E 3 , t , T ] − [ e − γ 2 , ∞ ( c ) v t F ( r t ) − E 2 , t ] = e − γ 2 , ∞ ( c ) v t [ F ( q T ) − F ( r t ) ] + E 2 , t + E 3 , t , T = E 1 , t , T + E 2 , t + E 3 , t , T . \begin{aligned}
\mathcal{L}_{\operatorname{Adv}}(v_tu_{2,\infty}(c)+q_T)-\mathcal{L}_{\operatorname{Adv}}(w_t)\leq\left[e^{-\gamma_{2,\infty}(c)v_t}F(q_T)+E_{3,t,T}\right]-\left[e^{-\gamma_{2,\infty}(c)v_t}F(r_t)-E_{2,t}\right] \\
&= e^{-\gamma_{2,\infty}(c)v_t}\left[F(q_T)-F(r_t)\right]+E_{2,t}+E_{3,t,T} \\
&= E_{1,t,T}+E_{2,t}+E_{3,t,T}.
\end{aligned} L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ≤ [ e − γ 2 , ∞ ( c ) v t F ( q T ) + E 3 , t , T ] − [ e − γ 2 , ∞ ( c ) v t F ( r t ) − E 2 , t ] = e − γ 2 , ∞ ( c ) v t [ F ( q T ) − F ( r t ) ] + E 2 , t + E 3 , t , T = E 1 , t , T + E 2 , t + E 3 , t , T .
In the following Lemma B.8 to Lemma B.10 , we will bound the E 1 , t , T E_{1,t,T} E 1 , t , T , E 2 , t E_{2,t} E 2 , t and E 3 , t , T E_{3,t,T} E 3 , t , T terms by some absolute constant separately.
Lemma B.8. Let T 0 T_0 T 0 be as in Lemma B.7 . There is a constant C 7 ≥ 0 C_7\geq0 C 7 ≥ 0 , independent of T T T , such that, for every T ≥ T 0 T\geq T_0 T ≥ T 0 , we have
∑ t = t T T − 1 E 1 , t , T ≤ C 7 . \sum_{t=t_T}^{T-1}E_{1,t,T}\leq C_7. t = t T ∑ T − 1 E 1 , t , T ≤ C 7 .
Proof. Since r t ⊥ u 2 , ∞ ( c ) r_t\perp u_{2,\infty}(c) r t ⊥ u 2 , ∞ ( c ) ,
e − γ 2 , ∞ ( c ) v t ( F ( q T ) − F ( r t ) ) ≤ e − γ 2 , ∞ ( c ) v t ln ( T + 2 ) ≤ C 1 ( t + 1 ) ln ( T + 2 ) . (83) e^{-\gamma_{2,\infty}(c)v_t}\left(F(q_T)-F(r_t)\right)\leq\frac{e^{-\gamma_{2,\infty}(c)v_t}}{\ln(T+2)}\leq\frac{C_1}{(t+1)\ln(T+2)}. \tag*{(83)} e − γ 2 , ∞ ( c ) v t ( F ( q T ) − F ( r t ) ) ≤ ln ( T + 2 ) e − γ 2 , ∞ ( c ) v t ≤ ( t + 1 ) ln ( T + 2 ) C 1 . (83)
Consequently, we have
∑ t = t T T − 1 E 1 , t , T = ∑ t = t T T − 1 e − γ 2 , ∞ ( c ) v t ( F ( q T ) − F ( r t ) ) ≤ C 1 ln ( T + 2 ) ∑ t = t T T − 1 1 t + 1 ≤ C 1 ( 1 + ln T ) ln ( T + 2 ) \begin{aligned}
\sum_{t=t_T}^{T-1}E_{1,t,T}=\sum_{t=t_T}^{T-1}e^{-\gamma_{2,\infty}(c)v_t}\left(F(q_T)-F(r_t)\right)\leq\frac{C_1}{\ln(T+2)}\sum_{t=t_T}^{T-1}\frac{1}{t+1} \\
&\leq\frac{C_1(1+\ln T)}{\ln(T+2)}
\end{aligned} t = t T ∑ T − 1 E 1 , t , T = t = t T ∑ T − 1 e − γ 2 , ∞ ( c ) v t ( F ( q T ) − F ( r t ) ) ≤ ln ( T + 2 ) C 1 t = t T ∑ T − 1 t + 1 1 ≤ ln ( T + 2 ) C 1 ( 1 + ln T )
≤ 2 C 1 = C 7 . (84) \leq2C_1=C_7. \tag*{(84)} ≤ 2 C 1 = C 7 . (84)
where the second inequality used ∑ t = 0 T − 1 1 t + 1 ≤ 1 + ln T \sum_{t=0}^{T-1}\frac{1}{t+1}\leq1+\ln T ∑ t = 0 T − 1 t + 1 1 ≤ 1 + ln T .
Lemma B.9. Let T 0 T_0 T 0 be as in Lemma B.7 . There is a constant C 8 ≥ 0 C_8\geq0 C 8 ≥ 0 , independent of T T T , such that, for every T ≥ T 0 T\geq T_0 T ≥ T 0 , we have
∑ t = t T T − 1 E 2 , t ≤ C 8 . \sum_{t=t_T}^{T-1}E_{2,t}\leq C_8. t = t T ∑ T − 1 E 2 , t ≤ C 8 .
Proof. By Proposition B.3, we have
e − 2 p i ( r t ) ≤ e 2 ∣ p i ( r t ) ∣ ≤ e 2 M ∥ r t ∥ 2 ≤ e 2 M C 2 ln ( t + 2 ) . (85) e^{-2p_i(r_t)}\leq e^{2\lvert p_i(r_t)\rvert}\leq e^{2M\lVert r_t\rVert_2}\leq e^{2MC_2\sqrt{\ln(t+2)}}. \tag*{(85)} e − 2 p i ( r t ) ≤ e 2 ∣ p i ( r t )∣ ≤ e 2 M ∥ r t ∥ 2 ≤ e 2 M C 2 l n ( t + 2 ) . (85)
The inequality ( x / 2 − 2 M C 2 ) 2 ≥ 0 \left(\sqrt{x}/2-\sqrt{2M}C_2\right)^2\geq0 ( x /2 − 2 M C 2 ) 2 ≥ 0 gives 2 M C 2 x ≤ x / 2 + 2 M 2 C 2 2 2MC_2\sqrt{x}\leq x/2+2M^2C_2^2 2 M C 2 x ≤ x /2 + 2 M 2 C 2 2 . Therefore
1 2 e − 2 γ 2 , ∞ ( c ) v t ∑ i ∈ S ( c ) e − 2 p i ( r t ) ≤ N C 1 2 2 ( t + 1 ) 2 e 2 M C 2 ln ( t + 2 ) ≤ N C 1 2 e 2 M 2 C 2 2 ( t + 2 ) 1 / 2 2 ( t + 1 ) 2 = C 8 3 ( t + 1 ) 3 / 2 , (86) \begin{aligned}
\frac{1}{2}e^{-2\gamma_{2,\infty}(c)v_t}\sum_{i\in S(c)}e^{-2p_i(r_t)}
\leq\frac{NC_1^2}{2(t+1)^2}e^{2MC_2\sqrt{\ln(t+2)}} \\
&\leq\frac{NC_1^2e^{2M^2C_2^2}(t+2)^{1/2}}{2(t+1)^2} \\
&= \frac{C_8}{3(t+1)^{3/2}}, \tag*{(86)}
\end{aligned} 2 1 e − 2 γ 2 , ∞ ( c ) v t i ∈ S ( c ) ∑ e − 2 p i ( r t ) ≤ 2 ( t + 1 ) 2 N C 1 2 e 2 M C 2 l n ( t + 2 ) ≤ 2 ( t + 1 ) 2 N C 1 2 e 2 M 2 C 2 2 ( t + 2 ) 1/2 = 3 ( t + 1 ) 3/2 C 8 , (86)
where C 8 = N C 1 2 e 2 M 2 C 2 2 C_8=NC_1^2e^{2M^2C_2^2} C 8 = N C 1 2 e 2 M 2 C 2 2 . Summing the above bound yields
∑ t = t T T − 1 E 2 , t = ∑ t = t T T − 1 1 2 e − 2 γ 2 , ∞ ( c ) v t ∑ i ∈ S ( c ) e − 2 p i ( r t ) ≤ C 8 3 ∑ t = t T T − 1 ( t + 1 ) − 3 / 2 ≤ C 8 3 ( 1 + ∫ 1 ∞ x − 3 / 2 d x ) = C 8 3 ( 1 + 2 ) = C 8 . (87) \begin{aligned}
\sum_{t=t_T}^{T-1}E_{2,t}=\sum_{t=t_T}^{T-1}\frac{1}{2}e^{-2\gamma_{2,\infty}(c)v_t}\sum_{i\in S(c)}e^{-2p_i(r_t)}
\leq\frac{C_8}{3}\sum_{t=t_T}^{T-1}(t+1)^{-3/2} \\
&\leq\frac{C_8}{3}\left(1+\int_1^\infty x^{-3/2}\,\mathrm{d}x\right)=\frac{C_8}{3}(1+2)=C_8. \tag*{(87)}
\end{aligned} t = t T ∑ T − 1 E 2 , t = t = t T ∑ T − 1 2 1 e − 2 γ 2 , ∞ ( c ) v t i ∈ S ( c ) ∑ e − 2 p i ( r t ) ≤ 3 C 8 t = t T ∑ T − 1 ( t + 1 ) − 3/2 ≤ 3 C 8 ( 1 + ∫ 1 ∞ x − 3/2 d x ) = 3 C 8 ( 1 + 2 ) = C 8 . (87)
Lemma B.10. Let T 0 T_0 T 0 be as in Lemma B.7 . There is a constant C 9 ≥ 0 C_9 \ge0 C 9 ≥ 0 , independent of T T T , such that, for every T ≥ T 0 T \ge T_0 T ≥ T 0 ,
∑ t = t T T − 1 E 3 , t , T ≤ C 9 . \sum_{t=t_T}^{T-1} E_{3,t,T} \le C_9. t = t T ∑ T − 1 E 3 , t , T ≤ C 9 .
Proof. If [ N ] ∖ S ( c ) = ∅ [N] \setminus S(c) = \varnothing [ N ] ∖ S ( c ) = ∅ , then E 3 , t , T = 0 E_{3,t,T}=0 E 3 , t , T = 0 and we take C 9 = 0 C_9=0 C 9 = 0 . For the remaining case, define
δ = min i ∉ S ( c ) { x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 γ 2 , ∞ ( c ) − 1 } > 0. (88) \delta=\min_{i\notin S(c)}\left\{\frac{x_i^{\mathsf T}u_{2,\infty}(c)-c\lVert u_{2,\infty}(c)\rVert_1}{\gamma_{2,\infty}(c)}-1\right\}>0. \tag*{(88)} δ = i ∈ / S ( c ) min { γ 2 , ∞ ( c ) x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 − 1 } > 0. (88)
For such an index in [ N ] ∖ S ( c ) [N]\setminus S(c) [ N ] ∖ S ( c ) , we have
exp [ − v t ( x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] ≤ e − ( 1 + δ ) γ 2 , ∞ ( c ) v t e M ∥ q T ∥ 2 = ( e − γ 2 , ∞ ( c ) v t ) 1 + δ e M ∥ q T ∥ 2 ≤ C 1 1 + δ e M ∥ q T ∥ 2 ( t + 1 ) 1 + δ . (89) \begin{aligned}
\exp\left[-v_t\left(x_i^{\mathsf T}u_{2,\infty}(c)-c\lVert u_{2,\infty}(c)\rVert_1\right)-p_i(q_T)\right]
\le e^{-(1+\delta)\gamma_{2,\infty}(c)v_t}e^{M\lVert q_T\rVert_2} \\
&=\left(e^{-\gamma_{2,\infty}(c)v_t}\right)^{1+\delta}e^{M\lVert q_T\rVert_2} \\
&\le\frac{C_1^{1+\delta}e^{M\lVert q_T\rVert_2}}{(t+1)^{1+\delta}}. \tag*{(89)}
\end{aligned} exp [ − v t ( x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] ≤ e − ( 1 + δ ) γ 2 , ∞ ( c ) v t e M ∥ q T ∥ 2 = ( e − γ 2 , ∞ ( c ) v t ) 1 + δ e M ∥ q T ∥ 2 ≤ ( t + 1 ) 1 + δ C 1 1 + δ e M ∥ q T ∥ 2 . (89)
Moreover, we have the following bound:
∑ t = t T ∞ ( t + 1 ) − 1 − δ ≤ ∑ t = t T ∞ ∫ t t + 1 x − 1 − δ d x = ∫ t T ∞ x − 1 − δ d x = t T − δ δ ≤ 1 δ e − δ ( ln ln ( T + 2 ) ) 2 . (90) \sum_{t=t_T}^{\infty}(t+1)^{-1-\delta}
\le\sum_{t=t_T}^{\infty}\int_t^{t+1}x^{-1-\delta}\,dx
=\int_{t_T}^{\infty}x^{-1-\delta}\,dx
=\frac{t_T^{-\delta}}{\delta}
\le\frac{1}{\delta}e^{-\delta(\ln\ln(T+2))^2}. \tag*{(90)} t = t T ∑ ∞ ( t + 1 ) − 1 − δ ≤ t = t T ∑ ∞ ∫ t t + 1 x − 1 − δ d x = ∫ t T ∞ x − 1 − δ d x = δ t T − δ ≤ δ 1 e − δ ( l n l n ( T + 2 ) ) 2 . (90)
It follows that
∑ t = t T T − 1 E 3 , t , T = ∑ t = t T T − 1 ∑ i ∉ S ( c ) exp [ − v t ( x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] ≤ N C 1 1 + δ e M ∥ q T ∥ 2 ∑ t = t T ∞ ( t + 1 ) − 1 − δ ≤ N C 1 1 + δ δ exp [ M C 6 ( 1 + ln ln ( T + 2 ) ) − δ ( ln ln ( T + 2 ) ) 2 ] . (91) \begin{aligned}
\sum_{t=t_T}^{T-1}E_{3,t,T}
&=\sum_{t=t_T}^{T-1}\sum_{i\notin S(c)}
\exp\left[-v_t\left(x_i^{\mathsf T}u_{2,\infty}(c)-c\lVert u_{2,\infty}(c)\rVert_1\right)-p_i(q_T)\right]\\
&\le NC_1^{1+\delta}e^{M\lVert q_T\rVert_2}
\sum_{t=t_T}^{\infty}(t+1)^{-1-\delta}\\
&\le\frac{NC_1^{1+\delta}}{\delta}
\exp\left[MC_6(1+\ln\ln(T+2))-\delta(\ln\ln(T+2))^2\right]. \tag*{(91)}
\end{aligned} t = t T ∑ T − 1 E 3 , t , T = t = t T ∑ T − 1 i ∈ / S ( c ) ∑ exp [ − v t ( x i T u 2 , ∞ ( c ) − c ∥ u 2 , ∞ ( c ) ∥ 1 ) − p i ( q T ) ] ≤ N C 1 1 + δ e M ∥ q T ∥ 2 t = t T ∑ ∞ ( t + 1 ) − 1 − δ ≤ δ N C 1 1 + δ exp [ M C 6 ( 1 + ln ln ( T + 2 )) − δ ( ln ln ( T + 2 ) ) 2 ] . (91)
Completing the square in the exponent gives
M C 6 ( 1 + ln ln ( T + 2 ) ) − δ ( ln ln ( T + 2 ) ) 2 = M C 6 + M 2 C 6 2 4 δ − δ ( ln ln ( T + 2 ) − M C 6 2 δ ) 2 ≤ M C 6 + M 2 C 6 2 4 δ . (92) \begin{aligned}
MC_6(1+\ln\ln(T+2))-\delta(\ln\ln(T+2))^2
&=MC_6+\frac{M^2C_6^2}{4\delta}
-\delta\left(\ln\ln(T+2)-\frac{MC_6}{2\delta}\right)^2\\
&\le MC_6+\frac{M^2C_6^2}{4\delta}. \tag*{(92)}
\end{aligned} M C 6 ( 1 + ln ln ( T + 2 )) − δ ( ln ln ( T + 2 ) ) 2 = M C 6 + 4 δ M 2 C 6 2 − δ ( ln ln ( T + 2 ) − 2 δ M C 6 ) 2 ≤ M C 6 + 4 δ M 2 C 6 2 . (92)
Thus we can choose C 9 C_9 C 9 as
C 9 = { N C 1 1 + δ δ exp ( M C 6 + M 2 C 6 2 4 δ ) , [ N ] ∖ S ( c ) ≠ ∅ , 0 , [ N ] ∖ S ( c ) = ∅ . (93) C_9=
\begin{cases}
\frac{NC_1^{1+\delta}}{\delta}
\exp\left(MC_6+\frac{M^2C_6^2}{4\delta}\right),
& [N]\setminus S(c)\ne\varnothing,\\
0,& [N]\setminus S(c)=\varnothing.
\end{cases} \tag*{(93)} C 9 = { δ N C 1 1 + δ exp ( M C 6 + 4 δ M 2 C 6 2 ) , 0 , [ N ] ∖ S ( c ) = ∅ , [ N ] ∖ S ( c ) = ∅ . (93)
Now we can prove Proposition B.6.
Proof of Proposition B.6. Take T 0 T_0 T 0 from Lemma B.7 . Then t T < T t_T<T t T < T and (67) holds for every T ≥ T 0 T\ge T_0 T ≥ T 0 and t T ≤ t < T t_T\le t<T t T ≤ t < T . Summing this inequality and applying Lemmas B.8, B.9, and B.10 gives
∑ t = t T T − 1 [ L A d v ( v t u 2 , ∞ ( c ) + q T ) − L A d v ( w t ) ] ≤ ∑ t = t T T − 1 E 1 , t , T + ∑ t = t T T − 1 E 2 , t + ∑ t = t T T − 1 E 3 , t , T ≤ C 7 + C 8 + C 9 . \sum_{t=t_T}^{T-1}\left[L_{\mathrm{Adv}}(v_tu_{2,\infty}(c)+q_T)-L_{\mathrm{Adv}}(w_t)\right]
\le\sum_{t=t_T}^{T-1}E_{1,t,T}+\sum_{t=t_T}^{T-1}E_{2,t}+\sum_{t=t_T}^{T-1}E_{3,t,T}
\le C_7+C_8+C_9. t = t T ∑ T − 1 [ L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ] ≤ t = t T ∑ T − 1 E 1 , t , T + t = t T ∑ T − 1 E 2 , t + t = t T ∑ T − 1 E 3 , t , T ≤ C 7 + C 8 + C 9 .
The constants are independent of T T T , as required.
Refined estimate on the norm of r t r_t r t
In the following, we provide a refined estimate of ∥ r t ∥ 2 \lVert r_t\rVert_2 ∥ r t ∥ 2 based on the estimates established in Section B.3. In particular, we show that the preliminary estimates of ∥ r t ∥ 2 \lVert r_t\rVert_2 ∥ r t ∥ 2 with O ( ln ( t + 2 ) ) O(\sqrt{\ln(t+2)}) O ( ln ( t + 2 ) ) can be improved to O ( ln ln t ) O(\ln\ln t) O ( ln ln t ) .
Proposition B.11. There is a fixed C r > 0 C_r>0 C r > 0 which is independent of t t t , such that
∥ r t ∥ 2 ≤ C r ln ln t , t ≥ 3. (94) \lVert r_t\rVert_2 \le C_r\ln\ln t,\qquad t\ge3. \tag*{(94)} ∥ r t ∥ 2 ≤ C r ln ln t , t ≥ 3. (94)
Proof. Fix T 0 T_0 T 0 , C 7 C_7 C 7 , C 8 C_8 C 8 , C 9 C_9 C 9 from Proposition B.6, and let T ≥ T 0 T\ge T_0 T ≥ T 0 . Let the vector q T q_T q T be the same as (61) . Subtracting the decompositions at two consecutive times gives
r t + 1 − r t = ( 4 ) w t + 1 − w t − ( v t + 1 − v t ) u 2 , ∞ ( c ) , ⟨ r t − q T , u 2 , ∞ ( c ) ⟩ = ⟨ r t , u 2 , ∞ ( c ) ⟩ − ⟨ q T , u 2 , ∞ ( c ) ⟩ = 0 , (95) \begin{aligned}
r_{t+1}-r_t &\overset{(4)}{=} w_{t+1}-w_t-(v_{t+1}-v_t)u_{2,\infty}(c),\\
\langle r_t-q_T,u_{2,\infty}(c)\rangle&= \langle r_t,u_{2,\infty}(c)\rangle-\langle q_T,u_{2,\infty}(c)\rangle=0, \tag*{(95)}
\end{aligned} r t + 1 − r t ⟨ r t − q T , u 2 , ∞ ( c )⟩ = ( 4 ) w t + 1 − w t − ( v t + 1 − v t ) u 2 , ∞ ( c ) , = ⟨ r t , u 2 , ∞ ( c )⟩ − ⟨ q T , u 2 , ∞ ( c )⟩ = 0 , (95)
where the second equality comes from both r t r_t r t and q T q_T q T are orthogonal to u 2 , ∞ ( c ) u_{2,\infty}(c) u 2 , ∞ ( c ) . Thus, we have
⟨ r t − q T , r t + 1 − r t ⟩ = ⟨ r t − q T , w t + 1 − w t ⟩ − ( v t + 1 − v t ) ⟨ r t − q T , u 2 , ∞ ( c ) ⟩ = ⟨ r t − q T , w t + 1 − w t ⟩ . (96) \begin{aligned}
\langle r_t-q_T,r_{t+1}-r_t\rangle
&=\langle r_t-q_T,w_{t+1}-w_t\rangle-(v_{t+1}-v_t)\langle r_t-q_T,u_{2,\infty}(c)\rangle\\
&=\langle r_t-q_T,w_{t+1}-w_t\rangle. \tag*{(96)}
\end{aligned} ⟨ r t − q T , r t + 1 − r t ⟩ = ⟨ r t − q T , w t + 1 − w t ⟩ − ( v t + 1 − v t ) ⟨ r t − q T , u 2 , ∞ ( c )⟩ = ⟨ r t − q T , w t + 1 − w t ⟩ . (96)
The comparison point v t u 2 , ∞ ( c ) + q T v_tu_{2,\infty}(c)+q_T v t u 2 , ∞ ( c ) + q T differs from the trajectories of { w t } \{w_t\} { w t } generated by (GD) in that
v t u 2 , ∞ ( c ) + q T − w t = ( 4 ) v t u 2 , ∞ ( c ) + q T − ( v t u 2 , ∞ ( c ) + r t ) = q T − r t . (97) v_tu_{2,\infty}(c)+q_T-w_t\overset{(4)}{=}v_tu_{2,\infty}(c)+q_T-(v_tu_{2,\infty}(c)+r_t)=q_T-r_t. \tag*{(97)} v t u 2 , ∞ ( c ) + q T − w t = ( 4 ) v t u 2 , ∞ ( c ) + q T − ( v t u 2 , ∞ ( c ) + r t ) = q T − r t . (97)
Consequently, the subgradient inequality reads
L A d v ( v t u 2 , ∞ ( c ) + q T ) − L A d v ( w t ) ≥ ⟨ w t − w t + 1 η , v t u 2 , ∞ ( c ) + q T − w t ⟩ = 1 η ⟨ r t − q T , w t + 1 − w t ⟩ , (98) \begin{aligned}
\mathcal{L}_{\mathrm{Adv}}(v_tu_{2,\infty}(c)+q_T)-\mathcal{L}_{\mathrm{Adv}}(w_t)
&\ge\left\langle\frac{w_t-w_{t+1}}{\eta},v_tu_{2,\infty}(c)+q_T-w_t\right\rangle\\
&=\frac{1}{\eta}\langle r_t-q_T,w_{t+1}-w_t\rangle, \tag*{(98)}
\end{aligned} L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ≥ ⟨ η w t − w t + 1 , v t u 2 , ∞ ( c ) + q T − w t ⟩ = η 1 ⟨ r t − q T , w t + 1 − w t ⟩ , (98)
where the first inequality used the fact that L A d v \mathcal{L}_{\mathrm{Adv}} L Adv is a convex function.
Combining the two identities in (96) and (98) , and multiplying by η \eta η yields
⟨ r t − q T , r t + 1 − r t ⟩ ≤ η [ L A d v ( v t u 2 , ∞ ( c ) + q T ) − L A d v ( w t ) ] . (99) \langle r_t-q_T,r_{t+1}-r_t\rangle\le\eta\left[\mathcal{L}_{\mathrm{Adv}}(v_tu_{2,\infty}(c)+q_T)-\mathcal{L}_{\mathrm{Adv}}(w_t)\right]. \tag*{(99)} ⟨ r t − q T , r t + 1 − r t ⟩ ≤ η [ L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ] . (99)
Since r t + 1 − r t ⊥ u 2 , ∞ ( c ) r_{t+1}-r_t\perp u_{2,\infty}(c) r t + 1 − r t ⊥ u 2 , ∞ ( c ) , we get
∥ w t + 1 − w t ∥ 2 2 = ( 91 ) ∥ ( v t + 1 − v t ) u 2 , ∞ ( c ) + ( r t + 1 − r t ) ∥ 2 2 = ( v t + 1 − v t ) 2 + ∥ r t + 1 − r t ∥ 2 2 ≥ ∥ r t + 1 − r t ∥ 2 2 . (100) \begin{aligned}
\lVert w_{t+1}-w_t\rVert_2^2
&\overset{(91)}{=}\lVert(v_{t+1}-v_t)u_{2,\infty}(c)+(r_{t+1}-r_t)\rVert_2^2\\
&=(v_{t+1}-v_t)^2+\lVert r_{t+1}-r_t\rVert_2^2\\
&\ge\lVert r_{t+1}-r_t\rVert_2^2. \tag*{(100)}
\end{aligned} ∥ w t + 1 − w t ∥ 2 2 = ( 91 ) ∥( v t + 1 − v t ) u 2 , ∞ ( c ) + ( r t + 1 − r t ) ∥ 2 2 = ( v t + 1 − v t ) 2 + ∥ r t + 1 − r t ∥ 2 2 ≥ ∥ r t + 1 − r t ∥ 2 2 . (100)
Expanding the distance to the fixed q T q_T q T gives
∥ r t + 1 − q T ∥ 2 2 = ∥ ( r t − q T ) + ( r t + 1 − r t ) ∥ 2 2 = ∥ r t − q T ∥ 2 2 + 2 ⟨ r t − q T , r t + 1 − r t ⟩ + ∥ r t + 1 − r t ∥ 2 2 ≤ ( 95 ) , ( 96 ) ∥ r t − q T ∥ 2 2 + 2 η [ L A d v ( v t u 2 , ∞ ( c ) + q T ) − L A d v ( w t ) ] + ∥ w t + 1 − w t ∥ 2 2 . (101) \begin{aligned}
\lVert r_{t+1}-q_T\rVert_2^2
&=\lVert(r_t-q_T)+(r_{t+1}-r_t)\rVert_2^2\\
&=\lVert r_t-q_T\rVert_2^2+2\langle r_t-q_T,r_{t+1}-r_t\rangle+\lVert r_{t+1}-r_t\rVert_2^2\\
&\overset{(95),(96)}{\le}\lVert r_t-q_T\rVert_2^2+2\eta\left[\mathcal{L}_{\mathrm{Adv}}(v_tu_{2,\infty}(c)+q_T)-\mathcal{L}_{\mathrm{Adv}}(w_t)\right]+\lVert w_{t+1}-w_t\rVert_2^2. \tag*{(101)}
\end{aligned} ∥ r t + 1 − q T ∥ 2 2 = ∥( r t − q T ) + ( r t + 1 − r t ) ∥ 2 2 = ∥ r t − q T ∥ 2 2 + 2 ⟨ r t − q T , r t + 1 − r t ⟩ + ∥ r t + 1 − r t ∥ 2 2 ≤ ( 95 ) , ( 96 ) ∥ r t − q T ∥ 2 2 + 2 η [ L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ] + ∥ w t + 1 − w t ∥ 2 2 . (101)
Summing (97) from t = t T t=t_T t = t T to T − 1 T-1 T − 1 gives:
∥ r T − q T ∥ 2 2 − ∥ r t T − q T ∥ 2 2 = ∑ t = t T T − 1 [ ∥ r t + 1 − q T ∥ 2 2 − ∥ r t − q T ∥ 2 2 ] \lVert r_T-q_T\rVert_2^2-\lVert r_{t_T}-q_T\rVert_2^2=\sum_{t=t_T}^{T-1}\left[\lVert r_{t+1}-q_T\rVert_2^2-\lVert r_t-q_T\rVert_2^2\right] ∥ r T − q T ∥ 2 2 − ∥ r t T − q T ∥ 2 2 = t = t T ∑ T − 1 [ ∥ r t + 1 − q T ∥ 2 2 − ∥ r t − q T ∥ 2 2 ]
≤ 2 η ∑ t = t T T − 1 [ L A d v ( v t u 2 , ∞ ( c ) + q T ) − L A d v ( w t ) ] + ∑ t = t T T − 1 ∥ w t + 1 − w t ∥ 2 2 (102) \le2\eta\sum_{t=t_T}^{T-1}\left[\mathcal{L}_{\mathrm{Adv}}(v_tu_{2,\infty}(c)+q_T)-\mathcal{L}_{\mathrm{Adv}}(w_t)\right]+\sum_{t=t_T}^{T-1}\lVert w_{t+1}-w_t\rVert_2^2 \tag*{(102)} ≤ 2 η t = t T ∑ T − 1 [ L Adv ( v t u 2 , ∞ ( c ) + q T ) − L Adv ( w t ) ] + t = t T ∑ T − 1 ∥ w t + 1 − w t ∥ 2 2 (102)
≤ 2 η ( C 7 + C 8 + C 9 ) + ∑ t = 0 ∞ ∥ w t + 1 − w t ∥ 2 2 \le2\eta(C_7+C_8+C_9)+\sum_{t=0}^{\infty}\lVert w_{t+1}-w_t\rVert_2^2 ≤ 2 η ( C 7 + C 8 + C 9 ) + t = 0 ∑ ∞ ∥ w t + 1 − w t ∥ 2 2
≤ 2 η ( C 7 + C 8 + C 9 ) + C 4 = : C 10 . (103) \le2\eta(C_7+C_8+C_9)+C_4=:C_{10}. \tag*{(103)} ≤ 2 η ( C 7 + C 8 + C 9 ) + C 4 =: C 10 . (103)
Then the triangle inequality gives
∥ r T ∥ 2 ≤ ∥ r T − q T ∥ 2 + ∥ q T ∥ 2 ≤ ∥ r t T − q T ∥ 2 2 + C 10 + ∥ q T ∥ 2 2 ≤ ∥ r t T − q T ∥ 2 + C 10 + ∥ q T ∥ 2 ≤ ∥ r t T ∥ 2 + 2 ∥ q T ∥ 2 + C 10 (104) \begin{aligned}
\lVert r_T\rVert_2\le\lVert r_T-q_T\rVert_2+\lVert q_T\rVert_2 \\
&\le\sqrt{\lVert r_{t_T}-q_T\rVert_2^2+C_{10}+\lVert q_T\rVert_2^2} \\
&\le\lVert r_{t_T}-q_T\rVert_2+\sqrt{C_{10}}+\lVert q_T\rVert_2 \\
&\le\lVert r_{t_T}\rVert_2+2\lVert q_T\rVert_2+\sqrt{C_{10}} \tag*{(104)}
\end{aligned} ∥ r T ∥ 2 ≤ ∥ r T − q T ∥ 2 + ∥ q T ∥ 2 ≤ ∥ r t T − q T ∥ 2 2 + C 10 + ∥ q T ∥ 2 2 ≤ ∥ r t T − q T ∥ 2 + C 10 + ∥ q T ∥ 2 ≤ ∥ r t T ∥ 2 + 2 ∥ q T ∥ 2 + C 10 (104)
≤ C 2 ( ln ln ( T + 2 ) ) 2 + ln 4 + 2 C 6 ( 1 + ln ln ( T + 2 ) ) + C 10 (105) \le C_2\sqrt{(\ln\ln(T+2))^2+\ln4}+2C_6(1+\ln\ln(T+2))+\sqrt{C_{10}} \tag*{(105)} ≤ C 2 ( ln ln ( T + 2 ) ) 2 + ln 4 + 2 C 6 ( 1 + ln ln ( T + 2 )) + C 10 (105)
Since ln ln ( T + 2 ) > 0 \ln\ln(T+2)>0 ln ln ( T + 2 ) > 0 , we have
( ln ln ( T + 2 ) ) 2 + ln 4 ≤ ln ln ( T + 2 ) + ln 4 ≤ ( 1 + ln 4 ) ( 1 + ln ln ( T + 2 ) ) , \sqrt{(\ln\ln(T+2))^2+\ln4}\le\ln\ln(T+2)+\sqrt{\ln4}\le(1+\sqrt{\ln4})(1+\ln\ln(T+2)), ( ln ln ( T + 2 ) ) 2 + ln 4 ≤ ln ln ( T + 2 ) + ln 4 ≤ ( 1 + ln 4 ) ( 1 + ln ln ( T + 2 )) ,
which gives
∥ r T ∥ 2 ≤ [ C 2 ( 1 + ln 4 ) + 2 C 6 + C 10 ] ( 1 + ln ln ( T + 2 ) ) ≤ [ C 2 ( 1 + ln 4 ) + 2 C 6 + C 10 ] ( 1 + 1 + ln 2 ln ln 3 ) ln ln ( T + 2 ) = C 11 ( 1 + ln ln ( T + 2 ) ) (106) \begin{aligned}
\lVert r_T\rVert_2\le\left[C_2(1+\sqrt{\ln4})+2C_6+\sqrt{C_{10}}\right](1+\ln\ln(T+2)) \\
&\le\left[C_2(1+\sqrt{\ln4})+2C_6+\sqrt{C_{10}}\right]\left(1+\frac{1+\ln2}{\ln\ln3}\right)\ln\ln(T+2) \\
&=C_{11}(1+\ln\ln(T+2)) \tag*{(106)}
\end{aligned} ∥ r T ∥ 2 ≤ [ C 2 ( 1 + ln 4 ) + 2 C 6 + C 10 ] ( 1 + ln ln ( T + 2 )) ≤ [ C 2 ( 1 + ln 4 ) + 2 C 6 + C 10 ] ( 1 + ln ln 3 1 + ln 2 ) ln ln ( T + 2 ) = C 11 ( 1 + ln ln ( T + 2 )) (106)
≤ C ~ r ln ln ( T ) for T ≥ T 0 . (107) \le\widetilde{C}_r\ln\ln(T)\quad\text{for }T\ge T_0. \tag*{(107)} ≤ C r ln ln ( T ) for T ≥ T 0 . (107)
For the remaining integers 3 ≤ t < T 0 3\le t<T_0 3 ≤ t < T 0 , orthogonality and the initial update bound give
∥ r t ∥ 2 ≤ v t 2 + ∥ r t ∥ 2 2 = ∥ w t ∥ 2 ≤ η N M t ≤ η N M T 0 ≤ η N M T 0 ln ln 3 ln ln t ≤ C ^ r ln ln t . \lVert r_t\rVert_2\le\sqrt{v_t^2+\lVert r_t\rVert_2^2}=\lVert w_t\rVert_2\le\eta NMt\le\eta NMT_0\le\frac{\eta NMT_0}{\ln\ln3}\ln\ln t\le\widehat{C}_r\ln\ln t. ∥ r t ∥ 2 ≤ v t 2 + ∥ r t ∥ 2 2 = ∥ w t ∥ 2 ≤ η N M t ≤ η N M T 0 ≤ ln ln 3 η N M T 0 ln ln t ≤ C r ln ln t .
Then we can choose C r = max { C ~ r , C ^ r } C_r=\max\{\widetilde{C}_r,\widehat{C}_r\} C r = max { C r , C r } , this proves the bound for every t ≥ 3 t\ge3 t ≥ 3 .
Proof of Theorem 3.1
Proof of Theorem 3.1. According to Lemma B.3, we have L A d v ( w t ) → 0 \mathcal{L}_{\mathrm{Adv}}(w_t)\to0 L Adv ( w t ) → 0 as t → ∞ t\to\infty t → ∞ . We also have
v t ≤ ∥ w t ∥ 2 = v t 2 + ∥ r t ∥ 2 2 ≤ v t + ∥ r t ∥ 2 . (108) v_t\le\lVert w_t\rVert_2=\sqrt{v_t^2+\lVert r_t\rVert_2^2}\le v_t+\lVert r_t\rVert_2. \tag*{(108)} v t ≤ ∥ w t ∥ 2 = v t 2 + ∥ r t ∥ 2 2 ≤ v t + ∥ r t ∥ 2 . (108)
Here v t > 0 v_t>0 v t > 0 . Subtracting v t v_t v t yields 0 ≤ ∥ w t ∥ 2 − v t ≤ ∥ r t ∥ 2 0\le\lVert w_t\rVert_2-v_t\le\lVert r_t\rVert_2 0 ≤ ∥ w t ∥ 2 − v t ≤ ∥ r t ∥ 2 . The normalized difference is
w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) = ( v t ∥ w t ∥ 2 − 1 ) u 2 , ∞ ( c ) + r t ∥ w t ∥ 2 . (109) \frac{w_t}{\lVert w_t\rVert_2}-u_{2,\infty}(c)=\left(\frac{v_t}{\lVert w_t\rVert_2}-1\right)u_{2,\infty}(c)+\frac{r_t}{\lVert w_t\rVert_2}. \tag*{(109)} ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) = ( ∥ w t ∥ 2 v t − 1 ) u 2 , ∞ ( c ) + ∥ w t ∥ 2 r t . (109)
Applying the triangle inequality and then the two lemmas,
∥ w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) ∥ 2 ≤ ∣ v t ∥ w t ∥ 2 − 1 ∣ ∥ u 2 , ∞ ( c ) ∥ 2 + ∥ r t ∥ 2 ∥ w t ∥ 2 = ∥ w t ∥ 2 − v t + ∥ r t ∥ 2 ∥ w t ∥ 2 ≤ 2 ∥ r t ∥ 2 v t ≤ 2 γ 2 , ∞ ( c ) C r ln ln t ln ( 1 + γ 2 , ∞ 2 ( c ) 2 t ) . (110) \left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-\mathbf{u}_{2,\infty}(c)\right\rVert_2
\le\left\lvert\frac{v_t}{\lVert\mathbf{w}_t\rVert_2}-1\right\rvert\lVert\mathbf{u}_{2,\infty}(c)\rVert_2+\frac{\lVert\mathbf{r}_t\rVert_2}{\lVert\mathbf{w}_t\rVert_2}
= \frac{\lVert\mathbf{w}_t\rVert_2-v_t+\lVert\mathbf{r}_t\rVert_2}{\lVert\mathbf{w}_t\rVert_2}
\le\frac{2\lVert\mathbf{r}_t\rVert_2}{v_t}
\le\frac{2\gamma_{2,\infty}(c)C_r\ln\ln t}{\ln\left(1+\frac{\gamma_{2,\infty}^2(c)}{2}t\right)}. \tag*{(110)} ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) 2 ≤ ∥ w t ∥ 2 v t − 1 ∥ u 2 , ∞ ( c ) ∥ 2 + ∥ w t ∥ 2 ∥ r t ∥ 2 = ∥ w t ∥ 2 ∥ w t ∥ 2 − v t + ∥ r t ∥ 2 ≤ v t 2 ∥ r t ∥ 2 ≤ ln ( 1 + 2 γ 2 , ∞ 2 ( c ) t ) 2 γ 2 , ∞ ( c ) C r ln ln t . (110)
where the last inequality comes from Proposition B.2 and Proposition B.11.
Moreover, we have
ln ( 1 + γ 2 , ∞ 2 ( c ) 2 t ) ≥ min { 1 , γ 2 , ∞ 2 ( c ) 2 } ln ( 1 + t ) = ln ( 1 + t ) C 1 ≥ ln t C 1 . (111) \ln\left(1+\frac{\gamma_{2,\infty}^2(c)}{2}t\right)\ge\min\left\{1,\frac{\gamma_{2,\infty}^2(c)}{2}\right\}\ln(1+t)=\frac{\ln(1+t)}{C_1}\ge\frac{\ln t}{C_1}. \tag*{(111)} ln ( 1 + 2 γ 2 , ∞ 2 ( c ) t ) ≥ min { 1 , 2 γ 2 , ∞ 2 ( c ) } ln ( 1 + t ) = C 1 ln ( 1 + t ) ≥ C 1 ln t . (111)
Since the denominator is positive, we have
∥ w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) ∥ 2 ≤ 2 γ 2 , ∞ ( c ) C 1 C r ln ln t ln t = O ( ln ln t ln t ) . \left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-\mathbf{u}_{2,\infty}(c)\right\rVert_2
\le2\gamma_{2,\infty}(c)C_1C_r\frac{\ln\ln t}{\ln t}
=O\left(\frac{\ln\ln t}{\ln t}\right). ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) 2 ≤ 2 γ 2 , ∞ ( c ) C 1 C r ln t ln ln t = O ( ln t ln ln t ) .
This finished the proof.
Proof of Proposition 3.2
Proposition B.12. Let d = N = 2 d=N=2 d = N = 2 , y 1 = y 2 = 1 y_1=y_2=1 y 1 = y 2 = 1 , and
c = 1 4 , x 1 = ( 1 2 , 1 4 ) , x 2 = ( 1 2 , 1 2 ) . c=\frac{1}{4},\qquad\mathbf{x}_1=\left(\frac{1}{2},\frac{1}{4}\right),\qquad\mathbf{x}_2=\left(\frac{1}{2},\frac{1}{2}\right). c = 4 1 , x 1 = ( 2 1 , 4 1 ) , x 2 = ( 2 1 , 2 1 ) . This dataset is robustly linearly separable, with w ^ ( c ) = ( 4 , 0 ) \hat{\mathbf{w}}(c)=(4,0) w ^ ( c ) = ( 4 , 0 ) , u 2 , ∞ ( c ) = ( 1 , 0 ) \mathbf{u}_{2,\infty}(c)=(1,0) u 2 , ∞ ( c ) = ( 1 , 0 ) , and γ 2 , ∞ ( c ) = 1 / 4 \gamma_{2,\infty}(c)=1/4 γ 2 , ∞ ( c ) = 1/4 . For every fixed η > 0 \eta>0 η > 0 , the iteration from w 0 = 0 \mathbf{w}_0=0 w 0 = 0 satisfies
lim t → ∞ ln t ln ln t ∥ w t ∥ w t ∥ 2 − u 2 , ∞ ( c ) ∥ 2 = 1. \lim_{t\to\infty}\frac{\ln t}{\ln\ln t}\left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-\mathbf{u}_{2,\infty}(c)\right\rVert_2=1. t → ∞ lim ln ln t ln t ∥ w t ∥ 2 w t − u 2 , ∞ ( c ) 2 = 1.
Proof. Recall that γ ∞ = max ∥ w ∥ 1 = 1 min i = 1 , 2 x i T w \gamma_\infty=\max_{\lVert\mathbf{w}\rVert_1=1}\min_{i=1,2}\mathbf{x}_i^{\mathsf T}\mathbf{w} γ ∞ = max ∥ w ∥ 1 = 1 min i = 1 , 2 x i T w . For any w = ( w 1 , w 2 ) \mathbf{w}=(w_1,w_2) w = ( w 1 , w 2 ) with ∥ w ∥ 1 = 1 \lVert\mathbf{w}\rVert_1=1 ∥ w ∥ 1 = 1 , we have
min i = 1 , 2 x i T w ≤ x 1 T w = 1 2 w 1 + 1 4 w 2 ≤ 1 2 ∣ w 1 ∣ + 1 4 ∣ w 2 ∣ ≤ 1 2 ( ∣ w 1 ∣ + ∣ w 2 ∣ ) = 1 2 . \min_{i=1,2}\mathbf{x}_i^{\mathsf T}\mathbf{w}\le\mathbf{x}_1^{\mathsf T}\mathbf{w}=\frac{1}{2}w_1+\frac{1}{4}w_2\le\frac{1}{2}|w_1|+\frac{1}{4}|w_2|\le\frac{1}{2}(|w_1|+|w_2|)=\frac{1}{2}. i = 1 , 2 min x i T w ≤ x 1 T w = 2 1 w 1 + 4 1 w 2 ≤ 2 1 ∣ w 1 ∣ + 4 1 ∣ w 2 ∣ ≤ 2 1 ( ∣ w 1 ∣ + ∣ w 2 ∣ ) = 2 1 .
Taking the maximum over all such w \mathbf{w} w gives γ ∞ ≤ 1 / 2 \gamma_\infty\le1/2 γ ∞ ≤ 1/2 . Conversely, the vector w = ( 1 , 0 ) \mathbf{w}=(1,0) w = ( 1 , 0 ) satisfies ∥ w ∥ 1 = 1 \lVert\mathbf{w}\rVert_1=1 ∥ w ∥ 1 = 1 and we have
x 1 T w = x 2 T w = 1 2 , \mathbf{x}_1^{\mathsf T}\mathbf{w}=\mathbf{x}_2^{\mathsf T}\mathbf{w}=\frac{1}{2}, x 1 T w = x 2 T w = 2 1 ,
hence γ ∞ ≥ 1 / 2 \gamma_\infty\ge1/2 γ ∞ ≥ 1/2 . Combining the two bounds yields γ ∞ = 1 / 2 > c = 1 / 4 \gamma_\infty=1/2>c=1/4 γ ∞ = 1/2 > c = 1/4 , thus according to Lemma A.1 , we have the proposed data set is robustly linearly separable.
According to the definition, every solution of (ℓ ∞ \ell_\infty ℓ ∞ -Robust SVM) satisfies
1 ≤ min ∥ δ i ∥ ∞ ≤ c ⟨ x i + δ i , w ⟩ = ⟨ x i , w ⟩ − c ∥ w ∥ 1 , 1\le\min_{\lVert\boldsymbol{\delta}_i\rVert_\infty\le c}\langle\mathbf{x}_i+\boldsymbol{\delta}_i,\mathbf{w}\rangle=\langle\mathbf{x}_i,\mathbf{w}\rangle-c\lVert\mathbf{w}\rVert_1, 1 ≤ ∥ δ i ∥ ∞ ≤ c min ⟨ x i + δ i , w ⟩ = ⟨ x i , w ⟩ − c ∥ w ∥ 1 ,
take x 1 \mathbf{x}_1 x 1 into above, we get
1 ≤ 1 2 w 1 + 1 4 w 2 − 1 4 ( ∣ w 1 ∣ + ∣ w 2 ∣ ) = 1 4 w 1 + 1 4 ( w 1 − ∣ w 1 ∣ ) + 1 4 ( w 2 − ∣ w 2 ∣ ) ≤ 1 4 w 1 . 1\le\frac{1}{2}w_1+\frac{1}{4}w_2-\frac{1}{4}(|w_1|+|w_2|)=\frac{1}{4}w_1+\frac{1}{4}(w_1-|w_1|)+\frac{1}{4}(w_2-|w_2|)\le\frac{1}{4}w_1. 1 ≤ 2 1 w 1 + 4 1 w 2 − 4 1 ( ∣ w 1 ∣ + ∣ w 2 ∣ ) = 4 1 w 1 + 4 1 ( w 1 − ∣ w 1 ∣ ) + 4 1 ( w 2 − ∣ w 2 ∣ ) ≤ 4 1 w 1 .
Hence, for any solution w \mathbf{w} w of (ℓ ∞ \ell_{\infty} ℓ ∞ -Robust SVM), we need w 1 ≥ 4 w_1 \ge4 w 1 ≥ 4 and ∥ w ∥ 2 2 = w 1 2 + w 2 2 ≥ 16 \lVert\mathbf{w}\rVert_2^2 = w_1^2 + w_2^2 \ge16 ∥ w ∥ 2 2 = w 1 2 + w 2 2 ≥ 16 . On the other side, for the vector w = ( 4 , 0 ) \mathbf{w} = (4,0) w = ( 4 , 0 ) , we have:
⟨ x 1 , w ⟩ − c ∥ w ∥ 1 = ⟨ ( 1 2 , 1 4 ) , ( 4 , 0 ) ⟩ − 1 4 ∥ ( 4 , 0 ) ∥ 1 = 1 , \langle\mathbf{x}_1,\mathbf{w}\rangle-c\lVert\mathbf{w}\rVert_1
=\left\langle\left(\frac{1}{2},\frac{1}{4}\right),(4,0)\right\rangle-\frac{1}{4}\lVert(4,0)\rVert_1=1, ⟨ x 1 , w ⟩ − c ∥ w ∥ 1 = ⟨ ( 2 1 , 4 1 ) , ( 4 , 0 ) ⟩ − 4 1 ∥( 4 , 0 ) ∥ 1 = 1 ,
⟨ x 2 , w ⟩ − c ∥ w ∥ 1 = ⟨ ( 1 2 , 1 2 ) , ( 4 , 0 ) ⟩ − 1 4 ∥ ( 4 , 0 ) ∥ 1 = 1. \langle\mathbf{x}_2,\mathbf{w}\rangle-c\lVert\mathbf{w}\rVert_1
=\left\langle\left(\frac{1}{2},\frac{1}{2}\right),(4,0)\right\rangle-\frac{1}{4}\lVert(4,0)\rVert_1=1. ⟨ x 2 , w ⟩ − c ∥ w ∥ 1 = ⟨ ( 2 1 , 2 1 ) , ( 4 , 0 ) ⟩ − 4 1 ∥( 4 , 0 ) ∥ 1 = 1.
Thus for this data set, the solution of (ℓ ∞ \ell_{\infty} ℓ ∞ -Robust SVM) is unique, and we have
w ^ ( c ) = ( 4 , 0 ) , u 2 , ∞ ( c ) = ( 4 , 0 ) 4 = ( 1 , 0 ) , γ 2 , ∞ ( c ) = 1 4 , S ( c ) = { 1 , 2 } . \widehat{\mathbf{w}}(c)=(4,0),\qquad\mathbf{u}_{2,\infty}(c)=\frac{(4,0)}{4}=(1,0),\qquad\gamma_{2,\infty}(c)=\frac{1}{4},\qquad S(c)=\{1,2\}. w ( c ) = ( 4 , 0 ) , u 2 , ∞ ( c ) = 4 ( 4 , 0 ) = ( 1 , 0 ) , γ 2 , ∞ ( c ) = 4 1 , S ( c ) = { 1 , 2 } .
Let s ∗ = ( s 1 ∗ , s 2 ∗ ) ∈ ∂ ∥ w ^ ( c ) ∥ 1 \mathbf{s}^*=(s_1^*,s_2^*)\in\partial\lVert\widehat{\mathbf{w}}(c)\rVert_1 s ∗ = ( s 1 ∗ , s 2 ∗ ) ∈ ∂ ∥ w ( c ) ∥ 1 . By Proposition A.3 , there exist α 1 , α 2 ≥ 0 \alpha_1,\alpha_2\ge0 α 1 , α 2 ≥ 0 and s ∗ ∈ ∂ ∥ w ^ ( c ) ∥ 1 \mathbf{s}^*\in\partial\lVert\widehat{\mathbf{w}}(c)\rVert_1 s ∗ ∈ ∂ ∥ w ( c ) ∥ 1 such that
w ^ ( c ) = α 1 ( x 1 − c s ∗ ) + α 2 ( x 2 − c s ∗ ) . \widehat{\mathbf{w}}(c)=\alpha_1(\mathbf{x}_1-c\mathbf{s}^*)+\alpha_2(\mathbf{x}_2-c\mathbf{s}^*). w ( c ) = α 1 ( x 1 − c s ∗ ) + α 2 ( x 2 − c s ∗ ) .
Since w ^ ( c ) = ( 4 , 0 ) \widehat{\mathbf{w}}(c)=(4,0) w ( c ) = ( 4 , 0 ) , we have s 1 ∗ = 1 s_1^*=1 s 1 ∗ = 1 and s 2 ∗ ∈ [ − 1 , 1 ] s_2^*\in[-1,1] s 2 ∗ ∈ [ − 1 , 1 ] , which gives
4 = α 1 ( 1 2 − 1 4 ) + α 2 ( 1 2 − 1 4 ) = 1 4 ( α 1 + α 2 ) , 4=\alpha_1\left(\frac{1}{2}-\frac{1}{4}\right)+\alpha_2\left(\frac{1}{2}-\frac{1}{4}\right)=\frac{1}{4}(\alpha_1+\alpha_2), 4 = α 1 ( 2 1 − 4 1 ) + α 2 ( 2 1 − 4 1 ) = 4 1 ( α 1 + α 2 ) ,
0 = α 1 ( 1 4 − 1 4 s 2 ∗ ) + α 2 ( 1 2 − 1 4 s 2 ∗ ) = 1 − s 2 ∗ 4 ( α 1 + α 2 ) + 1 4 α 2 ≥ 1 4 α 2 ≥ 0. (112) 0=\alpha_1\left(\frac{1}{4}-\frac{1}{4}s_2^*\right)+\alpha_2\left(\frac{1}{2}-\frac{1}{4}s_2^*\right)=\frac{1-s_2^*}{4}(\alpha_1+\alpha_2)+\frac{1}{4}\alpha_2\ge\frac{1}{4}\alpha_2\ge0. \tag*{(112)} 0 = α 1 ( 4 1 − 4 1 s 2 ∗ ) + α 2 ( 2 1 − 4 1 s 2 ∗ ) = 4 1 − s 2 ∗ ( α 1 + α 2 ) + 4 1 α 2 ≥ 4 1 α 2 ≥ 0. (112)
It follows that
α 1 = 16 , α 2 = 0 , and s 2 ∗ = 1. \alpha_1=16,\qquad\alpha_2=0,\qquad\text{and}\qquad s_2^*=1. α 1 = 16 , α 2 = 0 , and s 2 ∗ = 1.
Consequently, we have
z 1 ( c ) = x 1 − c s ∗ = ( 1 2 , 1 4 ) − 1 4 ( 1 , 1 ) = ( 1 4 , 0 ) , z 2 ( c ) = x 2 − c s ∗ = ( 1 2 , 1 2 ) − 1 4 ( 1 , 1 ) = ( 1 4 , 1 4 ) . (113) \mathbf{z}_1(c)=\mathbf{x}_1-c\mathbf{s}^*=\left(\frac{1}{2},\frac{1}{4}\right)-\frac{1}{4}(1,1)=\left(\frac{1}{4},0\right),\qquad
\mathbf{z}_2(c)=\mathbf{x}_2-c\mathbf{s}^*=\left(\frac{1}{2},\frac{1}{2}\right)-\frac{1}{4}(1,1)=\left(\frac{1}{4},\frac{1}{4}\right). \tag*{(113)} z 1 ( c ) = x 1 − c s ∗ = ( 2 1 , 4 1 ) − 4 1 ( 1 , 1 ) = ( 4 1 , 0 ) , z 2 ( c ) = x 2 − c s ∗ = ( 2 1 , 2 1 ) − 4 1 ( 1 , 1 ) = ( 4 1 , 4 1 ) . (113)
At w 0 = 0 \mathbf{w}_0=0 w 0 = 0 , recall from the definition of λ i , t \lambda_{i,t} λ i , t in (8) , we have λ 1 , 0 = λ 2 , 0 = 1 / 2 \lambda_{1,0}=\lambda_{2,0}=1/2 λ 1 , 0 = λ 2 , 0 = 1/2 . We choose s 0 = 0 \mathbf{s}_0=0 s 0 = 0 , which belongs to ∂ ∥ w 0 ∥ 1 = [ − 1 , 1 ] 2 \partial\lVert\mathbf{w}_0\rVert_1=[-1,1]^2 ∂ ∥ w 0 ∥ 1 = [ − 1 , 1 ] 2 . The first update is then
w 1 = η 2 ( x 1 + x 2 ) = η 2 ( 1 , 3 4 ) = ( η 2 , 3 η 8 ) . \mathbf{w}_1=\frac{\eta}{2}(\mathbf{x}_1+\mathbf{x}_2)=\frac{\eta}{2}\left(1,\frac{3}{4}\right)=\left(\frac{\eta}{2},\frac{3\eta}{8}\right). w 1 = 2 η ( x 1 + x 2 ) = 2 η ( 1 , 4 3 ) = ( 2 η , 8 3 η ) .
Both coordinates are positive. Whenever w t \mathbf{w}_t w t has positive coordinates, its norm subgradient is ( 1 , 1 ) (1,1) ( 1 , 1 ) , and the update adds positive multiples of ( 1 / 4 , 0 ) (1/4,0) ( 1/4 , 0 ) and ( 1 / 4 , 1 / 4 ) (1/4,1/4) ( 1/4 , 1/4 ) . Induction shows that both coordinates remain positive for all t ≥ 1 t\ge1 t ≥ 1 . Therefore v t = w t , 1 v_t=w_{t,1} v t = w t , 1 , r t = ( 0 , w t , 2 ) \mathbf{r}_t=(0,w_{t,2}) r t = ( 0 , w t , 2 ) , and
x 1 T w t − c ∥ w t ∥ 1 = 1 2 v t + 1 4 w t , 2 − 1 4 ( v t + w t , 2 ) = v t 4 , \mathbf{x}_1^{\mathsf{T}}\mathbf{w}_t-c\lVert\mathbf{w}_t\rVert_1
=\frac{1}{2}v_t+\frac{1}{4}w_{t,2}-\frac{1}{4}(v_t+w_{t,2})
=\frac{v_t}{4}, x 1 T w t − c ∥ w t ∥ 1 = 2 1 v t + 4 1 w t , 2 − 4 1 ( v t + w t , 2 ) = 4 v t ,
x 2 T w t − c ∥ w t ∥ 1 = 1 2 v t + 1 2 w t , 2 − 1 4 ( v t + w t , 2 ) = v t + w t , 2 4 . (114) \mathbf{x}_2^{\mathsf{T}}\mathbf{w}_t-c\lVert\mathbf{w}_t\rVert_1
=\frac{1}{2}v_t+\frac{1}{2}w_{t,2}-\frac{1}{4}(v_t+w_{t,2})
=\frac{v_t+w_{t,2}}{4}. \tag*{(114)} x 2 T w t − c ∥ w t ∥ 1 = 2 1 v t + 2 1 w t , 2 − 4 1 ( v t + w t , 2 ) = 4 v t + w t , 2 . (114)
Substitution into the update gives, for t ≥ 1 t\ge1 t ≥ 1 , we get
λ 1 , t = 1 1 + e v t / 4 , λ 2 , t = 1 1 + e ( v t + w t , 2 ) / 4 , v t + 1 − v t = η 4 ( λ 1 , t + λ 2 , t ) , w t + 1 , 2 − w t , 2 = η 4 λ 2 , t . (115) \lambda_{1,t}=\frac{1}{1+e^{v_t/4}},\qquad
\lambda_{2,t}=\frac{1}{1+e^{(v_t+w_{t,2})/4}},\qquad
v_{t+1}-v_t=\frac{\eta}{4}(\lambda_{1,t}+\lambda_{2,t}),\qquad
w_{t+1,2}-w_{t,2}=\frac{\eta}{4}\lambda_{2,t}. \tag*{(115)} λ 1 , t = 1 + e v t /4 1 , λ 2 , t = 1 + e ( v t + w t , 2 ) /4 1 , v t + 1 − v t = 4 η ( λ 1 , t + λ 2 , t ) , w t + 1 , 2 − w t , 2 = 4 η λ 2 , t . (115)
For x ≥ 0 x\ge0 x ≥ 0 , 0 < e − x ≤ 1 0<e^{-x}\le1 0 < e − x ≤ 1 implies
1 2 e − x ≤ 1 1 + e x ≤ e − x , and 1 1 + e x ≤ 1 2 . (116) \frac{1}{2}e^{-x}\le\frac{1}{1+e^x}\le e^{-x},\qquad\text{and}\qquad
\frac{1}{1+e^x}\le\frac{1}{2}. \tag*{(116)} 2 1 e − x ≤ 1 + e x 1 ≤ e − x , and 1 + e x 1 ≤ 2 1 . (116)
Since w t , 2 > 0 w_{t,2}>0 w t , 2 > 0 , we have 0 < λ 2 , t ≤ λ 1 , t ≤ 1 / 2 0<\lambda_{2,t}\le\lambda_{1,t}\le1/2 0 < λ 2 , t ≤ λ 1 , t ≤ 1/2 . It follows that
v t + 1 − v t 4 = ( 108 ) η 16 ( λ 1 , t + λ 2 , t ) ≥ η 16 λ 1 , t ≥ ( 109 ) η 32 e − v t / 4 , v t + 1 − v t 4 ≤ η 16 ( 2 λ 1 , t ) ≤ ( 109 ) η 8 e − v t / 4 . (117) \frac{v_{t+1}-v_t}{4}
\mathrel{\overset{(108)}{=}}\frac{\eta}{16}(\lambda_{1,t}+\lambda_{2,t})
\ge\frac{\eta}{16}\lambda_{1,t}
\mathrel{\overset{(109)}{\ge}}\frac{\eta}{32}e^{-v_t/4},
\qquad
\frac{v_{t+1}-v_t}{4}
\le\frac{\eta}{16}(2\lambda_{1,t})
\mathrel{\overset{(109)}{\le}}\frac{\eta}{8}e^{-v_t/4}. \tag*{(117)} 4 v t + 1 − v t = ( 108 ) 16 η ( λ 1 , t + λ 2 , t ) ≥ 16 η λ 1 , t ≥ ( 109 ) 32 η e − v t /4 , 4 v t + 1 − v t ≤ 16 η ( 2 λ 1 , t ) ≤ ( 109 ) 8 η e − v t /4 . (117)
and
0 < v t + 1 − v t 4 ≤ η 16 ( 1 2 + 1 2 ) = η 16 . (118) 0 < \frac{v_{t+1}-v_t}{4} \le\frac{\eta}{16}\left(\frac{1}{2}+\frac{1}{2}\right)=\frac{\eta}{16}. \tag*{(118)} 0 < 4 v t + 1 − v t ≤ 16 η ( 2 1 + 2 1 ) = 16 η . (118)
Using the fact that x e x > x xe^x>x x e x > x for x > 0 x>0 x > 0 , we have
e v t + 1 / 4 − e v t / 4 = e v t / 4 ( e ( v t + 1 − v t ) / 4 − 1 ) ≥ e v t / 4 ( v t + 1 − v t 4 ) ≥ η 32 . (119) e^{v_{t+1}/4}-e^{v_t/4}=e^{v_t/4}\left(e^{(v_{t+1}-v_t)/4}-1\right)\ge e^{v_t/4}\left(\frac{v_{t+1}-v_t}{4}\right)\ge\frac{\eta}{32}. \tag*{(119)} e v t + 1 /4 − e v t /4 = e v t /4 ( e ( v t + 1 − v t ) /4 − 1 ) ≥ e v t /4 ( 4 v t + 1 − v t ) ≥ 32 η . (119)
e v t + 1 / 4 − e v t / 4 ≤ e v t / 4 ( v t + 1 − v t 4 ) e ( v t + 1 − v t ) / 4 ≤ η 8 e η / 16 . (120) e^{v_{t+1}/4}-e^{v_t/4}\le e^{v_t/4}\left(\frac{v_{t+1}-v_t}{4}\right)e^{(v_{t+1}-v_t)/4}\le\frac{\eta}{8}e^{\eta/16}. \tag*{(120)} e v t + 1 /4 − e v t /4 ≤ e v t /4 ( 4 v t + 1 − v t ) e ( v t + 1 − v t ) /4 ≤ 8 η e η /16 . (120)
Since v 1 = η / 2 v_1=\eta/2 v 1 = η /2 , we have
e v t / 4 = e v 1 / 4 + ∑ s = 1 t − 1 ( e v s + 1 / 4 − e v s / 4 ) , e η / 8 + η 32 ( t − 1 ) ≤ e v t / 4 ≤ e η / 8 + η 8 e η / 16 ( t − 1 ) . (121) e^{v_t/4}=e^{v_1/4}+\sum_{s=1}^{t-1}\left(e^{v_{s+1}/4}-e^{v_s/4}\right),\qquad e^{\eta/8}+\frac{\eta}{32}(t-1)\le e^{v_t/4}\le e^{\eta/8}+\frac{\eta}{8}e^{\eta/16}(t-1). \tag*{(121)} e v t /4 = e v 1 /4 + s = 1 ∑ t − 1 ( e v s + 1 /4 − e v s /4 ) , e η /8 + 32 η ( t − 1 ) ≤ e v t /4 ≤ e η /8 + 8 η e η /16 ( t − 1 ) . (121)
Let C 12 = min { e η / 8 , η / 32 } C_{12}=\min\{e^{\eta/8},\eta/32\} C 12 = min { e η /8 , η /32 } and C 13 = max { e η / 8 , ( η / 8 ) e η / 16 } C_{13}=\max\{e^{\eta/8},(\eta/8)e^{\eta/16}\} C 13 = max { e η /8 , ( η /8 ) e η /16 } , then we have
e η / 8 + η 32 ( t − 1 ) ≥ C 12 t , e η / 8 + η 8 e η / 16 ( t − 1 ) ≤ C 13 t . (122) e^{\eta/8}+\frac{\eta}{32}(t-1)\ge C_{12}t,\qquad e^{\eta/8}+\frac{\eta}{8}e^{\eta/16}(t-1)\le C_{13}t. \tag*{(122)} e η /8 + 32 η ( t − 1 ) ≥ C 12 t , e η /8 + 8 η e η /16 ( t − 1 ) ≤ C 13 t . (122)
Thus we have
C 12 t ≤ e v t / 4 ≤ C 13 t , ln C 12 + ln t ≤ v t 4 ≤ ln C 13 + ln t , 4 ln C 12 ≤ v t − 4 ln t ≤ 4 ln C 13 . (123) C_{12}t\le e^{v_t/4}\le C_{13}t,\qquad\ln C_{12}+\ln t\le\frac{v_t}{4}\le\ln C_{13}+\ln t,\qquad4\ln C_{12}\le v_t-4\ln t\le4\ln C_{13}. \tag*{(123)} C 12 t ≤ e v t /4 ≤ C 13 t , ln C 12 + ln t ≤ 4 v t ≤ ln C 13 + ln t , 4 ln C 12 ≤ v t − 4 ln t ≤ 4 ln C 13 . (123)
Reciprocation of the first inequality in (123) gives
1 C 13 t ≤ e − v t / 4 ≤ 1 C 12 t . (124) \frac{1}{C_{13}t}\le e^{-v_t/4}\le\frac{1}{C_{12}t}. \tag*{(124)} C 13 t 1 ≤ e − v t /4 ≤ C 12 t 1 . (124)
For the second coordinate, we have
w t + 1 , 2 − w t , 2 4 = η 16 λ 2 , t ≥ η 32 e − ( v t + w t , 2 ) / 4 , \frac{w_{t+1,2}-w_{t,2}}{4}=\frac{\eta}{16}\lambda_{2,t}\ge\frac{\eta}{32}e^{-(v_t+w_{t,2})/4}, 4 w t + 1 , 2 − w t , 2 = 16 η λ 2 , t ≥ 32 η e − ( v t + w t , 2 ) /4 ,
w t + 1 , 2 − w t , 2 4 ≤ η 16 e − ( v t + w t , 2 ) / 4 , 0 < w t + 1 , 2 − w t , 2 4 ≤ η 32 . (125) \frac{w_{t+1,2}-w_{t,2}}{4}\le\frac{\eta}{16}e^{-(v_t+w_{t,2})/4},\qquad0<\frac{w_{t+1,2}-w_{t,2}}{4}\le\frac{\eta}{32}. \tag*{(125)} 4 w t + 1 , 2 − w t , 2 ≤ 16 η e − ( v t + w t , 2 ) /4 , 0 < 4 w t + 1 , 2 − w t , 2 ≤ 32 η . (125)
Applying x ≤ e x − 1 ≤ x e x x\le e^x-1\le xe^x x ≤ e x − 1 ≤ x e x , we get
e w t + 1 , 2 / 4 − e w t , 2 / 4 = e w t , 2 / 4 ( e ( w t + 1 , 2 − w t , 2 ) / 4 − 1 ) ≥ e w t , 2 / 4 w t + 1 , 2 − w t , 2 4 ≥ η 32 e − v t / 4 , (126) e^{w_{t+1,2}/4}-e^{w_{t,2}/4}=e^{w_{t,2}/4}\left(e^{(w_{t+1,2}-w_{t,2})/4}-1\right)\ge e^{w_{t,2}/4}\frac{w_{t+1,2}-w_{t,2}}{4}\ge\frac{\eta}{32}e^{-v_t/4}, \tag*{(126)} e w t + 1 , 2 /4 − e w t , 2 /4 = e w t , 2 /4 ( e ( w t + 1 , 2 − w t , 2 ) /4 − 1 ) ≥ e w t , 2 /4 4 w t + 1 , 2 − w t , 2 ≥ 32 η e − v t /4 , (126)
e w t + 1 , 2 / 4 − e w t , 2 / 4 ≤ e w t , 2 / 4 w t + 1 , 2 − w t , 2 4 e ( w t + 1 , 2 − w t , 2 ) / 4 ≤ η 16 e η / 32 e − v t / 4 . (127) e^{w_{t+1,2}/4}-e^{w_{t,2}/4}\le e^{w_{t,2}/4}\frac{w_{t+1,2}-w_{t,2}}{4}e^{(w_{t+1,2}-w_{t,2})/4}\le\frac{\eta}{16}e^{\eta/32}e^{-v_t/4}. \tag*{(127)} e w t + 1 , 2 /4 − e w t , 2 /4 ≤ e w t , 2 /4 4 w t + 1 , 2 − w t , 2 e ( w t + 1 , 2 − w t , 2 ) /4 ≤ 16 η e η /32 e − v t /4 . (127)
The reciprocal bounds therefore imply
η 32 C 13 t ≤ η 32 e − v t / 4 ≤ e w t + 1 , 2 / 4 − e w t , 2 / 4 ≤ η 16 e η / 32 e − v t / 4 ≤ η e η / 32 16 C 12 t . (128) \frac{\eta}{32C_{13}t}\le\frac{\eta}{32}e^{-v_t/4}\le e^{w_{t+1,2}/4}-e^{w_{t,2}/4}\le\frac{\eta}{16}e^{\eta/32}e^{-v_t/4}\le\frac{\eta e^{\eta/32}}{16C_{12}t}. \tag*{(128)} 32 C 13 t η ≤ 32 η e − v t /4 ≤ e w t + 1 , 2 /4 − e w t , 2 /4 ≤ 16 η e η /32 e − v t /4 ≤ 16 C 12 t η e η /32 . (128)
Summing from s = 1 s=1 s = 1 to t − 1 t-1 t − 1 , and using w 1 , 2 = 3 η / 8 w_{1,2}=3\eta/8 w 1 , 2 = 3 η /8 ,
e w t , 2 / 4 − e 3 η / 32 = ∑ s = 1 t − 1 ( e w s + 1 , 2 / 4 − e w s , 2 / 4 ) , e^{w_{t,2}/4}-e^{3\eta/32}=\sum_{s=1}^{t-1}\left(e^{w_{s+1,2}/4}-e^{w_{s,2}/4}\right), e w t , 2 /4 − e 3 η /32 = s = 1 ∑ t − 1 ( e w s + 1 , 2 /4 − e w s , 2 /4 ) ,
which implies
η 32 C 13 ∑ s = 1 t − 1 1 s ≤ e w t , 2 / 4 − e 3 η / 32 ≤ η e η / 32 16 C 12 ∑ s = 1 t − 1 1 s . (129) \frac{\eta}{32C_{13}}\sum_{s=1}^{t-1}\frac{1}{s}\le e^{w_{t,2}/4}-e^{3\eta/32}\le\frac{\eta e^{\eta/32}}{16C_{12}}\sum_{s=1}^{t-1}\frac{1}{s}. \tag*{(129)} 32 C 13 η s = 1 ∑ t − 1 s 1 ≤ e w t , 2 /4 − e 3 η /32 ≤ 16 C 12 η e η /32 s = 1 ∑ t − 1 s 1 . (129)
For t ≥ 2 t \ge2 t ≥ 2 , using the inequality ln t ≤ ∑ s = 1 t − 1 1 / s ≤ 1 + ln t \ln t \le\sum_{s=1}^{t-1} 1/s \le1+\ln t ln t ≤ ∑ s = 1 t − 1 1/ s ≤ 1 + ln t , we get
η 32 C 13 ln t ≤ e w t , 2 / 4 − e 3 η / 32 ≤ η e η / 32 16 C 12 ( 1 + ln t ) . (130) \frac{\eta}{32C_{13}}\ln t \le e^{w_{t,2}/4}-e^{3\eta/32} \le\frac{\eta e^{\eta/32}}{16C_{12}}(1+\ln t). \tag*{(130)} 32 C 13 η ln t ≤ e w t , 2 /4 − e 3 η /32 ≤ 16 C 12 η e η /32 ( 1 + ln t ) . (130)
Define
C 14 = η 32 C 13 , C 15 = e 3 η / 32 ln 2 + η e η / 32 16 C 12 ( 1 + 1 ln 2 ) . (131) C_{14}=\frac{\eta}{32C_{13}},\qquad C_{15}=\frac{e^{3\eta/32}}{\ln2}+\frac{\eta e^{\eta/32}}{16C_{12}}\left(1+\frac{1}{\ln2}\right). \tag*{(131)} C 14 = 32 C 13 η , C 15 = ln 2 e 3 η /32 + 16 C 12 η e η /32 ( 1 + ln 2 1 ) . (131)
We have
C 14 ln t ≤ e w t , 2 / 4 ≤ [ e 3 η / 32 ln 2 + η e η / 32 16 C 12 ( 1 ln 2 + 1 ) ] ln t = C 15 ln t . (132) C_{14}\ln t \le e^{w_{t,2}/4} \le\left[\frac{e^{3\eta/32}}{\ln2}+\frac{\eta e^{\eta/32}}{16C_{12}}\left(\frac{1}{\ln2}+1\right)\right]\ln t = C_{15}\ln t. \tag*{(132)} C 14 ln t ≤ e w t , 2 /4 ≤ [ ln 2 e 3 η /32 + 16 C 12 η e η /32 ( ln 2 1 + 1 ) ] ln t = C 15 ln t . (132)
Taking logarithms of above, we get
4 ln C 14 ≤ w t , 2 − 4 ln ln t ≤ 4 ln C 15 . (133) 4\ln C_{14} \le w_{t,2}-4\ln\ln t \le4\ln C_{15}. \tag*{(133)} 4 ln C 14 ≤ w t , 2 − 4 ln ln t ≤ 4 ln C 15 . (133)
Since these constants depend only on η \eta η , in conclusion, we get
v t = 4 ln t + O η ( 1 ) , ∥ r t ∥ 2 = w t , 2 = 4 ln ln t + O η ( 1 ) . (134) v_t = 4\ln t+O_{\eta}(1),\qquad\lVert r_t\rVert_2 = w_{t,2}=4\ln\ln t+O_{\eta}(1). \tag*{(134)} v t = 4 ln t + O η ( 1 ) , ∥ r t ∥ 2 = w t , 2 = 4 ln ln t + O η ( 1 ) . (134)
Finally, compute the implicit bias error explicitly gives
∥ w t ∥ w t ∥ 2 − ( 1 , 0 ) ∥ 2 2 = ( v t v t 2 + w t , 2 2 − 1 ) 2 + ( w t , 2 v t 2 + w t , 2 2 ) 2 = 2 − 2 1 + ( w t , 2 / v t ) 2 . (135) \left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-(1,0)\right\rVert_2^2
=
\left(\frac{v_t}{\sqrt{v_t^2+w_{t,2}^2}}-1\right)^2
+
\left(\frac{w_{t,2}}{\sqrt{v_t^2+w_{t,2}^2}}\right)^2
=
2-\frac{2}{\sqrt{1+(w_{t,2}/v_t)^2}}. \tag*{(135)} ∥ w t ∥ 2 w t − ( 1 , 0 ) 2 2 = v t 2 + w t , 2 2 v t − 1 2 + v t 2 + w t , 2 2 w t , 2 2 = 2 − 1 + ( w t , 2 / v t ) 2 2 . (135)
Taking (135) into the calculation, we get
ln t ln ln t ∥ w t ∥ w t ∥ 2 − ( 1 , 0 ) ∥ 2 = ∥ w t ∥ w t ∥ 2 − ( 1 , 0 ) ∥ 2 w t , 2 / v t w t , 2 / ln ln t v t / ln t → 1 , \frac{\ln t}{\ln\ln t}\left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-(1,0)\right\rVert_2
=
\frac{\left\lVert\frac{\mathbf{w}_t}{\lVert\mathbf{w}_t\rVert_2}-(1,0)\right\rVert_2}{w_{t,2}/v_t}
\frac{w_{t,2}/\ln\ln t}{v_t/\ln t}
\to1, ln ln t ln t ∥ w t ∥ 2 w t − ( 1 , 0 ) 2 = w t , 2 / v t ∥ w t ∥ 2 w t − ( 1 , 0 ) 2 v t / ln t w t , 2 / ln ln t → 1 ,
as t → ∞ t\to\infty t → ∞ . This finished the proof.
Proofs in Section 4
Proof of Theorem 4.2
We first prove the no acceleration by large step sizes part of Theorem 4.2 .
Proof. We establish the lower bound for gradient descent with w 0 = 0 \mathbf{w}_0 = 0 w 0 = 0 , which already suffices to rule out a general acceleration guarantee. For an integer time budget T T T , let q = 4 T 2 q = 4T^2 q = 4 T 2 and d T = q 2 + 1 = 16 T 4 + 1 d_T = q^2 + 1 = 16T^4 + 1 d T = q 2 + 1 = 16 T 4 + 1 . Define the one-sample data set
D T = { ( x , 1 ) } , x = ( 2 , q − 1 , … , q − 1 ⏟ q 2 coordinates ) ∈ R d T . \mathcal{D}_T = \{(\mathbf{x},1)\}, \qquad\mathbf{x} = \left(2,\underbrace{q^{-1},\ldots,q^{-1}}_{q^2\ \text{coordinates}}\right) \in\mathbb{R}^{d_T}. D T = {( x , 1 )} , x = 2 , q 2 coordinates q − 1 , … , q − 1 ∈ R d T .
Note that this data set depends only on T T T , and we have ∥ x ∥ 2 = 5 \lVert\mathbf{x}\rVert_2 = \sqrt{5} ∥ x ∥ 2 = 5 . Fix any adversarial radius 0 < c < 2 0 < c < 2 0 < c < 2 such that T > 64 / c T > 64/c T > 64/ c , and any η > 0 \eta> 0 η > 0 . Since c q = 4 c T 2 > 256 T cq = 4cT^2 > 256T c q = 4 c T 2 > 256 T , we have q − 1 < c q^{-1} < c q − 1 < c . Lemma A.2 therefore gives
γ 2 , ∞ ( c ) = 2 − c > 0 and u 2 , ∞ ( c ) = ( 1 , 0 , … , 0 ) . \gamma_{2,\infty}(c) = 2-c > 0 \qquad\text{and} \qquad\mathbf{u}_{2,\infty}(c) = (1,0,\ldots,0). γ 2 , ∞ ( c ) = 2 − c > 0 and u 2 , ∞ ( c ) = ( 1 , 0 , … , 0 ) .
In particular, D T \mathcal{D}_T D T is robustly separable under ℓ ∞ \ell_\infty ℓ ∞ adversarial attack with radius c c c .
For data set D T \mathcal{D}_T D T , write the robust margin of x \mathbf{x} x with respect to w \mathbf{w} w as
M t : = x T w t − c ∥ w t ∥ 1 , (136) M_t := \mathbf{x}^{\mathsf{T}}\mathbf{w}_t - c\lVert\mathbf{w}_t\rVert_1, \tag*{(136)} M t := x T w t − c ∥ w t ∥ 1 , (136)
which gives L A d v ( w t ) = ln ( 1 + exp ( − M t ) ) \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t) = \ln(1+\exp(-M_t)) L Adv ( w t ) = ln ( 1 + exp ( − M t )) . The (GD) dynamics can be written as
w t + 1 = w t − η ∂ w L A d v ( w t ) = w t + η λ t ( x − c Sign ( w t ) ) , where λ t = 1 1 + exp ( M t ) < 1. (137) \begin{aligned}
\mathbf{w}_{t+1} &= \mathbf{w}_t - \eta\partial_{\mathbf{w}}\mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t) \\
&= \mathbf{w}_t + \eta\lambda_t\left(\mathbf{x}-c\operatorname{Sign}(\mathbf{w}_t)\right), \qquad\text{where } \lambda_t = \frac{1}{1+\exp(M_t)} < 1. \tag*{(137)}
\end{aligned} w t + 1 = w t − η ∂ w L Adv ( w t ) = w t + η λ t ( x − c Sign ( w t ) ) , where λ t = 1 + exp ( M t ) 1 < 1. (137)
Since the last q 2 q^2 q 2 coordinates of x \mathbf{x} x and w 0 \mathbf{w}_0 w 0 are the same, we have the last q 2 q^2 q 2 coordinates of w t \mathbf{w}_t w t are also the same. Denote
w t = ( v t , η c r t , … , η c r t ) , (138) \mathbf{w}_t = (v_t,\eta c r_t,\ldots,\eta c r_t), \tag*{(138)} w t = ( v t , η c r t , … , η c r t ) , (138)
where v t = ⟨ w t , u 2 , ∞ ( c ) ⟩ v_t = \langle\mathbf{w}_t,\mathbf{u}_{2,\infty}(c)\rangle v t = ⟨ w t , u 2 , ∞ ( c )⟩ . According to (137) , the first update gives
v 1 = v 0 + η λ 0 ( 2 − c ⋅ 0 ) = η , and r 1 = η c r 0 + η λ 0 ( q − 1 − c ⋅ 0 ) η c = β 2 , (139) v_1 = v_0 + \eta\lambda_0(2-c\cdot0)=\eta, \qquad\text{and} \qquad r_1 = \frac{\eta c r_0+\eta\lambda_0(q^{-1}-c\cdot0)}{\eta c}=\frac{\beta}{2}, \tag*{(139)} v 1 = v 0 + η λ 0 ( 2 − c ⋅ 0 ) = η , and r 1 = η c η c r 0 + η λ 0 ( q − 1 − c ⋅ 0 ) = 2 β , (139)
where β = ( c q ) − 1 < 1 \beta=(cq)^{-1}<1 β = ( c q ) − 1 < 1 .
Through explicitly writing down (137) with the data in D T \mathcal{D}_T D T , we have
v t + 1 = v t + η ( 2 − c ) λ t , r t + 1 = r t + λ t ( β − Sign ( r t ) ) for t ≥ 1. (140) \begin{aligned}
v_{t+1} &= v_t+\eta(2-c)\lambda_t,\\
r_{t+1} &= r_t+\lambda_t\left(\beta-\operatorname{Sign}(r_t)\right) \qquad\text{for } t\ge1. \tag*{(140)}
\end{aligned} v t + 1 r t + 1 = v t + η ( 2 − c ) λ t , = r t + λ t ( β − Sign ( r t ) ) for t ≥ 1. (140)
Since 2 − c > 0 2-c>0 2 − c > 0 , this implies v t > 0 v_t>0 v t > 0 for every t ≥ 1 t\ge1 t ≥ 1 . Consequently, under above notation, we have
M t = x T w t − c ∥ w t ∥ 1 = ( 2 − c ) v t + η c 2 q 2 ( β r t − ∣ r t ∣ ) . (141) M_t=\mathbf{x}^{\mathsf{T}}\mathbf{w}_t-c\lVert\mathbf{w}_t\rVert_1=(2-c)v_t+\eta c^2q^2\left(\beta r_t-\lvert r_t\rvert\right). \tag*{(141)} M t = x T w t − c ∥ w t ∥ 1 = ( 2 − c ) v t + η c 2 q 2 ( β r t − ∣ r t ∣ ) . (141)
For the first term in (141) , by using the recursion formula in (140) , we have
( 2 − c ) v t = ( 2 − c ) v 1 + η ( 2 − c ) 2 ( ∑ s = 1 t − 1 λ s ) ≤ ( 2 − c ) η + η ( 2 − c ) 2 ( t − 1 ) ≤ 4 η t , t ≥ 1. (142) \begin{aligned}
(2-c)v_t=(2-c)v_1+\eta(2-c)^2\left(\sum_{s=1}^{t-1}\lambda_s\right) \\
&\leq(2-c)\eta+\eta(2-c)^2(t-1)\leq4\eta t,\qquad t\geq1. \tag*{(142)}
\end{aligned} ( 2 − c ) v t = ( 2 − c ) v 1 + η ( 2 − c ) 2 ( s = 1 ∑ t − 1 λ s ) ≤ ( 2 − c ) η + η ( 2 − c ) 2 ( t − 1 ) ≤ 4 η t , t ≥ 1. (142)
Let A : = ln ( 8 c q T ) A := \ln(8cqT) A := ln ( 8 c q T ) and H : = ( η c q ) / 16 H := (\eta cq)/16 H := ( η c q ) /16 . The assumptions on c c c and T T T give
c q = 4 c T 2 > 256 T , β T < 1 256 , 0 < A ≤ ln ( 64 T 3 ) ≤ 4 ln ( 3 T ) . (143) cq = 4cT^2 > 256T,\qquad\beta T < \frac{1}{256},\qquad0 < A \le\ln(64T^3) \le4\ln(3T). \tag*{(143)} c q = 4 c T 2 > 256 T , β T < 256 1 , 0 < A ≤ ln ( 64 T 3 ) ≤ 4 ln ( 3 T ) . (143)
We consider the following two cases:
(1). H < A H < A H < A , i.e., small step size η < 16 A / c q \eta< 16A/cq η < 16 A / c q is used. Since β < 1 \beta< 1 β < 1 , the second term in (141) is nonpositive. Hence, we have
M T ≤ (134),(135) 4 η T < 64 A T c q = 16 A c T ≤ 64 ln ( 3 T ) c T . M_T \underset{\substack{\text{(134),(135)}}}{\le} 4\eta T < \frac{64AT}{cq} = \frac{16A}{cT} \le\frac{64\ln(3T)}{cT}. M T (134),(135) ≤ 4 η T < c q 64 A T = c T 16 A ≤ c T 64 ln ( 3 T ) .
Since the function u → ln ( 3 u ) / u u \to\ln(3u)/u u → ln ( 3 u ) / u is decreasing for u > e / 3 u > e/3 u > e /3 . As T > 64 / c > 32 T > 64/c > 32 T > 64/ c > 32 , we have
M T < 64 c ln ( 3 ( 64 / c ) ) 64 / c = ln 192 c . M_T < \frac{64}{c}\frac{\ln(3(64/c))}{64/c} = \ln\frac{192}{c}. M T < c 64 64/ c ln ( 3 ( 64/ c )) = ln c 192 .
Consequently, we have
L Adv ( w T ) = ln ( 1 + e − M T ) > ln ( 1 + c 192 ) . L^{\operatorname{Adv}}(w_T) = \ln(1 + e^{-M_T}) > \ln\left(1 + \frac{c}{192}\right). L Adv ( w T ) = ln ( 1 + e − M T ) > ln ( 1 + 192 c ) .
(2). H ≥ A H \ge A H ≥ A , which is the regime where a rather large step size can be used. To facilitate the analysis, we compare the recursion for r t r_t r t in (140) with an auxiliary sequence obtained by replacing λ t \lambda_t λ t in (140) with 1 1 1 , which gives the following sequence { r ˉ t } \{\bar{r}_t\} { r ˉ t } :
r ˉ 1 = β 2 , r ˉ t + 1 = r ˉ t + β − Sign ( r ˉ t ) . (144) \bar{r}_1 = \frac{\beta}{2},\qquad\bar{r}_{t+1} = \bar{r}_t + \beta- \operatorname{Sign}(\bar{r}_t). \tag*{(144)} r ˉ 1 = 2 β , r ˉ t + 1 = r ˉ t + β − Sign ( r ˉ t ) . (144)
Since β < 1 / ( 256 T ) \beta< 1/(256T) β < 1/ ( 256 T ) , direct induction gives
r ˉ 2 k − 1 = 4 k − 3 2 β > 0 , r ˉ 2 k = − 1 + 4 k − 1 2 β < 0 , \bar{r}_{2k-1} = \frac{4k-3}{2}\beta> 0,\qquad\bar{r}_{2k} = -1 + \frac{4k-1}{2}\beta< 0, r ˉ 2 k − 1 = 2 4 k − 3 β > 0 , r ˉ 2 k = − 1 + 2 4 k − 1 β < 0 ,
whenever the corresponding index is at most T T T . In particular, we have ∣ r ˉ t ∣ ≥ β / 2 |\bar{r}_t| \ge\beta/2 ∣ r ˉ t ∣ ≥ β /2 for 1 ≤ t ≤ T 1 \le t \le T 1 ≤ t ≤ T .
We first show that the error between r t r_t r t and r ˉ t \bar{r}_t r ˉ t belongs to O ( β ) O(\beta) O ( β ) under the current regime. In fact, we have:
∣ r t − r ˉ t ∣ ≤ 2 ( t − 1 ) exp ( − H ) ≤ β 4 , 1 ≤ t ≤ T . (145) |r_t - \bar{r}_t| \le2(t-1)\exp(-H) \le\frac{\beta}{4},\qquad1 \le t \le T. \tag*{(145)} ∣ r t − r ˉ t ∣ ≤ 2 ( t − 1 ) exp ( − H ) ≤ 4 β , 1 ≤ t ≤ T . (145)
The second inequality follows from
2 T exp ( − H ) ≤ 2 T exp ( − A ) = 1 4 c q = β 4 . 2T\exp(-H) \le2T\exp(-A) = \frac{1}{4cq} = \frac{\beta}{4}. 2 T exp ( − H ) ≤ 2 T exp ( − A ) = 4 c q 1 = 4 β .
The first inequality of (145) can be proved by induction on t t t . It holds at t = 1 t = 1 t = 1 because r 1 = r ˉ 1 r_1 = \bar{r}_1 r 1 = r ˉ 1 from (139) and (144) . Suppose it holds at some t < T t < T t < T . Then r t r_t r t and r ˉ t \bar{r}_t r ˉ t have the same sign, and ∣ r t ∣ ≥ β / 4 |r_t| \ge\beta/4 ∣ r t ∣ ≥ β /4 , which is because r ˉ t ≥ β / 2 \bar{r}_t \ge\beta/2 r ˉ t ≥ β /2 . Since β ≤ 1 / 2 \beta\le1/2 β ≤ 1/2 , we obtain
η c 2 q 2 ( β r t − ∣ r t ∣ ) ≤ − η c 2 q 2 ( 1 − β ) ∣ r t ∣ (Since β r t − ∣ r t ∣ < ( β − 1 ) ∣ r t ∣ ) ≤ − η c 2 q 2 β 8 = − η c q 8 = − 2 H . \begin{aligned}
\eta c^2q^2\left(\beta r_t - \lvert r_t\rvert\right) \le-\eta c^2q^2(1-\beta)\lvert r_t\rvert\qquad\text{(Since }\beta r_t - \lvert r_t\rvert< (\beta-1)\lvert r_t\rvert\text{)} \\
&\le-\frac{\eta c^2q^2\beta}{8} = -\frac{\eta cq}{8} = -2H.
\end{aligned} η c 2 q 2 ( β r t − ∣ r t ∣ ) ≤ − η c 2 q 2 ( 1 − β ) ∣ r t ∣ (Since β r t − ∣ r t ∣ < ( β − 1 ) ∣ r t ∣ ) ≤ − 8 η c 2 q 2 β = − 8 η c q = − 2 H .
Combining this with (141) and (142) , and using 4 η T ≤ H 4\eta T \le H 4 η T ≤ H , yields
M t ≤ 4 η t − 2 H ≤ − H , 1 − λ t = exp ( M t ) 1 + exp ( M t ) ≤ exp ( − H ) . M_t \le4\eta t - 2H \le-H,\qquad1-\lambda_t = \frac{\exp(M_t)}{1+\exp(M_t)} \le\exp(-H). M t ≤ 4 η t − 2 H ≤ − H , 1 − λ t = 1 + exp ( M t ) exp ( M t ) ≤ exp ( − H ) .
Subtracting the two recursions and using Sign ( r t ) = Sign ( r ˉ t ) \operatorname{Sign}(r_t) = \operatorname{Sign}(\bar{r}_t) Sign ( r t ) = Sign ( r ˉ t ) , we conclude that
∣ r t + 1 − r ˉ t + 1 ∣ ≤ ∣ r t − r ˉ t ∣ + ( 1 − λ 1 , t ) ∣ β − Sign ( r t ) ∣ |r_{t+1} - \bar{r}_{t+1}| \le|r_t - \bar{r}_t| + (1-\lambda_{1,t})|\beta- \operatorname{Sign}(r_t)| ∣ r t + 1 − r ˉ t + 1 ∣ ≤ ∣ r t − r ˉ t ∣ + ( 1 − λ 1 , t ) ∣ β − Sign ( r t ) ∣
≤ 2 ( t − 1 ) exp ( − H ) + 2 exp ( − H ) = 2 t exp ( − H ) . \le2(t-1)\exp(-H) + 2\exp(-H) = 2t\exp(-H). ≤ 2 ( t − 1 ) exp ( − H ) + 2 exp ( − H ) = 2 t exp ( − H ) .
This proves (145) by induction.
In particular, ∣ r T ∣ ≥ β / 4 |r_T| \ge\beta/4 ∣ r T ∣ ≥ β /4 , so the same estimate in (141) gives M T ≤ − H M_T \le-H M T ≤ − H . Therefore,
L A d v ( w T ) = ln ( 1 + exp ( − M T ) ) ≥ − M T ≥ H ≥ A > ln ( 1 + c 192 ) . \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_T) = \ln\left(1+\exp(-M_T)\right) \ge-M_T \ge H \ge A > \ln\left(1+\frac{c}{192}\right). L Adv ( w T ) = ln ( 1 + exp ( − M T ) ) ≥ − M T ≥ H ≥ A > ln ( 1 + 192 c ) .
This completes the proof.
We then prove the no phase transition time part of Theorem (4.2) in the following.
Proof. We use the same data set D T D_T D T and the same initialization and subgradient choice as above. Fix any admissible T , c T,c T , c and any η > 0 \eta>0 η > 0 . In the following, T T T and q = 4 T 2 q=4T^2 q = 4 T 2 remain fixed. Recall from (143) that
0 < β < 1 2 , c q − 1 > ( 2 − c ) 2 . 0 < \beta< \frac{1}{2}, \qquad cq-1 > (2-c)^2. 0 < β < 2 1 , c q − 1 > ( 2 − c ) 2 .
Moreover, (140) gives
r t + 1 = { r t − λ t ( 1 − β ) , r t ≥ 0 , λ t β , r t = 0 , r t + λ t ( β + 1 ) , r t < 0. r_{t+1} =
\begin{cases}
r_t-\lambda_t(1-\beta), & r_t \ge0,\\
\lambda_t\beta, & r_t=0,\\
r_t+\lambda_t(\beta+1), & r_t<0.
\end{cases} r t + 1 = ⎩ ⎨ ⎧ r t − λ t ( 1 − β ) , λ t β , r t + λ t ( β + 1 ) , r t ≥ 0 , r t = 0 , r t < 0.
Combining with 0 < λ t < 1 0<\lambda_t<1 0 < λ t < 1 and 0 < β < 1 / 2 0<\beta<1/2 0 < β < 1/2 , this implies ∣ r t + 1 ∣ ≤ max { ∣ r t ∣ , 1 + β } |r_{t+1}|\le\max\{|r_t|,1+\beta\} ∣ r t + 1 ∣ ≤ max { ∣ r t ∣ , 1 + β } by using the inequality ∣ a − b ∣ ≤ max { a , b } |a-b|\le\max\{a,b\} ∣ a − b ∣ ≤ max { a , b } . Since ∣ r 1 ∣ = β / 2 < 1 + β |r_1|=\beta/2<1+\beta ∣ r 1 ∣ = β /2 < 1 + β , ∣ r t + 1 ∣ ≤ max { ∣ r t ∣ , 1 + β } |r_{t+1}|\le\max\{|r_t|,1+\beta\} ∣ r t + 1 ∣ ≤ max { ∣ r t ∣ , 1 + β } yields
∣ r t ∣ ≤ 1 + β , t ≥ 1. (146) |r_t| \le1+\beta,\qquad t\ge1. \tag*{(146)} ∣ r t ∣ ≤ 1 + β , t ≥ 1. (146)
Moreover, v t v_t v t is increasing and must tend to infinity. Indeed, suppose that v t ≤ V v_t\le V v t ≤ V for all t t t . Then M t ≤ ( 2 − c ) V M_t\le(2-c)V M t ≤ ( 2 − c ) V by (141) , and hence
λ t ≥ 1 1 + exp ( ( 2 − c ) V ) = : δ > 0. \lambda_t \ge\frac{1}{1+\exp((2-c)V)} =:\delta>0. λ t ≥ 1 + exp (( 2 − c ) V ) 1 =: δ > 0.
By (140) , a positive lower bound of v t v_t v t implies
v t ≥ v 1 + η ( 2 − c ) δ ( t − 1 ) → ∞ , t → ∞ , (147) v_t \ge v_1+\eta(2-c)\delta(t-1)\to\infty,\qquad t\to\infty, \tag*{(147)} v t ≥ v 1 + η ( 2 − c ) δ ( t − 1 ) → ∞ , t → ∞ , (147)
which contradicts the boundedness of v t v_t v t . Combining v t → ∞ v_t\to\infty v t → ∞ with (141) and (146) , we obtain
M t ≥ ( 2 − c ) v t − η c 2 q 2 ( 1 + β ) 2 → ∞ , t → ∞ . M_t \ge(2-c)v_t-\eta c^2q^2(1+\beta)^2\to\infty,\qquad t\to\infty. M t ≥ ( 2 − c ) v t − η c 2 q 2 ( 1 + β ) 2 → ∞ , t → ∞.
Consequently, as t → ∞ t\to\infty t → ∞ , we have
L A d v ( w t ) → 0 , λ t → 0 , and ∑ t = 1 ∞ λ t = ∞ , (148) \mathcal{L}_{\mathrm{Adv}}(\mathbf{w}_t)\to0,\qquad\lambda_t\to0,\qquad\text{and}\qquad\sum_{t=1}^{\infty}\lambda_t=\infty, \tag*{(148)} L Adv ( w t ) → 0 , λ t → 0 , and t = 1 ∑ ∞ λ t = ∞ , (148)
where the last assertion follows from the recursion for v t v_t v t and v t → ∞ v_t\to\infty v t → ∞ by (147) .
Since the function f ( r ) = β r − ∣ r ∣ f(r)=\beta r-|r| f ( r ) = β r − ∣ r ∣ is ( 1 + β ) (1+\beta) ( 1 + β ) -Lipschitz, (140) and (141) imply
∣ M t + 1 − M t ∣ ≤ ( 2 − c ) ∣ v t + 1 − v t ∣ + η 2 c q ∣ f ( r t + 1 ) − f ( r t ) ∣ ≤ η ( 2 − c ) 2 λ t + ( 1 + β ) ∣ r t + 1 − r t ∣ (Since (133) and Lipschitz property of f ( r ) ) = η ( 2 − c ) 2 λ t + ( 1 + β ) λ t ∣ β − Sign ( t t ) ∣ (From (133)) ≤ η ( ( 2 − c ) 2 + c 2 q 2 ( 1 + β ) 2 ) λ t → 0. (Since ∣ β − Sign ( t t ) ∣ ≤ 1 + β ) \begin{aligned}
|M_{t+1}-M_t|
&\le(2-c)|v_{t+1}-v_t|+\eta^2cq|f(r_{t+1})-f(r_t)|\\
&\le\eta(2-c)^2\lambda_t+(1+\beta)|r_{t+1}-r_t| \qquad\text{(Since (133) and Lipschitz property of } f(r)\text{)}\\
&= \eta(2-c)^2\lambda_t+(1+\beta)\lambda_t|\beta-\operatorname{Sign}(t_t)| \qquad\text{(From (133))}\\
&\le\eta\left((2-c)^2+c^2q^2(1+\beta)^2\right)\lambda_t\to0. \qquad\text{(Since }|\beta-\operatorname{Sign}(t_t)|\le1+\beta\text{)}
\end{aligned} ∣ M t + 1 − M t ∣ ≤ ( 2 − c ) ∣ v t + 1 − v t ∣ + η 2 c q ∣ f ( r t + 1 ) − f ( r t ) ∣ ≤ η ( 2 − c ) 2 λ t + ( 1 + β ) ∣ r t + 1 − r t ∣ (Since (133) and Lipschitz property of f ( r ) ) = η ( 2 − c ) 2 λ t + ( 1 + β ) λ t ∣ β − Sign ( t t ) ∣ (From (133)) ≤ η ( ( 2 − c ) 2 + c 2 q 2 ( 1 + β ) 2 ) λ t → 0. (Since ∣ β − Sign ( t t ) ∣ ≤ 1 + β )
Together with M t → ∞ M_t \to\infty M t → ∞ , this gives
λ t + 1 / λ t = 1 + exp ( M t ) 1 + exp ( M t + 1 ) → 1 , t → ∞ . (149) \lambda_{t+1}/\lambda_t = \frac{1+\exp(M_t)}{1+\exp(M_{t+1})} \to1,\quad t \to\infty. \tag*{(149)} λ t + 1 / λ t = 1 + exp ( M t + 1 ) 1 + exp ( M t ) → 1 , t → ∞. (149)
We now show that there are infinitely many indices t t t such that r t > 0 r_t > 0 r t > 0 and r t + 1 < 0 r_{t+1} < 0 r t + 1 < 0 . The sequence r t r_t r t cannot be eventually strictly positive. Otherwise, (140) would give r t + 1 = r t − ( 1 − β ) λ t r_{t+1}=r_t-(1-\beta)\lambda_t r t + 1 = r t − ( 1 − β ) λ t for all sufficiently large t t t , which contradicts ∑ t λ t = ∞ \sum_t \lambda_t=\infty ∑ t λ t = ∞ as shown in (148) . The same argument shows that r t r_t r t cannot be eventually strictly negative. Moreover, if r t = 0 r_t=0 r t = 0 , then
r t + 1 = β λ t > 0 , r t + 2 = β λ t − ( 1 − β ) λ t + 1 < 0 r_{t+1}=\beta\lambda_t>0,\qquad r_{t+2}=\beta\lambda_t-(1-\beta)\lambda_{t+1}<0 r t + 1 = β λ t > 0 , r t + 2 = β λ t − ( 1 − β ) λ t + 1 < 0
for all sufficiently large t t t , by (149) and β < 1 / 2 \beta<1/2 β < 1/2 . Thus, whether r t r_t r t equals zero finitely or infinitely often, there are infinitely many indices t t t such that r t > 0 r_t>0 r t > 0 and r t + 1 < 0 r_{t+1}<0 r t + 1 < 0 .
For each sufficiently large index τ \tau τ such that r τ > 0 r_\tau>0 r τ > 0 and r τ + 1 < 0 r_{\tau+1}<0 r τ + 1 < 0 , we also have r τ + 2 > 0 r_{\tau+2}>0 r τ + 2 > 0 . This is because,
r τ + 1 = r τ − ( 1 − β ) λ τ > − ( 1 − β ) λ τ , r_{\tau+1}=r_\tau-(1-\beta)\lambda_\tau>-(1-\beta)\lambda_\tau, r τ + 1 = r τ − ( 1 − β ) λ τ > − ( 1 − β ) λ τ ,
and therefore
r τ + 2 = r τ + 1 + ( 1 + β ) λ τ + 1 > − ( 1 − β ) λ τ + ( 1 + β ) λ τ + 1 > 0 , r_{\tau+2}=r_{\tau+1}+(1+\beta)\lambda_{\tau+1}>-(1-\beta)\lambda_\tau+(1+\beta)\lambda_{\tau+1}>0, r τ + 2 = r τ + 1 + ( 1 + β ) λ τ + 1 > − ( 1 − β ) λ τ + ( 1 + β ) λ τ + 1 > 0 ,
where the last inequality follows from (149) . Hence, there are infinitely many indices satisfying
r τ > 0 , r τ + 1 < 0 , r τ + 2 > 0. (150) r_\tau>0,\qquad r_{\tau+1}<0,\qquad r_{\tau+2}>0. \tag*{(150)} r τ > 0 , r τ + 1 < 0 , r τ + 2 > 0. (150)
For any index τ \tau τ satisfying (150) , the recursions in (140) give
v τ + 2 − v τ = η ( 2 − c ) ( λ τ + λ τ + 1 ) , r τ + 2 − r τ = − ( 1 − β ) λ τ + ( 1 + β ) λ τ + 1 . \begin{aligned}
v_{\tau+2}-v_\tau&=\eta(2-c)(\lambda_\tau+\lambda_{\tau+1}),\\
r_{\tau+2}-r_\tau&=-(1-\beta)\lambda_\tau+(1+\beta)\lambda_{\tau+1}.
\end{aligned} v τ + 2 − v τ r τ + 2 − r τ = η ( 2 − c ) ( λ τ + λ τ + 1 ) , = − ( 1 − β ) λ τ + ( 1 + β ) λ τ + 1 .
Since r τ , r τ + 2 > 0 r_\tau,r_{\tau+2}>0 r τ , r τ + 2 > 0 , it follows from (141) that
M τ + 2 − M τ = ( 2 − c ) ( v τ + 2 − v τ ) − η c 2 q 2 ( 1 − β ) ( r τ + 2 − r τ ) . M_{\tau+2}-M_\tau=(2-c)(v_{\tau+2}-v_\tau)-\eta c^2q^2(1-\beta)(r_{\tau+2}-r_\tau). M τ + 2 − M τ = ( 2 − c ) ( v τ + 2 − v τ ) − η c 2 q 2 ( 1 − β ) ( r τ + 2 − r τ ) .
Substituting the two identities above, we obtain
M τ + 2 − M τ η λ τ = ( 2 − c ) 2 ( 1 + λ τ + 1 λ τ ) + c 2 q 2 ( 1 − β ) ( ( 1 − β ) − ( 1 + β ) λ τ + 1 λ τ ) . \frac{M_{\tau+2}-M_\tau}{\eta\lambda_\tau}
=(2-c)^2\left(1+\frac{\lambda_{\tau+1}}{\lambda_\tau}\right)+c^2q^2(1-\beta)\left((1-\beta)-(1+\beta)\frac{\lambda_{\tau+1}}{\lambda_\tau}\right). η λ τ M τ + 2 − M τ = ( 2 − c ) 2 ( 1 + λ τ λ τ + 1 ) + c 2 q 2 ( 1 − β ) ( ( 1 − β ) − ( 1 + β ) λ τ λ τ + 1 ) .
By (149) and recall that we have β = 1 / c q \beta=1/cq β = 1/ c q , the right-hand side converges to
2 ( 2 − c ) 2 − 2 c 2 q 2 β ( 1 − β ) = 2 ( ( 2 − c ) 2 − ( c q − 1 ) ) < 0. 2(2-c)^2-2c^2q^2\beta(1-\beta)=2\left((2-c)^2-(cq-1)\right)<0. 2 ( 2 − c ) 2 − 2 c 2 q 2 β ( 1 − β ) = 2 ( ( 2 − c ) 2 − ( c q − 1 ) ) < 0.
Since η λ t > 0 \eta\lambda_t>0 η λ t > 0 , we have M τ + 2 < M τ M_{\tau+2}<M_\tau M τ + 2 < M τ for infinitely many τ \tau τ . Therefore,
L A d v ( w τ + 2 ) > L A d v ( w τ ) \mathcal{L}_{\mathrm{Adv}}(w_{\tau+2})>\mathcal{L}_{\mathrm{Adv}}(w_\tau) L Adv ( w τ + 2 ) > L Adv ( w τ )
for infinitely many τ \tau τ . For each such τ \tau τ , at least one of the two updates from τ \tau τ to τ + 2 \tau+2 τ + 2 strictly increases the loss. Consequently,
∀ s ∈ N , ∃ τ ≥ s : L A d v ( w τ + 1 ) > L A d v ( w τ ) . \forall s\in\mathbb{N},\quad\exists\tau\ge s:\quad\mathcal{L}_{\mathrm{Adv}}(w_{\tau+1})>\mathcal{L}_{\mathrm{Adv}}(w_\tau). ∀ s ∈ N , ∃ τ ≥ s : L Adv ( w τ + 1 ) > L Adv ( w τ ) .
Thus, no finite time exists after which the loss remains non-increasing. This completes the proof.
Appendix of Section 5.1
Proof of Proposition 5.1
High-Level Overview of the Proof. We will analysis the dynamics given by Lemma (D.1), which is the explicit form of the adversarial training dynamics for ( x t , y t ) (x_t, y_t) ( x t , y t ) . To study this dynamics, we first introduce the following time horizon, which is motivated by Lemma 6 in Ahn et al. [1 ] :
s : = inf { t ≥ 0 ∣ x t < 0 or q t y t ≤ 1 } (151) s := \inf\{t \ge0 \mid x_t < 0 \text{ or } q_t y_t \le1\} \tag*{(151)} s := inf { t ≥ 0 ∣ x t < 0 or q t y t ≤ 1 } (151)
The definition of q t q_t q t is presented in (154) . In other worlds, for all t ≤ s t \le s t ≤ s , the trajectories ( x t , y t ) (x_t, y_t) ( x t , y t ) lies in the linear region, and x t ≥ 0 x_t \ge0 x t ≥ 0 . Moreover, for small η \eta η , the initialization given by (EoS initialization) must lies in the linear region, thus s > 0 s > 0 s > 0 and is well-defined. It turns out that in the region t ≤ s t \le s t ≤ s , the following value
D t : = y t 2 − q t 2 (152) D_t := y_t^2 - q_t^2 \tag*{(152)} D t := y t 2 − q t 2 (152)
is nearly conversed. Since the initialization given by (EoS initialization) makes D 0 = Ω ( 1 / η ) D_0 = \Omega(1/\eta) D 0 = Ω ( 1/ η ) , thus for t < s t < s t < s , y t y_t y t keeps a magnitude of O ( 1 / η ) O(1/\sqrt{\eta}) O ( 1/ η ) , which result in x t x_t x t significantly decreases in each iteration according to (155) . In Lemma D.4, we will prove s = O ( 1 / η ) s = O(1/\eta) s = O ( 1/ η ) . This results in the training trajectories enter a small tube with ∣ x s ∣ = O ( η ) |x_s| = O(\eta) ∣ x s ∣ = O ( η ) as shown in Lemma D.5. Moreover, in Lemma D.6 , we prove that once the trajectory enters this tube, it will remain in this tube for the rest of the training time. After the trajectory enter the tube, we will show the y y y -coordinate of the trajectory gradually be compressed to zero and the trajectory future enter the quadratic region, then we use Lemma D.2 to prove the upper bound on the sharpness when t t t tends to infinity.
We first note that as in (ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression), the inner max problem of (Adversarial Huber loss) has an explicit solution:
max ∣ δ ∣ ≤ c ℓ ( ( x + δ ) y ) = ℓ ( ( x + c Sign ( x ) ) y ) . (153) \max_{|\delta|\le c} \ell\bigl((x+\delta)y\bigr) = \ell\bigl((x+c\operatorname{Sign}(x))y\bigr). \tag*{(153)} ∣ δ ∣ ≤ c max ℓ ( ( x + δ ) y ) = ℓ ( ( x + c Sign ( x )) y ) . (153)
Thus (ℓ ∞ \ell_\infty ℓ ∞ -adversarial logistic regression) has an explicit formula:
max ∣ δ ∣ ≤ c ℓ ( ( x + δ ) y ) = { ( ( x + c Sign ( x ) ) y ) 2 2 , ∣ ( x + c Sign ( x ) ) y ∣ ≤ 1 , ∣ ( x + c Sign ( x ) ) y ∣ − 1 2 , ∣ ( x + c Sign ( x ) ) y ∣ > 1. \max_{|\delta|\le c}\ell\bigl((x+\delta)y\bigr)=
\begin{cases}
\frac{\bigl((x+c\operatorname{Sign}(x))y\bigr)^2}{2}, & \lvert(x+c\operatorname{Sign}(x))y\rvert\le1,\\
\lvert(x+c\operatorname{Sign}(x))y\rvert-\frac{1}{2}, & \lvert(x+c\operatorname{Sign}(x))y\rvert>1.
\end{cases} ∣ δ ∣ ≤ c max ℓ ( ( x + δ ) y ) = ⎩ ⎨ ⎧ 2 ( ( x + c Sign ( x )) y ) 2 , ∣( x + c Sign ( x )) y ∣ − 2 1 , ∣( x + c Sign ( x )) y ∣ ≤ 1 , ∣( x + c Sign ( x )) y ∣ > 1.
In the following, we define the region where ∣ ( x + c Sign ( x ) ) y ∣ ≤ 1 \lvert(x+c\operatorname{Sign}(x))y\rvert\le1 ∣( x + c Sign ( x )) y ∣ ≤ 1 holds as the quadratic region , and the region where ∣ ( x + c Sign ( x ) ) y ∣ > 1 \lvert(x+c\operatorname{Sign}(x))y\rvert> 1 ∣( x + c Sign ( x )) y ∣ > 1 holds as the linear region .
To simplify the notation, we will also denote
q t : = ∣ x + c Sign ( x ) ∣ = ∣ x t ∣ + c . (154) q_t := \lvert x+c\operatorname{Sign}(x)\rvert= \lvert x_t\rvert+c. \tag*{(154)} q t := ∣ x + c Sign ( x )∣ = ∣ x t ∣ + c . (154)
Lemma D.1. If y t > 0 y_t > 0 y t > 0 , then in the linear region, the gradient descent dynamic can be written as:
x t + 1 = x t − η Sign ( x t ) y t , y t + 1 = y t − η q t . (155) \begin{aligned}
x_{t+1} &= x_t-\eta\operatorname{Sign}(x_t)y_t,\\
y_{t+1} &= y_t-\eta q_t. \tag*{(155)}
\end{aligned} x t + 1 y t + 1 = x t − η Sign ( x t ) y t , = y t − η q t . (155) While in the quadratic region, the gradient descent dynamic can be written as:
x t + 1 = ( 1 − η y t 2 ) x t − η Sign ( x t ) c y t 2 , y t + 1 = ( 1 − η q t 2 ) y t . (156) \begin{aligned}
x_{t+1} &= (1-\eta y_t^2)x_t-\eta\operatorname{Sign}(x_t)c y_t^2,\\
y_{t+1} &= (1-\eta q_t^2)y_t. \tag*{(156)}
\end{aligned} x t + 1 y t + 1 = ( 1 − η y t 2 ) x t − η Sign ( x t ) c y t 2 , = ( 1 − η q t 2 ) y t . (156)
Proof. Since we assume y t > 0 y_t > 0 y t > 0 , we have
∣ ( x t + c Sign ( x t ) ) y t ∣ = ∣ x t + c Sign ( x t ) ∣ ∣ y t ∣ = q t y t . \lvert(x_t+c\operatorname{Sign}(x_t))y_t\rvert=\lvert x_t+c\operatorname{Sign}(x_t)\rvert\lvert y_t\rvert=q_t y_t. ∣( x t + c Sign ( x t )) y t ∣ = ∣ x t + c Sign ( x t )∣ ∣ y t ∣ = q t y t .
We first consider the linear region ∣ ( x t + c Sign ( x t ) ) y t ∣ > 1 \lvert(x_t+c\operatorname{Sign}(x_t))y_t\rvert>1 ∣( x t + c Sign ( x t )) y t ∣ > 1 . In this case we have
max ∣ δ ∣ ≤ c ℓ ( ( x + δ ) y ) = ∣ ( x + c Sign ( x ) ) y ∣ − 1 2 = q t y t − 1 2 , \max_{\lvert\delta\rvert\le c}\ell((x+\delta)y)=\lvert(x+c\operatorname{Sign}(x))y\rvert-\frac{1}{2}=q_ty_t-\frac{1}{2}, ∣ δ ∣ ≤ c max ℓ (( x + δ ) y ) = ∣( x + c Sign ( x )) y ∣ − 2 1 = q t y t − 2 1 ,
and
y t + 1 = y t − η ∂ y max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) = y t − η q t , y_{t+1}=y_t-\eta\partial_y\max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)=y_t-\eta q_t, y t + 1 = y t − η ∂ y ∣ δ ∣ ≤ c max ℓ (( x t + δ ) y t ) = y t − η q t ,
this finished the y y y -part in (155) . For the x x x -part, we have
x t + 1 = x t − η ∂ x max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) = x t − η ( ∂ x q t ) y t = x t − η Sign ( x t ) y t , \begin{aligned}
x_{t+1}=x_t-\eta\partial_x\max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)=x_t-\eta(\partial_xq_t)y_t \\
&=x_t-\eta\operatorname{Sign}(x_t)y_t,
\end{aligned} x t + 1 = x t − η ∂ x ∣ δ ∣ ≤ c max ℓ (( x t + δ ) y t ) = x t − η ( ∂ x q t ) y t = x t − η Sign ( x t ) y t ,
and this finished the x x x -part of the (155) .
Next we consider the quadratic region ∣ ( x t + c Sign ( x ) ) y t ∣ ≤ 1 \lvert(x_t+c\operatorname{Sign}(x))y_t\rvert\le1 ∣( x t + c Sign ( x )) y t ∣ ≤ 1 . In this case, we have
max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) = ( ( x t + c Sign ( x t ) ) y t ) 2 2 = q t 2 y t 2 2 , \max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)=\frac{((x_t+c\operatorname{Sign}(x_t))y_t)^2}{2}=\frac{q_t^2y_t^2}{2}, ∣ δ ∣ ≤ c max ℓ (( x t + δ ) y t ) = 2 (( x t + c Sign ( x t )) y t ) 2 = 2 q t 2 y t 2 ,
and
y t + 1 = y t − η ∂ y max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) = ( 1 − η q t 2 ) y t , y_{t+1}=y_t-\eta\partial_y\max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)=(1-\eta q_t^2)y_t, y t + 1 = y t − η ∂ y ∣ δ ∣ ≤ c max ℓ (( x t + δ ) y t ) = ( 1 − η q t 2 ) y t ,
this finished the y y y -part in (156) . For the x x x -part, we have
x t + 1 = x t − η ∂ x max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) = x t − η ( ∂ x q t 2 ) y t 2 2 . x_{t+1}=x_t-\eta\partial_x\max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)=x_t-\eta(\partial_xq_t^2)\frac{y_t^2}{2}. x t + 1 = x t − η ∂ x ∣ δ ∣ ≤ c max ℓ (( x t + δ ) y t ) = x t − η ( ∂ x q t 2 ) 2 y t 2 .
Note that
∂ x q t 2 / 2 = q t ∂ x q t = Sign ( x t ) q t = Sign ( x t ) ( ∣ x t ∣ + c ) = x t + Sign ( x t ) c , \partial_xq_t^2/2=q_t\partial_xq_t=\operatorname{Sign}(x_t)q_t=\operatorname{Sign}(x_t)(\lvert x_t\rvert+c)=x_t+\operatorname{Sign}(x_t)c, ∂ x q t 2 /2 = q t ∂ x q t = Sign ( x t ) q t = Sign ( x t ) (∣ x t ∣ + c ) = x t + Sign ( x t ) c ,
thus
x t + 1 = x t − η ( ∂ x q t 2 ) y t 2 / 2 = x t − η ( x t + Sign ( x t ) c ) y t 2 = ( 1 − η y t 2 ) x t − η Sign ( x t ) c y t 2 , \begin{aligned}
x_{t+1}=x_t-\eta(\partial_xq_t^2)y_t^2/2=x_t-\eta(x_t+\operatorname{Sign}(x_t)c)y_t^2 \\
&=(1-\eta y_t^2)x_t-\eta\operatorname{Sign}(x_t)cy_t^2,
\end{aligned} x t + 1 = x t − η ( ∂ x q t 2 ) y t 2 /2 = x t − η ( x t + Sign ( x t ) c ) y t 2 = ( 1 − η y t 2 ) x t − η Sign ( x t ) c y t 2 ,
this finished the x x x -part of the (156) .
Lemma D.2. If ( x y , y t ) (x_y,y_t) ( x y , y t ) lies in the quadratic region, we have
λ t c ≤ ( ∣ y t ∣ + q t ) 2 . \lambda_t^c\le(\lvert y_t\rvert+q_t)^2. λ t c ≤ (∣ y t ∣ + q t ) 2 .
Proof. We first calculate the Hessian matrix ∇ 2 L c ( x t , y t ) = ∇ 2 ( max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) ) \nabla^2\mathcal{L}_c(x_t,y_t)=\nabla^2\left(\max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)\right) ∇ 2 L c ( x t , y t ) = ∇ 2 ( max ∣ δ ∣ ≤ c ℓ (( x t + δ ) y t ) ) in the quadratic region. We have
∇ 2 ( max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) ) = ∇ 2 ( ( ( x t + c Sign ( x t ) ) y t ) 2 2 ) = ∇ 2 ( q t 2 y t 2 2 ) \nabla^2\left(\max_{\lvert\delta\rvert\le c}\ell((x_t+\delta)y_t)\right)=\nabla^2\left(\frac{((x_t+c\operatorname{Sign}(x_t))y_t)^2}{2}\right)=\nabla^2\left(\frac{q_t^2y_t^2}{2}\right) ∇ 2 ( ∣ δ ∣ ≤ c max ℓ (( x t + δ ) y t ) ) = ∇ 2 ( 2 (( x t + c Sign ( x t )) y t ) 2 ) = ∇ 2 ( 2 q t 2 y t 2 )
Note that we have
Combining above, we get
H t : = ∇ 2 ( max ∣ δ ∣ ≤ c ℓ ( ( x t + δ ) y t ) ) = [ y t 2 2 Sign ( x t ) q t y t 2 Sign ( x t ) q t y t q t 2 ] . H_t:=\nabla^2\left(\max_{|\delta|\le c}\ell\left((x_t+\delta)y_t\right)\right)=\begin{bmatrix} y_t^2 & 2\operatorname{Sign}(x_t)q_t y_t \\ 2\operatorname{Sign}(x_t)q_t y_t & q_t^2 \end{bmatrix}. H t := ∇ 2 ( ∣ δ ∣ ≤ c max ℓ ( ( x t + δ ) y t ) ) = [ y t 2 2 Sign ( x t ) q t y t 2 Sign ( x t ) q t y t q t 2 ] .
Moreover, since
λ t c ≤ ∥ H t ∥ ∞ : = max { y t 2 + 2 q t y t , q t 2 + 2 q t y t } ≤ ( ∣ y t ∣ + q t ) 2 , \lambda_t^c\le\lVert H_t\rVert_\infty:=\max\{y_t^2+2q_t y_t,\ q_t^2+2q_t y_t\}\le(|y_t|+q_t)^2, λ t c ≤ ∥ H t ∥ ∞ := max { y t 2 + 2 q t y t , q t 2 + 2 q t y t } ≤ ( ∣ y t ∣ + q t ) 2 ,
this finished the proof. □
Assumption D.3. We assume the following assumptions hold in the training process:
x t = 0 , ( ∣ x t ∣ + c ) y t = 1 x_t=0,\qquad(|x_t|+c)y_t=1 x t = 0 , ( ∣ x t ∣ + c ) y t = 1
Note that the boundary-avoidance part of Assumption D.3 is to avoid the cases where the solution of inner-max problem of (Adversarial Huber loss) is not unique when x = 0 x=0 x = 0 , and the Hessian on the boundary points ( ∣ x t ∣ + c ) y t = 1 (|x_t|+c)y_t=1 ( ∣ x t ∣ + c ) y t = 1 is not well-defined. Similar assumptions are also needed in Ahn et al. [1 ] .
Lemma D.4. Under Assumption D.3, let
s : = inf { t ≥ 0 ∣ x t < 0 or q t y t ≤ 1 } , s:=\inf\{t\ge0\mid x_t<0\text{ or }q_t y_t\le1\}, s := inf { t ≥ 0 ∣ x t < 0 or q t y t ≤ 1 } , (Entrance Time)
then for sufficient small step size η \eta η , we have s ∈ O ( 1 / η ) s\in O(1/\eta) s ∈ O ( 1/ η ) .
Proof. For any k ≤ s − 1 k\le s-1 k ≤ s − 1 , according to the definition of (Entrance Time), we have
x k > 0 , q k = x k + c , q k y k > 1 , x_k>0,\qquad q_k=x_k+c,\qquad q_k y_k>1, x k > 0 , q k = x k + c , q k y k > 1 ,
thus the trajectory lies in the linear region, and the dynamics as defined in (155) can be written as
q k + 1 = q k − η y k , y k + 1 = y k − η q k . (157) q_{k+1}=q_k-\eta y_k,\qquad y_{k+1}=y_k-\eta q_k. \tag*{(157)} q k + 1 = q k − η y k , y k + 1 = y k − η q k . (157)
Define
D k : = y k 2 − q k 2 . D_k:=y_k^2-q_k^2. D k := y k 2 − q k 2 .
We first compute D 0 D_0 D 0 , where ( x 0 , y 0 ) (x_0,y_0) ( x 0 , y 0 ) is initialize according to (EoS initialization). Since in this case, q 0 = x 0 + c q_0=x_0+c q 0 = x 0 + c , we have
D 0 = y 0 2 − q 0 2 = ( y 0 2 − x 0 2 ) − 2 c x 0 − c 2 = ( 2 + δ ) / η − 2 c x 0 − c 2 . D_0=y_0^2-q_0^2=(y_0^2-x_0^2)-2cx_0-c^2=(2+\delta)/\eta-2cx_0-c^2. D 0 = y 0 2 − q 0 2 = ( y 0 2 − x 0 2 ) − 2 c x 0 − c 2 = ( 2 + δ ) / η − 2 c x 0 − c 2 .
Since c > 0 c>0 c > 0 is fixed and x 0 = O ( η − 1 / 2 ) x_0=O(\eta^{-1/2}) x 0 = O ( η − 1/2 ) , we have 2 c x 0 + c 2 = O ( η − 1 / 2 ) 2cx_0+c^2=O(\eta^{-1/2}) 2 c x 0 + c 2 = O ( η − 1/2 ) . Thus, for sufficiently small η \eta η which depends on c c c , D 0 ≥ ( 2 + δ ) / ( 2 η ) D_0\ge(2+\delta)/(2\eta) D 0 ≥ ( 2 + δ ) / ( 2 η ) , and hence
D 0 = Ω ( 1 / η ) . (158) D_0=\Omega(1/\eta). \tag*{(158)} D 0 = Ω ( 1/ η ) . (158)
Moreover, in time region k ≤ s k\le s k ≤ s , the trajectory lies in the linear region, we have
D k = y k 2 − q k 2 = ( y k − 1 − η q k − 1 ) 2 − ( q k − 1 − η y k − 1 ) 2 = ( 1 − η 2 ) ( y k − 1 2 − q k − 1 2 ) = ( 1 − η 2 ) D k − 1 . (159) \begin{aligned}
D_k&=y_k^2-q_k^2=(y_{k-1}-\eta q_{k-1})^2-(q_{k-1}-\eta y_{k-1})^2\\
&=(1-\eta^2)(y_{k-1}^2-q_{k-1}^2)\\
&=(1-\eta^2)D_{k-1}. \tag*{(159)}
\end{aligned} D k = y k 2 − q k 2 = ( y k − 1 − η q k − 1 ) 2 − ( q k − 1 − η y k − 1 ) 2 = ( 1 − η 2 ) ( y k − 1 2 − q k − 1 2 ) = ( 1 − η 2 ) D k − 1 . (159)
Using above recurrence relation, we get
y k ≥ D k = ( 1 − η 2 ) k / 2 D 0 . (160) y_k \ge\sqrt{D_k} = (1-\eta^2)^{k/2}\sqrt{D_0}. \tag*{(160)} y k ≥ D k = ( 1 − η 2 ) k /2 D 0 . (160)
Moreover, we have
0 < x s − 1 = x 0 − η ∑ k = 1 s − 2 y k ≤ x 0 − η D 0 ∑ k = 0 s − 2 ( 1 − η 2 ) k / 2 , 0 < x_{s-1} = x_0-\eta\sum_{k=1}^{s-2}y_k \le x_0-\eta\sqrt{D_0}\sum_{k=0}^{s-2}(1-\eta^2)^{k/2}, 0 < x s − 1 = x 0 − η k = 1 ∑ s − 2 y k ≤ x 0 − η D 0 k = 0 ∑ s − 2 ( 1 − η 2 ) k /2 ,
where the inequality in the right hand side used (160) . Thus we have
∑ k = 0 s − 2 ( 1 − η 2 ) k / 2 ≤ x 0 / ( η D 0 ) \sum_{k=0}^{s-2}(1-\eta^2)^{k/2} \le x_0/(\eta\sqrt{D_0}) k = 0 ∑ s − 2 ( 1 − η 2 ) k /2 ≤ x 0 / ( η D 0 )
According to (EoS initialization), we have
x 0 = O ( η − 1 / 2 ) , and D 0 = Ω ( η − 1 / 2 ) x_0=O(\eta^{-1/2}),\quad\text{and}\quad\sqrt{D_0}=\Omega(\eta^{-1/2}) x 0 = O ( η − 1/2 ) , and D 0 = Ω ( η − 1/2 )
from (158) , these gives
∑ k = 0 s − 2 ( 1 − η 2 ) k / 2 = O ( 1 / η ) . \sum_{k=0}^{s-2}(1-\eta^2)^{k/2}=O(1/\eta). k = 0 ∑ s − 2 ( 1 − η 2 ) k /2 = O ( 1/ η ) .
The left hand side is a geometric progression, with an explicit solution given by
∑ k = 0 s − 2 ( 1 − η 2 ) k / 2 = 1 − ( 1 − η 2 ) s − 1 2 1 − 1 − η 2 . (161) \sum_{k=0}^{s-2}(1-\eta^2)^{k/2}
=
\frac{1-(1-\eta^2)^{\frac{s-1}{2}}}{1-\sqrt{1-\eta^2}}. \tag*{(161)} k = 0 ∑ s − 2 ( 1 − η 2 ) k /2 = 1 − 1 − η 2 1 − ( 1 − η 2 ) 2 s − 1 . (161)
For the denominator term 1 − 1 − η 2 = η 2 1 + 1 − η 2 1-\sqrt{1-\eta^2}=\frac{\eta^2}{1+\sqrt{1-\eta^2}} 1 − 1 − η 2 = 1 + 1 − η 2 η 2 , since η < 1 \eta<1 η < 1 , we have
1 ≤ 1 + 1 − η 2 ≤ 2 , 1\le1+\sqrt{1-\eta^2}\le2, 1 ≤ 1 + 1 − η 2 ≤ 2 ,
thus
η 2 / 2 < 1 − 1 − η 2 < η 2 , \eta^2/2<1-\sqrt{1-\eta^2}<\eta^2, η 2 /2 < 1 − 1 − η 2 < η 2 ,
which gives
1 − ( 1 − η 2 ) s − 1 2 η 2 < 1 − ( 1 − η 2 ) s − 1 2 1 − 1 − η 2 = ∑ k = 0 s − 2 ( 1 − η 2 ) k / 2 = O ( 1 / η ) . \frac{1-(1-\eta^2)^{\frac{s-1}{2}}}{\eta^2}
<
\frac{1-(1-\eta^2)^{\frac{s-1}{2}}}{1-\sqrt{1-\eta^2}}
=
\sum_{k=0}^{s-2}(1-\eta^2)^{k/2}
=O(1/\eta). η 2 1 − ( 1 − η 2 ) 2 s − 1 < 1 − 1 − η 2 1 − ( 1 − η 2 ) 2 s − 1 = k = 0 ∑ s − 2 ( 1 − η 2 ) k /2 = O ( 1/ η ) .
This gives
1 − ( 1 − η 2 ) s − 1 2 = O ( η ) , i.e., ∃ M > 0 , ( 1 − η 2 ) s − 1 2 ≥ 1 − M η . 1-(1-\eta^2)^{\frac{s-1}{2}}=O(\eta),
\quad\text{i.e.,}\quad\exists M>0,\ (1-\eta^2)^{\frac{s-1}{2}}\ge1-M\eta. 1 − ( 1 − η 2 ) 2 s − 1 = O ( η ) , i.e., ∃ M > 0 , ( 1 − η 2 ) 2 s − 1 ≥ 1 − M η .
Now we take log to the both side, which gives
s − 1 2 < log ( 1 − M η ) log ( 1 − η 2 ) = M η ⋅ 1 + O ( η ) 1 + O ( η 2 ) = O ( 1 / η ) , \frac{s-1}{2}
<
\frac{\log(1-M\eta)}{\log(1-\eta^2)}
=
\frac{M}{\eta}\cdot\frac{1+O(\eta)}{1+O(\eta^2)}
=O(1/\eta), 2 s − 1 < log ( 1 − η 2 ) log ( 1 − M η ) = η M ⋅ 1 + O ( η 2 ) 1 + O ( η ) = O ( 1/ η ) ,
this finished the proof.
Lemma D.5. Under Assumption D.3, at entrance time s s s as defined in Entrance Time, we have ∣ x s ∣ ∈ O ( η ) |x_s|\in O(\sqrt{\eta}) ∣ x s ∣ ∈ O ( η ) . Moreover, we have y s = O ( η − 1 / 2 ) y_s=O(\eta^{-1/2}) y s = O ( η − 1/2 ) and y s > 0 y_s>0 y s > 0 .
Proof. y s = O ( η − 1 2 ) y_s = O(\eta^{-\frac{1}{2}}) y s = O ( η − 2 1 ) is easy to prove since in the linear region k ≤ s − 1 k \le s - 1 k ≤ s − 1 , we have
y k + 1 = y k − η q k , q k > 0 ⇒ y s ≤ y 0 = O ( η − 1 2 ) . (162) y_{k+1} = y_k - \eta q_k,\ q_k > 0 \Rightarrow y_s \le y_0 = O(\eta^{-\frac{1}{2}}). \tag*{(162)} y k + 1 = y k − η q k , q k > 0 ⇒ y s ≤ y 0 = O ( η − 2 1 ) . (162)
According to the definition of s s s , we have the following possibilities: Case 1: q s y s < 1 q_s y_s < 1 q s y s < 1 with x s > 0 x_s > 0 x s > 0 , and Case 2: x s < 0 x_s < 0 x s < 0 . In the following, we will prove the statement holds in both cases.
We first consider Case 1. Recall that case 1 implies ∀ t < s \forall t < s ∀ t < s , the trajectory lies in the linear region, where the following recurrence holds according to (159) :
D s = D 0 ( 1 − η 2 ) s . D_s = D_0 \left(1-\eta^2\right)^s. D s = D 0 ( 1 − η 2 ) s .
Since s = O ( 1 / η ) s = O(1/\eta) s = O ( 1/ η ) according to Lemma D.4, we have ( 1 − η 2 ) s = Ω ( 1 ) \left(1-\eta^2\right)^s = \Omega(1) ( 1 − η 2 ) s = Ω ( 1 ) . Moreover, we have D 0 = Ω ( 1 / η ) D_0 = \Omega(1/\eta) D 0 = Ω ( 1/ η ) according to (158) , these together gives
D s = Ω ( 1 / η ) . D_s = \Omega(1/\eta). D s = Ω ( 1/ η ) .
Since D s = y s 2 − q s 2 D_s = y_s^2 - q_s^2 D s = y s 2 − q s 2 , above gives
y s ≥ y s 2 − q s 2 = D s = Ω ( 1 / η ) . y_s \ge\sqrt{y_s^2-q_s^2} = \sqrt{D_s} = \Omega(1/\sqrt{\eta}). y s ≥ y s 2 − q s 2 = D s = Ω ( 1/ η ) .
Since q s ≥ c > 0 q_s \ge c > 0 q s ≥ c > 0 and c c c is fixed, the preceding lower bound on y s y_s y s implies q s y s ≥ c y s > 1 q_s y_s \ge c y_s > 1 q s y s ≥ c y s > 1 for sufficiently small η \eta η . This contradicts q s y s < 1 q_s y_s < 1 q s y s < 1 . Therefore, x s < 0 x_s < 0 x s < 0 and Case 1 can not happen.
Now we consider Case 2. In this case, we have x s < 0 x_s < 0 x s < 0 and x k − 1 > 0 x_{k-1} > 0 x k − 1 > 0 for all k ≤ s − 1 k \le s - 1 k ≤ s − 1 . This gives
x s = x s − 1 − η y s − 1 < 0 ⇒ ∣ x s ∣ = η y s − 1 − x s − 1 < η y s − 1 . (163) x_s = x_{s-1} - \eta y_{s-1} < 0 \Rightarrow|x_s| = \eta y_{s-1} - x_{s-1} < \eta y_{s-1}. \tag*{(163)} x s = x s − 1 − η y s − 1 < 0 ⇒ ∣ x s ∣ = η y s − 1 − x s − 1 < η y s − 1 . (163)
Since y s − 1 = O ( η − 1 2 ) y_{s-1} = O(\eta^{-\frac{1}{2}}) y s − 1 = O ( η − 2 1 ) according to (162) , this gives ∣ x s ∣ = O ( η 1 2 ) |x_s| = O(\eta^{\frac{1}{2}}) ∣ x s ∣ = O ( η 2 1 ) .
Finally, since D s − 1 > 0 D_{s-1} > 0 D s − 1 > 0 , we have y s − 1 > q s − 1 y_{s-1} > q_{s-1} y s − 1 > q s − 1 , and y s = y s − 1 − η q s − 1 ≥ ( 1 − η ) y s − 1 > 0 y_s = y_{s-1} - \eta q_{s-1} \ge(1-\eta)y_{s-1} > 0 y s = y s − 1 − η q s − 1 ≥ ( 1 − η ) y s − 1 > 0 . This finished the y y y -part of the proof.
From Lemma D.5, there exist constant Q Q Q , Y Y Y which are independent of η \eta η , such that
∣ x s ∣ ≤ Q η , 0 < y s < Y η − 1 2 . (164) |x_s| \le Q\sqrt{\eta},\ 0 < y_s < Y\eta^{-\frac{1}{2}}. \tag*{(164)} ∣ x s ∣ ≤ Q η , 0 < y s < Y η − 2 1 . (164)
Now we fix some constant M M M such that
M ≥ max { Q , Y } , (165) M \ge\max\{Q,Y\}, \tag*{(165)} M ≥ max { Q , Y } , (165)
and our aim is to prove the following lemma about the invariance of the tube.
Lemma D.6. Under Assumption D.3 and assume η \eta η satisfies η ( c + M η ) 2 < 1 \eta(c+M\sqrt{\eta})^2 < 1 η ( c + M η ) 2 < 1 , we have for all t ≥ s t \ge s t ≥ s , the following holds:
∣ x t ∣ ≤ M η , 0 < y t ≤ Y η − 1 2 . (166) |x_t| \le M\sqrt{\eta},\ 0 < y_t \le Y\eta^{-\frac{1}{2}}. \tag*{(166)} ∣ x t ∣ ≤ M η , 0 < y t ≤ Y η − 2 1 . (166) Moreover, y t y_t y t is a non-increasing function after t > s t > s t > s .
Proof. We prove by using induction. The base case t = s t = s t = s is true from (164) and the definition of M M M .
Assume that for a time point t ≥ s t \ge s t ≥ s , the inequalities in (166) hold. Then we need to prove that at time t + 1 t+1 t + 1 , (166) still holds.
We first note that the assumption ( c + M η ) 2 η < 1 (c+M\sqrt{\eta})^2\eta< 1 ( c + M η ) 2 η < 1 implies
η q t 2 ≤ η ( c + M η ) 2 < 1. (167) \eta q_t^2 \le\eta(c+M\sqrt{\eta})^2 < 1. \tag*{(167)} η q t 2 ≤ η ( c + M η ) 2 < 1. (167)
We dived the discussion into two cases. Case 1: y t q t > 1 y_t q_t > 1 y t q t > 1 and Case 2: y t q t < 1 y_t q_t < 1 y t q t < 1 , where we do not include the case y t q t = 1 y_t q_t = 1 y t q t = 1 for Assumption D.3.
We first consider Case 1. In this region, according to (155) , we have
y t + 1 = y t − η q t , y t > 1 / q t . (168) y_{t+1}=y_t-\eta q_t,\quad y_t>1/q_t. \tag*{(168)} y t + 1 = y t − η q t , y t > 1/ q t . (168)
It is easy to see y t y_t y t is a non-increasing function. Moreover, since η q t 2 < 1 \eta q_t^2<1 η q t 2 < 1 , we have
η q t < 1 / q t < y t , \eta q_t<1/q_t<y_t, η q t < 1/ q t < y t ,
therefore 0 < y t + 1 < y t ≤ Y η − 1 2 0<y_{t+1}<y_t\leq Y\eta^{-\frac{1}{2}} 0 < y t + 1 < y t ≤ Y η − 2 1 , and this finished y t + 1 y_{t+1} y t + 1 part of the induction. For the x t + 1 x_{t+1} x t + 1 part, we have
∣ x t + 1 ∣ = ∣ x t − η Sign ( x t ) y t ∣ = ∣ ∣ x t ∣ − η y t ∣ ≤ max { ∣ x t ∣ , η y t } ≤ max { M , Y } η , |x_{t+1}|=|x_t-\eta\operatorname{Sign}(x_t)y_t|=\bigl||x_t|-\eta y_t\bigr|\leq\max\{|x_t|,\eta y_t\}\leq\max\{M,Y\}\sqrt{\eta}, ∣ x t + 1 ∣ = ∣ x t − η Sign ( x t ) y t ∣ = ∣ x t ∣ − η y t ≤ max { ∣ x t ∣ , η y t } ≤ max { M , Y } η ,
and this finished the proof of Case 1.
Next we consider Case 2. If y t q t < 1 y_tq_t<1 y t q t < 1 , then according to (156) , we have
y t + 1 = ( 1 − η q t 2 ) y t . (169) y_{t+1}=(1-\eta q_t^2)y_t. \tag*{(169)} y t + 1 = ( 1 − η q t 2 ) y t . (169)
Moreover, since 0 < 1 − η q t 2 < 1 0<1-\eta q_t^2<1 0 < 1 − η q t 2 < 1 according to (167) , we have
y t + 1 = ( 1 − η q t 2 ) y t ≤ y t , (170) y_{t+1}=(1-\eta q_t^2)y_t\leq y_t, \tag*{(170)} y t + 1 = ( 1 − η q t 2 ) y t ≤ y t , (170)
and this finished y t + 1 y_{t+1} y t + 1 part of the induction. For the x x x -update, (156) gives
∣ x t + 1 ∣ = ∣ ∣ x t ∣ − η q t y t 2 ∣ ≤ max { ∣ x t ∣ , η q t y t 2 } ≤ max { ∣ x t ∣ , η y t } ≤ max { M , Y } η = M η , \begin{aligned}
|x_{t+1}|=\bigl||x_t|-\eta q_ty_t^2\bigr|\leq\max\{|x_t|,\eta q_ty_t^2\} \\
&\leq\max\{|x_t|,\eta y_t\} \\
&\leq\max\{M,Y\}\sqrt{\eta}=M\sqrt{\eta},
\end{aligned} ∣ x t + 1 ∣ = ∣ x t ∣ − η q t y t 2 ≤ max { ∣ x t ∣ , η q t y t 2 } ≤ max { ∣ x t ∣ , η y t } ≤ max { M , Y } η = M η ,
where the second inequality uses q t y t < 1 q_ty_t<1 q t y t < 1 . This completes the induction.
In the following, we combine Lemma D.4-D.6 to provide a proof of Proposition 5.1.
Proof of Proposition 5.1. From Lemma D.6 , we know y t > 0 y_t>0 y t > 0 and it is a non-increasing function of t t t , thus lim t → ∞ y t \lim_{t\to\infty}y_t lim t → ∞ y t exists, we denote
y ∞ : = lim t → ∞ y t ≥ 0. y_\infty:=\lim_{t\to\infty}y_t\geq0. y ∞ := t → ∞ lim y t ≥ 0.
We will show in fact y ∞ = 0 y_\infty=0 y ∞ = 0 . If y ∞ > 0 y_\infty>0 y ∞ > 0 , note that in the linear region q t y t > 1 q_ty_t>1 q t y t > 1 , after each iteration y t y_t y t will decrease η q t > η c \eta q_t>\eta c η q t > η c . Thus there must exists some T > 0 T>0 T > 0 , such that for t > T t>T t > T , the trajectory ( x t , y t ) (x_t,y_t) ( x t , y t ) always lies in the quadratic region where q t y t < 1 q_ty_t<1 q t y t < 1 , and we have
y t + 1 = ( 1 − η q t 2 ) y t . y_{t+1}=(1-\eta q_t^2)y_t. y t + 1 = ( 1 − η q t 2 ) y t .
Since q t > c q_t>c q t > c , we have y t + 1 ≤ ( 1 − η c 2 ) y t y_{t+1}\leq(1-\eta c^2)y_t y t + 1 ≤ ( 1 − η c 2 ) y t , and this enforces lim t → ∞ y t = 0 \lim_{t\to\infty}y_t=0 lim t → ∞ y t = 0 . Finally, according to Lemma D.2 and Lemma D.6 , we have
λ t c ≤ ( y t + q t ) 2 , q t ≤ c + M η . \lambda_t^c\leq(y_t+q_t)^2,\quad q_t\leq c+M\sqrt{\eta}. λ t c ≤ ( y t + q t ) 2 , q t ≤ c + M η .
Through taking the limit in above as t → ∞ t\to\infty t → ∞ , we get
lim t → ∞ λ t c ≤ lim sup t → ∞ q t 2 = O ( η + c 2 ) , \lim_{t\to\infty}\lambda_t^c\leq\limsup_{t\to\infty}q_t^2=O(\eta+c^2), t → ∞ lim λ t c ≤ t → ∞ lim sup q t 2 = O ( η + c 2 ) ,
and this finished the proof.
Experimental Details of Section 5.1
In this section, we summarize the experimental details in Figure 2 and Figure 3 in § 5.1 . Our experimental setting follows the standard setting of the edge-of-stability literature [10 , 9 ] with a modification to the adversarial training setting. All experiments were conducted using two NVIDIA RTX 5090 GPUs.
Neural network architectures & Data Set. We use four architectures: MLP, CNN, ResNet, and ViT, all applied to a 4 class, 1000 example subset of CIFAR-10 (250 examples per class). The architectures are the same as those used by standard EoS literature [10 , 9 ] .
MLP. A fully connected network with two hidden layers of width 256 and GELU activations, followed by a linear output layer. This gives 854K parameters.
CNN. A two-layer convolutional network: two 3 × 3 3 \times3 3 × 3 convolutions (base width 32, doubling to 64 in the second layer) with GELU activations and 2 × 2 2 \times2 2 × 2 average pooling after each, followed by a fully connected hidden layer (width 128) and a linear output layer. This gives 544K parameters.
ResNet. A pre-activation residual network with 3 stages of 3 basic blocks each (9 residual blocks total), base width 16 doubling at each stage transition, GroupNorm, GELU activations, and residual branches initialized to output zero at initialization (so the network starts as the identity map). This gives 293K parameters.
ViT. A Vision Transformer with patch size 4 (64 patches per image), embedding dimension 64, depth 4, 8 attention heads, and MLP dimension 256, using learnable LayerNorm and global average pooling in place of a class token. This gives 661K parameters.
Adversarial attacks. In Figure 2 , adversarial perturbations are constrained to an ℓ ∞ \ell_\infty ℓ ∞ ball with radii 2 / 255 2/255 2/255 , 3 / 255 3/255 3/255 , and 4 / 255 4/255 4/255 , which bound the maximum absolute perturbation to each pixel channel. In Figure 3 , perturbations are constrained to an ℓ 2 \ell_2 ℓ 2 ball with radii 28 / 255 28/255 28/255 , 70 / 255 70/255 70/255 , and 112 / 255 112/255 112/255 , which bound the Euclidean norm of the perturbation over the entire image. The adversarial example is generated by the FGSM method. These radii are smaller than those commonly used in adversarial robustness benchmarks on CIFAR-10, such as 8 / 255 8/255 8/255 for ℓ ∞ \ell_\infty ℓ ∞ attacks and 127 / 255 127/255 127/255 for ℓ 2 \ell_2 ℓ 2 attacks [34 ] . This choice reflects our experimental objective: to characterize differences in sharpness evolution between standard and adversarial training, rather than to maximize robust accuracy. Our experiments demonstrate that these differences arise even with relatively small adversarial perturbations.
Sharpness is estimated from the parameter Hessian with the generated adversarial inputs held fixed. We use warm-started LOBPCG to refresh the leading eigenvector every 100 training steps, with the solver tolerance parameter set to 10 − 10 10^{-10} 1 0 − 10 . Between refreshes, we estimate sharpness using the Rayleigh quotient along the most recently computed direction.
Additional Experimental for Section 5.1
Different attack methods. In Figure 5 and Figure 6 , we present numerical results that use PGD to generate the adversarial example. Besides this, all the experimental setting are the same as those in Figure 2 and Figure 3 . Claims in § 5.1 are also supported by this group of experiments.
Figure 5. Sharpness evolution under standard training and ℓ ∞ \ell_\infty ℓ ∞ -adversarial training on CIFAR-10. Adversarial examples are generated using (PGD).
Figure 6. Sharpness evolution under standard training and ℓ 2 \ell_2 ℓ 2 -adversarial training on CIFAR-10. Adversarial examples are generated using (PGD).
Evolution of adversarial losses. In the edge-of-stability phenomenon, when sharpness begins to oscillate around the 2 / η 2/\eta 2/ η threshold, the standard loss also begins to oscillate while decreasing over longer timescales [10 ] . We observe similar loss behavior in adversarial training: the adversarial loss initially decreases almost monotonically while adversarial sharpness increases. Once adversarial sharpness begins to oscillate with an overall decreasing trend, the adversarial loss also begins to oscillate while continuing to decrease over longer timescales. We present the comparison between the sharpness and loss curves by using the smallest step sizes in above experiments (η = 0.005 \eta= 0.005 η = 0.005 ), as in these experiments the sharpness have the longest increasing period.
Different Dataset. In Figure 9 , we present experimental results on the SVHN dataset. SVHN consists of 32 × 32 32 \times32 32 × 32 RGB crops of house-number digits. It can be observed that the sharpness also exhibits the two-stage behavior.
Figure 9. Sharpness evolution of CNN, ResNet, and ViT on the SVHN dataset. The adversarial examples are generated by the FGSM method with ℓ ∞ \ell_\infty ℓ ∞ geometry. It can be observed that the sharpness also exhibits the two-stage behavior described in § 5 .
Different Sample Sizes. In Figure 10 , we present numerical results with sample sizes n = 600 n = 600 n = 600 and 800 for the deterministic gradient descent. These experiments show that two-stage behavior described in § 5 holds for different sample sizes.
Figure 10. Sharpness evolution of CNN, ResNet, and ViT with different sample sizes.
Figure 8. The experimental setting is same as Figure 7 , besides the adversarial attacks are generated by PGD.
Figure 7. Comparison of the oscillation behaviors between sharpness and losses. It can be seen that when the sharpness starts to oscillate with a decreasing trend, the losses also start to oscillate. The experimental setting is step size η = 0.005 \eta= 0.005 η = 0.005 with different architectures on CIFAR-10, and the adversarial attacks are generated by FGSM with ℓ ∞ \ell_\infty ℓ ∞ geometry (upper) or ℓ 2 \ell_2 ℓ 2 geometry (lower).