Introduction
In continual learning, the learner is expected to learn sequentially from data, without ‘forgetting’ previous tasks. In recent years, driven by the remarkable success of artificial intelligence (AI) systems [32 , 26 , 25 ] , continual learning has attracted significant attention, as most modern models are static in nature and do not adapt to newly arriving data. Unlike conventional machine learning models, continual learning involves learning from dynamic data distributions and faces a challenge known as catastrophic forgetting [23 , 12 ] , where adaptation to new distributions often leads to a substantial loss of performance on previously learned ones.
Many continual learning works aimed to reduce forgetting by explicitly penalizing changes in parameter space using per-parameter regularization terms [e.g. 17 , 33 , 2 , 5 ] . Others [22 , 29 ] showed empirically that isotropic L 2 L2 L 2 regularization results in similar performance. Practically, it is also common to minimize the current task’s unregularized loss with a gradient algorithm for a finite number of steps (in contrast to theoretically learning to convergence). This cheaper alternative implicitly regularizes the model, even in stationary settings [1 ] . To better understand catastrophic forgetting and how to mitigate it, most theoretical papers focus on a simplified setting, such as continual linear regression. This simplified yet analytically tractable setting captures essential features of sequential learning and has proven useful for analyzing diverse continual learning systems ([19 , 18 , 11 ] (Hiratani 2024)).
Existing optimization-focused work ([9 , 11 , 18 , 31 ] ) had to make a limiting assumption of joint realizability—i.e., that training data can be perfectly fitted by a single noiseless ‘teacher’ model. In contrast, we adopt a statistical framework, focusing on the generalization loss. Such analysis allows adopting a closed-form characterization of the generalization loss that naturally accommodates multiple teachers and label noise, thereby better capturing real-world scenarios. Moreover, our framework yields exact generalization expressions, whereas optimization-focused works only allow worst-case upper and lower bounds. Such expressions better align with empirical experiments, highlighting the explanatory role of this framework ([20 , 16 ] ). Building on this framework, in this paper we investigate several remaining mysteries in continual learning regression. Our contributions are the following:
We derive an exact closed-form generalization expression for early-stopped gradient descent that accommodates arbitrary teachers and label noise, and show that the optimal step decays as ln T / T \ln T/T ln T / T , for a single teacher and, more generally, i.i.d. teachers.
We identify a teacher regime under which the optimal step size need not scale with T T T .
We derive the exact generalization loss under task-dependent diagonal regularization in the single-teacher setting, and characterize when isotropic regularization remains optimal.
We empirically validate our theoretical findings on continual linear models and neural networks, using both synthetic and MNIST-based data.
Setting: Regularized Continual Learning with Implicit or Explicit Regularization
Learning scheme. We study the continual linear regression setting, which has been widely studied in recent years ([9 , 11 , 34 , 36 , 18 ] ).
In our setting the learner is exposed to T T T sequential tasks, that is, ( X 1 , y 1 ) , ( X 2 , y 2 ) , … , ( X T , y T ) (X_1,y_1),(X_2,y_2),\ldots,(X_T,y_T) ( X 1 , y 1 ) , ( X 2 , y 2 ) , … , ( X T , y T ) , where each X t ∈ R n × d X_t \in\mathbb{R}^{n \times d} X t ∈ R n × d , y t ∈ R n y_t \in\mathbb{R}^n y t ∈ R n . During task t t t , the learner observes only the data ( X t , y t ) (X_t,y_t) ( X t , y t ) associated with that task and updates its predictor accordingly, without having access to data from any other task. To be capable of learning sequentially, many continual learning algorithms incorporate a regularization towards the last iterate. A prominent line of work proposes using the Fisher information to weight this regularization ([17 , 4 ] ). However, subsequent studies have observed that a much simpler isotropic regularization performs comparably well in practice ([14 , 22 ] ). Following recent theoretical works ([18 , 35 ] ) we focus on L2 (isotropic) regularization.
Algorithm 1 Continual linear regression with L2 regularization
Input: { ( X i , y i ) } i = 1 T \{(X_i,y_i)\}_{i=1}^{T} {( X i , y i ) } i = 1 T , regularization strength λ \lambda λ
Initialize w 0 ∈ R d w_0 \in\mathbb{R}^d w 0 ∈ R d
For each iteration t = 1 , … , T t = 1,\ldots,T t = 1 , … , T :
w t ← arg min w { 1 2 n ∥ X t w − y t ∥ 2 + λ 2 ∥ w − w t − 1 ∥ 2 } w_t \leftarrow\arg\min_w \left\{ \frac{1}{2n}\lVert X_t w-y_t\rVert^2 + \frac{\lambda}{2}\lVert w-w_{t-1}\rVert^2 \right\} w t ← arg w min { 2 n 1 ∥ X t w − y t ∥ 2 + 2 λ ∥ w − w t − 1 ∥ 2 }
Output: w T w_T w T
Employing explicit regularization may become impractical in high-dimensional settings or over long task horizons, as it incurs a high computational cost (as we have to fully minimize the objective in 1). For this reason, we also study a gradient algorithm run for a finite number of steps, which naturally induces a form of implicit regularization ([1 , 30 ] ), while maintaining a relative small cost. In line with recent theoretical works ([8 , 18 ] ), we will mainly focus on this scheme and its relation to the optimal regularized L2 (isotropic) solution.
Algorithm 2 Continual linear regression with finite step budgets (Early-stopped GD)
Input: { ( X i , y i ) } i = 1 T \{(\mathbf{X}_i,y_i)\}_{i=1}^{T} {( X i , y i ) } i = 1 T , inner step count N N N , and step size γ \gamma γ
Initialize w 0 ∈ R d \mathbf{w}_0 \in\mathbb{R}^d w 0 ∈ R d
For each task t = 1 , … , T t = 1,\ldots,T t = 1 , … , T :
Initialize w ( 0 ) ← w t − 1 \mathbf{w}^{(0)} \leftarrow\mathbf{w}_{t-1} w ( 0 ) ← w t − 1
For s = 1 , … , N s = 1,\ldots,N s = 1 , … , N :
w ( s ) ← w ( s − 1 ) − γ ∇ 1 2 n ∥ X t w ( s − 1 ) − y t ∥ 2 \mathbf{w}^{(s)} \leftarrow\mathbf{w}^{(s-1)}-\gamma\nabla\frac{1}{2n}\lVert\mathbf{X}_t\mathbf{w}^{(s-1)}-\mathbf{y}_t\rVert^2 w ( s ) ← w ( s − 1 ) − γ ∇ 2 n 1 ∥ X t w ( s − 1 ) − y t ∥ 2
w t ← w ( N ) \mathbf{w}_t \leftarrow\mathbf{w}^{(N)} w t ← w ( N )
Output w T \mathbf{w}_T w T
A widely used alternative that has been popular in recent empirical and theoretical works [17 , 27 , 34 ] considers continual learning through a quadratic regularization that penalizes deviations from the previous iterate as ∥ w − w t − 1 ∥ M t 2 = ( w − w t − 1 ) T M t ( w − w t − 1 ) \lVert\mathbf{w}-\mathbf{w}_{t-1}\rVert_{\mathbf{M}_t}^2=(\mathbf{w}-\mathbf{w}_{t-1})^{\mathsf{T}}\mathbf{M}_t(\mathbf{w}-\mathbf{w}_{t-1}) ∥ w − w t − 1 ∥ M t 2 = ( w − w t − 1 ) T M t ( w − w t − 1 ) , where M t ⪰ 0 \mathbf{M}_t\succeq0 M t ⪰ 0 is a regularization matrix. This formulation generalizes the L2 regularization in Algorithm 1, which is recovered by setting M t = λ I \mathbf{M}_t=\lambda\mathbf{I} M t = λ I , it also encompasses regularization schemes such as Fisher-information methods.
Algorithm 3 Generalized L2 continual learning scheme
Input: { ( X i , y i ) } i = 1 T \{(\mathbf{X}_i,y_i)\}_{i=1}^{T} {( X i , y i ) } i = 1 T , regularization matrices { M t } t = 1 T \{\mathbf{M}_t\}_{t=1}^{T} { M t } t = 1 T
Initialize w 0 ∈ R d \mathbf{w}_0 \in\mathbb{R}^d w 0 ∈ R d
For each iteration t = 1 , … , T t = 1,\ldots,T t = 1 , … , T :
w t ← arg min w { 1 2 n ∥ X t w − y t ∥ 2 + 1 2 ∥ w − w t − 1 ∥ M t 2 } \mathbf{w}_t \leftarrow\mathop{\arg\min}_{\mathbf{w}}\left\{\frac{1}{2n}\lVert\mathbf{X}_t\mathbf{w}-\mathbf{y}_t\rVert^2+\frac{1}{2}\lVert\mathbf{w}-\mathbf{w}_{t-1}\rVert_{\mathbf{M}_t}^2\right\} w t ← arg min w { 2 n 1 ∥ X t w − y t ∥ 2 + 2 1 ∥ w − w t − 1 ∥ M t 2 }
Output: w T \mathbf{w}_T w T
In practice, due to memory and computational constraints, continual learning systems typically employ diagonal regularization matrices to selectively penalize deviations from previously learned predictors [17 , 27 , 2 , 5 ] , rather than maintaining a full d × d d\times d d × d regularization matrix. Indeed, a full matrix can, in principle, eliminate forgetting entirely; see Evron et al. (2023, Proposition 5.5).
Setup: high dimensional data
Data model. In this paper, we consider a high-dimensional random design with independent feature matrices X 1 , … , X T \mathbf{X}_1,\ldots,\mathbf{X}_T X 1 , … , X T , where each X t ∈ R n × d \mathbf{X}_t\in\mathbb{R}^{n\times d} X t ∈ R n × d has i.i.d. entries with zero mean, and variance v x > 0 v_x>0 v x > 0 with finite 4 + ϵ 4+\epsilon 4 + ϵ moment for some ϵ > 0 \epsilon>0 ϵ > 0 , and an arbitrary initialization w 0 ≜ w 0 ⋆ \mathbf{w}_0\triangleq\mathbf{w}_0^\star w 0 ≜ w 0 ⋆ . Moreover, the problem dimensions grow to infinity at a proportional rate α : = n d ∈ ( 0 , ∞ ) \alpha:=\frac{n}{d}\in(0,\infty) α := d n ∈ ( 0 , ∞ ) .
For each task t ∈ [ 1 , T ] ≜ { 1 , … , T } t\in[1,T]\triangleq\{1,\ldots,T\} t ∈ [ 1 , T ] ≜ { 1 , … , T } , labels are generated from a corresponding teacher vector w t ⋆ ∈ R d \mathbf{w}_t^\star\in\mathbb{R}^d w t ⋆ ∈ R d using a noisy linear model. That is,
y t = X t w t ⋆ + z t , \mathbf{y}_t=\mathbf{X}_t\mathbf{w}_t^\star+\mathbf{z}_t, y t = X t w t ⋆ + z t ,
where z t \mathbf{z}_t z t is a label noise vector, with E [ z t ] = 0 \mathbb{E}[\mathbf{z}_t]=0 E [ z t ] = 0 and Cov ( z t ) = v z I \operatorname{Cov}(\mathbf{z}_t)=v_z\mathbf{I} Cov ( z t ) = v z I for some noise variance v z ≥ 0 v_z\geq0 v z ≥ 0 , sampled independently of all tasks. To ensure a well-behaved high-dimensional limit, we assume that the teacher correlations converge to finite deterministic limits and are uniformly integrable, i.e.
( w i ⋆ − w j ⋆ ) T ( w k ⋆ − w l ⋆ ) → d → ∞ r i , j , k , l , ∀ i , j , k , l ∈ [ 0 , T ] . (\mathbf{w}_i^\star-\mathbf{w}_j^\star)^{\mathsf{T}}(\mathbf{w}_k^\star-\mathbf{w}_l^\star)\xrightarrow[d\to\infty]{}r_{i,j,k,l},\qquad\forall i,j,k,l\in[0,T]. ( w i ⋆ − w j ⋆ ) T ( w k ⋆ − w l ⋆ ) d → ∞ r i , j , k , l , ∀ i , j , k , l ∈ [ 0 , T ] .
Evaluation metrics. Following recent theoretical work in continual learning [9 , 18 , 11 ] , we evaluate the model error using the mean-squared-error (MSE) loss, that is, 1 n ∥ X i w − y i ∥ 2 \frac{1}{n}\lVert\mathbf{X}_i\mathbf{w}-\mathbf{y}_i\rVert^2 n 1 ∥ X i w − y i ∥ 2 , however, under our data model, averaging over independent test data and label noise, gives,
1 n E ∥ X i w − y i ∥ 2 = 1 n E ∥ X i ( w − w i ⋆ ) − z i ∥ 2 = v x ∥ w − w i ⋆ ∥ 2 + v z . (1) \frac{1}{n}\mathbb{E}\lVert\mathbf{X}_i\mathbf{w}-\mathbf{y}_i\rVert^2=\frac{1}{n}\mathbb{E}\lVert\mathbf{X}_i(\mathbf{w}-\mathbf{w}_i^\star)-\mathbf{z}_i\rVert^2=v_x\lVert\mathbf{w}-\mathbf{w}_i^\star\rVert^2+v_z. \tag*{(1)} n 1 E ∥ X i w − y i ∥ 2 = n 1 E ∥ X i ( w − w i ⋆ ) − z i ∥ 2 = v x ∥ w − w i ⋆ ∥ 2 + v z . (1)
Thus, the dependence of the expected loss on the predictor w \mathbf{w} w is entirely captured by the distance ∥ w − w i ⋆ ∥ \lVert\mathbf{w}-\mathbf{w}_i^\star\rVert ∥ w − w i ⋆ ∥ . Consequently, following recent works [20 , 34 Karpel et al.,] 2026), we measure performance through the distance between the predictor w \mathbf{w} w and the corresponding teacher w i ⋆ \mathbf{w}^{\star}_{i} w i ⋆ . This reduction allows us to formally define our metrics of interest.
Definition 1 (Task loss). For any predictor w ∈ R d \mathbf{w} \in\mathbb{R}^{d} w ∈ R d , the loss of the predictor in task i ∈ [ 1 , T ] i \in[1,T] i ∈ [ 1 , T ] is defined as the distance between the predictor and the teacher of the associated task, that is,
L i ( w ) = ∥ w − w i ⋆ ∥ 2 . \mathcal{L}_{i}(\mathbf{w}) = \lVert\mathbf{w} - \mathbf{w}^{\star}_{i} \rVert^{2}. L i ( w ) = ∥ w − w i ⋆ ∥ 2 .
Definition 2 (Generalization error). At iteration t t t , the generalization error is defined as the average task loss of the predictor w t ∈ R d \mathbf{w}_{t} \in\mathbb{R}^{d} w t ∈ R d over all tasks observed up to time t t t , that is,
G t ≜ 1 t ∑ i = 1 t L i ( w t ) = 1 t ∑ i = 1 t ∥ w t − w i ⋆ ∥ 2 . G_{t} \triangleq\frac{1}{t}\sum_{i=1}^{t}\mathcal{L}_{i}(\mathbf{w}_{t}) = \frac{1}{t}\sum_{i=1}^{t}\lVert\mathbf{w}_{t} - \mathbf{w}^{\star}_{i} \rVert^{2}. G t ≜ t 1 i = 1 ∑ t L i ( w t ) = t 1 i = 1 ∑ t ∥ w t − w i ⋆ ∥ 2 .
Notations. Throughout the paper, we use → P \xrightarrow{P} P for convergence in probability. We let G T r i d g e G_{T}^{\mathrm{ridge}} G T ridge , G T e s g d G_{T}^{\mathrm{esgd}} G T esgd , and G T g e n G_{T}^{\mathrm{gen}} G T gen denote the generalization loss after T T T iterations by Algorithms 1, 2, and 3, respectively.
Early-stopped GD generalization loss and the optimal step-size
In this section, we derive an exact closed-form expression for the generalization loss attained by the early-stopped GD algorithm (Algorithm 2). Through this section, we consider only the step sizes that ensure the convergence of the early-stopped GD algorithm, that is, γ < 2 λ max ( 1 n X T X ) \gamma< \frac{2}{\lambda_{\max}(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X})} γ < λ m a x ( n 1 X T X ) 2 , for generic X \mathbf{X} X following the statistical setting described in § 3 . Our key technical result is the following.
Theorem 1 (Generalization loss). Recall the high-dimensional setting where the number of samples and the dimension grow at proportional rate α : = n d \alpha:= \frac{n}{d} α := d n . Moreover, recall that v x v_x v x , v z v_z v z are the variances of features and labels, respectively. Then, the generalization loss after T T T tasks of the early-stopped GD algorithm (Algorithm 2) satisfies, as n , d → ∞ n,d \to\infty n , d → ∞ ,
G T e s g d → P v z c ′ 1 − a ′ T 1 − a ′ + 1 T ∑ i = 1 T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) T ∑ i = 1 T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) G_{T}^{\mathrm{esgd}} \xrightarrow{P} v_z c' \frac{1-a'^{T}}{1-a'} + \frac{1}{T}\sum_{i=1}^{T}\lVert\mathbf{w}^{\star}_{T} - \mathbf{w}^{\star}_{i} \rVert^{2} + 2(\mathbf{w}^{\star}_{T} - \bar{\mathbf{w}}^{\star})^{\mathsf{T}}\sum_{i=1}^{T} b'^{T-i+1}(\mathbf{w}^{\star}_{i-1} - \mathbf{w}^{\star}_{i}) G T esgd P v z c ′ 1 − a ′ 1 − a ′ T + T 1 i = 1 ∑ T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) T i = 1 ∑ T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) + ∑ i = 1 T ∑ i ′ = 1 T a ′ T − max ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) , \qquad+ \sum_{i=1}^{T}\sum_{i'=1}^{T} a'^{T-\max(i,i')+1}b'^{\lvert i-i'\rvert}(\mathbf{w}^{\star}_{i-1} - \mathbf{w}^{\star}_{i})^{\mathsf{T}}(\mathbf{w}^{\star}_{i'-1} - \mathbf{w}^{\star}_{i'}), + i = 1 ∑ T i ′ = 1 ∑ T a ′ T − m a x ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) , where we denote w 0 ⋆ = w 0 and w ˉ ⋆ = 1 T ∑ i = 1 T w i ⋆ , \text{where we denote }\mathbf{w}^{\star}_{0} = \mathbf{w}_{0}\text{ and }\bar{\mathbf{w}}^{\star} = \frac{1}{T}\sum_{i=1}^{T}\mathbf{w}^{\star}_{i}, where we denote w 0 ⋆ = w 0 and w ˉ ⋆ = T 1 i = 1 ∑ T w i ⋆ , a ′ = 1 − 2 N v x γ + O ( ( N γ ) 2 ) , b ′ = 1 − N v x γ + O ( ( N γ ) 2 ) , a' = 1 - 2Nv_x\gamma+ O((N\gamma)^2), \qquad b' = 1 - Nv_x\gamma+ O((N\gamma)^2), a ′ = 1 − 2 N v x γ + O (( N γ ) 2 ) , b ′ = 1 − N v x γ + O (( N γ ) 2 ) , c ′ = N 2 α v x γ 2 + O ( ( N γ ) 3 ) . (2) c' = \frac{N^{2}}{\alpha}v_x\gamma^{2} + O((N\gamma)^3). \tag*{(2)} c ′ = α N 2 v x γ 2 + O (( N γ ) 3 ) . (2)
The proof of Theorem 1, along with the remaining proofs in this section, is provided in Appendix § 12 , where we also give the full expressions for a ′ a' a ′ , b ′ b' b ′ , and c ′ c' c ′ (Eqs. (9) , (12) , (8) , respectively). To aid interpretation, we include a numerical validation of the predictions of Theorem 1 in Appendix § 10 .§ 1 .
Thus far, the exact generalization prediction in Theorem 1 has accommodated arbitrary teacher setup. To obtain more meaningful results, following prior works [36 , 16 ] , we now consider teachers that are sampled i.i.d. from a common distribution.
Assumption 1 (i.i.d. teachers). Considering the statistical setting of § 3 , the teachers w 1 ⋆ , … , w T ⋆ \mathbf{w}^{\star}_{1}, \ldots, \mathbf{w}^{\star}_{T} w 1 ⋆ , … , w T ⋆ are drawn i.i.d. from a distribution with a mean w ⋆ \mathbf{w}^{\star} w ⋆ and covariance Σ \boldsymbol{\Sigma} Σ where ∥ Σ ∥ ∗ ≤ C < ∞ \lVert\boldsymbol{\Sigma}\rVert_{*} \le C < \infty ∥ Σ ∥ ∗ ≤ C < ∞ , independently of all other random variables (features and labels).
This assumption yet remains more permissive than theoretical works in continual learning which typically assume a single teacher [19 , 35 ] or joint realizability across training sets [9 , 11 , 18 , 31 ] .
A theory-guided selection of the step size γ \gamma γ and the number of gradient steps N N N is crucial in settings where exhaustive tuning is impractical or infeasible, as in continual learning. This motivates the need for principled tuning rules. Such a rule follows from our next result, which we prove in Appendix § 12 .§ 3 , by characterizing the optimal parameters that minimize the generalization loss of Theorem 1.
Theorem 2 (Optimal step size). Under the i.i.d. teacher setting (Assumption 1) with a nontrivial mean teacher w ⋆ ≠ w 0 \mathbf{w}^{\star} \ne\mathbf{w}_{0} w ⋆ = w 0 , 1 as n , d → ∞ n,d \to\infty n , d → ∞ the optimal fixed step size γ ⋆ \gamma^{\star} γ ⋆ that minimizes the generalization loss of the early-stopped GD algorithm (Algorithm 2) after T T T tasks satisfies γ ⋆ ≍ ln T N T \gamma^{\star} \asymp\frac{\ln T}{NT} γ ⋆ ≍ N T l n T . Specifically, for all sufficiently large T > T 0 = Θ ( 1 ϵ 2 ln 2 ( 1 / ϵ ) ) T>T_{0}=\Theta\left(\frac{1}{\epsilon^{2}\ln^{2}(1/\epsilon)}\right) T > T 0 = Θ ( ϵ 2 l n 2 ( 1/ ϵ ) 1 ) , 2 the optimal parameters satisfy
1 1 + ϵ ln ( T ) + ln ( Γ ) 2 N v x T < γ ⋆ < 1 1 − ϵ ln ( T ) + ln ( Γ ) 2 N v x T , \frac{1}{1+\epsilon}\frac{\ln(T)+\ln(\Gamma)}{2Nv_xT}<\gamma^{\star}<\frac{1}{1-\epsilon}\frac{\ln(T)+\ln(\Gamma)}{2Nv_xT}, 1 + ϵ 1 2 N v x T ln ( T ) + ln ( Γ ) < γ ⋆ < 1 − ϵ 1 2 N v x T ln ( T ) + ln ( Γ ) , where Γ = 4 α v x ∥ w ⋆ − w 0 ∥ 2 v z + v x Tr ( Σ ) ( α + 1 ) \Gamma=\frac{4\alpha v_x\lVert\mathbf{w}^{\star}-\mathbf{w}_{0}\rVert^{2}}{v_z+v_x\operatorname{Tr}(\Sigma)(\alpha+1)} Γ = v z + v x Tr ( Σ ) ( α + 1 ) 4 α v x ∥ w ⋆ − w 0 ∥ 2 . In the degenerate noiseless case of Tr ( Σ ) = v z = 0 \operatorname{Tr}(\Sigma)=v_z=0 Tr ( Σ ) = v z = 0 , the optimal choice is any γ ⋆ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma^{\star}\in\left(0,2v_x^{-1}(1+\alpha^{-1/2})^{-2}\right) γ ⋆ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) and N → ∞ N\to\infty N → ∞ .
Moreover, if γ ≍ ln T N T \gamma\asymp\frac{\ln T}{NT} γ ≍ N T l n T the resulting generalization loss of the early-stopped GD matches that of optimally tuned L2 regularization up to O ( 1 / T ) O(1/T) O ( 1/ T ) factor.
Experiments on Synthetic Regression Data
We empirically validate the theoretical predictions of Theorem 2 using finite dimensional data. For each task i ∈ [ 1 , T ] i\in[1,T] i ∈ [ 1 , T ] we sample a teacher w i ⋆ ∼ N ( w ⋆ , 1 d I ) \mathbf{w}_{i}^{\star}\sim\mathcal{N}(\mathbf{w}^{\star},\frac{1}{d}\mathbf{I}) w i ⋆ ∼ N ( w ⋆ , d 1 I ) . We use d = 80 d=80 d = 80 and n = 50 n=50 n = 50 as the dimensions, and we sample X i , j ∼ N ( 0 , 1 ) X_{i,j}\sim\mathcal{N}(0,1) X i , j ∼ N ( 0 , 1 ) . We fix the number of gradient steps as N = 20 N=20 N = 20 .
Figure 1 : The plots provide empirical evidence for the Theorem 2. Here, we set v z = 1 v_z=1 v z = 1 ; γ ^ ⋆ \hat{\gamma}^{\star} γ ^ ⋆ denotes the empirically optimal value, while γ ⋆ \gamma^{\star} γ ⋆ is the theoretical prediction by Theorem 2. We compute the empirical optimal γ ^ ⋆ \hat{\gamma}^{\star} γ ^ ⋆ , λ ^ ⋆ \hat{\lambda}^{\star} λ ^ ⋆ with an exhaustive search. Empirical curves are averaged over 50 runs.
Figure 1. (a) Under optimal tuning, L2 regularization and early-stopped GD coincide as predicted by Theorem 2. (b) Optimal step size strength decays as predicted by Theorem 2.
Up to this point, Theorem 2 yields a practical rule of thumb for choosing the number of gradient steps N N N and the step size γ \gamma γ in which we find that γ ⋆ ≍ ln T N T \gamma^{\star}\asymp\frac{\ln T}{NT} γ ⋆ ≍ N T l n T . In practice, this allows one to tune the parameter on tasks with smaller task horizons to identify this scaling, and then extrapolate it to larger task horizons, for which direct tuning would be computationally infeasible. For example, for T = 1000 T=1000 T = 1000 , one can tune at T = 10 T=10 T = 10 and then set γ ( 1000 ) = 10 ln ( 1000 ) 1000 ln ( 10 ) γ ^ ⋆ ( 10 ) ≈ 0.03 γ ^ ⋆ ( 10 ) \gamma(1000)=\frac{10\ln(1000)}{1000\ln(10)}\hat{\gamma}^{\star}(10)\approx0.03\hat{\gamma}^{\star}(10) γ ( 1000 ) = 1000 l n ( 10 ) 10 l n ( 1000 ) γ ^ ⋆ ( 10 ) ≈ 0.03 γ ^ ⋆ ( 10 ) . Moreover, under this choice, the resulting generalization loss remains close to the one attained with optimally tuned L2 regularization while achieving substantially lower computational cost. This result quantifies the close connection between early-stopped GD and optimally tuned isotropic regularization, which has been shown to perform comparably well to standard baselines in continual learning [14 , 29 ] . At the same time, many continual learning methods introduce more expressive diagonal-based regularization terms to selectively penalize deviations from previously learned predictors [17 , 27 , 2 ] , this naturally raises the question of when such simple isotropic regularization is sufficient. To capture this class of methods, we next study ridge regression with a diagonal regularization matrix.
Explicit Diagonal Regularization: When Is It Better?
In this section, we consider the generalized ridge regression algorithm (Algorithm 3) with arbitrary positive-definite diagonal regularization matrices { M t } t = 1 T \{\mathbf{M}_{t}\}_{t=1}^{T} { M t } t = 1 T (spectrally bounded3 ). Importantly, this formulation already captures the core structure of the algorithms that are widely used in practice ([17 , 33 , 5 ] ). Our goal is to derive an exact generalization analysis, under the following technical assumption.
Assumption 2 (Realizability). Considering the statistical setting of § 3 , we assume a single teacher across all tasks, that is,
w 1 ⋆ = w 2 ⋆ = … = w T ⋆ = w ⋆ , \mathbf{w}_1^\star=\mathbf{w}_2^\star=\ldots=\mathbf{w}_T^\star=\mathbf{w}^\star, w 1 ⋆ = w 2 ⋆ = … = w T ⋆ = w ⋆ , drawn independently of all random variables (features and labels).
The single-teacher assumption is standard in prior theoretical work ([19 , 8 , 35 ] ). In our setting, it is primarily adopted for analytical simplicity rather than as a restriction, and our framework naturally extends to general (task-varying) teachers. This leads to the following closed-form characterization of the generalization loss.
Theorem 3 (Generalization loss). Under Assumption 2, the generalization loss after T T T tasks of the generalized ridge algorithm (Algorithm 3), specialized to a fixed regularization matrix M \mathbf{M} M , satisfies, as n , d → ∞ n,d\to\infty n , d → ∞ ,
G T g e n → P ( w 0 − w ⋆ ) ⊤ ( Q ˉ 2 T + v x ∑ k = 1 T Q ˉ 2 k μ ~ ρ ~ k ) ( w 0 − w ⋆ ) G_T^{\mathrm{gen}}\xrightarrow{\mathrm{P}}(\mathbf{w}_0-\mathbf{w}^\star)^\top\left(\bar{\mathbf{Q}}^{2T}+v_x\sum_{k=1}^{T}\bar{\mathbf{Q}}^{2k}\tilde{\mu}\tilde{\rho}_k\right)(\mathbf{w}_0-\mathbf{w}^\star) G T gen P ( w 0 − w ⋆ ) ⊤ ( Q ˉ 2 T + v x k = 1 ∑ T Q ˉ 2 k μ ~ ρ ~ k ) ( w 0 − w ⋆ ) + v x n Tr [ ∑ k = 1 T [ I − Q ˉ [ I + v x 2 n Tr [ M − 1 Q ˉ 2 ] μ ~ M − 1 ] ] [ Q ˉ 2 ( T − k ) + v x ∑ i = k + 1 T Q ˉ 2 ( i − k ) ρ ~ i ] M − 1 Q ˉ ] , +\frac{v_x}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\left[\mathbf{I}-\bar{\mathbf{Q}}\left[\mathbf{I}+\frac{v_x^2}{n}\operatorname{Tr}\left[\mathbf{M}^{-1}\bar{\mathbf{Q}}^2\right]\tilde{\mu}\mathbf{M}^{-1}\right]\right]\left[\bar{\mathbf{Q}}^{2(T-k)}+v_x\sum_{i=k+1}^{T}\bar{\mathbf{Q}}^{2(i-k)}\tilde{\rho}_i\right]\mathbf{M}^{-1}\bar{\mathbf{Q}}\right], + n v x Tr [ k = 1 ∑ T [ I − Q ˉ [ I + n v x 2 Tr [ M − 1 Q ˉ 2 ] μ ~ M − 1 ] ] [ Q ˉ 2 ( T − k ) + v x i = k + 1 ∑ T Q ˉ 2 ( i − k ) ρ ~ i ] M − 1 Q ˉ ] , where Q ˉ = ( I + v x m ~ p ( − 1 ) M − 1 ) − 1 \bar{\mathbf{Q}}=\left(\mathbf{I}+v_x\tilde{m}_p(-1)\mathbf{M}^{-1}\right)^{-1} Q ˉ = ( I + v x m ~ p ( − 1 ) M − 1 ) − 1 , with m ~ p ( − 1 ) \tilde{m}_p(-1) m ~ p ( − 1 ) being the unique positive solution of
m ~ p ( − 1 ) = 1 + 1 n ∑ i = 1 d v x M i , i − 1 1 + m ~ p ( − 1 ) v x M i , i − 1 , \tilde{m}_p(-1)=1+\frac{1}{n}\sum_{i=1}^{d}\frac{v_xM_{i,i}^{-1}}{1+\tilde{m}_p(-1)v_xM_{i,i}^{-1}}, m ~ p ( − 1 ) = 1 + n 1 i = 1 ∑ d 1 + m ~ p ( − 1 ) v x M i , i − 1 v x M i , i − 1 , and
ρ ~ k = v x n Tr [ M − 2 ( Q ˉ 2 ( T − k + 1 ) + v x μ ~ ∑ i = k + 1 T ρ ~ i Q ˉ 2 ( i − k + 1 ) ) ] , \tilde{\rho}_k=\frac{v_x}{n}\operatorname{Tr}\left[\mathbf{M}^{-2}\left(\bar{\mathbf{Q}}^{2(T-k+1)}+v_x\tilde{\mu}\sum_{i=k+1}^{T}\tilde{\rho}_i\bar{\mathbf{Q}}^{2(i-k+1)}\right)\right], ρ ~ k = n v x Tr [ M − 2 ( Q ˉ 2 ( T − k + 1 ) + v x μ ~ i = k + 1 ∑ T ρ ~ i Q ˉ 2 ( i − k + 1 ) ) ] , μ ~ = [ ( 1 + v x n Tr ( M − 1 Q ˉ ) ) 2 − v x 2 n Tr ( M − 1 Q ˉ ) 2 ] − 1 . \tilde{\mu}=\left[\left(1+\frac{v_x}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\bar{\mathbf{Q}}\right)\right)^2-\frac{v_x^2}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\bar{\mathbf{Q}}\right)^2\right]^{-1}. μ ~ = [ ( 1 + n v x Tr ( M − 1 Q ˉ ) ) 2 − n v x 2 Tr ( M − 1 Q ˉ ) 2 ] − 1 .
The closed-form expression to task dependent diagonal regularization matrices is given in Equation (50) , along with the remaining proofs of this section, which appear in Appendix § 13 . To aid interpretation, we include a numerical validation of the predictions of Theorem 3 in Appendix § 10 .§ 2 .
We now exhibit a simple setting in which scalar (isotropic) regularization provably fails.
Theorem 4 (Failure of isotropic ridge under sparse teachers). Assume that α : = n d < 1 \alpha:=\frac{n}{d}<1 α := d n < 1 . Let w 1 ⋆ − w 0 \mathbf{w}_1^\star-\mathbf{w}_0 w 1 ⋆ − w 0 be k k k -sparse with support S S S so that w 1 ⋆ ≠ w 0 \mathbf{w}_1^\star\ne\mathbf{w}_0 w 1 ⋆ = w 0 , and assume that X S \mathbf{X}_S X S (the submatrix of X \mathbf{X} X consisting of the columns indexed by S S S ) has full column rank, then as n , d → ∞ n,d\to\infty n , d → ∞ after a single task with no noise, it holds almost surely that,
sup M ∈ M inf λ > 0 G 1 r i d g e G 1 g e n = ∞ . \sup_{\mathbf{M}\in\mathcal{M}}\inf_{\lambda>0}\frac{G_1^{\mathrm{ridge}}}{G_1^{\mathrm{gen}}}=\infty. M ∈ M sup λ > 0 inf G 1 gen G 1 ridge = ∞. where M = ⋃ 0 < l ≤ u < ∞ { M : l I d ⪯ M ⪯ u I d } \mathcal{M}=\bigcup_{0<l\leq u<\infty}\{\mathbf{M}:l\mathbf{I}_d\preceq\mathbf{M}\preceq u\mathbf{I}_d\} M = ⋃ 0 < l ≤ u < ∞ { M : l I d ⪯ M ⪯ u I d } and u , l u,l u , l are constants independent of n , d n,d n , d , i.e. M \mathcal{M} M is the family of all spectrally bounded matrices (which may depend on the support S S S ).
The assumption that X S \mathbf{X}_S X S has a full rank column is easy to satisfy: if k k k is fixed (or k = o ( d ) k=o(d) k = o ( d ) ) and the entries X i , j X_{i,j} X i , j are drawn from a continuous distribution, then almost surely X S \mathbf{X}_S X S has a full rank column. Yet, it remains unclear under what conditions isotropic regularization remains optimal. Interestingly, in Appendix § 13 .5 we find that the necessary and sufficient condition is that, for each coordinate, the teacher is equally far from the initialization, either deterministically, or, for a random teacher, with probability tending to $1a s as a s n,d\to\infty (sufficiency is straightforward, necessity is less trivial).
So far, our analysis characterizes how to optimally tune the parameters of early-stopped GD under the i.i.d. teacher setting, showing that the resulting generalization loss is asymptotically equivalent to that of optimally tuned isotropic regularization. Additionally, in the single teacher setting, our analysis identifies when such isotropic regularization remains optimal within the broader class of diagonal regularization schemes which are widely used in practice. Beyond the i.i.d. setting, a natural question is whether these conclusions persist under more structured, non-stationary task sequences.
Beyond i.i.d. teachers: optimal step-size need not scale with T T T
Finding the optimal parameter tuning in early-stopped GD had to make the simplifying assumption of i.i.d. teachers (Assumption 1). We now ask whether the optimal scaling identified by Theorem 2 which states that γ ⋆ ∼ ln T N T \gamma^\star\sim\frac{\ln T}{NT} γ ⋆ ∼ N T l n T persists beyond the i.i.d. teacher regime. We address it via a counterexample.
Assumption 3. We assume a sinusoidal model across the teachers, that is, for all i ∈ [ 1 , T ] i \in[1,T] i ∈ [ 1 , T ] ,
w i ⋆ = A + sin ( 2 π f i ) ⋅ B , \mathbf{w}_i^\star= \mathbf{A} + \sin(2\pi f i) \cdot\mathbf{B}, w i ⋆ = A + sin ( 2 π f i ) ⋅ B , for some A , B ∈ R d \mathbf{A}, \mathbf{B} \in\mathbb{R}^d A , B ∈ R d and frequency f ∈ R f \in\mathbb{R} f ∈ R .
This type of model is a fundamental building block for representing and analyzing periodic structure in learning (Vaswani et al., [32 ] ), control systems (Astrom & Murray, [3 ] ), and signal processing (Cooley & Tukey, [6 ] ). In continual learning, recent works have been studying the effect of repetition. A few studies have proposed solutions that aim to exploit the repetition in the stream to learn continually (Liu et al., [21 ] ). This has been demonstrated to significantly improve performance over standard task-split methods, emphasizing the effectiveness of cyclic strategies in continual learning settings.
Under the sinusoidal model (Assumption 3), the sequence of tasks is non-stationary, and the teachers do not concentrate around a single mean. As a result, the generalization measure as defined in Definition 2, which averages the loss with respect to all past teachers, is no longer informative.
Instead, we evaluate generalization with respect to teachers belonging to the same class (or phase) as the final task. Let A ⊆ { 1 , … , T } A \subseteq\{1,\ldots,T\} A ⊆ { 1 , … , T } denote the index set of such teachers. We define the generalization error at time T T T as
G T ≜ 1 ∣ A ∣ ∑ i ∈ A ∥ w T − w i ⋆ ∥ 2 . G_T \triangleq\frac{1}{|A|}\sum_{i\in A}\|\mathbf{w}_T-\mathbf{w}_i^\star\|^2. G T ≜ ∣ A ∣ 1 i ∈ A ∑ ∥ w T − w i ⋆ ∥ 2 .
However, when the task horizon grows to infinity, the generalization error may be asymptotically oscillatory. We therefore analyze the worst-case generalization loss, defined as
G ∞ ≜ lim sup T → ∞ 1 ∣ A T ∣ ∑ i ∈ A T ∥ w T − w i ⋆ ∥ 2 , G_\infty\triangleq\limsup_{T\to\infty}\frac{1}{|A_T|}\sum_{i\in A_T}\|\mathbf{w}_T-\mathbf{w}_i^\star\|^2, G ∞ ≜ T → ∞ lim sup ∣ A T ∣ 1 i ∈ A T ∑ ∥ w T − w i ⋆ ∥ 2 ,
where A T ⊆ { 1 , … , T } A_T \subseteq\{1,\ldots,T\} A T ⊆ { 1 , … , T } denotes the set of teachers belonging to the same class as the task at time T T T .
Theorem 5 (Generalization with infinite task horizon). Under Assumption 3, the generalization loss after T T T tasks of the early-stopped GD algorithm (Algorithm 2) satisfies, as n , d → ∞ n,d \to\infty n , d → ∞ ,
G ∞ → P C 0 + C 1 2 + C 2 2 sup T ≥ 1 cos ( 4 π f T + φ ) G_\infty\xrightarrow{P} C_0+\sqrt{C_1^2+C_2^2}\sup_{T\geq1}\cos(4\pi fT+\varphi) G ∞ P C 0 + C 1 2 + C 2 2 T ≥ 1 sup cos ( 4 π f T + φ )
The proof, together with the explicit expressions for C 0 C_0 C 0 , C 1 C_1 C 1 , C 2 C_2 C 2 and φ \varphi φ , appears in Appendix E.1 (see Equation (59) ). We further note that when f f f is irrational, then sup T ≥ 1 cos ( 4 π f T + φ ) = 1 \sup_{T\geq1}\cos(4\pi fT+\varphi)=1 sup T ≥ 1 cos ( 4 π f T + φ ) = 1 .
We empirically evaluate the optimal step size under a sinusoidal model.
Under the i.i.d. teacher setting, our theoretical analysis (Theorem 2) shows that the optimal step size scales as ln T / T \ln T/T ln T / T , so we would expect γ ⋆ → 0 \gamma^\star\to0 γ ⋆ → 0 in this regime. By contrast, as illustrated in Figure 2 , for the sinusoidal teacher model the optimal step size also remains finite as T → ∞ T \to\infty T → ∞ .
Figure 2. The optimal step size remains finite as T → ∞ T \to\infty T → ∞ . We plot the optimal step size γ ⋆ \gamma^\star γ ⋆ of the objective G ∞ G_\infty G ∞ as a function of the ratio ( α ) (\alpha) ( α ) and the frequency ( f ) (f) ( f ) , fixing ∥ B ∥ = 1 \|\mathbf{B}\|=1 ∥ B ∥ = 1 , v z = 1 v_z=1 v z = 1 , v x = 1 v_x=1 v x = 1 , d = 100 d=100 d = 100 and N = 5 N=5 N = 5 . We compute γ ⋆ \gamma^\star γ ⋆ with an exhaustive search.
Empirical experiments on MNIST-data
While our analysis assumes i.i.d. features and a linear model, we empirically validate our theoretical predictions on a finite-dimensional MNIST-data, rather than high-dimensional i.i.d. features, where the assumptions of § 3 do not hold. We evaluate both linear models and ReLU networks. In all cases, we observe that the scaling γ ⋆ ≍ ln T / T \gamma^\star\asymp\ln T/T γ ⋆ ≍ ln T / T as predicted by Theorem 2 is preserved.
Experimental Setup. We convert the MNIST data set labels into a binary classification problem where the digits 0-4 are converted to class 0 and 5-9 are converted to class 1. Moreover, we standardize the data to zero mean and unit variance.
Teacher models. In the experimental setup, we consider two types of teacher models.
A single teacher. We train a single teacher using the same architecture as the evaluated model—in the linear regression, the single teacher is trained over a subset of 500 samples (to fit a perfect linear teacher), and in the neural networks the teacher is trained until convergence over all MNIST data. In this case, each task suffers from label noise.
i.i.d. noisy teachers. Each task draws a teacher by adding Gaussian noise to the single teacher’s weights. In addition to teacher noise, the labels also suffer from label noise.
Noisy Labels. Each task is affected by additive Gaussian noise with variance v z v_z v z applied to the binary labels. Specifically, we consider noise variances of v z = 0.1 v_z = 0.1 v z = 0.1 and, more challengingly, v z = 0.4 v_z = 0.4 v z = 0.4 for the linear and neural-network experiments, respectively.
Evaluation Metric. We evaluate generalization performance using the Mean Squared Error (MSE) computed over an independent test set.
Linear Regression Experiments. We employ the early-stopped GD algorithm (Algorithm 2), trained by performing N = 10 N = 10 N = 10 gradient steps on the mean-squared error loss, to predict noisy labels from a single teacher (Figure 3 a) or multiple i.i.d. teachers (Figure 3 b). Evidently, the predicted ln T / T \ln T/T ln T / T scaling is preserved, consistent with Theorem 2, even in the absence of i.i.d. features.
Figure 3. Optimal step size scaling in linear models and neural networks (NN). We plot the effect of step size on the mean squared error (MSE) after learning T T T tasks. Curves are averaged over 5 and 15 random seeds for the linear model and neural network, respectively. The star marks the minimizer of the mean curve; vertical bars indicate the 95% credible interval for the minimizer, and the black line indicates a fitted ln T / T \ln T/T ln T / T scaling. The empirical MSE is normalized by the maximum MSE across all step sizes for the specific task horizon T T T .
Neural Networks Experiments. We also consider a two-layer ReLU neural network (784 → \to → 200 → \to → 1), with a sigmoid output for the teacher and a linear output for the student (to predict noisy labels), trained by performing N = 10 N = 10 N = 10 gradient steps per task on the mean-squared error loss. Similarly, we repeat the previous experiments under both single-teacher (Figure 3 c) and multiple-teachers (Figure 3 d) settings. Notably, we again observe the same ln T / T \ln T/T ln T / T scaling, which persists even in the substantially more complex NN model, matching the predicted scaling from Theorem 2.
Diagonal regularization experiments
We additionally experiment with the generalized L2 algorithm (Algorithm 3) in the linear regression setting. We consider two artificial teachers: a sparse teacher with 100 randomly selected coordinates equal to one and the remaining entries zero, and an isotropic teacher with all coordinates equal to one.
We use the optimal diagonal regularizer obtained by optimizing the theoretical objective in Theorem 3. Throughout this experiment, we set v z = 0.4 v_z = 0.4 v z = 0.4 , initialize w 0 = 0 w_0 = \mathbf{0} w 0 = 0 and narrow the MNIST training data to 100 samples for each task. As observed, in the sparse-teacher setting the optimal diagonal regularizer substantially outperforms the scalar regularizer (Figure 4 b), in agreement with the prediction of Theorem 4. In contrast, for an isotropic teacher (Figure 4 a), the scalar regularizer is optimal, as anticipated by the condition found in Section 5, which requires the teacher vector to have coordinates equally far from the initialization.
Figure 4. Optimal isotropic regularization conditions. We plot the mean MSE with varying regularization strengths and the optimal diagonal regularizer obtained by optimizing the theoretical objective in Theorem 3. Error bars denote the standard deviation across 50 random seeds.
Related Work and Discussion
Summary. In this paper, we studied continual linear regression under a simplified yet analytically tractable setting, assuming isotropic feature covariance, i.i.d. features, and either i.i.d. or single teacher. Despite these simplifying assumptions, our analysis yields meaningful theoretical insights that appear to persist beyond the linear regime. In particular, we identify a simple scaling law, γ ∗ ≍ ln T / T \gamma^{*} \asymp\ln T/T γ ∗ ≍ ln T / T , which is supported both theoretically and empirically. This scaling provides a practical rule of thumb and significantly reduces the need for extensive hyperparameter tuning. Notably, we observe that this behavior extends beyond linear models, holding empirically even for neural networks. Next, we compare our results with existing work and discuss potential future directions.
Implicit regularization. Jung et al. [15 ] study continual learning on multiple linear classification tasks, where each task is trained with gradient descent for a fixed budget of iterations per task. They consider both cyclic and random task ordering, for which they proved the convergence of the training loss to zero. For cyclic ordering, they provided the non-asymptotic rate convergence, whereas for random task ordering, they provided the asymptotic loss convergence. Levinstein et al. [18 ] studied the optimal scaling of ridge regression and early-stopped GD in continual linear regression with arbitrary fixed features and a single noiseless teacher. Their analysis provides near-optimal worst-case convergence guarantees. In particular, they consider a fixed step-size γ ∈ ( 0 , 1 / R 2 ) \gamma\in(0, 1/R^2) γ ∈ ( 0 , 1/ R 2 ) (where R R R is the data radius) and choose the iteration budget as N = ln ( 1 − 1 T ) ln ( 1 − γ R 2 ) N = \frac{\ln\left(1-\frac{1}{T}\right)}{\ln\left(1-\gamma R^2\right)} N = l n ( 1 − γ R 2 ) l n ( 1 − T 1 ) , though it still remains unclear whether other values could perform better. Interestingly, in a similar single teacher noiseless setting our analysis dictates that the optimal number of gradient steps is N → ∞ N \to\infty N → ∞ . Only in the presence of label noise or teacher noise a finite optimal N N N emerge. Indeed, in our setting, early-stopping slows convergence, yet it mitigates the asymptotic error arising from label noise or variation in the teachers.
Regularization matrices. Zhao et al. [34 ] ; Zhu et al. [36 ] construct a task-dependent regularization matrix from the empirical covariance at each task, which requires storing a d × d d \times d d × d matrix. However, maintaining such a matrix is computationally expensive. In principle, this can eliminate forgetting; see Evron et al. [10 ] (Proposition 5.5). Moreover, their analysis is restricted to a specific design of regularization matrices. In contrast, we study arbitrary diagonal regularization matrix which is considered a typical choice in continual learning (Kirkpatrick et al. [17 ] ; Schwarz et al. [27 ] ).
Optimal scaling. Karpel et al. [16 ] showed that, under isotropic data and i.i.d. teachers, the optimal L2 regularization minimizing the expected generalization loss in the overparameterized regime scales nearly linearly with the number of tasks. In this paper, we significantly strengthen and extend their results by considering both overparameterized and underparameterized regimes, and providing almost-sure or high-probability guarantees. Furthermore, our analysis shows that even when each task is trained for many gradient steps, the predicted scaling of the optimal L2 regularization emerges only after sufficiently many tasks (see Figure 9 , in Appendix § 11 .§ 1 ). Finally, we show that isotropic regularization can fail altogether even under a simple setting and we derive necessary and sufficient conditions for its optimality within the broader class of diagonal regularizers that are practically used.
Figure 9. (a) Effect of small steps (N N N ) on the optimal regularizer. (b) Effect of large steps (N N N ) on the optimal regularizer. Explicit regularization does not replicate implicit regularization in continual learning. We plot the optimal regularization parameter λ ⋆ \lambda^\star λ ⋆ as a function of the number of tasks T T T for different numbers of gradient steps N N N . We compute λ ⋆ \lambda^\star λ ⋆ with an exhaustive search.
Future directions. Several natural directions remain open. Future work may relax the isotropy and independence assumptions by considering non-isotropic covariances, temporally correlated features, or non-i.i.d. teacher sequences. Additional extensions include classification problems (e.g., logistic regression), nonlinear models, and more general non-stationary environments.
Acknowledgments
The research of DS was funded by the European Union (ERC, A-B-C-Deep, 101039436). Views and opinions expressed are however those of the author only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency (ERCEA). Neither the European Union nor the granting authority can be held responsible for them. The research of DS was also supported by the Council for Higher Education in Israel under the Moonshot Project.
Numerical validations of the exact generalization predictions
In this Appendix, we perform a numerical validations of the exact generalization prediction produced by both Theorems 1 and 3.
Numerical validation of the prediction in Theorem 1
We verify the theoretical prediction from Theorem 1.
In this experiment, we set d = 100 d = 100 d = 100 and v x = 1 v_x = 1 v x = 1 , with N = 3 N = 3 N = 3 and γ = 0.2 \gamma= 0.2 γ = 0.2 . We examine both i.i.d. Gaussian-perturbed teachers (where the perturbation has zero mean and standard deviation of 1 / 2 1/2 1/2 ) and sinusoidal teachers as defined in Assumption 3 (using B = 1 d \mathbf{B} = \mathbf{1}_d B = 1 d and f = 1 / 10 f = 1/10 f = 1/10 ). In both configurations, the base teacher is initialized from a Bernoulli distribution with parameter p = 0.7 p = 0.7 p = 0.7 . All reported results are averaged over 50 random seeds.
In both Figure 5 and Figure 6 we observe a near identical matching between the theoretical and empirical generalization loss.
Figure 5. Continual linear regression with early-stopped GD (i.i.d. teachers).
Figure 6. Continual linear regression with early-stopped GD (sinusoidal teachers).
Numerical Validation of the Prediction in Theorem 3
We verify the theoretical prediction from Theorem 3.
In this experiment, we set d = 100 d = 100 d = 100 , v x = 1 v_x = 1 v x = 1 and use two diagonal regularizers. Ascending diagonal with entries diag ( 1 / d , 2 / d , … , 1 ) \operatorname{diag}(1/d, 2/d, \ldots, 1) diag ( 1/ d , 2/ d , … , 1 ) and descending diagonal with entries diag ( 1 , ( d − 1 ) / d , … , 1 / d ) \operatorname{diag}(1, (d-1)/d, \ldots, 1/d) diag ( 1 , ( d − 1 ) / d , … , 1/ d ) 4 , in both configurations, the teacher is defined by setting the first d / 10 d/10 d /10 components to 1 and all remaining components to 0. All results are averaged over 50 random seeds.
In both Figure 7 and Figure 8 we observe a near identical matching between the theoretical and empirical generalization loss.
Figure 7. Continual Generalized L2 Regularization (ascending entries).
Figure 8. Continual Generalized L2 Regularization (descending entries).
Additional Continual Linear Regression Experiments
Explicit Regularization Via an Early-stopped GD On The Regularized Loss
We experiment with gradient descent on MNIST-based data (§ 7 ) run for N N N steps of over the regularized objective 1 2 n ∥ X w − y ∥ 2 + λ 2 ∥ w − w t − 1 ∥ 2 \frac{1}{2n}\lVert Xw-y\rVert^2+\frac{\lambda}{2}\lVert w-w_{t-1}\rVert^2 2 n 1 ∥ X w − y ∥ 2 + 2 λ ∥ w − w t − 1 ∥ 2 . We visualize the empirical optimal regularizer over different numbers of steps and number of tasks. Evidently, even for large N N N (corresponding to near-convergent optimization within each task), the resulting λ ⋆ ( T ) \lambda^\star(T) λ ⋆ ( T ) does not exhibit the predicted near linear scaling as predicted by Karpel et al. [16 ] ; such behavior only begins to emerge after a large number of tasks.
Proofs for Section 4: Early-Stopped GD
Auxiliary Lemmas and Definitions
We begin by providing a few Lemmas, the following Lemma provides a closed-form solution to the iterates produced by early-stopped GD algorithm (Algorithm 2).
Lemma 1. At task t t t the predictor update under Algorithm 2 after k k k gradient steps is given by,
w t k = ( I − γ 1 n X t T X t ) k w t − 1 + γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T y t . \mathbf{w}_{t}^{k} = \left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\mathbf{w}_{t-1}+\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{y}_{t}. w t k = ( I − γ n 1 X t T X t ) k w t − 1 + γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T y t .
Proof. Let t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] , and let k ∈ [ 1 , N ] k\in[1,N] k ∈ [ 1 , N ] , then,
w t k − w t ∗ = w t k − 1 − γ ∇ 1 2 n ∥ X t w t k − 1 − y t ∥ 2 − w t ∗ = w t k − 1 − γ 1 n X t T ( X t w t k − 1 − y t ) − w t ∗ = ( I − γ 1 n X t T X t ) w t k − 1 + γ 1 n X t T y t − [ ( I − γ 1 n X t T X t ) w t ∗ + γ 1 n X t T X t w t ∗ ] = ( I − γ 1 n X t T X t ) ( w t k − 1 − w t ∗ ) + γ 1 n X t T ( y t − X t w t ∗ ) = … = ( I − γ 1 n X t T X t ) k ( w t − 1 − w t ∗ ) + γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T ( y t − X t w t ∗ ) = ( I − γ 1 n X t T X t ) k ( w t − 1 − w t ∗ ) + γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T y t − γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T X t w t ∗ . (3) \begin{aligned}
\mathbf{w}_{t}^{k}-\mathbf{w}_{t}^{\ast}
&=\mathbf{w}_{t}^{k-1}-\gamma\nabla\frac{1}{2n}\left\|\mathbf{X}_{t}\mathbf{w}_{t}^{k-1}-\mathbf{y}_{t}\right\|^{2}-\mathbf{w}_{t}^{\ast}\\
&=\mathbf{w}_{t}^{k-1}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\left(\mathbf{X}_{t}\mathbf{w}_{t}^{k-1}-\mathbf{y}_{t}\right)-\mathbf{w}_{t}^{\ast}\\
&=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)\mathbf{w}_{t}^{k-1}+\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{y}_{t}-\left[\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)\mathbf{w}_{t}^{\ast}+\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\mathbf{w}_{t}^{\ast}\right]\\
&=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)\left(\mathbf{w}_{t}^{k-1}-\mathbf{w}_{t}^{\ast}\right)+\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\left(\mathbf{y}_{t}-\mathbf{X}_{t}\mathbf{w}_{t}^{\ast}\right)\\
&=\ldots\\
&=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\left(\mathbf{w}_{t-1}-\mathbf{w}_{t}^{\ast}\right)+\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\left(\mathbf{y}_{t}-\mathbf{X}_{t}\mathbf{w}_{t}^{\ast}\right)\\
&=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\left(\mathbf{w}_{t-1}-\mathbf{w}_{t}^{\ast}\right)+\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{y}_{t}\\
&\qquad-\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\mathbf{w}_{t}^{\ast}. \tag*{(3)}
\end{aligned} w t k − w t ∗ = w t k − 1 − γ ∇ 2 n 1 X t w t k − 1 − y t 2 − w t ∗ = w t k − 1 − γ n 1 X t T ( X t w t k − 1 − y t ) − w t ∗ = ( I − γ n 1 X t T X t ) w t k − 1 + γ n 1 X t T y t − [ ( I − γ n 1 X t T X t ) w t ∗ + γ n 1 X t T X t w t ∗ ] = ( I − γ n 1 X t T X t ) ( w t k − 1 − w t ∗ ) + γ n 1 X t T ( y t − X t w t ∗ ) = … = ( I − γ n 1 X t T X t ) k ( w t − 1 − w t ∗ ) + γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T ( y t − X t w t ∗ ) = ( I − γ n 1 X t T X t ) k ( w t − 1 − w t ∗ ) + γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T y t − γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T X t w t ∗ . (3)
we continue with developing the last term in (3) (denoted by ∗ * ∗ ),
γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T X t w t ∗ = γ 1 n ∑ s = 0 k − 1 ∑ p = 0 s ( s p ) ( − γ 1 n X t T X t ) p X t T X t w t ∗ = γ 1 n X t T X t ∑ s = 0 k − 1 ∑ p = 0 s ( s p ) ( − γ 1 n X t T X t ) p w t ∗ = γ 1 n X t T X t ∑ s = 0 k − 1 ( I − γ 1 n X t T X t ) s w t ∗ = ( I − ( I − γ 1 n X t T X t ) k ) w t ∗ . (4) \begin{aligned}
\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\mathbf{w}_{t}^{\ast}
&=\gamma\frac{1}{n}\sum_{s=0}^{k-1}\sum_{p=0}^{s}\binom{s}{p}\left(-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{p}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\mathbf{w}_{t}^{\ast}\\
&=\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\sum_{s=0}^{k-1}\sum_{p=0}^{s}\binom{s}{p}\left(-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{p}\mathbf{w}_{t}^{\ast}\\
&=\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\sum_{s=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{s}\mathbf{w}_{t}^{\ast}\\
&=\left(\mathbf{I}-\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\right)\mathbf{w}_{t}^{\ast}. \tag*{(4)}
\end{aligned} γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T X t w t ∗ = γ n 1 s = 0 ∑ k − 1 p = 0 ∑ s ( p s ) ( − γ n 1 X t T X t ) p X t T X t w t ∗ = γ n 1 X t T X t s = 0 ∑ k − 1 p = 0 ∑ s ( p s ) ( − γ n 1 X t T X t ) p w t ∗ = γ n 1 X t T X t s = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) s w t ∗ = ( I − ( I − γ n 1 X t T X t ) k ) w t ∗ . (4)
Then by Equations (3) and (4),
w t k − w t ∗ = ( I − γ 1 n X t T X t ) k ( w t − 1 − w t ∗ ) + γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T y t − ( I − ( I − γ 1 n X t T X t ) k ) w t ∗ = ( I − γ 1 n X t T X t ) k w t − 1 + γ 1 n ∑ i = 0 k − 1 ( I − γ 1 n X t T X t ) i X t T y t − w t ∗ . \begin{aligned}
\mathbf{w}_{t}^{k}-\mathbf{w}_{t}^{\ast}
&=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\left(\mathbf{w}_{t-1}-\mathbf{w}_{t}^{\ast}\right)\\
&\qquad+\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{y}_{t}-\left(\mathbf{I}-\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\right)\mathbf{w}_{t}^{\ast}\\
&=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{k}\mathbf{w}_{t-1}+\gamma\frac{1}{n}\sum_{i=0}^{k-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{X}_{t}\right)^{i}\mathbf{X}_{t}^{\mathsf{T}}\mathbf{y}_{t}-\mathbf{w}_{t}^{\ast}.
\end{aligned} w t k − w t ∗ = ( I − γ n 1 X t T X t ) k ( w t − 1 − w t ∗ ) + γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T y t − ( I − ( I − γ n 1 X t T X t ) k ) w t ∗ = ( I − γ n 1 X t T X t ) k w t − 1 + γ n 1 i = 0 ∑ k − 1 ( I − γ n 1 X t T X t ) i X t T y t − w t ∗ .
The lemma is an immediate consequence of the equality stated above.
The following Lemma provides the closed-from solution to the iterates produced by ridge-regression algorithm (Algorithm 1).
Lemma 2. At each iteration t t t the predictor update under Algorithm 1 is given by
w t = ( 1 n X t T X t + λ I ) − 1 ( 1 n X t T y t + λ w t − 1 ) . \mathbf{w}_t=\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\lambda\mathbf{I}\right)^{-1}\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\lambda\mathbf{w}_{t-1}\right). w t = ( n 1 X t T X t + λ I ) − 1 ( n 1 X t T y t + λ w t − 1 ) .
Proof. Let
J t ( w ) = 1 2 n ∥ X t w − y t ∥ 2 + λ 2 ∥ w − w t − 1 ∥ 2 . J_t(\mathbf{w})=\frac{1}{2n}\lVert\mathbf{X}_t\mathbf{w}-\mathbf{y}_t\rVert^2+\frac{\lambda}{2}\lVert\mathbf{w}-\mathbf{w}_{t-1}\rVert^2. J t ( w ) = 2 n 1 ∥ X t w − y t ∥ 2 + 2 λ ∥ w − w t − 1 ∥ 2 .
this function is convex, and its gradient is given by,
∇ w J t ( w ) = 1 n X t T ( X t w − y t ) + λ ( w − w t − 1 ) = ( 1 n X t T X t + λ I ) w − ( 1 n X t T y t + λ w t − 1 ) . \nabla_{\mathbf{w}}J_t(\mathbf{w})=\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}(\mathbf{X}_t\mathbf{w}-\mathbf{y}_t)+\lambda(\mathbf{w}-\mathbf{w}_{t-1})=\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\lambda\mathbf{I}\right)\mathbf{w}-\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\lambda\mathbf{w}_{t-1}\right). ∇ w J t ( w ) = n 1 X t T ( X t w − y t ) + λ ( w − w t − 1 ) = ( n 1 X t T X t + λ I ) w − ( n 1 X t T y t + λ w t − 1 ) .
At an optimal point w t \mathbf{w}_t w t , the first-order optimality (stationarity) condition must hold, hence,
( 1 n X t T X t + λ I ) w t = 1 n X t T y t + λ w t − 1 . \left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\lambda\mathbf{I}\right)\mathbf{w}_t=\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\lambda\mathbf{w}_{t-1}. ( n 1 X t T X t + λ I ) w t = n 1 X t T y t + λ w t − 1 .
If λ > 0 \lambda>0 λ > 0 , then 1 n X t T X t + λ I \frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\lambda\mathbf{I} n 1 X t T X t + λ I is symmetric positive definite and invertible, so
w t = ( 1 n X t T X t + λ I ) − 1 ( 1 n X t T y t + λ w t − 1 ) . \mathbf{w}_t=\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\lambda\mathbf{I}\right)^{-1}\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\lambda\mathbf{w}_{t-1}\right). w t = ( n 1 X t T X t + λ I ) − 1 ( n 1 X t T y t + λ w t − 1 ) .
Lemma 3. For any u , v , w ∈ R d \mathbf{u},\mathbf{v},\mathbf{w}\in\mathbb{R}^d u , v , w ∈ R d and η > 0 \eta>0 η > 0 we have
∥ u + v + w ∥ 2 ≤ ∥ v ∥ 2 ( 1 + η ) + 2 ( ∥ u ∥ 2 + ∥ w ∥ 2 ) ( 1 + 1 η ) . \lVert\mathbf{u}+\mathbf{v}+\mathbf{w}\rVert^2\leq\lVert\mathbf{v}\rVert^2(1+\eta)+2\left(\lVert\mathbf{u}\rVert^2+\lVert\mathbf{w}\rVert^2\right)\left(1+\frac{1}{\eta}\right). ∥ u + v + w ∥ 2 ≤ ∥ v ∥ 2 ( 1 + η ) + 2 ( ∥ u ∥ 2 + ∥ w ∥ 2 ) ( 1 + η 1 ) .
Proof.
∥ u + v + w ∥ 2 = ∥ v ∥ 2 + 2 ⟨ v , u + w ⟩ + ∥ u + w ∥ 2 ≤ ∥ v ∥ 2 + 2 ∥ v ∥ ∥ u + w ∥ + ∥ u + w ∥ 2 ≤ ∥ v ∥ 2 + η ∥ v ∥ 2 + 1 η ∥ u + w ∥ 2 + ∥ u + w ∥ 2 = ( 1 + η ) ∥ v ∥ 2 + ( 1 + 1 η ) ∥ u + w ∥ 2 ≤ ( 1 + η ) ∥ v ∥ 2 + 2 ( 1 + 1 η ) ( ∥ u ∥ 2 + ∥ w ∥ 2 ) , \begin{aligned}
\lVert\mathbf{u}+\mathbf{v}+\mathbf{w}\rVert^2=\lVert\mathbf{v}\rVert^2+2\langle\mathbf{v},\mathbf{u}+\mathbf{w}\rangle+\lVert\mathbf{u}+\mathbf{w}\rVert^2 \\
&\leq\lVert\mathbf{v}\rVert^2+2\lVert\mathbf{v}\rVert\lVert\mathbf{u}+\mathbf{w}\rVert+\lVert\mathbf{u}+\mathbf{w}\rVert^2 \\
&\leq\lVert\mathbf{v}\rVert^2+\eta\lVert\mathbf{v}\rVert^2+\frac{1}{\eta}\lVert\mathbf{u}+\mathbf{w}\rVert^2+\lVert\mathbf{u}+\mathbf{w}\rVert^2 \\
&=(1+\eta)\lVert\mathbf{v}\rVert^2+\left(1+\frac{1}{\eta}\right)\lVert\mathbf{u}+\mathbf{w}\rVert^2 \\
&\leq(1+\eta)\lVert\mathbf{v}\rVert^2+2\left(1+\frac{1}{\eta}\right)\left(\lVert\mathbf{u}\rVert^2+\lVert\mathbf{w}\rVert^2\right),
\end{aligned} ∥ u + v + w ∥ 2 = ∥ v ∥ 2 + 2 ⟨ v , u + w ⟩ + ∥ u + w ∥ 2 ≤ ∥ v ∥ 2 + 2 ∥ v ∥ ∥ u + w ∥ + ∥ u + w ∥ 2 ≤ ∥ v ∥ 2 + η ∥ v ∥ 2 + η 1 ∥ u + w ∥ 2 + ∥ u + w ∥ 2 = ( 1 + η ) ∥ v ∥ 2 + ( 1 + η 1 ) ∥ u + w ∥ 2 ≤ ( 1 + η ) ∥ v ∥ 2 + 2 ( 1 + η 1 ) ( ∥ u ∥ 2 + ∥ w ∥ 2 ) ,
where [1] follows by Cauchy-Schwarz inequality, and [2] follows by Young inequality for all η > 0 \eta>0 η > 0 .
Lemma 4. Let X ∈ R n × d \mathbf{X}\in\mathbb{R}^{n\times d} X ∈ R n × d satisfy the high-dimensional setting of § 3 , and define the sample covariance S = 1 n X T X \mathbf{S}=\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X} S = n 1 X T X with the Marchenko-Pastur distribution μ M P , 1 γ \mu_{\mathrm{MP},\frac{1}{\gamma}} μ MP , γ 1 . Let f f f be a fixed polynomial, and let a , b ∈ R d \mathbf{a},\mathbf{b}\in\mathbb{R}^d a , b ∈ R d be deterministic (or independent) vectors with bounded norm, i.e., ∥ a ∥ = ∥ b ∥ = O ( 1 ) \lVert\mathbf{a}\rVert=\lVert\mathbf{b}\rVert=O(1) ∥ a ∥ = ∥ b ∥ = O ( 1 ) (where for random quantities it holds almost surely). Then as n , d → ∞ n,d\to\infty n , d → ∞ , we have almost surely that,
a T f ( S ) b ⟶ ( ∫ f ( λ ) d μ M P , 1 γ ( λ ) ) a T b . (5) \mathbf{a}^{\mathsf{T}}f(\mathbf{S})\mathbf{b}\longrightarrow\left(\int f(\lambda)\,\mathrm{d}\mu_{\mathrm{MP},\frac{1}{\gamma}}(\lambda)\right)\mathbf{a}^{\mathsf{T}}\mathbf{b}. \tag*{(5)} a T f ( S ) b ⟶ ( ∫ f ( λ ) d μ MP , γ 1 ( λ ) ) a T b . (5)
Proof. Let
g d ( z ) : = a ⊤ ( S d − z I ) − 1 b . g_d(z) := \mathbf{a}^{\top}(\mathbf{S}_d-z\mathbf{I})^{-1}\mathbf{b}. g d ( z ) := a ⊤ ( S d − z I ) − 1 b .
For each d d d , the function g d g_d g d is analytic on the domain D = C ∖ supp ( μ M P , 1 / α ) D = \mathbb{C} \setminus\operatorname{supp}(\mu_{\mathrm{MP},1/\alpha}) D = C ∖ supp ( μ MP , 1/ α ) , and by spectral confinement, almost surely for all sufficiently large d d d , spec ( S d ) ⊂ supp ( μ M P , 1 / α ) + o ( 1 ) \operatorname{spec}(\mathbf{S}_d) \subset\operatorname{supp}(\mu_{\mathrm{MP},1/\alpha}) + o(1) spec ( S d ) ⊂ supp ( μ MP , 1/ α ) + o ( 1 ) , so that g d g_d g d is analytic on D D D for all large d d d . Moreover, for any compact set K ⊂ D K \subset D K ⊂ D , there exists c K > 0 c_K > 0 c K > 0 such that dist ( z , spec ( S d ) ) ≥ c K \operatorname{dist}(z,\operatorname{spec}(\mathbf{S}_d)) \ge c_K dist ( z , spec ( S d )) ≥ c K for all z ∈ K z \in K z ∈ K and all large d d d , almost surely. Hence, ∣ g d ( z ) ∣ ≤ ∥ a ∥ ∥ b ∥ ∥ ( S d − z I ) − 1 ∥ ≤ ∥ a ∥ ∥ b ∥ c K |g_d(z)| \le\|\mathbf{a}\|\|\mathbf{b}\|\|(\mathbf{S}_d-z\mathbf{I})^{-1}\| \le\frac{\|\mathbf{a}\|\|\mathbf{b}\|}{c_K} ∣ g d ( z ) ∣ ≤ ∥ a ∥∥ b ∥∥ ( S d − z I ) − 1 ∥ ≤ c K ∥ a ∥∥ b ∥ , so that ( g d ) (g_d) ( g d ) is uniformly bounded on compact subsets of D D D almost surely.
Let E ⊂ D E \subset D E ⊂ D be a countable dense subset. By the isotropic resolvent law (see, e.g. Couillet & Liao [7 ] ), for each fixed z ∈ E z \in E z ∈ E ,
g d ( z ) = a ⊤ ( S d − z I ) − 1 b → m 1 / α ( z ) a ⊤ b , g_d(z) = \mathbf{a}^{\top}(\mathbf{S}_d-z\mathbf{I})^{-1}\mathbf{b} \to m_{1/\alpha}(z)\mathbf{a}^{\top}\mathbf{b}, g d ( z ) = a ⊤ ( S d − z I ) − 1 b → m 1/ α ( z ) a ⊤ b ,
almost surely. By taking a countable intersection over z ∈ E z \in E z ∈ E , this convergence holds simultaneously for all z ∈ E z \in E z ∈ E on an event of probability one.
Therefore, by Vitali’s convergence theorem, it follows that g d ( z ) → m 1 / α ( z ) a ⊤ b g_d(z) \to m_{1/\alpha}(z)\mathbf{a}^{\top}\mathbf{b} g d ( z ) → m 1/ α ( z ) a ⊤ b , uniformly on compact subsets of D D D , almost surely. Let Γ ⊂ D \Gamma\subset D Γ ⊂ D be a contour enclosing supp ( μ M P , 1 / α ) \operatorname{supp}(\mu_{\mathrm{MP},1/\alpha}) supp ( μ MP , 1/ α ) with positive margin. By the holomorphic functional calculus,
a ⊤ f ( S d ) b = − 1 2 π i ∮ Γ f ( z ) g d ( z ) d z . \mathbf{a}^{\top}f(\mathbf{S}_d)\mathbf{b} = -\frac{1}{2\pi i}\oint_{\Gamma} f(z)g_d(z)\,\mathrm{d}z. a ⊤ f ( S d ) b = − 2 π i 1 ∮ Γ f ( z ) g d ( z ) d z .
By uniform convergence of g d g_d g d on Γ \Gamma Γ , we may pass the limit inside the integral:
a ⊤ f ( S d ) b → − 1 2 π i ∮ Γ f ( z ) m 1 / α ( z ) d z a ⊤ b , \mathbf{a}^{\top}f(\mathbf{S}_d)\mathbf{b} \to-\frac{1}{2\pi i}\oint_{\Gamma} f(z)m_{1/\alpha}(z)\,\mathrm{d}z\mathbf{a}^{\top}\mathbf{b}, a ⊤ f ( S d ) b → − 2 π i 1 ∮ Γ f ( z ) m 1/ α ( z ) d z a ⊤ b ,
almost surely. Finally, using the Stieltjes transform representation m 1 / α ( z ) = ∫ 1 λ − z d μ M P , 1 / α ( λ ) m_{1/\alpha}(z) = \int\frac{1}{\lambda-z}\,\mathrm{d}\mu_{\mathrm{MP},1/\alpha}(\lambda) m 1/ α ( z ) = ∫ λ − z 1 d μ MP , 1/ α ( λ ) , and Cauchy’s integral formula, we obtain − 1 2 π i ∮ Γ f ( z ) m 1 / α ( z ) d z = ∫ f ( λ ) d μ M P , 1 / α ( λ ) -\frac{1}{2\pi i}\oint_{\Gamma} f(z)m_{1/\alpha}(z)\,\mathrm{d}z = \int f(\lambda)\,\mathrm{d}\mu_{\mathrm{MP},1/\alpha}(\lambda) − 2 π i 1 ∮ Γ f ( z ) m 1/ α ( z ) d z = ∫ f ( λ ) d μ MP , 1/ α ( λ ) . This completes the proof.
We aim to establish the tight relationship between ridge regression and early-stopped gradient descent. To do so, we partially rely on the results developed in Karpel et al. [16 ] . Note that our algorithmic formulation of ridge regression (Algorithm 1) differs slightly from the one used in Karpel et al. [16 ] ; nonetheless, the following lemma establishes the connection between the two formulations.
Lemma 5. Let t ∈ [ 1 , T ] t \in[1,T] t ∈ [ 1 , T ] and consider the update
w t ← argmin w { 1 n ∥ X t w − y t ∥ 2 + λ ∥ w − w t − 1 ∥ 2 } \mathbf{w}_t \leftarrow\underset{\mathbf{w}}{\operatorname{argmin}}\left\{\frac{1}{n}\|\mathbf{X}_t\mathbf{w}-\mathbf{y}_t\|^2+\lambda\|\mathbf{w}-\mathbf{w}_{t-1}\|^2\right\} w t ← w argmin { n 1 ∥ X t w − y t ∥ 2 + λ ∥ w − w t − 1 ∥ 2 } and the update
w t ′ ← argmin w { ∥ X t w − y t ∥ 2 + λ ~ d ∥ w − w t − 1 ∥ 2 } \mathbf{w}'_t \leftarrow\underset{\mathbf{w}}{\operatorname{argmin}}\left\{\|\mathbf{X}_t\mathbf{w}-\mathbf{y}_t\|^2+\widetilde{\lambda}d\|\mathbf{w}-\mathbf{w}_{t-1}\|^2\right\} w t ′ ← w argmin { ∥ X t w − y t ∥ 2 + λ d ∥ w − w t − 1 ∥ 2 } then if λ ~ = n d λ \widetilde{\lambda}=\frac{n}{d}\lambda λ = d n λ so w t ′ = w t \mathbf{w}'_t=\mathbf{w}_t w t ′ = w t .
Proof. Using Lemma 2 we have,
w t = ( 1 n X t ⊤ X t + λ I ) − 1 ( 1 n X t ⊤ y t + λ w t − 1 ) = ( X t ⊤ X t + λ n I ) − 1 ( X t ⊤ y t + λ n w t − 1 ) = ( X t ⊤ X t + λ ~ d I ) − 1 ( X t ⊤ y t + λ ~ d w t − 1 ) = w t ′ . \begin{aligned}
\mathbf{w}_t=\left(\frac{1}{n}\mathbf{X}_t^{\top}\mathbf{X}_t+\lambda\mathbf{I}\right)^{-1}\left(\frac{1}{n}\mathbf{X}_t^{\top}\mathbf{y}_t+\lambda\mathbf{w}_{t-1}\right) \\
&=\left(\mathbf{X}_t^{\top}\mathbf{X}_t+\lambda n\mathbf{I}\right)^{-1}\left(\mathbf{X}_t^{\top}\mathbf{y}_t+\lambda n\mathbf{w}_{t-1}\right)=\left(\mathbf{X}_t^{\top}\mathbf{X}_t+\widetilde{\lambda}d\mathbf{I}\right)^{-1}\left(\mathbf{X}_t^{\top}\mathbf{y}_t+\widetilde{\lambda}d\mathbf{w}_{t-1}\right)=\mathbf{w}'_t.
\end{aligned} w t = ( n 1 X t ⊤ X t + λ I ) − 1 ( n 1 X t ⊤ y t + λ w t − 1 ) = ( X t ⊤ X t + λn I ) − 1 ( X t ⊤ y t + λn w t − 1 ) = ( X t ⊤ X t + λ d I ) − 1 ( X t ⊤ y t + λ d w t − 1 ) = w t ′ .
which is the exact update solution for w t ′ \mathbf{w}'_t w t ′ after redefining λ ~ = n d λ \widetilde{\lambda}=\frac{n}{d}\lambda λ = d n λ .
By Lemma 5, if we adopt the algorithmic formulation of ridge regression from Karpel et al. [16 ] and simply replace λ ~ \widetilde{\lambda} λ with λ ~ : = n d λ = α λ \widetilde{\lambda}:=\frac{n}{d}\lambda=\alpha\lambda λ := d n λ = α λ , where λ \lambda λ denotes the regularization parameter used in ridge-regression (Algorithm 1), then the iterates coincide at every step. Consequently, the expression in Corollary 1 also remains unchanged under our algorithmic formulation (after substituting λ ~ \widetilde{\lambda} λ ).
Lemma 6. Let h h h be analytic at ∞ \infty ∞ , and define h ( x ) = g ( 1 / x ) h(x)=g(1/x) h ( x ) = g ( 1/ x ) , where g g g is analytic in a neighborhood of 0 0 0 . Let the Taylor expansion of g g g at 0 0 0 be
g ( x ) = P k ( x ) + R ( x ) , R ( x ) = O ( x k + 1 ) , g(x)=P_k(x)+R(x), \qquad R(x)=O(x^{k+1}), g ( x ) = P k ( x ) + R ( x ) , R ( x ) = O ( x k + 1 ) , where P k P_k P k is a polynomial of degree at most k k k . Then, as x → ∞ x\to\infty x → ∞ ,
d d x h ( x ) = − 1 x 2 P k ′ ( 1 x ) + O ( 1 x k + 2 ) . \frac{\mathrm{d}}{\mathrm{d}x}h(x)=-\frac{1}{x^2}P_k'\left(\frac{1}{x}\right)+O\left(\frac{1}{x^{k+2}}\right). d x d h ( x ) = − x 2 1 P k ′ ( x 1 ) + O ( x k + 2 1 ) . Proof. Since g g g is analytic at 0 0 0 , there exists ρ > 0 \rho>0 ρ > 0 such that for all ∣ x ∣ < ρ |x|<\rho ∣ x ∣ < ρ ,
g ( x ) = ∑ n = 0 k g ( n ) ( 0 ) n ! x n + ∑ n = k + 1 ∞ g ( n ) ( 0 ) n ! x n . g(x)=\sum_{n=0}^{k}\frac{g^{(n)}(0)}{n!}x^n+\sum_{n=k+1}^{\infty}\frac{g^{(n)}(0)}{n!}x^n. g ( x ) = n = 0 ∑ k n ! g ( n ) ( 0 ) x n + n = k + 1 ∑ ∞ n ! g ( n ) ( 0 ) x n . Power series may be differentiated term wise within their radius of convergence, and the resulting series converges uniformly on any closed interval ∣ x ∣ ≤ r < ρ |x|\le r<\rho ∣ x ∣ ≤ r < ρ . Differentiating, we obtain
g ′ ( x ) = ∑ n = 0 k g ( n + 1 ) ( 0 ) n ! x n + ∑ n = k + 1 ∞ g ( n ) ( 0 ) ( n − 1 ) ! x n − 1 , ∣ x ∣ ≤ r . g'(x)=\sum_{n=0}^{k}\frac{g^{(n+1)}(0)}{n!}x^n+\sum_{n=k+1}^{\infty}\frac{g^{(n)}(0)}{(n-1)!}x^{n-1}, \qquad|x|\le r. g ′ ( x ) = n = 0 ∑ k n ! g ( n + 1 ) ( 0 ) x n + n = k + 1 ∑ ∞ ( n − 1 )! g ( n ) ( 0 ) x n − 1 , ∣ x ∣ ≤ r . For ∣ x ∣ < r |x|<r ∣ x ∣ < r , write ∣ x ∣ = r θ |x|=r\theta ∣ x ∣ = r θ with θ ∈ [ 0 , 1 ] \theta\in[0,1] θ ∈ [ 0 , 1 ] . Then
∣ g ′ ( x ) − P k ′ ( x ) ∣ = ∑ n = k + 1 ∞ ∣ g ( n ) ( 0 ) ∣ ( n − 1 ) ! ∣ x ∣ n − 1 = ∑ n = k + 1 ∞ ∣ g ( n ) ( 0 ) ∣ ( n − 1 ) ! ( r θ ) n − 1 \left|g'(x)-P_k'(x)\right|=\sum_{n=k+1}^{\infty}\frac{|g^{(n)}(0)|}{(n-1)!}|x|^{n-1}=\sum_{n=k+1}^{\infty}\frac{|g^{(n)}(0)|}{(n-1)!}(r\theta)^{n-1} ∣ g ′ ( x ) − P k ′ ( x ) ∣ = n = k + 1 ∑ ∞ ( n − 1 )! ∣ g ( n ) ( 0 ) ∣ ∣ x ∣ n − 1 = n = k + 1 ∑ ∞ ( n − 1 )! ∣ g ( n ) ( 0 ) ∣ ( r θ ) n − 1 ≤ θ k ∑ n = k + 1 ∞ ∣ g ( n ) ( 0 ) ∣ ( n − 1 ) ! r n − 1 = C θ k = C r k ∣ x ∣ k , \le\theta^k\sum_{n=k+1}^{\infty}\frac{|g^{(n)}(0)|}{(n-1)!}r^{n-1}=C\theta^k=\frac{C}{r^k}|x|^k, ≤ θ k n = k + 1 ∑ ∞ ( n − 1 )! ∣ g ( n ) ( 0 ) ∣ r n − 1 = C θ k = r k C ∣ x ∣ k , where the series is convergent since r < ρ r<\rho r < ρ . Thus,
g ′ ( x ) = P k ′ ( x ) + O ( x k ) , ∣ x ∣ ≤ r . g'(x)=P_k'(x)+O(x^k), \qquad|x|\le r. g ′ ( x ) = P k ′ ( x ) + O ( x k ) , ∣ x ∣ ≤ r . Finally, using h ( x ) = g ( 1 / x ) h(x)=g(1/x) h ( x ) = g ( 1/ x ) and the chain rule, for ∣ x ∣ ≥ 1 r |x|\ge\frac{1}{r} ∣ x ∣ ≥ r 1 ,
d d x h ( x ) = g ′ ( 1 x ) ( − 1 x 2 ) = [ P k ′ ( 1 x ) + O ( 1 x k ) ] ( − 1 x 2 ) = − 1 x 2 P k ′ ( 1 x ) + O ( 1 x k + 2 ) . \frac{\mathrm{d}}{\mathrm{d}x}h(x)=g'\left(\frac{1}{x}\right)\left(-\frac{1}{x^2}\right)=\left[P_k'\left(\frac{1}{x}\right)+O\left(\frac{1}{x^k}\right)\right]\left(-\frac{1}{x^2}\right)=-\frac{1}{x^2}P_k'\left(\frac{1}{x}\right)+O\left(\frac{1}{x^{k+2}}\right). d x d h ( x ) = g ′ ( x 1 ) ( − x 2 1 ) = [ P k ′ ( x 1 ) + O ( x k 1 ) ] ( − x 2 1 ) = − x 2 1 P k ′ ( x 1 ) + O ( x k + 2 1 ) .
Lemma 7. Let f , g : R → R f,g:\mathbb{R}\to\mathbb{R} f , g : R → R , be analytic functions at ∞ \infty ∞ , assume that as x → ∞ x\to\infty x → ∞ , f ( x ) = ∑ s = 0 k a s x − s + O ( x − k − 1 ) f(x)=\sum_{s=0}^{k}a_sx^{-s}+O(x^{-k-1}) f ( x ) = ∑ s = 0 k a s x − s + O ( x − k − 1 ) and g ( x ) = ∑ s = 0 k a s x − s + O ( x − k − 1 ) g(x)=\sum_{s=0}^{k}a_sx^{-s}+O(x^{-k-1}) g ( x ) = ∑ s = 0 k a s x − s + O ( x − k − 1 ) with some non-zero coefficient which is not a 0 a_0 a 0 , then ∣ d d x f ( x ) − d d x g ( x ) ∣ = o ( d d x g ( x ) ) \left|\frac{\mathrm{d}}{\mathrm{d}x}f(x)-\frac{\mathrm{d}}{\mathrm{d}x}g(x)\right|=o\left(\frac{\mathrm{d}}{\mathrm{d}x}g(x)\right) d x d f ( x ) − d x d g ( x ) = o ( d x d g ( x ) ) .
Proof. Since f , g f,g f , g are analytic function, we use Lemma 6 to obtain,
∣ d d x f ( x ) − d d x g ( x ) ∣ = O ( x − k − 2 ) . \left|\frac{\mathrm{d}}{\mathrm{d}x}f(x)-\frac{\mathrm{d}}{\mathrm{d}x}g(x)\right|=O(x^{-k-2}). d x d f ( x ) − d x d g ( x ) = O ( x − k − 2 ) . Since d d x g ( x ) = Ω ( x − k − 1 ) \frac{\mathrm{d}}{\mathrm{d}x}g(x)=\Omega(x^{-k-1}) d x d g ( x ) = Ω ( x − k − 1 ) we get ∣ d d x f ( x ) − d d x g ( x ) ∣ = o ( d d x g ( x ) ) \left|\frac{\mathrm{d}}{\mathrm{d}x}f(x)-\frac{\mathrm{d}}{\mathrm{d}x}g(x)\right|=o\left(\frac{\mathrm{d}}{\mathrm{d}x}g(x)\right) d x d f ( x ) − d x d g ( x ) = o ( d x d g ( x ) ) .
Proof of Theorem 1: Closed-form expression for the generalization loss from the early-stopped GD algorithm
Recall Theorem 1. Recall the high-dimensional setting where the number of samples and the dimension grow at proportional rate α : = n d \alpha:= \frac{n}{d} α := d n . Moreover, recall that v x , v z v_x,v_z v x , v z are the variances of features and labels, respectively. Then, the generalization loss after T T T tasks of the early-stopped GD algorithm (Algorithm 2) satisfies, as n , d → ∞ n,d \to\infty n , d → ∞ ,
G T e s g d → P v z c ′ 1 − a ′ T 1 − a ′ + 1 T ∑ i = 1 T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) ⊤ ∑ i = 1 T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) G_T^{\mathrm{esgd}} \xrightarrow{P} v_z c' \frac{1-a^{\prime T}}{1-a'}+\frac{1}{T}\sum_{i=1}^{T}\left\|\mathbf{w}_T^\star-\mathbf{w}_i^\star\right\|^2+2\left(\mathbf{w}_T^\star-\bar{\mathbf{w}}^\star\right)^\top\sum_{i=1}^{T}b^{\prime T-i+1}\left(\mathbf{w}_{i-1}^\star-\mathbf{w}_i^\star\right) G T esgd P v z c ′ 1 − a ′ 1 − a ′ T + T 1 i = 1 ∑ T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) ⊤ i = 1 ∑ T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ )
+ ∑ i = 1 T ∑ i ′ = 1 T a ′ T − max ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) ⊤ ( w i ′ − 1 ⋆ − w i ′ ⋆ ) , \quad+\sum_{i=1}^{T}\sum_{i'=1}^{T}a^{\prime T-\max(i,i')+1}b^{\prime|i-i'|}\left(\mathbf{w}_{i-1}^\star-\mathbf{w}_i^\star\right)^\top\left(\mathbf{w}_{i'-1}^\star-\mathbf{w}_{i'}^\star\right), + i = 1 ∑ T i ′ = 1 ∑ T a ′ T − m a x ( i , i ′ ) + 1 b ′∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) ⊤ ( w i ′ − 1 ⋆ − w i ′ ⋆ ) ,
where we denote w 0 ⋆ = w 0 \mathbf{w}_0^\star=\mathbf{w}_0 w 0 ⋆ = w 0 and w ˉ ⋆ = 1 T ∑ i w i ⋆ \bar{\mathbf{w}}^\star=\frac{1}{T}\sum_i\mathbf{w}_i^\star w ˉ ⋆ = T 1 ∑ i w i ⋆ ,
a ′ = 1 − 2 N v x γ + O ( ( N γ ) 2 ) , b ′ = 1 − N v x γ + O ( ( N γ ) 2 ) , a'=1-2Nv_x\gamma+O((N\gamma)^2),\qquad b'=1-Nv_x\gamma+O((N\gamma)^2), a ′ = 1 − 2 N v x γ + O (( N γ ) 2 ) , b ′ = 1 − N v x γ + O (( N γ ) 2 ) ,
c ′ = N 2 α v x γ 2 + O ( ( N γ ) 3 ) . (6) c'=\frac{N^2}{\alpha}v_x\gamma^2+O((N\gamma)^3). \tag*{(6)} c ′ = α N 2 v x γ 2 + O (( N γ ) 3 ) . (6)
Recall Lemma 1,
w T e s g d = ( I − γ 1 n X T ⊤ X T ) N w T − 1 e s g d + γ 1 n ∑ s = 0 N − 1 ( I − γ 1 n X T ⊤ X T ) s X T ⊤ y T . \mathbf{w}_T^{\mathrm{esgd}}=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T\right)^N\mathbf{w}_{T-1}^{\mathrm{esgd}}+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T\right)^s\mathbf{X}_T^\top\mathbf{y}_T. w T esgd = ( I − γ n 1 X T ⊤ X T ) N w T − 1 esgd + γ n 1 s = 0 ∑ N − 1 ( I − γ n 1 X T ⊤ X T ) s X T ⊤ y T .
and let P k = ( I − γ 1 n X k ⊤ X k ) \mathbf{P}_k=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_k^\top\mathbf{X}_k\right) P k = ( I − γ n 1 X k ⊤ X k ) , with the convention w 0 ⋆ = w 0 e s g d \mathbf{w}_0^\star=\mathbf{w}_0^{\mathrm{esgd}} w 0 ⋆ = w 0 esgd .
Then,
w T e s g d = ( I − γ 1 n X T ⊤ X T ) N w T − 1 e s g d + γ 1 n ∑ s = 0 N − 1 ( I − γ 1 n X T ⊤ X T ) s X T ⊤ y T = P T N w T − 1 e s g d + γ 1 n ∑ s = 0 N − 1 P T s X T ⊤ ( X T w T ⋆ + z T ) = P T N w T − 1 e s g d + γ 1 n ∑ s = 0 N − 1 P T s X T ⊤ X T w T ⋆ + γ 1 n ∑ s = 0 N − 1 P T s X T ⊤ z T . \begin{aligned}
\mathbf{w}_T^{\mathrm{esgd}}=\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T\right)^N\mathbf{w}_{T-1}^{\mathrm{esgd}}+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T\right)^s\mathbf{X}_T^\top\mathbf{y}_T \\
&=\mathbf{P}_T^N\mathbf{w}_{T-1}^{\mathrm{esgd}}+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}_T^s\mathbf{X}_T^\top\left(\mathbf{X}_T\mathbf{w}_T^\star+\mathbf{z}_T\right) \\
&=\mathbf{P}_T^N\mathbf{w}_{T-1}^{\mathrm{esgd}}+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}_T^s\mathbf{X}_T^\top\mathbf{X}_T\mathbf{w}_T^\star+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}_T^s\mathbf{X}_T^\top\mathbf{z}_T.
\end{aligned} w T esgd = ( I − γ n 1 X T ⊤ X T ) N w T − 1 esgd + γ n 1 s = 0 ∑ N − 1 ( I − γ n 1 X T ⊤ X T ) s X T ⊤ y T = P T N w T − 1 esgd + γ n 1 s = 0 ∑ N − 1 P T s X T ⊤ ( X T w T ⋆ + z T ) = P T N w T − 1 esgd + γ n 1 s = 0 ∑ N − 1 P T s X T ⊤ X T w T ⋆ + γ n 1 s = 0 ∑ N − 1 P T s X T ⊤ z T .
Using I − P T = γ 1 n X T ⊤ X T \mathbf{I}-\mathbf{P}_T=\gamma\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T I − P T = γ n 1 X T ⊤ X T , we obtain
γ 1 n ∑ s = 0 N − 1 P T s X T ⊤ X T = ∑ s = 0 N − 1 P T s ( I − P T ) = I − P T N . \gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}_T^s\mathbf{X}_T^\top\mathbf{X}_T=\sum_{s=0}^{N-1}\mathbf{P}_T^s(\mathbf{I}-\mathbf{P}_T)=\mathbf{I}-\mathbf{P}_T^N. γ n 1 s = 0 ∑ N − 1 P T s X T ⊤ X T = s = 0 ∑ N − 1 P T s ( I − P T ) = I − P T N .
Therefore,
w T e s g d = P T N w T − 1 e s g d + ( I − P T N ) w T ⋆ + γ 1 n ∑ s = 0 N − 1 P T s X T ⊤ z T . (7) \mathbf{w}_T^{\mathrm{esgd}}=\mathbf{P}_T^N\mathbf{w}_{T-1}^{\mathrm{esgd}}+(\mathbf{I}-\mathbf{P}_T^N)\mathbf{w}_T^\star+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}_T^s\mathbf{X}_T^\top\mathbf{z}_T. \tag*{(7)} w T esgd = P T N w T − 1 esgd + ( I − P T N ) w T ⋆ + γ n 1 s = 0 ∑ N − 1 P T s X T ⊤ z T . (7)
Since G T e s g d = 1 T ∑ i = 1 T ∥ w T e s g d − w i ⋆ ∥ 2 G_T^{\mathrm{esgd}}=\frac{1}{T}\sum_{i=1}^{T}\left\|\mathbf{w}_T^{\mathrm{esgd}}-\mathbf{w}_i^\star\right\|^2 G T esgd = T 1 ∑ i = 1 T w T esgd − w i ⋆ 2 , we therefore develop the corresponding expression for w T e s g d − w i ⋆ \mathbf{w}_T^{\mathrm{esgd}}-\mathbf{w}_i^\star w T esgd − w i ⋆ , where i ∈ [ 1 , T ] i\in[1,T] i ∈ [ 1 , T ] . Using (7) ,
w T e s g d − w i ⋆ = P T N ( w T − 1 e s g d − w i ⋆ ) + ( I − P T N ) ( w T ⋆ − w i ⋆ ) + γ 1 n ∑ s = 0 N − 1 P T s X T ⊤ z T . \mathbf{w}_T^{\mathrm{esgd}}-\mathbf{w}_i^\star=\mathbf{P}_T^N\left(\mathbf{w}_{T-1}^{\mathrm{esgd}}-\mathbf{w}_i^\star\right)+(\mathbf{I}-\mathbf{P}_T^N)\left(\mathbf{w}_T^\star-\mathbf{w}_i^\star\right)+\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}_T^s\mathbf{X}_T^\top\mathbf{z}_T. w T esgd − w i ⋆ = P T N ( w T − 1 esgd − w i ⋆ ) + ( I − P T N ) ( w T ⋆ − w i ⋆ ) + γ n 1 s = 0 ∑ N − 1 P T s X T ⊤ z T .
To rewrite this term note that for all k ∈ [ 1 , T ] k\in[1,T] k ∈ [ 1 , T ] ,
( I − P k N ) ( w k ⋆ − w i ⋆ ) = [ ( w k ⋆ − w i ⋆ ) − P k N ( w k − 1 ⋆ − w i ⋆ ) ] + P k N ( w k − 1 ⋆ − w k ⋆ ) . (\mathbf{I}-\mathbf{P}_k^N)(\mathbf{w}_k^\star-\mathbf{w}_i^\star)=\left[(\mathbf{w}_k^\star-\mathbf{w}_i^\star)-\mathbf{P}_k^N(\mathbf{w}_{k-1}^\star-\mathbf{w}_i^\star)\right]+\mathbf{P}_k^N(\mathbf{w}_{k-1}^\star-\mathbf{w}_k^\star). ( I − P k N ) ( w k ⋆ − w i ⋆ ) = [ ( w k ⋆ − w i ⋆ ) − P k N ( w k − 1 ⋆ − w i ⋆ ) ] + P k N ( w k − 1 ⋆ − w k ⋆ ) .
Unrolling the recursion and using the telescoping of the bracketed term yields
w T e s g d − w i ⋆ = ∑ k = 1 T [ ∏ m = T k + 1 P m N ] γ 1 n ∑ s = 0 N − 1 P k s X k ⊤ z k + ∑ k = 1 T [ ∏ m = T k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) , \mathbf{w}^{\mathrm{esgd}}_{T}-\mathbf{w}^{\star}_{i}=\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}^{N}_{m}\right]\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{k}\mathbf{X}_{k}^{\top}\mathbf{z}_{k}+\sum_{k=1}^{T}\left[\prod_{m=T}^{k}\mathbf{P}^{N}_{m}\right]\left(\mathbf{w}^{\star}_{k-1}-\mathbf{w}^{\star}_{k}\right)+\left(\mathbf{w}^{\star}_{T}-\mathbf{w}^{\star}_{i}\right), w T esgd − w i ⋆ = k = 1 ∑ T [ m = T ∏ k + 1 P m N ] γ n 1 s = 0 ∑ N − 1 P k s X k ⊤ z k + k = 1 ∑ T [ m = T ∏ k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ,
so,
∥ w T e s g d − w i ⋆ ∥ 2 = ( ∑ k = 1 T [ ∏ m = T k + 1 P m N ] γ 1 n ∑ s = 0 N − 1 P k s X k ⊤ z k + ∑ k = 1 T [ ∏ m = T k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) ⊤ ( ∑ k = 1 T [ ∏ m = T k + 1 P m N ] γ 1 n ∑ s = 0 N − 1 P k s X k ⊤ z k + ∑ k = 1 T [ ∏ m = T k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ] → [ 1 ] ∑ j = 1 T ∑ s = 0 N − 1 z j ⊤ X j P j s ( ∏ k = j + 1 T P k N ) ⊤ ∑ j ′ = 1 T ( ∏ k = j ′ + 1 T P k N ) ∑ s = 0 N − 1 P j ′ s X j ′ ⊤ z j ′ + ( ∑ k = 1 T [ ∏ m = T k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) ⊤ ( ∑ k = 1 T [ ∏ m = T k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) , \begin{aligned}
\left\|\mathbf{w}^{\mathrm{esgd}}_{T}-\mathbf{w}^{\star}_{i}\right\|^{2}
&=\left(\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}^{N}_{m}\right]\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{k}\mathbf{X}_{k}^{\top}\mathbf{z}_{k}+\sum_{k=1}^{T}\left[\prod_{m=T}^{k}\mathbf{P}^{N}_{m}\right]\left(\mathbf{w}^{\star}_{k-1}-\mathbf{w}^{\star}_{k}\right)+\left(\mathbf{w}^{\star}_{T}-\mathbf{w}^{\star}_{i}\right)\right)^{\top}\\
&\quad\left(\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}^{N}_{m}\right]\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{k}\mathbf{X}_{k}^{\top}\mathbf{z}_{k}+\sum_{k=1}^{T}\left[\prod_{m=T}^{k}\mathbf{P}^{N}_{m}\right]\left(\mathbf{w}^{\star}_{k-1}-\mathbf{w}^{\star}_{k}\right)+\left(\mathbf{w}^{\star}_{T}-\mathbf{w}^{\star}_{i}\right)\right]\\
&\xrightarrow{[1]} \sum_{j=1}^{T}\sum_{s=0}^{N-1}\mathbf{z}_{j}^{\top}\mathbf{X}_{j}\mathbf{P}^{s}_{j}\left(\prod_{k=j+1}^{T}\mathbf{P}^{N}_{k}\right)^{\top}\sum_{j'=1}^{T}\left(\prod_{k=j'+1}^{T}\mathbf{P}^{N}_{k}\right)\sum_{s=0}^{N-1}\mathbf{P}^{s}_{j'}\mathbf{X}_{j'}^{\top}\mathbf{z}_{j'}\\
&\quad+\left(\sum_{k=1}^{T}\left[\prod_{m=T}^{k}\mathbf{P}^{N}_{m}\right]\left(\mathbf{w}^{\star}_{k-1}-\mathbf{w}^{\star}_{k}\right)+\left(\mathbf{w}^{\star}_{T}-\mathbf{w}^{\star}_{i}\right)\right)^{\top}\\
&\qquad\left(\sum_{k=1}^{T}\left[\prod_{m=T}^{k}\mathbf{P}^{N}_{m}\right]\left(\mathbf{w}^{\star}_{k-1}-\mathbf{w}^{\star}_{k}\right)+\left(\mathbf{w}^{\star}_{T}-\mathbf{w}^{\star}_{i}\right)\right),
\end{aligned} w T esgd − w i ⋆ 2 = ( k = 1 ∑ T [ m = T ∏ k + 1 P m N ] γ n 1 s = 0 ∑ N − 1 P k s X k ⊤ z k + k = 1 ∑ T [ m = T ∏ k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) ⊤ ( k = 1 ∑ T [ m = T ∏ k + 1 P m N ] γ n 1 s = 0 ∑ N − 1 P k s X k ⊤ z k + k = 1 ∑ T [ m = T ∏ k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ] [ 1 ] j = 1 ∑ T s = 0 ∑ N − 1 z j ⊤ X j P j s k = j + 1 ∏ T P k N ⊤ j ′ = 1 ∑ T k = j ′ + 1 ∏ T P k N s = 0 ∑ N − 1 P j ′ s X j ′ ⊤ z j ′ + ( k = 1 ∑ T [ m = T ∏ k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) ⊤ ( k = 1 ∑ T [ m = T ∏ k P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) ,
Term 1 and Term 2 \begin{aligned}
\text{Term 1} \quad&\text{and}\quad\text{Term 2}
\end{aligned} Term 1 and Term 2
where [1] follows since E [ z k ] = 0 \mathbb{E}[\mathbf{z}_{k}]=0 E [ z k ] = 0 for all k ∈ [ 1 , T ] k\in[1,T] k ∈ [ 1 , T ] , and the noise variables are sampled independently of all tasks, so by the weak law of large numbers cross terms vanish as n → ∞ n\to\infty n → ∞ .
Let ξ r l = ( ∏ k = r + 1 l P k N ) [ ∑ s = 0 N − 1 P r s X r ⊤ ] z r \boldsymbol{\xi}^{l}_{r}=\left(\prod_{k=r+1}^{l}\mathbf{P}^{N}_{k}\right)\left[\sum_{s=0}^{N-1}\mathbf{P}^{s}_{r}\mathbf{X}_{r}^{\top}\right]\mathbf{z}_{r} ξ r l = ( ∏ k = r + 1 l P k N ) [ ∑ s = 0 N − 1 P r s X r ⊤ ] z r . Then, the first term becomes,
∑ j = 1 T [ γ 1 n ∑ s = 0 N − 1 z j ⊤ X j P j s ] ( ∏ k = j + 1 T P k N ) ⊤ ∑ j ′ = 1 T ( ∏ k = j ′ + 1 T P k N ) [ γ 1 n ∑ s = 0 N − 1 P j ′ s X j ′ ⊤ z j ′ ] = ∑ j = 1 T ∑ j ′ = 1 T [ γ 1 n ∑ s = 0 N − 1 z j ⊤ X j P j s ] ( ∏ k = j + 1 T P k N ) ⊤ ( ∏ k = j ′ + 1 T P k N ) [ γ 1 n ∑ s = 0 N − 1 P j ′ s X j ′ ⊤ z j ′ ] → [ 1 ] ∑ j = 1 T z j ⊤ [ γ 1 n ∑ s = 0 N − 1 X j P j s ] ( ∏ k = j + 1 T P k N ) ⊤ ( ∏ k = j + 1 T P k N ) [ γ 1 n ∑ s = 0 N − 1 P j s X j ⊤ ] z j = γ 2 ∑ j = 1 T [ ξ j ( T − 1 ) ⊤ n P T 2 N ξ j ( T − 1 ) n ] → [ 2 ] γ 2 n 2 ∑ j = 1 T a ′ ξ j ( T − 1 ) ⊤ ξ j ( T − 1 ) = γ 2 n 2 ∑ j = 1 T a ′ z j ⊤ [ ∑ s = 0 N − 1 X j P j s ] ( ∏ k = j + 1 T − 1 P k N ) ⊤ ( ∏ k = j + 1 T − 1 P k N ) [ ∑ s = 0 N − 1 P j s X j ⊤ ] z j = ⋯ → P γ 2 n 2 ∑ j = 1 T a ′ z j ⊤ ∑ s = 0 N − 1 X j P j s ∑ s = 0 N − 1 P j s X j ⊤ z j = γ 2 n 2 ∑ j = 1 T a ′ T − j z j ⊤ X j ( ∑ s , s ′ = 0 N − 1 P j s + s ′ ) X j ⊤ z j . \begin{aligned}
&\sum_{j=1}^{T}\left[\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{z}_{j}^{\top}\mathbf{X}_{j}\mathbf{P}^{s}_{j}\right]\left(\prod_{k=j+1}^{T}\mathbf{P}^{N}_{k}\right)^{\top}\sum_{j'=1}^{T}\left(\prod_{k=j'+1}^{T}\mathbf{P}^{N}_{k}\right)\left[\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{j'}\mathbf{X}_{j'}^{\top}\mathbf{z}_{j'}\right]\\
&=\sum_{j=1}^{T}\sum_{j'=1}^{T}\left[\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{z}_{j}^{\top}\mathbf{X}_{j}\mathbf{P}^{s}_{j}\right]\left(\prod_{k=j+1}^{T}\mathbf{P}^{N}_{k}\right)^{\top}\left(\prod_{k=j'+1}^{T}\mathbf{P}^{N}_{k}\right)\left[\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{j'}\mathbf{X}_{j'}^{\top}\mathbf{z}_{j'}\right]\\
&\xrightarrow{[1]} \sum_{j=1}^{T}\mathbf{z}_{j}^{\top}\left[\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{X}_{j}\mathbf{P}^{s}_{j}\right]\left(\prod_{k=j+1}^{T}\mathbf{P}^{N}_{k}\right)^{\top}\left(\prod_{k=j+1}^{T}\mathbf{P}^{N}_{k}\right)\left[\gamma\frac{1}{n}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{j}\mathbf{X}_{j}^{\top}\right]\mathbf{z}_{j}\\
&=\gamma^{2}\sum_{j=1}^{T}\left[\frac{\boldsymbol{\xi}^{(T-1)\top}_{j}}{n}\mathbf{P}^{2N}_{T}\frac{\boldsymbol{\xi}^{(T-1)}_{j}}{n}\right]\\
&\xrightarrow{[2]} \frac{\gamma^{2}}{n^{2}}\sum_{j=1}^{T}a'\boldsymbol{\xi}^{(T-1)\top}_{j}\boldsymbol{\xi}^{(T-1)}_{j}\\
&=\frac{\gamma^{2}}{n^{2}}\sum_{j=1}^{T}a'\mathbf{z}_{j}^{\top}\left[\sum_{s=0}^{N-1}\mathbf{X}_{j}\mathbf{P}^{s}_{j}\right]\left(\prod_{k=j+1}^{T-1}\mathbf{P}^{N}_{k}\right)^{\top}\left(\prod_{k=j+1}^{T-1}\mathbf{P}^{N}_{k}\right)\left[\sum_{s=0}^{N-1}\mathbf{P}^{s}_{j}\mathbf{X}_{j}^{\top}\right]\mathbf{z}_{j}\\
&=\cdots\xrightarrow{P}\frac{\gamma^{2}}{n^{2}}\sum_{j=1}^{T}a'\mathbf{z}_{j}^{\top}\sum_{s=0}^{N-1}\mathbf{X}_{j}\mathbf{P}^{s}_{j}\sum_{s=0}^{N-1}\mathbf{P}^{s}_{j}\mathbf{X}_{j}^{\top}\mathbf{z}_{j}\\
&=\frac{\gamma^{2}}{n^{2}}\sum_{j=1}^{T}a'^{T-j}\mathbf{z}_{j}^{\top}\mathbf{X}_{j}\left(\sum_{s,s'=0}^{N-1}\mathbf{P}^{s+s'}_{j}\right)\mathbf{X}_{j}^{\top}\mathbf{z}_{j}.
\end{aligned} j = 1 ∑ T [ γ n 1 s = 0 ∑ N − 1 z j ⊤ X j P j s ] k = j + 1 ∏ T P k N ⊤ j ′ = 1 ∑ T k = j ′ + 1 ∏ T P k N [ γ n 1 s = 0 ∑ N − 1 P j ′ s X j ′ ⊤ z j ′ ] = j = 1 ∑ T j ′ = 1 ∑ T [ γ n 1 s = 0 ∑ N − 1 z j ⊤ X j P j s ] k = j + 1 ∏ T P k N ⊤ k = j ′ + 1 ∏ T P k N [ γ n 1 s = 0 ∑ N − 1 P j ′ s X j ′ ⊤ z j ′ ] [ 1 ] j = 1 ∑ T z j ⊤ [ γ n 1 s = 0 ∑ N − 1 X j P j s ] k = j + 1 ∏ T P k N ⊤ k = j + 1 ∏ T P k N [ γ n 1 s = 0 ∑ N − 1 P j s X j ⊤ ] z j = γ 2 j = 1 ∑ T [ n ξ j ( T − 1 ) ⊤ P T 2 N n ξ j ( T − 1 ) ] [ 2 ] n 2 γ 2 j = 1 ∑ T a ′ ξ j ( T − 1 ) ⊤ ξ j ( T − 1 ) = n 2 γ 2 j = 1 ∑ T a ′ z j ⊤ [ s = 0 ∑ N − 1 X j P j s ] k = j + 1 ∏ T − 1 P k N ⊤ k = j + 1 ∏ T − 1 P k N [ s = 0 ∑ N − 1 P j s X j ⊤ ] z j = ⋯ P n 2 γ 2 j = 1 ∑ T a ′ z j ⊤ s = 0 ∑ N − 1 X j P j s s = 0 ∑ N − 1 P j s X j ⊤ z j = n 2 γ 2 j = 1 ∑ T a ′ T − j z j ⊤ X j s , s ′ = 0 ∑ N − 1 P j s + s ′ X j ⊤ z j .
where [1] follows since under the statistical design (§ 3 ) in which E [ z k ] = 0 \mathbb{E}[z_k] = 0 E [ z k ] = 0 for all k ∈ [ 1 , T ] k \in[1,T] k ∈ [ 1 , T ] , and the noise variables are sampled independently of all tasks, by the weak law of large numbers cross terms vanish as n → ∞ n \to\infty n → ∞ . And [2] follows from Lemma 4, by the independence of the random variable ξ j t − 1 \xi_j^{t-1} ξ j t − 1 with P t \mathbf{P}_t P t and since ∥ ξ j t ∥ 2 / n < ∞ \lVert\xi_j^t\rVert^2/n < \infty ∥ ξ j t ∥ 2 / n < ∞ almost surely for all t ∈ [ 1 , T ] t \in[1,T] t ∈ [ 1 , T ] . Also, note that we substituted a ′ a' a ′ as the 2 N 2N 2 N -th moment of the Marchenko-Pastur law.
Using the closed-form expression for the k k k -th moment of the Marchenko-Pastur law, we have (for all j ∈ [ 1 , T ] j \in[1,T] j ∈ [ 1 , T ] ),
γ 2 n 2 z j ⊤ X j ( ∑ s , s ′ = 0 N − 1 P j s + s ′ ) X j ⊤ z j = γ 2 n 2 Tr ( z j ⊤ X j ∑ s = 0 2 N − 2 m s P j s X j ⊤ z j ) \frac{\gamma^2}{n^2}\mathbf{z}_j^{\top}\mathbf{X}_j\left(\sum_{s,s'=0}^{N-1}\mathbf{P}_j^{s+s'}\right)\mathbf{X}_j^{\top}\mathbf{z}_j
=\frac{\gamma^2}{n^2}\operatorname{Tr}\left(\mathbf{z}_j^{\top}\mathbf{X}_j\sum_{s=0}^{2N-2}m_s\mathbf{P}_j^s\mathbf{X}_j^{\top}\mathbf{z}_j\right) n 2 γ 2 z j ⊤ X j s , s ′ = 0 ∑ N − 1 P j s + s ′ X j ⊤ z j = n 2 γ 2 Tr ( z j ⊤ X j s = 0 ∑ 2 N − 2 m s P j s X j ⊤ z j )
→ [ 1 ] v z γ 2 n 2 Tr ( X j ⊤ X j ∑ s = 0 2 N − 2 m s P j s ) = 1 n ∑ s = 0 2 N − 2 m s ∑ l = 0 s ( s l ) ( − γ ) l + 2 1 n Tr [ ( 1 n X j ⊤ X j ) l + 1 ] \xrightarrow{\ [1]\ } v_z\frac{\gamma^2}{n^2}\operatorname{Tr}\left(\mathbf{X}_j^{\top}\mathbf{X}_j\sum_{s=0}^{2N-2}m_s\mathbf{P}_j^s\right)
=\frac{1}{n}\sum_{s=0}^{2N-2}m_s\sum_{l=0}^{s}\binom{s}{l}(-\gamma)^{l+2}\frac{1}{n}\operatorname{Tr}\left[\left(\frac{1}{n}\mathbf{X}_j^{\top}\mathbf{X}_j\right)^{l+1}\right] [ 1 ] v z n 2 γ 2 Tr ( X j ⊤ X j s = 0 ∑ 2 N − 2 m s P j s ) = n 1 s = 0 ∑ 2 N − 2 m s l = 0 ∑ s ( l s ) ( − γ ) l + 2 n 1 Tr [ ( n 1 X j ⊤ X j ) l + 1 ]
→ [ 2 ] v z ∑ s = 0 2 N − 2 m s ∑ l = 0 s ( s l ) ( − γ ) l + 2 ∑ r = 0 l v x l + 1 r + 1 ( l + 1 r ) ( l r ) 1 α r + 1 = : v z c ′ ( γ , N ) : = v z c ′ , (8) \xrightarrow{\ [2]\ } v_z\sum_{s=0}^{2N-2}m_s\sum_{l=0}^{s}\binom{s}{l}(-\gamma)^{l+2}\sum_{r=0}^{l}\frac{v_x^{l+1}}{r+1}\binom{l+1}{r}\binom{l}{r}\frac{1}{\alpha^{r+1}}
=:v_zc'(\gamma,N):=v_zc', \tag*{(8)} [ 2 ] v z s = 0 ∑ 2 N − 2 m s l = 0 ∑ s ( l s ) ( − γ ) l + 2 r = 0 ∑ l r + 1 v x l + 1 ( r l + 1 ) ( r l ) α r + 1 1 =: v z c ′ ( γ , N ) := v z c ′ , (8)
where,
m s : = # { ( u , v ) ∈ { 0 , … , N − 1 } 2 : u + v = s } = { s + 1 , 0 ≤ s ≤ N − 1 , 2 N − 1 − s , N ≤ s ≤ 2 N − 2 , 0 , otherwise . m_s:=\#\{(u,v)\in\{0,\ldots,N-1\}^2:u+v=s\}
=
\begin{cases}
s+1, & 0\le s\le N-1,\\
2N-1-s, & N\le s\le2N-2,\\
0, & \text{otherwise}.
\end{cases} m s := # {( u , v ) ∈ { 0 , … , N − 1 } 2 : u + v = s } = ⎩ ⎨ ⎧ s + 1 , 2 N − 1 − s , 0 , 0 ≤ s ≤ N − 1 , N ≤ s ≤ 2 N − 2 , otherwise .
and [1] follows by the weak law of large numbers. Moreover, [2] follows by Lemma 4 with the closed-form expression. Similarly,
a ′ = a ′ ( γ , N ) = 1 + ∑ k = 0 2 N ( 2 N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r (9) a'=a'(\gamma,N)=1+\sum_{k=0}^{2N}\binom{2N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^r} \tag*{(9)} a ′ = a ′ ( γ , N ) = 1 + k = 0 ∑ 2 N ( k 2 N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 (9)
Then the first term in Equations (9) and (10) becomes,
∑ j = 1 T a ′ T − j γ 2 n z j ⊤ ∑ s , s ′ = 0 N − 1 P j s + s ′ 1 n X j ⊤ X j z j = v z c ′ ∑ j = 1 T a ′ T − j = v z c ′ 1 − a ′ T 1 − a ′ \sum_{j=1}^{T}a'^{T-j}\frac{\gamma^2}{n}\mathbf{z}_j^{\top}\sum_{s,s'=0}^{N-1}\mathbf{P}_j^{s+s'}\frac{1}{n}\mathbf{X}_j^{\top}\mathbf{X}_j\mathbf{z}_j
=v_zc'\sum_{j=1}^{T}a'^{T-j}=v_zc'\frac{1-a'^T}{1-a'} j = 1 ∑ T a ′ T − j n γ 2 z j ⊤ s , s ′ = 0 ∑ N − 1 P j s + s ′ n 1 X j ⊤ X j z j = v z c ′ j = 1 ∑ T a ′ T − j = v z c ′ 1 − a ′ 1 − a ′ T
And the second term in eq:8 becomes,
( ∑ k = 1 T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ ∏ m = T k P m N ] + ( w T ⋆ − w i ⋆ ) ⊤ ) ( ∑ k = 1 T [ ∏ m = k T P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) = ∑ k = 1 T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ ∏ m = T k P m N ] ∑ k ′ = 1 T [ ∏ m = k ′ T P m N ] ( w k ′ − 1 ⋆ − w k ′ ⋆ ) \begin{aligned}
\left(\sum_{k=1}^{T}(\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star})^{\top}\left[\prod_{m=T}^{k}\mathbf{P}_m^N\right]+(\mathbf{w}_T^{\star}-\mathbf{w}_i^{\star})^{\top}\right)
\left(\sum_{k=1}^{T}\left[\prod_{m=k}^{T}\mathbf{P}_m^N\right](\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star})+(\mathbf{w}_T^{\star}-\mathbf{w}_i^{\star})\right) \\
&=\sum_{k=1}^{T}(\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star})^{\top}\left[\prod_{m=T}^{k}\mathbf{P}_m^N\right]\sum_{k'=1}^{T}\left[\prod_{m=k'}^{T}\mathbf{P}_m^N\right](\mathbf{w}_{k'-1}^{\star}-\mathbf{w}_{k'}^{\star})
\end{aligned} ( k = 1 ∑ T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ m = T ∏ k P m N ] + ( w T ⋆ − w i ⋆ ) ⊤ ) ( k = 1 ∑ T [ m = k ∏ T P m N ] ( w k − 1 ⋆ − w k ⋆ ) + ( w T ⋆ − w i ⋆ ) ) = k = 1 ∑ T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ m = T ∏ k P m N ] k ′ = 1 ∑ T [ m = k ′ ∏ T P m N ] ( w k ′ − 1 ⋆ − w k ′ ⋆ )
+ 2 ∑ k = 1 T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ ∏ m = T k P m N ] ( w T ⋆ − w i ⋆ ) + ∥ w T ⋆ − w i ⋆ ∥ 2 . (10) \qquad+2\sum_{k=1}^{T}(\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star})^{\top}\left[\prod_{m=T}^{k}\mathbf{P}_m^N\right](\mathbf{w}_T^{\star}-\mathbf{w}_i^{\star})+\lVert\mathbf{w}_T^{\star}-\mathbf{w}_i^{\star}\rVert^2. \tag*{(10)} + 2 k = 1 ∑ T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ m = T ∏ k P m N ] ( w T ⋆ − w i ⋆ ) + ∥ w T ⋆ − w i ⋆ ∥ 2 . (10)
The first term in (10) becomes,
∑ k = 1 T ∑ k ′ = 1 T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ ∏ m = k T P m N ∏ m = T k ′ P m N ] ( w k ′ − 1 ⋆ − w k ′ ⋆ ) = ∑ k = 1 T ∑ k ′ = 1 T ( w k − 1 ⋆ − w k ⋆ ) ⊤ [ ∏ m = ( k ∨ k ′ ) T P m N ∏ m = T ( k ′ ∧ k ) P m N ∏ m = ( k ∨ k ′ ) ( k ′ ∧ k ) − 1 P m N ] ( w k ′ − 1 ⋆ − w k ′ ⋆ ) \begin{aligned}
\sum_{k=1}^{T}\sum_{k'=1}^{T}(\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star})^{\top}\left[\prod_{m=k}^{T}\mathbf{P}_m^N\prod_{m=T}^{k'}\mathbf{P}_m^N\right](\mathbf{w}_{k'-1}^{\star}-\mathbf{w}_{k'}^{\star}) \\
&=\sum_{k=1}^{T}\sum_{k'=1}^{T}(\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star})^{\top}\left[\prod_{m=(k\vee k')}^{T}\mathbf{P}_m^N\prod_{m=T}^{(k'\wedge k)}\mathbf{P}_m^N\prod_{m=(k\vee k')}^{(k'\wedge k)-1}\mathbf{P}_m^N\right](\mathbf{w}_{k'-1}^{\star}-\mathbf{w}_{k'}^{\star})
\end{aligned} k = 1 ∑ T k ′ = 1 ∑ T ( w k − 1 ⋆ − w k ⋆ ) ⊤ m = k ∏ T P m N m = T ∏ k ′ P m N ( w k ′ − 1 ⋆ − w k ′ ⋆ ) = k = 1 ∑ T k ′ = 1 ∑ T ( w k − 1 ⋆ − w k ⋆ ) ⊤ m = ( k ∨ k ′ ) ∏ T P m N m = T ∏ ( k ′ ∧ k ) P m N m = ( k ∨ k ′ ) ∏ ( k ′ ∧ k ) − 1 P m N ( w k ′ − 1 ⋆ − w k ′ ⋆ )
→ [ 1 ] ∑ k = 1 T ∑ k ′ = 1 T a ′ T ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k ′ − 1 ⋆ − w k ′ ⋆ ) ⊤ ( w k − 1 ⋆ − w k ⋆ ) , \xrightarrow{\ [1]\ } \sum_{k=1}^{T}\sum_{k'=1}^{T}a'^{T(k\vee k')}+1b'^{|k-k'|}(\mathbf{w}_{k'-1}^{\star}-\mathbf{w}_{k'}^{\star})^{\top}(\mathbf{w}_{k-1}^{\star}-\mathbf{w}_k^{\star}), [ 1 ] k = 1 ∑ T k ′ = 1 ∑ T a ′ T ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k ′ − 1 ⋆ − w k ′ ⋆ ) ⊤ ( w k − 1 ⋆ − w k ⋆ ) ,
To justify [1] we similarly define ξ s r i = ∏ m = i r P m N ( w r − 1 ⋆ − w r ⋆ ) \xi^i_{sr}=\prod_{m=i}^{r}\mathbf{P}^{N}_{m}(w^\star_{r-1}-w^\star_r) ξ sr i = ∏ m = i r P m N ( w r − 1 ⋆ − w r ⋆ ) and ξ ~ s r i = ∏ m = r i P m N ( w r − 1 ⋆ − w r ⋆ ) \widetilde{\xi}^i_{sr}=\prod_{m=r}^{i}\mathbf{P}^{N}_{m}(w^\star_{r-1}-w^\star_r) ξ sr i = ∏ m = r i P m N ( w r − 1 ⋆ − w r ⋆ ) (where products over empty index sets are defined to be the identity). Then for all k , k ′ ∈ [ 1 , T ] k,k' \in[1,T] k , k ′ ∈ [ 1 , T ] we have,
( w k − 1 ⋆ − w k ⋆ ) T [ ∏ m = ( k ∨ k ′ ) T P m N ∏ m = T ( k ∨ k ′ ) P m N ∏ m = ( k ∨ k ′ ) − 1 ( k ′ ∧ k ) P m N ] ( w k ′ − 1 ⋆ − w k ′ ⋆ ) = ( ξ T − 1 ( k ∨ k ′ ) ) T P T 2 N ξ ~ T − 1 ( k ∧ k ′ ) → [ 1 ] P a ′ ( ξ T − 1 ( k ∨ k ′ ) ) T ξ ~ T − 1 ( k ∧ k ′ ) = a ′ ( ξ T − 2 ( k ∨ k ′ ) ) T P T − 1 2 N ξ ~ T − 2 ( k ∧ k ′ ) = ⋯ → P a ′ T − ( k ∨ k ′ ) + 1 ( w k − 1 ⋆ − w k ⋆ ) T ∏ m = ( k ∨ k ′ ) − 1 ( k ′ ∧ k ) P m N ( w k ′ − 1 ⋆ − w k ′ ⋆ ) (11) \begin{aligned}
(w^\star_{k-1}-w^\star_k)^{\mathsf{T}}
\left[
\prod_{m=(k\vee k')}^{T}\mathbf{P}^{N}_{m}
\prod_{m=T}^{(k\vee k')}\mathbf{P}^{N}_{m}
\prod_{m=(k\vee k')-1}^{(k'\wedge k)}\mathbf{P}^{N}_{m}
\right]
(w^\star_{k'-1}-w^\star_{k'}) \\
= \left(\xi^{(k\vee k')}_{T-1}\right)^{\mathsf{T}}\mathbf{P}^{2N}_{T}\widetilde{\xi}^{(k\wedge k')}_{T-1}
\xrightarrow{[1]{P}} a'\left(\xi^{(k\vee k')}_{T-1}\right)^{\mathsf{T}}\widetilde{\xi}^{(k\wedge k')}_{T-1}
= a'\left(\xi^{(k\vee k')}_{T-2}\right)^{\mathsf{T}}\mathbf{P}^{2N}_{T-1}\widetilde{\xi}^{(k\wedge k')}_{T-2} \\
= \cdots\\
\xrightarrow{P} a'^{T-(k\vee k')+1}(w^\star_{k-1}-w^\star_k)^{\mathsf{T}}
\prod_{m=(k\vee k')-1}^{(k'\wedge k)}\mathbf{P}^{N}_{m}
(w^\star_{k'-1}-w^\star_{k'}) \tag*{(11)}
\end{aligned} ( w k − 1 ⋆ − w k ⋆ ) T m = ( k ∨ k ′ ) ∏ T P m N m = T ∏ ( k ∨ k ′ ) P m N m = ( k ∨ k ′ ) − 1 ∏ ( k ′ ∧ k ) P m N ( w k ′ − 1 ⋆ − w k ′ ⋆ ) = ( ξ T − 1 ( k ∨ k ′ ) ) T P T 2 N ξ T − 1 ( k ∧ k ′ ) [ 1 ] P a ′ ( ξ T − 1 ( k ∨ k ′ ) ) T ξ T − 1 ( k ∧ k ′ ) = a ′ ( ξ T − 2 ( k ∨ k ′ ) ) T P T − 1 2 N ξ T − 2 ( k ∧ k ′ ) = ⋯ P a ′ T − ( k ∨ k ′ ) + 1 ( w k − 1 ⋆ − w k ⋆ ) T m = ( k ∨ k ′ ) − 1 ∏ ( k ′ ∧ k ) P m N ( w k ′ − 1 ⋆ − w k ′ ⋆ ) (11)
= a ′ T − ( k ∨ k ′ ) + 1 [ ( ξ ( k ∨ k ′ ) − 1 ( k ∨ k ′ ) ) T P ( k ∨ k ′ ) − 1 N ξ ~ ( k ∨ k ′ ) − 1 ( k ∧ k ′ ) ] → [ 1 ] P a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( ξ ( k ∨ k ′ ) − 1 ( k ∨ k ′ ) ) T ξ ~ ( k ∨ k ′ ) − 1 ( k ∧ k ′ ) = ⋯ → P a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k − 1 ⋆ − w k ⋆ ) T ( w k ′ − 1 ⋆ − w k ′ ⋆ ) . \begin{aligned}
&=a'^{T-(k\vee k')+1}
\left[
\left(\xi^{(k\vee k')}_{(k\vee k')-1}\right)^{\mathsf{T}}\mathbf{P}^{N}_{(k\vee k')-1}
\widetilde{\xi}^{(k\wedge k')}_{(k\vee k')-1}
\right] \\
&\xrightarrow{[1]{P}} a'^{T-(k\vee k')+1}b'^{|k-k'|}
\left(\xi^{(k\vee k')}_{(k\vee k')-1}\right)^{\mathsf{T}}
\widetilde{\xi}^{(k\wedge k')}_{(k\vee k')-1} \\
&= \cdots\\
&\xrightarrow{P} a'^{T-(k\vee k')+1}b'^{|k-k'|}
(w^\star_{k-1}-w^\star_k)^{\mathsf{T}}(w^\star_{k'-1}-w^\star_{k'}).
\end{aligned} = a ′ T − ( k ∨ k ′ ) + 1 [ ( ξ ( k ∨ k ′ ) − 1 ( k ∨ k ′ ) ) T P ( k ∨ k ′ ) − 1 N ξ ( k ∨ k ′ ) − 1 ( k ∧ k ′ ) ] [ 1 ] P a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( ξ ( k ∨ k ′ ) − 1 ( k ∨ k ′ ) ) T ξ ( k ∨ k ′ ) − 1 ( k ∧ k ′ ) = ⋯ P a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k − 1 ⋆ − w k ⋆ ) T ( w k ′ − 1 ⋆ − w k ′ ⋆ ) .
Here, [1] follows from Lemma 4 and from the independence of ξ t − 1 ( k ∨ k ′ ) \xi^{(k\vee k')}_{t-1} ξ t − 1 ( k ∨ k ′ ) and ξ ~ t − 1 ( k ∧ k ′ ) \widetilde{\xi}^{(k\wedge k')}_{t-1} ξ t − 1 ( k ∧ k ′ ) from P t \mathbf{P}_t P t , together with the facts that ∥ ξ t − 1 ( k ∨ k ′ ) ∥ ∈ O ( 1 ) \left\|\xi^{(k\vee k')}_{t-1}\right\|\in O(1) ξ t − 1 ( k ∨ k ′ ) ∈ O ( 1 ) and ∥ ξ ~ t − 1 ( k ∧ k ′ ) ∥ ∈ O ( 1 ) \left\|\widetilde{\xi}^{(k\wedge k')}_{t-1}\right\|\in O(1) ξ t − 1 ( k ∧ k ′ ) ∈ O ( 1 ) almost surely, which follows since ∥ w k − 1 ⋆ − w k ⋆ ∥ ∈ O ( 1 ) \left\|w^\star_{k-1}-w^\star_k\right\|\in O(1) w k − 1 ⋆ − w k ⋆ ∈ O ( 1 ) (for all k ∈ [ 1 , T ] k\in[1,T] k ∈ [ 1 , T ] , see Section 3) and ∥ P t ∥ 2 < 1 \|\mathbf{P}_t\|_2<1 ∥ P t ∥ 2 < 1 for all t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] almost surely, as γ < 2 1 + 1 / α \gamma<\frac{2}{1+\sqrt{1/\alpha}} γ < 1 + 1/ α 2 . Furthermore, using the closed expression for the N N N -th moment in the Marchenko-Pastur law,
b ′ = b ′ ( γ , N ) = 1 + ∑ k = 0 N ( N k ) ( − γ ) k ∑ r = 0 k v x k r + 1 ( k r ) ( k − 1 r ) 1 α r (12) b'=b'(\gamma,N)=1+\sum_{k=0}^{N}\binom{N}{k}(-\gamma)^k\sum_{r=0}^{k}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^r} \tag*{(12)} b ′ = b ′ ( γ , N ) = 1 + k = 0 ∑ N ( k N ) ( − γ ) k r = 0 ∑ k r + 1 v x k ( r k ) ( r k − 1 ) α r 1 (12)
Since ( w k − 1 ⋆ − w k ⋆ ) T [ ∏ m = T T P m N ] ( w T ⋆ − w i ⋆ ) = b ′ T − k + 1 ( w k − 1 ⋆ − w k ⋆ ) T ( w T ⋆ − w i ⋆ ) (w^\star_{k-1}-w^\star_k)^{\mathsf{T}}\left[\prod_{m=T}^{T}\mathbf{P}^{N}_{m}\right](w^\star_T-w^\star_i)=b'^{T-k+1}(w^\star_{k-1}-w^\star_k)^{\mathsf{T}}(w^\star_T-w^\star_i) ( w k − 1 ⋆ − w k ⋆ ) T [ ∏ m = T T P m N ] ( w T ⋆ − w i ⋆ ) = b ′ T − k + 1 ( w k − 1 ⋆ − w k ⋆ ) T ( w T ⋆ − w i ⋆ ) which similarly follows by the identity in Equation (11) . Then, substituting back to Equation (8), yields,
∥ w T e s g d − w i ⋆ ∥ 2 → P v z c 1 − a ′ T 1 − a ′ + ∑ k = 1 T ∑ k ′ = 1 T a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k − 1 ⋆ − w k ⋆ ) T ( w k ′ − 1 ⋆ − w k ′ ⋆ ) + 2 ∑ k = 1 T b ′ T − k + 1 ( w T ⋆ − w i ⋆ ) T ( w k − 1 ⋆ − w k ⋆ ) + ∥ w T ⋆ − w i ⋆ ∥ 2 . (13) \left\|w^{\mathrm{esgd}}_T-w^\star_i\right\|^2
\xrightarrow{P} v_{zc}\frac{1-a'^T}{1-a'}
+\sum_{k=1}^{T}\sum_{k'=1}^{T}a'^{T-(k\vee k')+1}b'^{|k-k'|}
(w^\star_{k-1}-w^\star_k)^{\mathsf{T}}(w^\star_{k'-1}-w^\star_{k'})
+2\sum_{k=1}^{T}b'^{T-k+1}(w^\star_T-w^\star_i)^{\mathsf{T}}(w^\star_{k-1}-w^\star_k)
+\left\|w^\star_T-w^\star_i\right\|^2. \tag*{(13)} w T esgd − w i ⋆ 2 P v z c 1 − a ′ 1 − a ′ T + k = 1 ∑ T k ′ = 1 ∑ T a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k − 1 ⋆ − w k ⋆ ) T ( w k ′ − 1 ⋆ − w k ′ ⋆ ) + 2 k = 1 ∑ T b ′ T − k + 1 ( w T ⋆ − w i ⋆ ) T ( w k − 1 ⋆ − w k ⋆ ) + ∥ w T ⋆ − w i ⋆ ∥ 2 . (13)
And therefore,
G T e s g d = 1 T ∑ i = 1 T ∥ w T − w i ⋆ ∥ 2 G^{\mathrm{esgd}}_T=\frac{1}{T}\sum_{i=1}^{T}\left\|w_T-w^\star_i\right\|^2 G T esgd = T 1 i = 1 ∑ T ∥ w T − w i ⋆ ∥ 2
→ P v z c 1 − a ′ T 1 − a ′ + 1 T ∑ i = 1 T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ⋆ ‾ ) T ∑ i = 1 T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) + ∑ i = 1 T ∑ i ′ = 1 T a ′ T − max ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) . \begin{aligned}
\xrightarrow{P}\;&v_{zc}\frac{1-a'^T}{1-a'}+\frac{1}{T}\sum_{i=1}^{T}\left\|w^\star_T-w^\star_i\right\|^2
+2(w^\star_T-\overline{w^\star})^{\mathsf{T}}\sum_{i=1}^{T}b'^{T-i+1}(w^\star_{i-1}-w^\star_i)\\
&+\sum_{i=1}^{T}\sum_{i'=1}^{T}a'^{T-\max(i,i')+1}b'^{|i-i'|}
(w^\star_{i-1}-w^\star_i)^{\mathsf{T}}(w^\star_{i'-1}-w^\star_{i'}).
\end{aligned} P v z c 1 − a ′ 1 − a ′ T + T 1 i = 1 ∑ T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ⋆ ) T i = 1 ∑ T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) + i = 1 ∑ T i ′ = 1 ∑ T a ′ T − m a x ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) .
Here, w ˉ ⋆ \bar{w}^{\star} w ˉ ⋆ denotes the average teacher, i.e., w ˉ ⋆ = 1 T ∑ i = 1 T w i ⋆ \bar{w}^{\star} = \frac{1}{T}\sum_{i=1}^{T}w_{i}^{\star} w ˉ ⋆ = T 1 ∑ i = 1 T w i ⋆ .
By taking the Taylor expansion around N γ → 0 N\gamma\to0 N γ → 0 for a ′ a' a ′ , b ′ b' b ′ , c ′ c' c ′ , we get,
a ′ ( γ , N ) = 1 − 2 N v x γ + N ( 2 N − 1 ) v x 2 ( 1 + 1 α ) γ 2 + O ( ( N γ ) 3 ) , b ′ ( γ , N ) = 1 − N v x γ + N ( N − 1 ) 2 v x 2 ( 1 + 1 α ) γ 2 + O ( ( N γ ) 3 ) , c ′ ( γ , N ) = N 2 α v x γ 2 + O ( ( N γ ) 3 ) . (14) \begin{aligned}
a'(\gamma,N) &= 1 - 2Nv_x\gamma+ N(2N-1)v_x^2\left(1+\frac{1}{\alpha}\right)\gamma^2 + O\left((N\gamma)^3\right), \\
b'(\gamma,N) &= 1 - Nv_x\gamma+ \frac{N(N-1)}{2}v_x^2\left(1+\frac{1}{\alpha}\right)\gamma^2 + O\left((N\gamma)^3\right), \\
c'(\gamma,N) &= \frac{N^2}{\alpha}v_x\gamma^2 + O\left((N\gamma)^3\right). \tag*{(14)}
\end{aligned} a ′ ( γ , N ) b ′ ( γ , N ) c ′ ( γ , N ) = 1 − 2 N v x γ + N ( 2 N − 1 ) v x 2 ( 1 + α 1 ) γ 2 + O ( ( N γ ) 3 ) , = 1 − N v x γ + 2 N ( N − 1 ) v x 2 ( 1 + α 1 ) γ 2 + O ( ( N γ ) 3 ) , = α N 2 v x γ 2 + O ( ( N γ ) 3 ) . (14)
Before deriving the result of the optimal step size in early-stopped GD we simplify the expression of the generalization loss given in Theorem 1 under the assumption of the i.i.d. teachers (Assumption 1).
Corollary 1. Under the i.i.d. setting (Assumption 1), and for all T > 1 T > 1 T > 1 , the generalization loss of Algorithm 1 becomes, as n , d → ∞ n, d \to\infty n , d → ∞
G T r i d g e → P v z c ′ 1 − a ′ T 1 − a ′ + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ 1 − a ′ + 2 b ′ T − 1 T + a ′ T ( − a ′ + 2 b ′ − 1 ) 2 ( 1 − a ′ ) ) . (15) G_T^{\mathrm{ridge}} \xrightarrow{P} v_z c' \frac{1-a'^{T}}{1-a'} + a'^{T}\lVert\mathbf{w}^{\star}-\mathbf{w}_0\rVert^2 + 2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{1-b'}{1-a'}+\frac{2b'^{T}-1}{T}+\frac{a'^{T}(-a'+2b'-1)}{2(1-a')}\right). \tag*{(15)} G T ridge P v z c ′ 1 − a ′ 1 − a ′ T + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − a ′ 1 − b ′ + T 2 b ′ T − 1 + 2 ( 1 − a ′ ) a ′ T ( − a ′ + 2 b ′ − 1 ) ) . (15) where
a ′ = 1 + ∑ k = 0 2 N ( 2 N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r , a'=1+\sum_{k=0}^{2N}\binom{2N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^{r}}, a ′ = 1 + k = 0 ∑ 2 N ( k 2 N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 , b ′ = 1 + ∑ k = 0 N ( N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r , b'=1+\sum_{k=0}^{N}\binom{N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^{r}}, b ′ = 1 + k = 0 ∑ N ( k N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 , c ′ = ∑ s = 0 2 N − 2 m s ∑ l = 0 8 ( s l ) ( − γ ) l + 2 ∑ r = 0 l v x l + 1 r + 1 ( l + 1 r ) ( l r ) 1 α r + 1 . c'=\sum_{s=0}^{2N-2}m_s\sum_{l=0}^{8}\binom{s}{l}(-\gamma)^{l+2}\sum_{r=0}^{l}\frac{v_x^{l+1}}{r+1}\binom{l+1}{r}\binom{l}{r}\frac{1}{\alpha^{r+1}}. c ′ = s = 0 ∑ 2 N − 2 m s l = 0 ∑ 8 ( l s ) ( − γ ) l + 2 r = 0 ∑ l r + 1 v x l + 1 ( r l + 1 ) ( r l ) α r + 1 1 .
Proof. Under the i.i.d. teacher assumption Assumption 1, each task-specific teacher can be written as
w i ⋆ = w ⋆ + ξ i , i ∈ [ T ] , \mathbf{w}_i^\star=\mathbf{w}^\star+\boldsymbol{\xi}_i,\qquad i\in[T], w i ⋆ = w ⋆ + ξ i , i ∈ [ T ] ,
where the random vectors ξ i \boldsymbol{\xi}_i ξ i are i.i.d. with mean 0 d \mathbf{0}_d 0 d and covariance Cov ( ξ i ) = Σ \operatorname{Cov}(\boldsymbol{\xi}_i)=\boldsymbol{\Sigma} Cov ( ξ i ) = Σ . Substituting this representation into the general expression derived in Equation (13) , yields the following explicit decomposition of the squared error,
∥ w T e s g d − w i ⋆ ∥ 2 → P a ′ T ∥ w ⋆ − w 0 + ξ 1 ∥ 2 + 2 b ′ T ( ξ i − ξ T ) T ( w ⋆ − w 0 + ξ 1 ) + v z c ′ 1 − a ′ T 1 − a ′ + 2 ∑ k = 2 T a ′ T − k + 1 b ′ k − 1 ( ξ k − ξ k − 1 ) T ( w ⋆ − w 0 + ξ 1 ) + ∑ k = 2 T ∑ k ′ = 2 T a ′ T − ( k ∨ k ′ ) + 1 b ′ ( k ∨ k ′ ) − ( k ∧ k ′ ) ( ξ k − 1 − ξ k ) T ( ξ k ′ − 1 − ξ k ′ ) + 2 ∑ k = 2 T b ′ T − k + 1 ( ξ T − ξ i ) T ( ξ k − 1 − ξ k ) + ∥ ξ T − ξ i ∥ 2 . \begin{aligned}
\left\lVert\mathbf{w}_T^{\mathrm{esgd}}-\mathbf{w}_i^\star\right\rVert^2
&\xrightarrow{P}a'^{T}\left\lVert\mathbf{w}^\star-\mathbf{w}_0+\boldsymbol{\xi}_1\right\rVert^2+2b'^{T}(\boldsymbol{\xi}_i-\boldsymbol{\xi}_T)^{\mathsf{T}}(\mathbf{w}^\star-\mathbf{w}_0+\boldsymbol{\xi}_1)\\
&\quad+v_zc'\frac{1-a'^{T}}{1-a'}+2\sum_{k=2}^{T}a'^{T-k+1}b'^{k-1}(\boldsymbol{\xi}_k-\boldsymbol{\xi}_{k-1})^{\mathsf{T}}(\mathbf{w}^\star-\mathbf{w}_0+\boldsymbol{\xi}_1)\\
&\quad+\sum_{k=2}^{T}\sum_{k'=2}^{T}a'^{T-(k\vee k')+1}b'^{(k\vee k')-(k\wedge k')}(\boldsymbol{\xi}_{k-1}-\boldsymbol{\xi}_k)^{\mathsf{T}}(\boldsymbol{\xi}_{k'-1}-\boldsymbol{\xi}_{k'})\\
&\quad+2\sum_{k=2}^{T}b'^{T-k+1}(\boldsymbol{\xi}_T-\boldsymbol{\xi}_i)^{\mathsf{T}}(\boldsymbol{\xi}_{k-1}-\boldsymbol{\xi}_k)+\lVert\boldsymbol{\xi}_T-\boldsymbol{\xi}_i\rVert^2.
\end{aligned} w T esgd − w i ⋆ 2 P a ′ T ∥ w ⋆ − w 0 + ξ 1 ∥ 2 + 2 b ′ T ( ξ i − ξ T ) T ( w ⋆ − w 0 + ξ 1 ) + v z c ′ 1 − a ′ 1 − a ′ T + 2 k = 2 ∑ T a ′ T − k + 1 b ′ k − 1 ( ξ k − ξ k − 1 ) T ( w ⋆ − w 0 + ξ 1 ) + k = 2 ∑ T k ′ = 2 ∑ T a ′ T − ( k ∨ k ′ ) + 1 b ′ ( k ∨ k ′ ) − ( k ∧ k ′ ) ( ξ k − 1 − ξ k ) T ( ξ k ′ − 1 − ξ k ′ ) + 2 k = 2 ∑ T b ′ T − k + 1 ( ξ T − ξ i ) T ( ξ k − 1 − ξ k ) + ∥ ξ T − ξ i ∥ 2 .
Additionally, for all i , k ∈ [ T ] i,k\in[T] i , k ∈ [ T ] so that i ≠ k i\ne k i = k we have,
ξ i T ξ i = ∑ j = 1 d ξ i , j 2 → P Tr ( Σ ) , ξ i T ξ k = ∑ j = 1 d ξ i , j ξ k , j → P 0 , \boldsymbol{\xi}_i^{\mathsf{T}}\boldsymbol{\xi}_i=\sum_{j=1}^{d}\xi_{i,j}^{2}\xrightarrow{P}\operatorname{Tr}(\boldsymbol{\Sigma}),\qquad
\boldsymbol{\xi}_i^{\mathsf{T}}\boldsymbol{\xi}_k=\sum_{j=1}^{d}\xi_{i,j}\xi_{k,j}\xrightarrow{P}0, ξ i T ξ i = j = 1 ∑ d ξ i , j 2 P Tr ( Σ ) , ξ i T ξ k = j = 1 ∑ d ξ i , j ξ k , j P 0 ,
ξ i T w ⋆ = ∑ j = 1 d ξ i , j w j ⋆ → P 0 , ξ i T w 0 = ∑ j = 1 d ξ i , j w 0 j → P 0. (16) \boldsymbol{\xi}_i^{\mathsf{T}}\mathbf{w}^\star=\sum_{j=1}^{d}\xi_{i,j}w_j^\star\xrightarrow{P}0,\qquad
\boldsymbol{\xi}_i^{\mathsf{T}}\mathbf{w}_0=\sum_{j=1}^{d}\xi_{i,j}w_{0j}\xrightarrow{P}0. \tag*{(16)} ξ i T w ⋆ = j = 1 ∑ d ξ i , j w j ⋆ P 0 , ξ i T w 0 = j = 1 ∑ d ξ i , j w 0 j P 0. (16)
where the convergence in probability in each one of the cases follows by the uniform integrability of teacher correlations and from independence across coordinates with E [ ξ i ] = E [ ξ k ] = 0 \mathbb{E}[\boldsymbol{\xi}_i]=\mathbb{E}[\boldsymbol{\xi}_k]=0 E [ ξ i ] = E [ ξ k ] = 0 , and Cov ( ξ i ) = Σ \operatorname{Cov}(\boldsymbol{\xi}_i)=\boldsymbol{\Sigma} Cov ( ξ i ) = Σ . Using the identities in Equation (16) , we evaluate the resulting expression by separating the analysis into three cases.
In the special case, when i = T i = T i = T :
∥ w T e s g d − w i ⋆ ∥ 2 → P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + c ′ v z 1 − a ′ T 1 − a ′ + 2 Tr ( Σ ) ( ∑ k = 2 T a ′ T − k + 1 − b ′ ∑ k = 3 T a ′ T − k + 1 ) = ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + c ′ v z 1 − a ′ T 1 − a ′ + 2 Tr ( Σ ) ( a ′ ( 1 − a ′ T − 1 ) 1 − a ′ − b ′ a ′ ( 1 − a ′ T − 2 ) 1 − a ′ ) . (17) \begin{aligned}
\left\|\mathbf{w}^{\mathrm{esgd}}_{T}-\mathbf{w}^{\star}_{i}\right\|^{2} &\xrightarrow{P} \left(a^{\prime T}-2a^{\prime T-1}b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma})+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2} \\
&\quad+c^{\prime}v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\sum_{k=2}^{T}a^{\prime T-k+1}-b^{\prime}\sum_{k=3}^{T}a^{\prime T-k+1}\right) \\
&=\left(a^{\prime T}-2a^{\prime T-1}b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma})+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2} \\
&\quad+c^{\prime}v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{a^{\prime}\left(1-a^{\prime T-1}\right)}{1-a^{\prime}}-b^{\prime}\frac{a^{\prime}\left(1-a^{\prime T-2}\right)}{1-a^{\prime}}\right). \tag*{(17)}
\end{aligned} w T esgd − w i ⋆ 2 P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + c ′ v z 1 − a ′ 1 − a ′ T + 2 Tr ( Σ ) ( k = 2 ∑ T a ′ T − k + 1 − b ′ k = 3 ∑ T a ′ T − k + 1 ) = ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + c ′ v z 1 − a ′ 1 − a ′ T + 2 Tr ( Σ ) ( 1 − a ′ a ′ ( 1 − a ′ T − 1 ) − b ′ 1 − a ′ a ′ ( 1 − a ′ T − 2 ) ) . (17)
When 1 < i < T 1 < i < T 1 < i < T :
∥ w T e s g d − w i ⋆ ∥ 2 → P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + c ′ v z 1 − a ′ T 1 − a ′ + 2 Tr ( Σ ) ( a ′ ( 1 − a ′ T − 1 ) 1 − a ′ − b ′ a ′ ( 1 − a ′ T − 2 ) 1 − a ′ + 1 ) + 2 ( b ′ T − i + 1 − b ′ T − i − b ′ ) Tr ( Σ ) . (18) \begin{aligned}
\left\|\mathbf{w}^{\mathrm{esgd}}_{T}-\mathbf{w}^{\star}_{i}\right\|^{2} &\xrightarrow{P} \left(a^{\prime T}-2a^{\prime T-1}b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma})+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}+c^{\prime}v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}} \\
&\quad+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{a^{\prime}\left(1-a^{\prime T-1}\right)}{1-a^{\prime}}-b^{\prime}\frac{a^{\prime}\left(1-a^{\prime T-2}\right)}{1-a^{\prime}}+1\right)+2\left(b^{\prime T-i+1}-b^{\prime T-i}-b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma}). \tag*{(18)}
\end{aligned} w T esgd − w i ⋆ 2 P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + c ′ v z 1 − a ′ 1 − a ′ T + 2 Tr ( Σ ) ( 1 − a ′ a ′ ( 1 − a ′ T − 1 ) − b ′ 1 − a ′ a ′ ( 1 − a ′ T − 2 ) + 1 ) + 2 ( b ′ T − i + 1 − b ′ T − i − b ′ ) Tr ( Σ ) . (18)
When i = 1 i = 1 i = 1 :
∥ w T e s g d − w i ⋆ ∥ 2 → P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 b ′ T Tr ( Σ ) + c ′ v z 1 − a ′ T 1 − a ′ + 2 Tr ( Σ ) ( a ′ ( 1 − a ′ T − 1 ) 1 − a ′ − b ′ a ′ ( 1 − a ′ T − 2 ) 1 − a ′ + 1 ) + 2 ( b ′ T − b ′ T − 1 − b ′ ) Tr ( Σ ) . (19) \begin{aligned}
\left\|\mathbf{w}^{\mathrm{esgd}}_{T}-\mathbf{w}^{\star}_{i}\right\|^{2} &\xrightarrow{P} \left(a^{\prime T}-2a^{\prime T-1}b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma})+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}+2b^{\prime T}\operatorname{Tr}(\boldsymbol{\Sigma})+c^{\prime}v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}} \\
&\quad+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{a^{\prime}\left(1-a^{\prime T-1}\right)}{1-a^{\prime}}-b^{\prime}\frac{a^{\prime}\left(1-a^{\prime T-2}\right)}{1-a^{\prime}}+1\right)+2\left(b^{\prime T}-b^{\prime T-1}-b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma}). \tag*{(19)}
\end{aligned} w T esgd − w i ⋆ 2 P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 b ′ T Tr ( Σ ) + c ′ v z 1 − a ′ 1 − a ′ T + 2 Tr ( Σ ) ( 1 − a ′ a ′ ( 1 − a ′ T − 1 ) − b ′ 1 − a ′ a ′ ( 1 − a ′ T − 2 ) + 1 ) + 2 ( b ′ T − b ′ T − 1 − b ′ ) Tr ( Σ ) . (19)
Using Equations (17) to (19) when summing over all cases,
E [ G T ] = 1 T ∑ i = 1 T E ∥ w T e s g d − w i ⋆ ∥ 2 → P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( a ( 1 − a ′ T − 1 ) 1 − a ′ − b ′ a ′ ( 1 − a ′ T − 2 ) 1 − a ′ ) + c v z 1 − a ′ T 1 − a ′ + 2 T ( 2 b ′ T + T − 1 − T b ′ ) Tr ( Σ ) = c ′ v z 1 − a ′ T 1 − a ′ + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ + 2 b ′ T − 1 T + a ′ 1 − a ′ ( 1 − a ′ T − 1 − b ( 1 − a ′ T − 2 ) ) + a ′ T − 1 ( a ′ − 2 b ) 2 ) = c ′ v z 1 − a ′ T 1 − a ′ + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ + 2 b ′ T − 1 T + a ′ 1 − a ′ ( 1 − b ′ + a ′ T − 2 ( b ′ − a ′ ) ) + a ′ T − 1 ( a ′ − 2 b ′ ) 2 ) = c v z 1 − a ′ T 1 − a ′ + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( ( 1 − b ′ ) ( 1 − a ′ ) 1 − a ′ + a ′ ( 1 − b ′ ) 1 − a ′ + 2 b ′ T − 1 T + a ′ T − 1 1 − a ′ ( b ′ − a ′ ) + a ′ T − 1 ( a ′ − 2 b ′ ) 2 ) = c v z 1 − a ′ T 1 − a ′ + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ 1 − a ′ + 2 b ′ T − 1 T + a ′ T ( − a ′ + 2 b ′ − 1 ) 2 ( 1 − a ′ ) ) . (20) \begin{aligned}
\mathbb{E}[G_{T}] &= \frac{1}{T}\sum_{i=1}^{T}\mathbb{E}\left\|\mathbf{w}^{\mathrm{esgd}}_{T}-\mathbf{w}^{\star}_{i}\right\|^{2} \xrightarrow{P} \\
&\quad\left(a^{\prime T}-2a^{\prime T-1}b^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma})+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{a\left(1-a^{\prime T-1}\right)}{1-a^{\prime}}-b^{\prime}\frac{a^{\prime}\left(1-a^{\prime T-2}\right)}{1-a^{\prime}}\right) \\
&\quad+c v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+\frac{2}{T}\left(2b^{\prime T}+T-1-Tb^{\prime}\right)\operatorname{Tr}(\boldsymbol{\Sigma}) \\
&=c^{\prime}v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2} \\
&\quad+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(1-b^{\prime}+\frac{2b^{\prime T}-1}{T}+\frac{a^{\prime}}{1-a^{\prime}}\left(1-a^{\prime T-1}-b\left(1-a^{\prime T-2}\right)\right)+\frac{a^{\prime T-1}\left(a^{\prime}-2b\right)}{2}\right) \\
&=c^{\prime}v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2} \\
&\quad+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(1-b^{\prime}+\frac{2b^{\prime T}-1}{T}+\frac{a^{\prime}}{1-a^{\prime}}\left(1-b^{\prime}+a^{\prime T-2}\left(b^{\prime}-a^{\prime}\right)\right)+\frac{a^{\prime T-1}\left(a^{\prime}-2b^{\prime}\right)}{2}\right) \\
&=c v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2} \\
&\quad+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{(1-b^{\prime})(1-a^{\prime})}{1-a^{\prime}}+\frac{a^{\prime}(1-b^{\prime})}{1-a^{\prime}}+\frac{2b^{\prime T}-1}{T}+\frac{a^{\prime T-1}}{1-a^{\prime}}\left(b^{\prime}-a^{\prime}\right)+\frac{a^{\prime T-1}\left(a^{\prime}-2b^{\prime}\right)}{2}\right) \\
&=c v_{z}\frac{1-a^{\prime T}}{1-a^{\prime}}+a^{\prime T}\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}+2\operatorname{Tr}(\boldsymbol{\Sigma})\left(\frac{1-b^{\prime}}{1-a^{\prime}}+\frac{2b^{\prime T}-1}{T}+\frac{a^{\prime T}\left(-a^{\prime}+2b^{\prime}-1\right)}{2(1-a^{\prime})}\right). \tag*{(20)}
\end{aligned} E [ G T ] = T 1 i = 1 ∑ T E w T esgd − w i ⋆ 2 P ( a ′ T − 2 a ′ T − 1 b ′ ) Tr ( Σ ) + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − a ′ a ( 1 − a ′ T − 1 ) − b ′ 1 − a ′ a ′ ( 1 − a ′ T − 2 ) ) + c v z 1 − a ′ 1 − a ′ T + T 2 ( 2 b ′ T + T − 1 − T b ′ ) Tr ( Σ ) = c ′ v z 1 − a ′ 1 − a ′ T + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ + T 2 b ′ T − 1 + 1 − a ′ a ′ ( 1 − a ′ T − 1 − b ( 1 − a ′ T − 2 ) ) + 2 a ′ T − 1 ( a ′ − 2 b ) ) = c ′ v z 1 − a ′ 1 − a ′ T + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ + T 2 b ′ T − 1 + 1 − a ′ a ′ ( 1 − b ′ + a ′ T − 2 ( b ′ − a ′ ) ) + 2 a ′ T − 1 ( a ′ − 2 b ′ ) ) = c v z 1 − a ′ 1 − a ′ T + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − a ′ ( 1 − b ′ ) ( 1 − a ′ ) + 1 − a ′ a ′ ( 1 − b ′ ) + T 2 b ′ T − 1 + 1 − a ′ a ′ T − 1 ( b ′ − a ′ ) + 2 a ′ T − 1 ( a ′ − 2 b ′ ) ) = c v z 1 − a ′ 1 − a ′ T + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − a ′ 1 − b ′ + T 2 b ′ T − 1 + 2 ( 1 − a ′ ) a ′ T ( − a ′ + 2 b ′ − 1 ) ) . (20)
Proof of Theorem 2: Optimal Step Size in Early-Stopped GD
Recall Theorem 2. Under the i.i.d. teacher setting (Assumption 1) with a nontrivial mean teacher w ⋆ ≠ w 0 \mathbf{w}^{\star} \ne\mathbf{w}_{0} w ⋆ = w 0 ,5 as n , d → ∞ n,d \to\infty n , d → ∞ the optimal fixed step size γ ⋆ \gamma^{\star} γ ⋆ that minimizes the generalization loss of the early-stopped GD algorithm (Algorithm 2) after T T T tasks satisfies γ ⋆ ≍ ln T N T \gamma^{\star} \asymp\frac{\ln T}{NT} γ ⋆ ≍ N T l n T . Specifically, for all sufficiently large T > T 0 = Θ ( 1 ϵ 2 ln 2 ( 1 / ϵ ) ) T>T_{0}=\Theta\left(\frac{1}{\epsilon^{2}\ln^{2}(1/\epsilon)}\right) T > T 0 = Θ ( ϵ 2 l n 2 ( 1/ ϵ ) 1 ) , the optimal parameters satisfy
1 1 + ϵ ln ( T ) + ln ( Γ ) 2 N v x T < γ ⋆ < 1 1 − ϵ ln ( T ) + ln ( Γ ) 2 N v x T , \frac{1}{1+\epsilon}\frac{\ln(T)+\ln(\Gamma)}{2Nv_{x}T}<\gamma^{\star}<\frac{1}{1-\epsilon}\frac{\ln(T)+\ln(\Gamma)}{2Nv_{x}T}, 1 + ϵ 1 2 N v x T ln ( T ) + ln ( Γ ) < γ ⋆ < 1 − ϵ 1 2 N v x T ln ( T ) + ln ( Γ ) ,
where Γ = 4 α v x ∥ w ⋆ − w 0 ∥ 2 v z + v x Tr ( Σ ) ( α + 1 ) \Gamma=\frac{4\alpha v_{x}\lVert\mathbf{w}^{\star}-\mathbf{w}_{0}\rVert^{2}}{v_{z}+v_{x}\operatorname{Tr}(\Sigma)(\alpha+1)} Γ = v z + v x Tr ( Σ ) ( α + 1 ) 4 α v x ∥ w ⋆ − w 0 ∥ 2 . In the degenerate noiseless case of Tr ( Σ ) = v z = 0 \operatorname{Tr}(\Sigma)=v_{z}=0 Tr ( Σ ) = v z = 0 , the optimal choice is any γ ⋆ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma^{\star}\in\left(0,2v_{x}^{-1}(1+\alpha^{-1/2})^{-2}\right) γ ⋆ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) and N → ∞ N\to\infty N → ∞ .
Moreover, if γ ≍ ln T N T \gamma\asymp\frac{\ln T}{NT} γ ≍ N T l n T the resulting generalization loss of the early-stopped GD matches that of optimally tuned L2 regularization up to O ( 1 / T ) O(1/T) O ( 1/ T ) factor.
Proof. The proof of the main theorem proceeds as follows. We first show that no optimal regularizer can be obtained in the regime where T T T is ’significantly’ larger than λ \lambda λ . Next, by employing exact Laurent analysis in the regime where T T T increases more slowly than λ \lambda λ , we derive the approximately optimal value for the step size. Finally, in a suitable regime, we find a close connection between the ridge objective and the objective of early-stopped gradient descent.
Recall Theorem 1,
G T e s g d → P v z c ′ 1 − a ′ T 1 − a ′ + 1 T ∑ i = 1 T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) T ∑ i = 1 T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) + ∑ i = 1 T ∑ i ′ = 1 T a ′ T − max ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) . \begin{aligned}
G_{T}^{\mathrm{esgd}}\xrightarrow{P}v_{z}c'\frac{1-a'^{T}}{1-a'}+\frac{1}{T}\sum_{i=1}^{T}\lVert\mathbf{w}_{T}^{\star}-\mathbf{w}_{i}^{\star}\rVert^{2}+2(\mathbf{w}_{T}^{\star}-\bar{\mathbf{w}}^{\star})^{\mathsf{T}}\sum_{i=1}^{T}b'^{T-i+1}(\mathbf{w}_{i-1}^{\star}-\mathbf{w}_{i}^{\star}) \\
&+\sum_{i=1}^{T}\sum_{i'=1}^{T}a'^{T-\max(i,i')+1}b'^{\lvert i-i'\rvert}(\mathbf{w}_{i-1}^{\star}-\mathbf{w}_{i}^{\star})^{\mathsf{T}}(\mathbf{w}_{i'-1}^{\star}-\mathbf{w}_{i'}^{\star}).
\end{aligned} G T esgd P v z c ′ 1 − a ′ 1 − a ′ T + T 1 i = 1 ∑ T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) T i = 1 ∑ T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) + i = 1 ∑ T i ′ = 1 ∑ T a ′ T − m a x ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) .
For convenience, throughout the proof we use G T e s g d G_{T}^{\mathrm{esgd}} G T esgd , G T r i d g e G_{T}^{\mathrm{ridge}} G T ridge to denote their corresponding asymptotic deterministic equivalent, to which they converge in probability as n , d → ∞ n,d\to\infty n , d → ∞ .
To further simplify this expression in the i.i.d. teacher setting we use Corollary 1. We conclude that under early-stopped GD (Algorithm 2) the expected generalization after T > 1 T>1 T > 1 steps satisfies,
G T e s g d = v z c ′ 1 − a ′ T 1 − a ′ + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − b ′ 1 − a ′ + 2 b ′ T − 1 T + a ′ T ( − a ′ + 2 b ′ − 1 ) 2 ( 1 − a ′ ) ) . (21) G_{T}^{\mathrm{esgd}}=v_{z}c'\frac{1-a'^{T}}{1-a'}+a'^{T}\lVert\mathbf{w}^{\star}-\mathbf{w}_{0}\rVert^{2}+2\operatorname{Tr}(\Sigma)\left(\frac{1-b'}{1-a'}+\frac{2b'^{T}-1}{T}+\frac{a'^{T}(-a'+2b'-1)}{2(1-a')}\right). \tag*{(21)} G T esgd = v z c ′ 1 − a ′ 1 − a ′ T + a ′ T ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 1 − a ′ 1 − b ′ + T 2 b ′ T − 1 + 2 ( 1 − a ′ ) a ′ T ( − a ′ + 2 b ′ − 1 ) ) . (21)
By taking the Taylor expansion around N γ → 0 N\gamma\to0 N γ → 0 for a ′ a' a ′ , b ′ b' b ′ , c ′ c' c ′ , as in Equation (14) , we obtain,
a ′ ( γ , N ) = 1 − 2 N v x γ + N ( 2 N − 1 ) v x 2 ( 1 + 1 α ) γ 2 + O ( ( N γ ) 3 ) , a'(\gamma,N)=1-2Nv_{x}\gamma+N(2N-1)v_{x}^{2}\left(1+\frac{1}{\alpha}\right)\gamma^{2}+O((N\gamma)^{3}), a ′ ( γ , N ) = 1 − 2 N v x γ + N ( 2 N − 1 ) v x 2 ( 1 + α 1 ) γ 2 + O (( N γ ) 3 ) ,
b ′ ( γ , N ) = 1 − N v x γ + N ( N − 1 ) 2 v x 2 ( 1 + 1 α ) γ 2 + O ( ( N γ ) 3 ) , b'(\gamma,N)=1-Nv_{x}\gamma+\frac{N(N-1)}{2}v_{x}^{2}\left(1+\frac{1}{\alpha}\right)\gamma^{2}+O((N\gamma)^{3}), b ′ ( γ , N ) = 1 − N v x γ + 2 N ( N − 1 ) v x 2 ( 1 + α 1 ) γ 2 + O (( N γ ) 3 ) ,
c ′ ( γ , N ) = N 2 α v x γ 2 + O ( ( N γ ) 3 ) . (22) c'(\gamma,N)=\frac{N^{2}}{\alpha}v_{x}\gamma^{2}+O((N\gamma)^{3}). \tag*{(22)} c ′ ( γ , N ) = α N 2 v x γ 2 + O (( N γ ) 3 ) . (22)
We first show that the optimal step size γ \gamma γ and number of gradient steps N N N , can not be in any region where 1 N γ = : λ ∈ o ( T ρ ) \frac{1}{N\gamma}=:\lambda\in o(T^{\rho}) N γ 1 =: λ ∈ o ( T ρ ) , for all ρ < 1 \rho<1 ρ < 1 . First, we consider the limit of the objective (Equation (21) ), i.e.
lim T → ∞ G T e s g d = c ′ v z 1 1 − a ′ + 2 Tr ( Σ ) ( 1 − b ′ 1 − a ′ ) . \lim_{T\to\infty}G_{T}^{\mathrm{esgd}}=c'v_{z}\frac{1}{1-a'}+2\operatorname{Tr}(\Sigma)\left(\frac{1-b'}{1-a'}\right). T → ∞ lim G T esgd = c ′ v z 1 − a ′ 1 + 2 Tr ( Σ ) ( 1 − a ′ 1 − b ′ ) .
Taking the derivative of the limiting expression,
d d λ lim T → ∞ G T e s g d = d d λ ( c ′ v z 1 1 − a ′ + d d λ 1 1 − a ′ c ′ v z + 2 Tr ( Σ ) ( 1 − b ′ ( 1 − a ′ ) 2 d a ′ d λ − 1 1 − a ′ d b ′ d λ ) ) . (23) \frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{esgd}}=\frac{\mathrm{d}}{\mathrm{d}\lambda}\left(c'v_z\frac{1}{1-a'}+\frac{\mathrm{d}}{\mathrm{d}\lambda}\frac{1}{1-a'}c'v_z+2\operatorname{Tr}(\mathbf{\Sigma})\left(\frac{1-b'}{(1-a')^2}\frac{\mathrm{d}a'}{\mathrm{d}\lambda}-\frac{1}{1-a'}\frac{\mathrm{d}b'}{\mathrm{d}\lambda}\right)\right). \tag*{(23)} d λ d T → ∞ lim G T esgd = d λ d ( c ′ v z 1 − a ′ 1 + d λ d 1 − a ′ 1 c ′ v z + 2 Tr ( Σ ) ( ( 1 − a ′ ) 2 1 − b ′ d λ d a ′ − 1 − a ′ 1 d λ d b ′ ) ) . (23)
Using the Taylor expansion in Equation (22) , and since a ′ a' a ′ , b ′ b' b ′ , c ′ c' c ′ are analytic at γ = 0 \gamma=0 γ = 0 (all are polynomial), then using Lemma 6 and the relation λ = 1 N γ \lambda=\frac{1}{N\gamma} λ = N γ 1 , term 1 becomes,
d d λ ( c ′ v z 1 1 − a ′ + d d λ ( 1 1 − a ′ ) c ′ v z ) = ( − 2 v x λ 3 α + O ( λ − 4 ) ) 1 2 v x λ + O ( λ − 2 ) + d a ′ d λ d d a ′ ( 1 1 − a ′ ) c ′ v z = ( − 2 v x λ 3 α + O ( λ − 4 ) ) v z 2 v x λ + O ( λ − 2 ) + ( 2 v x λ 2 + O ( λ − 3 ) ) 1 ( 2 v x λ + O ( λ − 2 ) ) 2 ( v x λ 2 α + O ( λ − 3 ) ) v z = ( − v z λ 2 α + O ( λ − 3 ) ) + ( 1 2 v x + O ( λ − 2 ) ) ( v x λ 2 α + O ( λ − 3 ) ) v z = − v z λ 2 α + v z 2 λ 2 α + O ( λ − 3 ) = − v z 2 λ 2 α + O ( λ − 3 ) . (24) \begin{aligned}
\frac{\mathrm{d}}{\mathrm{d}\lambda}\left(c'v_z\frac{1}{1-a'}+\frac{\mathrm{d}}{\mathrm{d}\lambda}\left(\frac{1}{1-a'}\right)c'v_z\right)
&=\left(\frac{-2v_x}{\lambda^3\alpha}+O(\lambda^{-4})\right)\frac{1}{\frac{2v_x}{\lambda}+O(\lambda^{-2})}+\frac{\mathrm{d}a'}{\mathrm{d}\lambda}\frac{\mathrm{d}}{\mathrm{d}a'}\left(\frac{1}{1-a'}\right)c'v_z\\
&=\left(\frac{-2v_x}{\lambda^3\alpha}+O(\lambda^{-4})\right)\frac{v_z}{\frac{2v_x}{\lambda}+O(\lambda^{-2})}+\left(\frac{2v_x}{\lambda^2}+O(\lambda^{-3})\right)\frac{1}{\left(\frac{2v_x}{\lambda}+O(\lambda^{-2})\right)^2}\left(\frac{v_x}{\lambda^2\alpha}+O(\lambda^{-3})\right)v_z\\
&=\left(\frac{-v_z}{\lambda^2\alpha}+O(\lambda^{-3})\right)+\left(\frac{1}{2v_x}+O(\lambda^{-2})\right)\left(\frac{v_x}{\lambda^2\alpha}+O(\lambda^{-3})\right)v_z\\
&=\frac{-v_z}{\lambda^2\alpha}+\frac{v_z}{2\lambda^2\alpha}+O(\lambda^{-3})=\frac{-v_z}{2\lambda^2\alpha}+O(\lambda^{-3}). \tag*{(24)}
\end{aligned} d λ d ( c ′ v z 1 − a ′ 1 + d λ d ( 1 − a ′ 1 ) c ′ v z ) = ( λ 3 α − 2 v x + O ( λ − 4 ) ) λ 2 v x + O ( λ − 2 ) 1 + d λ d a ′ d a ′ d ( 1 − a ′ 1 ) c ′ v z = ( λ 3 α − 2 v x + O ( λ − 4 ) ) λ 2 v x + O ( λ − 2 ) v z + ( λ 2 2 v x + O ( λ − 3 ) ) ( λ 2 v x + O ( λ − 2 ) ) 2 1 ( λ 2 α v x + O ( λ − 3 ) ) v z = ( λ 2 α − v z + O ( λ − 3 ) ) + ( 2 v x 1 + O ( λ − 2 ) ) ( λ 2 α v x + O ( λ − 3 ) ) v z = λ 2 α − v z + 2 λ 2 α v z + O ( λ − 3 ) = 2 λ 2 α − v z + O ( λ − 3 ) . (24)
And term 2 becomes,
2 Tr ( Σ ) ( 1 − b ′ ( 1 − a ′ ) 2 d a ′ d λ − ( 1 1 − a ′ ) d b ′ d λ ) = 2 Tr ( Σ ) [ ( v x λ − N − 1 2 N v x 2 ( 1 + 1 α ) ) 1 λ 2 + O ( λ − 3 ) ] [ λ 2 4 v x 2 + 2 N − 1 4 N ( 1 + 1 α ) λ v x + O ( 1 ) ] [ 2 v x λ 2 − 2 ( 2 N − 1 ) N v x 3 ( 1 + 1 α ) 1 λ 3 + O ( λ − 4 ) ] − [ λ 2 v x + 2 N − 1 4 N ( 1 + 1 α ) + O ( λ − 1 ) ] [ v x λ 2 − N − 1 N v x 2 ( 1 + 1 α ) 1 λ 3 + O ( λ − 4 ) ] = 2 Tr ( Σ ) ( [ 1 2 λ + 1 λ 2 ( − N − 1 4 N v x ( 1 + 1 α ) + 2 N − 1 4 N v x ( 1 + 1 α ) − 2 N − 1 2 N v x ( 1 + 1 α ) ) ] − [ 1 2 λ + 1 λ 2 ( 2 N − 1 2 N v x ( 1 + 1 α ) − N − 1 2 N v x ( 1 + 1 α ) ) ] + O ( λ − 3 ) ) = 2 Tr ( Σ ) ( 1 2 λ − 1 2 λ + 1 λ 2 ( − N − 1 4 N + 2 N − 1 2 N − 2 N − 1 2 N − 2 N − 1 4 N + N − 1 2 N ) v x ( 1 + 1 α ) + O ( λ − 3 ) ) = 2 Tr ( Σ ) ( − 1 4 v x ( 1 + 1 α ) 1 λ 2 + O ( λ − 3 ) ) = − Tr ( Σ ) 2 v x ( 1 + 1 α ) 1 λ 2 + O ( λ − 3 ) . (25) \begin{aligned}
2\operatorname{Tr}(\mathbf{\Sigma})\left(\frac{1-b'}{(1-a')^2}\frac{\mathrm{d}a'}{\mathrm{d}\lambda}-\left(\frac{1}{1-a'}\right)\frac{\mathrm{d}b'}{\mathrm{d}\lambda}\right)
&=2\operatorname{Tr}(\mathbf{\Sigma})\left[\left(\frac{v_x}{\lambda}-\frac{N-1}{2N}v_x^2\left(1+\frac{1}{\alpha}\right)\right)\frac{1}{\lambda^2}+O(\lambda^{-3})\right]\\
&\quad\left[\frac{\lambda^2}{4v_x^2}+\frac{2N-1}{4N}\left(1+\frac{1}{\alpha}\right)\frac{\lambda}{v_x}+O(1)\right]\left[\frac{2v_x}{\lambda^2}-\frac{2(2N-1)}{N}v_x^3\left(1+\frac{1}{\alpha}\right)\frac{1}{\lambda^3}+O(\lambda^{-4})\right]\\
&\quad-\left[\frac{\lambda}{2v_x}+\frac{2N-1}{4N}\left(1+\frac{1}{\alpha}\right)+O(\lambda^{-1})\right]\left[\frac{v_x}{\lambda^2}-\frac{N-1}{N}v_x^2\left(1+\frac{1}{\alpha}\right)\frac{1}{\lambda^3}+O(\lambda^{-4})\right]\\
&=2\operatorname{Tr}(\mathbf{\Sigma})\left(\left[\frac{1}{2\lambda}+\frac{1}{\lambda^2}\left(-\frac{N-1}{4N}v_x\left(1+\frac{1}{\alpha}\right)+\frac{2N-1}{4N}v_x\left(1+\frac{1}{\alpha}\right)-\frac{2N-1}{2N}v_x\left(1+\frac{1}{\alpha}\right)\right)\right]\right.\\
&\quad\left.-\left[\frac{1}{2\lambda}+\frac{1}{\lambda^2}\left(\frac{2N-1}{2N}v_x\left(1+\frac{1}{\alpha}\right)-\frac{N-1}{2N}v_x\left(1+\frac{1}{\alpha}\right)\right)\right]+O(\lambda^{-3})\right)\\
&=2\operatorname{Tr}(\mathbf{\Sigma})\left(\frac{1}{2\lambda}-\frac{1}{2\lambda}+\frac{1}{\lambda^2}\left(-\frac{N-1}{4N}+\frac{2N-1}{2N}-\frac{2N-1}{2N}-\frac{2N-1}{4N}+\frac{N-1}{2N}\right)v_x\left(1+\frac{1}{\alpha}\right)+O(\lambda^{-3})\right)\\
&=2\operatorname{Tr}(\mathbf{\Sigma})\left(-\frac{1}{4}v_x\left(1+\frac{1}{\alpha}\right)\frac{1}{\lambda^2}+O(\lambda^{-3})\right)\\
&=-\frac{\operatorname{Tr}(\mathbf{\Sigma})}{2}v_x\left(1+\frac{1}{\alpha}\right)\frac{1}{\lambda^2}+O(\lambda^{-3}). \tag*{(25)}
\end{aligned} 2 Tr ( Σ ) ( ( 1 − a ′ ) 2 1 − b ′ d λ d a ′ − ( 1 − a ′ 1 ) d λ d b ′ ) = 2 Tr ( Σ ) [ ( λ v x − 2 N N − 1 v x 2 ( 1 + α 1 ) ) λ 2 1 + O ( λ − 3 ) ] [ 4 v x 2 λ 2 + 4 N 2 N − 1 ( 1 + α 1 ) v x λ + O ( 1 ) ] [ λ 2 2 v x − N 2 ( 2 N − 1 ) v x 3 ( 1 + α 1 ) λ 3 1 + O ( λ − 4 ) ] − [ 2 v x λ + 4 N 2 N − 1 ( 1 + α 1 ) + O ( λ − 1 ) ] [ λ 2 v x − N N − 1 v x 2 ( 1 + α 1 ) λ 3 1 + O ( λ − 4 ) ] = 2 Tr ( Σ ) ( [ 2 λ 1 + λ 2 1 ( − 4 N N − 1 v x ( 1 + α 1 ) + 4 N 2 N − 1 v x ( 1 + α 1 ) − 2 N 2 N − 1 v x ( 1 + α 1 ) ) ] − [ 2 λ 1 + λ 2 1 ( 2 N 2 N − 1 v x ( 1 + α 1 ) − 2 N N − 1 v x ( 1 + α 1 ) ) ] + O ( λ − 3 ) ) = 2 Tr ( Σ ) ( 2 λ 1 − 2 λ 1 + λ 2 1 ( − 4 N N − 1 + 2 N 2 N − 1 − 2 N 2 N − 1 − 4 N 2 N − 1 + 2 N N − 1 ) v x ( 1 + α 1 ) + O ( λ − 3 ) ) = 2 Tr ( Σ ) ( − 4 1 v x ( 1 + α 1 ) λ 2 1 + O ( λ − 3 ) ) = − 2 Tr ( Σ ) v x ( 1 + α 1 ) λ 2 1 + O ( λ − 3 ) . (25)
Therefore, the derivative is strictly negative (for all sufficiently large λ \lambda λ ) and is of order Θ ( λ − 2 ) \Theta(\lambda^{-2}) Θ ( λ − 2 ) . We aim to show that the distance between d d λ G T e s g d \frac{\mathrm{d}}{\mathrm{d}\lambda}G_T^{\mathrm{esgd}} d λ d G T esgd is exponentially small in the aforementioned regime, and thereby showing that d d λ G T e s g d \frac{\mathrm{d}}{\mathrm{d}\lambda}G_T^{\mathrm{esgd}} d λ d G T esgd is of the same order as d d λ lim T → ∞ G T e s g d \frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{esgd}} d λ d lim T → ∞ G T esgd . First note that,
G T e s g d − lim T → ∞ G T e s g d = v z c ′ − a ′ T 1 − a ′ + a ′ T ∥ w ∗ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 2 b ′ T − 1 T + a ′ T ( − a ′ + 2 b ′ − 1 ) 2 ( 1 − a ′ ) ) . (26) G_T^{\mathrm{esgd}}-\lim_{T\to\infty}G_T^{\mathrm{esgd}}
=v_zc'\frac{-a'^T}{1-a'}+a'^T\lVert\mathbf{w}^*-\mathbf{w}_0\rVert^2+2\operatorname{Tr}(\mathbf{\Sigma})\left(\frac{2b'^T-1}{T}+\frac{a'^T(-a'+2b'-1)}{2(1-a')}\right). \tag*{(26)} G T esgd − T → ∞ lim G T esgd = v z c ′ 1 − a ′ − a ′ T + a ′ T ∥ w ∗ − w 0 ∥ 2 + 2 Tr ( Σ ) ( T 2 b ′ T − 1 + 2 ( 1 − a ′ ) a ′ T ( − a ′ + 2 b ′ − 1 ) ) . (26)
Then by taking the derivative,
d d λ [ G T e s g d − lim T → ∞ G T e s g d ] = − d d λ a ′ T 1 − a ′ v z c ′ − a ′ T 1 − a ′ v z d c ′ d λ + d a d λ T a ′ T − 1 ∥ w ⋆ − w 0 ∥ 2 = T a ′ T − 1 ( 1 − a ′ ) + a ′ T ( 1 − a ′ ) 2 d a ′ d λ v z c ′ − a ′ T 1 − a ′ v z d c ′ d λ + d a ′ d λ T a ′ T − 1 ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 2 b ′ T − 1 d b ′ d λ + 1 2 ( 1 − a ′ ) [ T a ′ T − 1 d a ′ d λ ( − a ′ + 2 b ′ − 1 ) + a ′ T ( − d a ′ d λ + 2 d b ′ d λ ) ] + a ′ T ( − a ′ + 2 b ′ − 1 ) 2 ( 1 − a ′ ) 2 d a ′ d λ ) . \begin{aligned}
\frac{\mathrm{d}}{\mathrm{d}\lambda}\left[G_T^{\mathrm{esgd}}-\lim_{T\to\infty}G_T^{\mathrm{esgd}}\right]
&=-\frac{\mathrm{d}}{\mathrm{d}\lambda}\frac{a'^{T}}{1-a'}v_zc'-\frac{a'^{T}}{1-a'}v_z\frac{\mathrm{d}c'}{\mathrm{d}\lambda}+\frac{\mathrm{d}a}{\mathrm{d}\lambda}T a'^{T-1}\lVert w^\star-w_0\rVert^2\\
&=\frac{T a'^{T-1}(1-a')+a'^{T}}{(1-a')^2}\frac{\mathrm{d}a'}{\mathrm{d}\lambda}v_zc'-\frac{a'^{T}}{1-a'}v_z\frac{\mathrm{d}c'}{\mathrm{d}\lambda}+\frac{\mathrm{d}a'}{\mathrm{d}\lambda}T a'^{T-1}\lVert w^\star-w_0\rVert^2\\
&\quad+2\operatorname{Tr}(\Sigma)\left(2b'^{T-1}\frac{\mathrm{d}b'}{\mathrm{d}\lambda}+\frac{1}{2(1-a')}\left[T a'^{T-1}\frac{\mathrm{d}a'}{\mathrm{d}\lambda}(-a'+2b'-1)+a'^{T}\left(-\frac{\mathrm{d}a'}{\mathrm{d}\lambda}+2\frac{\mathrm{d}b'}{\mathrm{d}\lambda}\right)\right]\right.\\
&\qquad\left.+\frac{a'^{T}(-a'+2b'-1)}{2(1-a')^2}\frac{\mathrm{d}a'}{\mathrm{d}\lambda}\right).
\end{aligned} d λ d [ G T esgd − T → ∞ lim G T esgd ] = − d λ d 1 − a ′ a ′ T v z c ′ − 1 − a ′ a ′ T v z d λ d c ′ + d λ d a T a ′ T − 1 ∥ w ⋆ − w 0 ∥ 2 = ( 1 − a ′ ) 2 T a ′ T − 1 ( 1 − a ′ ) + a ′ T d λ d a ′ v z c ′ − 1 − a ′ a ′ T v z d λ d c ′ + d λ d a ′ T a ′ T − 1 ∥ w ⋆ − w 0 ∥ 2 + 2 Tr ( Σ ) ( 2 b ′ T − 1 d λ d b ′ + 2 ( 1 − a ′ ) 1 [ T a ′ T − 1 d λ d a ′ ( − a ′ + 2 b ′ − 1 ) + a ′ T ( − d λ d a ′ + 2 d λ d b ′ ) ] + 2 ( 1 − a ′ ) 2 a ′ T ( − a ′ + 2 b ′ − 1 ) d λ d a ′ ) .
Since a ′ a' a ′ , b ′ b' b ′ , c ′ c' c ′ and their corresponding derivatives are bounded (for all sufficiently large λ \lambda λ ) by Equation (22) and Lemma 6, and a ′ a' a ′ , b ′ = 1 − Θ ( 1 λ ) b'=1-\Theta(\frac{1}{\lambda}) b ′ = 1 − Θ ( λ 1 ) by Equation (22) , then a ′ T a'^{T} a ′ T , b ′ T = ( 1 − Θ ( 1 λ ) ) T ≤ exp ( − β T λ ) b'^{T}=(1-\Theta(\frac{1}{\lambda}))^{T}\leq\exp(-\frac{\beta T}{\lambda}) b ′ T = ( 1 − Θ ( λ 1 ) ) T ≤ exp ( − λ β T ) , for some β > 0 \beta>0 β > 0 (uniformly). So,
d d λ [ G T e s g d − lim T → ∞ G T e s g d ] ≤ exp ( − β T λ ) ⋅ Poly ( λ − 1 , T ) . \frac{\mathrm{d}}{\mathrm{d}\lambda}\left[G_T^{\mathrm{esgd}}-\lim_{T\to\infty}G_T^{\mathrm{esgd}}\right]\leq\exp\left(-\frac{\beta T}{\lambda}\right)\cdot\operatorname{Poly}(\lambda^{-1},T). d λ d [ G T esgd − T → ∞ lim G T esgd ] ≤ exp ( − λ β T ) ⋅ Poly ( λ − 1 , T ) .
where Poly ( λ − 1 , T ) \operatorname{Poly}(\lambda^{-1},T) Poly ( λ − 1 , T ) denotes a polynomial in ( λ − 1 , T ) (\lambda^{-1},T) ( λ − 1 , T ) (with bounded degree). Assume λ = O ( T ρ ) \lambda=O(T^\rho) λ = O ( T ρ ) for some ρ < 1 \rho<1 ρ < 1 . Then exp ( − β T / λ ) Poly ( λ − 1 , T ) = o ( λ − 2 ) \exp(-\beta T/\lambda)\operatorname{Poly}(\lambda^{-1},T)=o(\lambda^{-2}) exp ( − β T / λ ) Poly ( λ − 1 , T ) = o ( λ − 2 ) . Since d d λ lim T → ∞ G T e s g d = Ω ( λ − 2 ) \frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{esgd}}=\Omega(\lambda^{-2}) d λ d lim T → ∞ G T esgd = Ω ( λ − 2 ) , by Equation (24) , it follows that d d λ G T e s g d = d d λ lim T → ∞ G T e s g d + o ( λ − 2 ) \frac{\mathrm{d}}{\mathrm{d}\lambda}G_T^{\mathrm{esgd}}=\frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{esgd}}+o(\lambda^{-2}) d λ d G T esgd = d λ d lim T → ∞ G T esgd + o ( λ − 2 ) , and in particular the finite-T T T derivative has the same leading-order behavior.
Now we show, that if 1 N γ ∈ ω ( T 1 2 ) \frac{1}{N\gamma}\in\omega\left(T^{\frac{1}{2}}\right) N γ 1 ∈ ω ( T 2 1 ) , then the difference between the objectives’ derivative is not ’large’, i.e. ∣ d d λ G T e s g d − d d λ G T r i d g e ∣ = o ( d d λ G T r i d g e ) \left|\frac{\mathrm{d}}{\mathrm{d}\lambda}G_T^{\mathrm{esgd}}-\frac{\mathrm{d}}{\mathrm{d}\lambda}G_T^{\mathrm{ridge}}\right|=o\left(\frac{\mathrm{d}}{\mathrm{d}\lambda}G_T^{\mathrm{ridge}}\right) d λ d G T esgd − d λ d G T ridge = o ( d λ d G T ridge ) (almost everywhere). We develop the corresponding Laurent expansion using the relation of 1 N γ = λ \frac{1}{N\gamma}=\lambda N γ 1 = λ and Karpel et al. [16 ] ,
G T e s g d − lim T → ∞ G T e s g d = a ′ T ∥ w ⋆ − w 0 ∥ 2 + v z c ′ − a ′ T 1 − a ′ + 2 Tr ( Σ ) ( 2 b ′ T − 1 T + a ′ T ( − a ′ + 2 b ′ − 1 ) 2 ( 1 − a ′ ) ) = exp ( − 2 T v x λ ) ( 1 + O ( T λ − 2 ) ) ∥ w ⋆ − w 0 ∥ 2 − v z ( λ 2 v x + O ( 1 ) ) ( v x α λ 2 + O ( λ − 3 ) ) exp ( − 2 T v x λ ) ( 1 + O ( T λ − 2 ) ) + 2 Tr ( Σ ) T ( 2 exp ( − T v x λ ) ( 1 + O ( T λ − 2 ) ) − 1 ) + Tr ( Σ ) ( exp ( − 2 T v x λ ) ( 1 + O ( T λ − 2 ) ) ) O ( λ − 1 ) . (27) \begin{aligned}
G_T^{\mathrm{esgd}}-\lim_{T\to\infty}G_T^{\mathrm{esgd}}
&=a'^{T}\lVert w^\star-w_0\rVert^2+v_zc'\frac{-a'^{T}}{1-a'}+2\operatorname{Tr}(\Sigma)\left(\frac{2b'^{T}-1}{T}+\frac{a'^{T}(-a'+2b'-1)}{2(1-a')}\right)\\
&=\exp\left(-\frac{2Tv_x}{\lambda}\right)(1+O(T\lambda^{-2}))\lVert w^\star-w_0\rVert^2\\
&\quad-v_z\left(\frac{\lambda}{2v_x}+O(1)\right)\left(\frac{v_x}{\alpha\lambda^2}+O(\lambda^{-3})\right)\exp\left(-\frac{2Tv_x}{\lambda}\right)(1+O(T\lambda^{-2}))\\
&\quad+\frac{2\operatorname{Tr}(\Sigma)}{T}\left(2\exp\left(-\frac{Tv_x}{\lambda}\right)(1+O(T\lambda^{-2}))-1\right)\\
&\quad+\operatorname{Tr}(\Sigma)\left(\exp\left(-\frac{2Tv_x}{\lambda}\right)(1+O(T\lambda^{-2}))\right)O(\lambda^{-1}). \tag*{(27)}
\end{aligned} G T esgd − T → ∞ lim G T esgd = a ′ T ∥ w ⋆ − w 0 ∥ 2 + v z c ′ 1 − a ′ − a ′ T + 2 Tr ( Σ ) ( T 2 b ′ T − 1 + 2 ( 1 − a ′ ) a ′ T ( − a ′ + 2 b ′ − 1 ) ) = exp ( − λ 2 T v x ) ( 1 + O ( T λ − 2 )) ∥ w ⋆ − w 0 ∥ 2 − v z ( 2 v x λ + O ( 1 ) ) ( α λ 2 v x + O ( λ − 3 ) ) exp ( − λ 2 T v x ) ( 1 + O ( T λ − 2 )) + T 2 Tr ( Σ ) ( 2 exp ( − λ T v x ) ( 1 + O ( T λ − 2 )) − 1 ) + Tr ( Σ ) ( exp ( − λ 2 T v x ) ( 1 + O ( T λ − 2 )) ) O ( λ − 1 ) . (27)
An analogous statement holds for G T r i d g e − lim T → ∞ G T r i d g e G_T^{\mathrm{ridge}}-\lim_{T\to\infty}G_T^{\mathrm{ridge}} G T ridge − lim T → ∞ G T ridge . In this case, one replaces a ′ a' a ′ , b ′ b' b ′ , c ′ c' c ′ by a a a , b b b , c c c , respectively, because the corresponding coefficients admit identical expansions6 . Furthermore, the limiting objective’s derivative attains the following expansion
d d λ lim T → ∞ G T r i d g e = − v x 2 ( v z v x + Tr ( Σ ) ( α + 1 ) ) λ − 2 + O ( λ − 3 ) , \frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{ridge}}
=-\frac{v_x}{2}\left(\frac{v_z}{v_x}+\operatorname{Tr}(\Sigma)(\alpha+1)\right)\lambda^{-2}+O(\lambda^{-3}), d λ d T → ∞ lim G T ridge = − 2 v x ( v x v z + Tr ( Σ ) ( α + 1 ) ) λ − 2 + O ( λ − 3 ) ,
by Karpel et al. [16 ] , which coincides with the expansion we had for d d λ lim T → ∞ G T e s g d \frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{esgd}} d λ d lim T → ∞ G T esgd (under the substitution of λ α \lambda\alpha λ α , see Lemma 5 and Equation (24) ). Therefore, G T r i d g e G_T^{\mathrm{ridge}} G T ridge admits the same expansion as G T e s g d G_T^{\mathrm{esgd}} G T esgd , under the substitution of N γ = 1 λ N\gamma=\frac{1}{\lambda} N γ = λ 1 .
So far our analysis accommodated large enough λ \lambda λ (or equivalently, small enough N γ N\gamma N γ ), to deal with the case of γ ∈ Θ ( 1 ) \gamma\in\Theta(1) γ ∈ Θ ( 1 ) but is small enough to ensure convergence (i.e. γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma\in\left(0,2v_x^{-1}\left(1+\alpha^{-1/2}\right)^{-2}\right) γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) ), it is enough to show that these points can not be the optimal of the objective lim T → ∞ G T e s g d \lim_{T\to\infty}G_T^{\mathrm{esgd}} lim T → ∞ G T esgd , that is, there exists a point which attains a strictly smaller error, then for all sufficiently large T T T , it will remain non-optimal for the finite T T T objective G T e s g d G_T^{\mathrm{esgd}} G T esgd , since the two objectives can be made arbitrary close (see Equation (26) ). Let γ ∈ Θ ( 1 ) \gamma\in\Theta(1) γ ∈ Θ ( 1 ) where γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma\in\left(0,2v_x^{-1}\left(1+\alpha^{-1/2}\right)^{-2}\right) γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) .
Recall that a ′ a' a ′ and b ′ b' b ′ are the corresponding 2 N ′ 2N' 2 N ′ th and N ′ N' N ′ th moment of the MP law. Therefore, by Jensen’s inequality a ′ ≥ b ′ 2 a'\ge b'^2 a ′ ≥ b ′2 , and,
1 − b ′ 1 − a ′ ≥ 1 − b ′ 1 − b ′ 2 = 1 1 + b ′ . \frac{1-b'}{1-a'}\ge\frac{1-b'}{1-b'^2}=\frac{1}{1+b'}. 1 − a ′ 1 − b ′ ≥ 1 − b ′2 1 − b ′ = 1 + b ′ 1 .
This yields,
lim T → ∞ G T e s g d ≥ v z c ′ 1 1 − a ′ + 2 1 + b ′ Tr ( Σ ) > Tr ( Σ ) . \lim_{T\to\infty}G_T^{\mathrm{esgd}}\ge v_zc'\frac{1}{1-a'}+\frac{2}{1+b'}\operatorname{Tr}(\Sigma)>\operatorname{Tr}(\Sigma). T → ∞ lim G T esgd ≥ v z c ′ 1 − a ′ 1 + 1 + b ′ 2 Tr ( Σ ) > Tr ( Σ ) .
This follows since a ′ , b ′ < 1 a',b'<1 a ′ , b ′ < 1 in the range γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma\in\left(0,2v_x^{-1}\left(1+\alpha^{-1/2}\right)^{-2}\right) γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) (and v z , c ′ > 0 v_z,c'>0 v z , c ′ > 0 always).
Denote by Δ > 0 \Delta>0 Δ > 0 as lim T → ∞ E G T e s g d − Tr ( Σ ) = Δ \lim_{T\to\infty}\mathbb{E}G_T^{\mathrm{esgd}}-\operatorname{Tr}(\Sigma)=\Delta lim T → ∞ E G T esgd − Tr ( Σ ) = Δ . As λ → ∞ \lambda\to\infty λ → ∞ we have lim T → ∞ G T e s g d = Tr ( Σ ) \lim_{T\to\infty}G_T^{\mathrm{esgd}}=\operatorname{Tr}(\Sigma) lim T → ∞ G T esgd = Tr ( Σ ) (as 1 − b ′ 1 − a ′ → 1 2 \frac{1-b'}{1-a'}\to\frac{1}{2} 1 − a ′ 1 − b ′ → 2 1 , and c ′ 1 − a ′ → 0 \frac{c'}{1-a'}\to0 1 − a ′ c ′ → 0 which follows immediately by the Taylor approximations of a ′ , b ′ , c ′ a',b',c' a ′ , b ′ , c ′ ), take λ ~ \widetilde{\lambda} λ large enough (or N γ ~ N\widetilde{\gamma} N γ small enough) such that ∣ lim T → ∞ G T e s g d − Tr ( Σ ) ∣ < Δ 2 \left|\lim_{T\to\infty}G_T^{\mathrm{esgd}}-\operatorname{Tr}(\Sigma)\right|<\frac{\Delta}{2} lim T → ∞ G T esgd − Tr ( Σ ) < 2 Δ , then
G T e s g d ( γ ) − G T e s g d ( γ ~ ) > ( lim T → ∞ G T e s g d ( γ ) − Tr ( Σ ) ) − ( lim T → ∞ G T e s g d ( γ ~ ) − Tr ( Σ ) ) ≥ Δ 2 > 0. G_T^{\mathrm{esgd}}(\gamma)-G_T^{\mathrm{esgd}}(\widetilde{\gamma})>\left(\lim_{T\to\infty}G_T^{\mathrm{esgd}}(\gamma)-\operatorname{Tr}(\Sigma)\right)-\left(\lim_{T\to\infty}G_T^{\mathrm{esgd}}(\widetilde{\gamma})-\operatorname{Tr}(\Sigma)\right)\ge\frac{\Delta}{2}>0. G T esgd ( γ ) − G T esgd ( γ ) > ( T → ∞ lim G T esgd ( γ ) − Tr ( Σ ) ) − ( T → ∞ lim G T esgd ( γ ) − Tr ( Σ ) ) ≥ 2 Δ > 0.
therefore there exists λ \lambda λ sufficiently large that attains a smaller error.
If both Tr ( Σ ) = 0 \operatorname{Tr}(\Sigma)=0 Tr ( Σ ) = 0 and v z = 0 v_z=0 v z = 0 , then by Theorem 1,
G T e s g d = ∥ w T − w ∗ ∥ 2 = ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 . G_T^{\mathrm{esgd}}=\left\|\mathbf{w}_T-\mathbf{w}^*\right\|^2=(a')^T\left\|\mathbf{w}^*-\mathbf{w}_0\right\|^2. G T esgd = ∥ w T − w ∗ ∥ 2 = ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 .
When N → ∞ N\to\infty N → ∞ and γ \gamma γ is finite (but ensures the convergence of early-stopped GD algorithm, i.e. any γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma\in\left(0,2v_x^{-1}\left(1+\alpha^{-1/2}\right)^{-2}\right) γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) ) then a ′ = lim N → ∞ 1 d Tr ( I − γ 1 n X T X ) 2 N = ( 1 − α ) + a'=\lim_{N\to\infty}\frac{1}{d}\operatorname{Tr}\left(\mathbf{I}-\gamma\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}\right)^{2N}=(1-\alpha)_+ a ′ = lim N → ∞ d 1 Tr ( I − γ n 1 X T X ) 2 N = ( 1 − α ) + since for every nonzero eigenvalue λ i \lambda_i λ i of 1 n X T X \frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X} n 1 X T X , we have ( 1 − γ λ i ) 2 N → 0 (1-\gamma\lambda_i)^{2N}\to0 ( 1 − γ λ i ) 2 N → 0 , while zero eigenvalues remain equal to one. Hence a ′ a' a ′ attains its minimal possible value, corresponding to the irreducible nullspace component.
Otherwise, the optimal step size 1 N γ ⋆ = Θ ( T / ln T ) \frac{1}{N\gamma_\star}=\Theta(T/\ln T) N γ ⋆ 1 = Θ ( T / ln T ) . Recall Equation (26) ,
G T e s g d − lim T → ∞ G T e s g d = 2 Tr ( Σ ) T ( 2 ( b ′ ) T − 1 ) ⏟ term 1 + Tr ( Σ ) ( a ′ ) T ( 1 − 2 1 − b ′ 1 − a ′ ) ⏟ term 2 + ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 + v z c ′ − ( a ′ ) T 1 − a ′ ⏟ term 3 . G_T^{\mathrm{esgd}}-\lim_{T\to\infty}G_T^{\mathrm{esgd}}=
\underbrace{\frac{2\operatorname{Tr}(\Sigma)}{T}\left(2(b')^T-1\right)}_{\text{term 1}}
+\underbrace{\operatorname{Tr}(\Sigma)(a')^T\left(1-2\frac{1-b'}{1-a'}\right)}_{\text{term 2}}
+\underbrace{(a')^T\left\|\mathbf{w}^*-\mathbf{w}_0\right\|^2+v_zc'\frac{-(a')^T}{1-a'}}_{\text{term 3}}. G T esgd − T → ∞ lim G T esgd = term 1 T 2 Tr ( Σ ) ( 2 ( b ′ ) T − 1 ) + term 2 Tr ( Σ ) ( a ′ ) T ( 1 − 2 1 − a ′ 1 − b ′ ) + term 3 ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 + v z c ′ 1 − a ′ − ( a ′ ) T .
We develop a Laurent expansion for each term. Term 1 becomes,
2 Tr ( Σ ) T ( 2 ( b ′ ) T − 1 ) = 2 Tr ( Σ ) T ( 2 exp ( − v x T λ ) ( 1 + O ( T λ − 2 ) ) − 1 ) . (28) \frac{2\operatorname{Tr}(\Sigma)}{T}\left(2(b')^T-1\right)=\frac{2\operatorname{Tr}(\Sigma)}{T}\left(2\exp\left(-\frac{v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)-1\right). \tag*{(28)} T 2 Tr ( Σ ) ( 2 ( b ′ ) T − 1 ) = T 2 Tr ( Σ ) ( 2 exp ( − λ v x T ) ( 1 + O ( T λ − 2 ) ) − 1 ) . (28)
Term 2 is,
Tr ( Σ ) ( a ′ ) T [ 1 − 2 ( 1 − b ′ 1 − a ′ ) ] = Tr ( Σ ) ( exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) ) O ( λ − 1 ) . (29) \operatorname{Tr}(\Sigma)(a')^{T}\left[1-2\left(\frac{1-b'}{1-a'}\right)\right]
= \operatorname{Tr}(\Sigma)\left(\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)\right)O(\lambda^{-1}). \tag*{(29)} Tr ( Σ ) ( a ′ ) T [ 1 − 2 ( 1 − a ′ 1 − b ′ ) ] = Tr ( Σ ) ( exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) ) O ( λ − 1 ) . (29)
Term 3 is,
( a ′ ) T ∥ w ∗ − w 0 ∥ 2 + v z c ′ − ( a ′ ) T 1 − a ′ = exp ( − 2 v x T λ + O ( T λ − 2 ) ) ∥ w ∗ − w 0 ∥ 2 − λ v z 4 α v x 2 ( 2 α ( λ α v x + α + 1 ) 2 + O ( λ − 4 ) ) exp ( − 2 v x T λ + O ( T λ − 2 ) ) = exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) ∥ w ∗ − w 0 ∥ 2 − v z 2 α λ ( 1 + O ( λ − 1 ) ) exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) . (30) \begin{aligned}
(a')^{T}\lVert\mathbf{w}^{*}-\mathbf{w}_{0}\rVert^{2}+v_zc'\frac{-(a')^{T}}{1-a'} \\
&= \exp\left(-\frac{2v_xT}{\lambda}+O(T\lambda^{-2})\right)\lVert\mathbf{w}^{*}-\mathbf{w}_{0}\rVert^{2}
-\frac{\lambda v_z}{4\alpha v_x^{2}}\left(\frac{2\alpha}{\left(\frac{\lambda\alpha}{v_x}+\alpha+1\right)^{2}}+O(\lambda^{-4})\right)\exp\left(-\frac{2v_xT}{\lambda}+O(T\lambda^{-2})\right) \\
&= \exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)\lVert\mathbf{w}^{*}-\mathbf{w}_{0}\rVert^{2}
-\frac{v_z}{2\alpha\lambda}\left(1+O(\lambda^{-1})\right)\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right). \tag*{(30)}
\end{aligned} ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 + v z c ′ 1 − a ′ − ( a ′ ) T = exp ( − λ 2 v x T + O ( T λ − 2 ) ) ∥ w ∗ − w 0 ∥ 2 − 4 α v x 2 λ v z ( v x λ α + α + 1 ) 2 2 α + O ( λ − 4 ) exp ( − λ 2 v x T + O ( T λ − 2 ) ) = exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) ∥ w ∗ − w 0 ∥ 2 − 2 α λ v z ( 1 + O ( λ − 1 ) ) exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) . (30)
Using Lemma 6, we differentiate with respect to λ \lambda λ , term by term.
Differentiating (28) ,
d d λ 2 Tr ( Σ ) T ( 2 ( b ′ ) T − 1 ) = 2 Tr ( Σ ) T ( 2 v x T λ 2 exp ( − v x T λ ) ( 1 + O ( T λ − 2 ) ) ) + 2 Tr ( Σ ) T ( 2 exp ( − v x T λ ) O ( T λ − 3 ) ) . (31) \frac{\mathrm{d}}{\mathrm{d}\lambda}\frac{2\operatorname{Tr}(\Sigma)}{T}(2(b')^{T}-1)
= \frac{2\operatorname{Tr}(\Sigma)}{T}\left(2\frac{v_xT}{\lambda^{2}}\exp\left(-\frac{v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)\right)
+\frac{2\operatorname{Tr}(\Sigma)}{T}\left(2\exp\left(-\frac{v_xT}{\lambda}\right)O(T\lambda^{-3})\right). \tag*{(31)} d λ d T 2 Tr ( Σ ) ( 2 ( b ′ ) T − 1 ) = T 2 Tr ( Σ ) ( 2 λ 2 v x T exp ( − λ v x T ) ( 1 + O ( T λ − 2 ) ) ) + T 2 Tr ( Σ ) ( 2 exp ( − λ v x T ) O ( T λ − 3 ) ) . (31)
Differentiating (29) ,
d d λ Tr ( Σ ) ( a ′ ) T [ 1 − 2 ( 1 − b ′ 1 − a ′ ) ] = Tr ( Σ ) ( 2 v x T λ 2 exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) + exp ( − 2 v x T λ ) O ( T λ − 3 ) ) O ( λ − 1 ) + Tr ( Σ ) ( exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) ) O ( λ − 2 ) . (32) \frac{\mathrm{d}}{\mathrm{d}\lambda}\operatorname{Tr}(\Sigma)(a')^{T}\left[1-2\left(\frac{1-b'}{1-a'}\right)\right]
= \operatorname{Tr}(\Sigma)\left(\frac{2v_xT}{\lambda^{2}}\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)
+\exp\left(-\frac{2v_xT}{\lambda}\right)O(T\lambda^{-3})\right)O(\lambda^{-1})
+\operatorname{Tr}(\Sigma)\left(\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)\right)O(\lambda^{-2}). \tag*{(32)} d λ d Tr ( Σ ) ( a ′ ) T [ 1 − 2 ( 1 − a ′ 1 − b ′ ) ] = Tr ( Σ ) ( λ 2 2 v x T exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) + exp ( − λ 2 v x T ) O ( T λ − 3 ) ) O ( λ − 1 ) + Tr ( Σ ) ( exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) ) O ( λ − 2 ) . (32)
Differentiating (30) ,
d d λ [ ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 + f − ( a ′ ) T 1 − a ′ ] = v z 2 α λ 2 ( 1 + O ( λ − 1 ) ) exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) − v z 2 α λ ( 1 + O ( λ − 1 ) ) ( 2 v x T λ 2 exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) + exp ( − 2 v x T λ ) O ( T λ − 3 ) ) + 2 v x T λ 2 exp ( − 2 v x T λ ) ( 1 + O ( T λ − 2 ) ) ∥ w ∗ − w 0 ∥ 2 + exp ( − 2 v x T λ ) O ( T λ − 3 ) ∥ w ∗ − w 0 ∥ 2 . (33) \frac{\mathrm{d}}{\mathrm{d}\lambda}\left[(a')^{T}\lVert\mathbf{w}^{*}-\mathbf{w}_{0}\rVert^{2}+f\frac{-(a')^{T}}{1-a'}\right]
= \frac{v_z}{2\alpha\lambda^{2}}\left(1+O(\lambda^{-1})\right)\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)
-\frac{v_z}{2\alpha\lambda}\left(1+O(\lambda^{-1})\right)\left(\frac{2v_xT}{\lambda^{2}}\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)+\exp\left(-\frac{2v_xT}{\lambda}\right)O(T\lambda^{-3})\right)
+\frac{2v_xT}{\lambda^{2}}\exp\left(-\frac{2v_xT}{\lambda}\right)\left(1+O(T\lambda^{-2})\right)\lVert\mathbf{w}^{*}-\mathbf{w}_{0}\rVert^{2}
+\exp\left(-\frac{2v_xT}{\lambda}\right)O(T\lambda^{-3})\lVert\mathbf{w}^{*}-\mathbf{w}_{0}\rVert^{2}. \tag*{(33)} d λ d [ ( a ′ ) T ∥ w ∗ − w 0 ∥ 2 + f 1 − a ′ − ( a ′ ) T ] = 2 α λ 2 v z ( 1 + O ( λ − 1 ) ) exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) − 2 α λ v z ( 1 + O ( λ − 1 ) ) ( λ 2 2 v x T exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) + exp ( − λ 2 v x T ) O ( T λ − 3 ) ) + λ 2 2 v x T exp ( − λ 2 v x T ) ( 1 + O ( T λ − 2 ) ) ∥ w ∗ − w 0 ∥ 2 + exp ( − λ 2 v x T ) O ( T λ − 3 ) ∥ w ∗ − w 0 ∥ 2 . (33)
Retaining only the leading-order terms,
d d λ [ E [ G T e s g d ] − lim T → ∞ E [ G T e s g d ] ] = 2 v x T λ 2 exp ( − q ) ∥ w ⋆ − w 0 ∥ 2 + 4 Tr ( Σ ) λ 2 v x exp ( − q 2 ) , \frac{\mathrm{d}}{\mathrm{d}\lambda}\left[\mathbb{E}\left[G_T^{\mathrm{esgd}}\right]-\lim_{T\to\infty}\mathbb{E}\left[G_T^{\mathrm{esgd}}\right]\right]=\frac{2v_xT}{\lambda^2}\exp(-q)\lVert w^\star-w_0\rVert^2+\frac{4\operatorname{Tr}(\Sigma)}{\lambda^2}v_x\exp\left(-\frac{q}{2}\right), d λ d [ E [ G T esgd ] − T → ∞ lim E [ G T esgd ] ] = λ 2 2 v x T exp ( − q ) ∥ w ⋆ − w 0 ∥ 2 + λ 2 4 Tr ( Σ ) v x exp ( − 2 q ) ,
where q = 2 v x T λ q=\frac{2v_xT}{\lambda} q = λ 2 v x T . Taking the Laurent expansion in Equation (23) , yields
d d λ lim T → ∞ G T e s g d = − 1 2 ( v z α + v x Tr ( Σ ) ( 1 + 1 α ) ) λ − 2 + O ( λ − 3 ) . \frac{\mathrm{d}}{\mathrm{d}\lambda}\lim_{T\to\infty}G_T^{\mathrm{esgd}}=-\frac{1}{2}\left(\frac{v_z}{\alpha}+v_x\operatorname{Tr}(\Sigma)\left(1+\frac{1}{\alpha}\right)\right)\lambda^{-2}+O\left(\lambda^{-3}\right). d λ d T → ∞ lim G T esgd = − 2 1 ( α v z + v x Tr ( Σ ) ( 1 + α 1 ) ) λ − 2 + O ( λ − 3 ) .
Therefore, the stationary point satisfies
2 v x T λ 2 exp ( − q ) ∥ w ⋆ − w 0 ∥ 2 + 4 Tr ( Σ ) λ 2 v x exp ( − q 2 ) = 1 2 ( v z α + v x Tr ( Σ ) ( 1 + 1 α ) ) λ − 2 + O ( λ − 3 ) . \frac{2v_xT}{\lambda^2}\exp(-q)\lVert w^\star-w_0\rVert^2+\frac{4\operatorname{Tr}(\Sigma)}{\lambda^2}v_x\exp\left(-\frac{q}{2}\right)
=\frac{1}{2}\left(\frac{v_z}{\alpha}+v_x\operatorname{Tr}(\Sigma)\left(1+\frac{1}{\alpha}\right)\right)\lambda^{-2}+O\left(\lambda^{-3}\right). λ 2 2 v x T exp ( − q ) ∥ w ⋆ − w 0 ∥ 2 + λ 2 4 Tr ( Σ ) v x exp ( − 2 q ) = 2 1 ( α v z + v x Tr ( Σ ) ( 1 + α 1 ) ) λ − 2 + O ( λ − 3 ) .
Multiplying by 2 λ 2 v x v z \frac{2\lambda^2}{v_xv_z} v x v z 2 λ 2 , we define
H ~ ( q ) = 4 T ∥ w ⋆ − w 0 ∥ 2 v z e − q + 8 Tr ( Σ ) v z e − q / 2 + z , \widetilde{H}(q)=\frac{4T\lVert w^\star-w_0\rVert^2}{v_z}e^{-q}+\frac{8\operatorname{Tr}(\Sigma)}{v_z}e^{-q/2}+z, H ( q ) = v z 4 T ∥ w ⋆ − w 0 ∥ 2 e − q + v z 8 Tr ( Σ ) e − q /2 + z ,
where z = − 1 v z ( v z v x α + Tr ( Σ ) ( 1 + 1 α ) ) z=-\frac{1}{v_z}\left(\frac{v_z}{v_x\alpha}+\operatorname{Tr}(\Sigma)\left(1+\frac{1}{\alpha}\right)\right) z = − v z 1 ( v x α v z + Tr ( Σ ) ( 1 + α 1 ) ) . The derivative satisfies
H ~ ′ ( q ) = − 4 T ∥ w ⋆ − w 0 ∥ 2 v z e − q − 4 Tr ( Σ ) v z e − q / 2 < 0. \widetilde{H}'(q)=-\frac{4T\lVert w^\star-w_0\rVert^2}{v_z}e^{-q}-\frac{4\operatorname{Tr}(\Sigma)}{v_z}e^{-q/2}<0. H ′ ( q ) = − v z 4 T ∥ w ⋆ − w 0 ∥ 2 e − q − v z 4 Tr ( Σ ) e − q /2 < 0.
Hence H ~ \widetilde{H} H is strictly decreasing. Moreover, if q ∈ o ( ln T ) q\in o(\ln T) q ∈ o ( ln T ) , then
H ~ ( q ) = 4 T ∥ w ⋆ − w 0 ∥ 2 v z e − q + z + o ( 1 ) , \widetilde{H}(q)=\frac{4T\lVert w^\star-w_0\rVert^2}{v_z}e^{-q}+z+o(1), H ( q ) = v z 4 T ∥ w ⋆ − w 0 ∥ 2 e − q + z + o ( 1 ) ,
which is positive for all sufficiently large T T T . On the other hand, if q ∈ ω ( ln T ) q\in\omega(\ln T) q ∈ ω ( ln T ) , then H ~ ( q ) = z + o ( 1 ) < 0 \widetilde{H}(q)=z+o(1)<0 H ( q ) = z + o ( 1 ) < 0 . Therefore, it suffices to identify q ⋆ q^\star q ⋆ satisfying H ~ ( q ⋆ ) ≈ 0 \widetilde{H}(q^\star)\approx0 H ( q ⋆ ) ≈ 0 . Retaining only the leading-order term in the regime q ⋆ ∈ Θ ( ln T ) q^\star\in\Theta(\ln T) q ⋆ ∈ Θ ( ln T ) , we obtain 4 α T ∥ w ⋆ − w 0 ∥ 2 v z e − q ⋆ ≈ − z \frac{4\alpha T\lVert w^\star-w_0\rVert^2}{v_z}e^{-q^\star}\approx-z v z 4 α T ∥ w ⋆ − w 0 ∥ 2 e − q ⋆ ≈ − z , which gives q ⋆ ≈ ln 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z q^\star\approx\ln\frac{4T\lVert w^\star-w_0\rVert^2}{-v_zz} q ⋆ ≈ ln − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 . Let ϵ > 0 \epsilon>0 ϵ > 0 . Then,
H ~ ( q ⋆ 1 + ϵ ) = − z ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ϵ 1 + ϵ + z + o ( 1 ) → T → ∞ + ∞ , (34) \widetilde{H}\left(\frac{q^\star}{1+\epsilon}\right)=-z\left(\frac{4T\lVert w^\star-w_0\rVert^2}{-v_zz}\right)^{\frac{\epsilon}{1+\epsilon}}+z+o(1)\xrightarrow[T\to\infty]{}+\infty, \tag*{(34)} H ( 1 + ϵ q ⋆ ) = − z ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) 1 + ϵ ϵ + z + o ( 1 ) T → ∞ + ∞ , (34)
and hence H ~ ( q ⋆ 1 + ϵ ) > 0 \widetilde{H}\left(\frac{q^\star}{1+\epsilon}\right)>0 H ( 1 + ϵ q ⋆ ) > 0 for all sufficiently large T T T . Similarly,
H ~ ( q ⋆ 1 − ϵ ) = − z ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) − ϵ 1 − ϵ + z + o ( 1 ) → T → ∞ z < 0 , (35) \widetilde{H}\left(\frac{q^\star}{1-\epsilon}\right)=-z\left(\frac{4T\lVert w^\star-w_0\rVert^2}{-v_zz}\right)^{-\frac{\epsilon}{1-\epsilon}}+z+o(1)\xrightarrow[T\to\infty]{}z<0, \tag*{(35)} H ( 1 − ϵ q ⋆ ) = − z ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) − 1 − ϵ ϵ + z + o ( 1 ) T → ∞ z < 0 , (35)
and therefore H ~ ( q ⋆ 1 − ϵ ) < 0 \widetilde{H}\left(\frac{q^\star}{1-\epsilon}\right)<0 H ( 1 − ϵ q ⋆ ) < 0 for all sufficiently large T T T . This proves that the optimal parameters satisfy
1 1 + ϵ ln ( T ) + ln ( 4 α v x ∥ w ⋆ − w 0 ∥ 2 v z + v x Tr ( Σ ) ( α + 1 ) ) 1 2 N v x T < γ ⋆ < 1 1 − ϵ ln ( T ) + ln ( 4 α v x ∥ w ⋆ − w 0 ∥ 2 v z + v x Tr ( Σ ) ( α + 1 ) ) 1 2 N v x T . \frac{1}{1+\epsilon}\ln(T)+\ln\left(\frac{4\alpha v_x\lVert w^\star-w_0\rVert^2}{v_z+v_x\operatorname{Tr}(\Sigma)(\alpha+1)}\right)\frac{1}{2Nv_xT}
<\gamma^\star<
\frac{1}{1-\epsilon}\ln(T)+\ln\left(\frac{4\alpha v_x\lVert w^\star-w_0\rVert^2}{v_z+v_x\operatorname{Tr}(\Sigma)(\alpha+1)}\right)\frac{1}{2Nv_xT}. 1 + ϵ 1 ln ( T ) + ln ( v z + v x Tr ( Σ ) ( α + 1 ) 4 α v x ∥ w ⋆ − w 0 ∥ 2 ) 2 N v x T 1 < γ ⋆ < 1 − ϵ 1 ln ( T ) + ln ( v z + v x Tr ( Σ ) ( α + 1 ) 4 α v x ∥ w ⋆ − w 0 ∥ 2 ) 2 N v x T 1 .
To satisfy H ~ ( 1 1 + ϵ q ⋆ ) > 0 \widetilde{H}\left(\frac{1}{1+\epsilon q^{\star}}\right)>0 H ( 1 + ϵ q ⋆ 1 ) > 0 , we begin with Equation (34) . In this case, the non-leading terms contribute O ( T − 1 2 ( 1 + ϵ ) ) O\left(T^{-\frac{1}{2(1+\epsilon)}}\right) O ( T − 2 ( 1 + ϵ ) 1 ) — as exp ( − q / 2 ) \exp(-q/2) exp ( − q /2 ) , the dominating term becomes O ( T − 1 2 ( 1 + ϵ ) ) O\left(T^{-\frac{1}{2(1+\epsilon)}}\right) O ( T − 2 ( 1 + ϵ ) 1 ) .
− z ⋅ ( ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ϵ 1 + ϵ − 1 ) + O ( T − 1 2 ( 1 + ϵ ) ) = − z ⋅ ( exp ( ϵ 1 + ϵ ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ) − 1 ) + O ( T − 1 2 ( 1 + ϵ ) ) \begin{aligned}
-z\cdot\left(\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)^{\frac{\epsilon}{1+\epsilon}}-1\right)+O\left(T^{-\frac{1}{2(1+\epsilon)}}\right) \\
&=-z\cdot\left(\exp\left(\frac{\epsilon}{1+\epsilon}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)\right)-1\right)+O\left(T^{-\frac{1}{2(1+\epsilon)}}\right)
\end{aligned} − z ⋅ ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) 1 + ϵ ϵ − 1 + O ( T − 2 ( 1 + ϵ ) 1 ) = − z ⋅ ( exp ( 1 + ϵ ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) ) − 1 ) + O ( T − 2 ( 1 + ϵ ) 1 )
[ e x − 1 ≥ x ] ≥ − z ⋅ ϵ 1 + ϵ ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) + O ( T − 1 2 ( 1 + ϵ ) ) \left[e^{x}-1\geq x\right]\geq-z\cdot\frac{\epsilon}{1+\epsilon}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)+O\left(T^{-\frac{1}{2(1+\epsilon)}}\right) [ e x − 1 ≥ x ] ≥ − z ⋅ 1 + ϵ ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) + O ( T − 2 ( 1 + ϵ ) 1 )
≳ − z ⋅ ϵ 1 + ϵ ln ( T ) + O ( T − 1 2 ( 1 + ϵ ) ) . \gtrsim-z\cdot\frac{\epsilon}{1+\epsilon}\ln(T)+O\left(T^{-\frac{1}{2(1+\epsilon)}}\right). ≳ − z ⋅ 1 + ϵ ϵ ln ( T ) + O ( T − 2 ( 1 + ϵ ) 1 ) .
There exists a constant C 1 C_{1} C 1 such that for all sufficiently large T T T we have O ( T − 1 2 ( 1 + ϵ ) ) ≤ C 1 T − 1 2 ( 1 + ϵ ) O\left(T^{-\frac{1}{2(1+\epsilon)}}\right)\leq C_{1}T^{-\frac{1}{2(1+\epsilon)}} O ( T − 2 ( 1 + ϵ ) 1 ) ≤ C 1 T − 2 ( 1 + ϵ ) 1 , and hence it suffices to require − z ϵ 1 + ϵ ln T ≳ C 1 T − 1 2 ( 1 + ϵ ) -z\frac{\epsilon}{1+\epsilon}\ln T\gtrsim C_{1}T^{-\frac{1}{2(1+\epsilon)}} − z 1 + ϵ ϵ ln T ≳ C 1 T − 2 ( 1 + ϵ ) 1 . This holds for T > T 0 = Θ ( 1 ϵ 2 ln 2 ( 1 / ϵ ) ) T>T_{0}=\Theta\left(\frac{1}{\epsilon^{2}\ln^{2}(1/\epsilon)}\right) T > T 0 = Θ ( ϵ 2 l n 2 ( 1/ ϵ ) 1 ) , with a sufficiently large constant, since at this scale ln T 0 ≍ ln ( 1 / ϵ ) \ln T_{0}\asymp\ln(1/\epsilon) ln T 0 ≍ ln ( 1/ ϵ ) and T 0 − 1 2 ( 1 + ϵ ) ≲ ϵ ln ( 1 / ϵ ) T_{0}^{-\frac{1}{2(1+\epsilon)}}\lesssim\epsilon\ln(1/\epsilon) T 0 − 2 ( 1 + ϵ ) 1 ≲ ϵ ln ( 1/ ϵ ) . Note that 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z > 0 \frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}>0 − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 > 0 . We proceed with Equation (35) , in this case, the non-leading terms contribute O ( T − 1 2 ( 1 − ϵ ) ) O\left(T^{-\frac{1}{2(1-\epsilon)}}\right) O ( T − 2 ( 1 − ϵ ) 1 ) — as exp ( − q / 2 ) \exp(-q/2) exp ( − q /2 ) , the dominating term becomes O ( T − 1 2 ( 1 − ϵ ) ) O\left(T^{-\frac{1}{2(1-\epsilon)}}\right) O ( T − 2 ( 1 − ϵ ) 1 ) . Splitting it to cases.
Case (1) When ϵ 1 − ϵ ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ∈ ( 0 , 1 ) \frac{\epsilon}{1-\epsilon}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)\in(0,1) 1 − ϵ ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) ∈ ( 0 , 1 ) ,
− z ⋅ ( exp ( ϵ 1 − ϵ ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ) − 1 ) + O ( T − 1 2 ( 1 − ϵ ) ) -z\cdot\left(\exp\left(\frac{\epsilon}{1-\epsilon}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)\right)-1\right)+O\left(T^{-\frac{1}{2(1-\epsilon)}}\right) − z ⋅ ( exp ( 1 − ϵ ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) ) − 1 ) + O ( T − 2 ( 1 − ϵ ) 1 )
[ e − x − 1 ≤ − 1 2 x , ∀ x ∈ ( 0 , 1 ) ] ≤ z ⋅ ϵ 2 ( 1 − ϵ ) ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) + O ( T − 1 2 ( 1 − ϵ ) ) \left[e^{-x}-1\leq-\frac{1}{2}x,\ \forall x\in(0,1)\right]\leq z\cdot\frac{\epsilon}{2(1-\epsilon)}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)+O\left(T^{-\frac{1}{2(1-\epsilon)}}\right) [ e − x − 1 ≤ − 2 1 x , ∀ x ∈ ( 0 , 1 ) ] ≤ z ⋅ 2 ( 1 − ϵ ) ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) + O ( T − 2 ( 1 − ϵ ) 1 )
≲ z ⋅ ϵ 1 − ϵ ln ( T ) + O ( T − 1 2 ( 1 − ϵ ) ) . \lesssim z\cdot\frac{\epsilon}{1-\epsilon}\ln(T)+O\left(T^{-\frac{1}{2(1-\epsilon)}}\right). ≲ z ⋅ 1 − ϵ ϵ ln ( T ) + O ( T − 2 ( 1 − ϵ ) 1 ) .
As before, there exists a constant C 2 C_{2} C 2 such that for all sufficiently large T T T we have O ( T − 1 2 ( 1 − ϵ ) ) ≤ C 2 T − 1 2 ( 1 − ϵ ) O\left(T^{-\frac{1}{2(1-\epsilon)}}\right)\leq C_{2}T^{-\frac{1}{2(1-\epsilon)}} O ( T − 2 ( 1 − ϵ ) 1 ) ≤ C 2 T − 2 ( 1 − ϵ ) 1 , and hence we require − z ϵ 1 − ϵ ln T ≳ C 2 T − 1 2 ( 1 − ϵ ) -z\frac{\epsilon}{1-\epsilon}\ln T\gtrsim C_{2}T^{-\frac{1}{2(1-\epsilon)}} − z 1 − ϵ ϵ ln T ≳ C 2 T − 2 ( 1 − ϵ ) 1 . Although this equation does not admit a closed-form solution for T T T , choosing T 0 T_{0} T 0 so that T > T 0 = Θ ( 1 ϵ 2 ln 2 ( 1 / ϵ ) ) T>T_{0}=\Theta\left(\frac{1}{\epsilon^{2}\ln^{2}(1/\epsilon)}\right) T > T 0 = Θ ( ϵ 2 l n 2 ( 1/ ϵ ) 1 ) , with a sufficiently large implicit constant, ensures that ln T 0 ≍ ln ( 1 / ϵ ) \ln T_{0}\asymp\ln(1/\epsilon) ln T 0 ≍ ln ( 1/ ϵ ) and T 0 − 1 2 ( 1 + ϵ ) ≲ ϵ ln ( 1 / ϵ ) T_{0}^{-\frac{1}{2(1+\epsilon)}}\lesssim\epsilon\ln(1/\epsilon) T 0 − 2 ( 1 + ϵ ) 1 ≲ ϵ ln ( 1/ ϵ ) .
Case (2) When ϵ 1 − ϵ ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ∈ [ 1 , ∞ ) \frac{\epsilon}{1-\epsilon}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)\in[1,\infty) 1 − ϵ ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) ∈ [ 1 , ∞ ) ,
− z ( exp ( − ϵ 1 − ϵ ln ( 4 T ∥ w ⋆ − w 0 ∥ 2 − v z z ) ) − 1 ) + O ( T − 1 2 ( 1 − ϵ ) ) ≤ − z ( e − 1 − 1 ) + O ( T − 1 2 ( 1 − ϵ ) ) . \begin{aligned}
-z\left(\exp\left(-\frac{\epsilon}{1-\epsilon}\ln\left(\frac{4T\left\|\mathbf{w}^{\star}-\mathbf{w}_{0}\right\|^{2}}{-v_{z}z}\right)\right)-1\right)+O\left(T^{-\frac{1}{2(1-\epsilon)}}\right) \\
&\leq-z\left(e^{-1}-1\right)+O\left(T^{-\frac{1}{2(1-\epsilon)}}\right).
\end{aligned} − z ( exp ( − 1 − ϵ ϵ ln ( − v z z 4 T ∥ w ⋆ − w 0 ∥ 2 ) ) − 1 ) + O ( T − 2 ( 1 − ϵ ) 1 ) ≤ − z ( e − 1 − 1 ) + O ( T − 2 ( 1 − ϵ ) 1 ) .
Therefore, we require,
− z ( e − 1 − 1 ) ≳ K 2 T − 1 2 ( 1 − ϵ ) -z\left(e^{-1}-1\right)\gtrsim K_{2}T^{-\frac{1}{2(1-\epsilon)}} − z ( e − 1 − 1 ) ≳ K 2 T − 2 ( 1 − ϵ ) 1
which holds for all sufficiently large T T T independent of ϵ \epsilon ϵ .
In this regime (γ ≍ ln T N T \gamma\asymp\frac{\ln T}{NT} γ ≍ N T l n T ), the maximal gap between G T e s g d G_{T}^{\mathrm{esgd}} G T esgd and G T r i d g e G_{T}^{\mathrm{ridge}} G T ridge is bounded by O ( ln T T 1 + β ) O\left(\frac{\ln T}{T^{1+\beta}}\right) O ( T 1 + β l n T ) (for some β > 0 \beta>0 β > 0 , since they share the same expansion in Equation (27) ). Consequently, we have G T e s g d − G T r i d g e = O ( 1 T ) G_{T}^{\mathrm{esgd}}-G_{T}^{\mathrm{ridge}}=O\left(\frac{1}{T}\right) G T esgd − G T ridge = O ( T 1 ) .
Proofs for Section 5: Generalized Ridge Regression
Auxiliary Lemmas and Definitions
Definition 3 (Zhao et al. [35 ] , Definition 7). Let A n , B n ∈ R n × n \mathbf{A}_n,\mathbf{B}_n \in\mathbb{R}^{n \times n} A n , B n ∈ R n × n be sequences of random or deterministic symmetric matrices. We say that A n \mathbf{A}_n A n and B n \mathbf{B}_n B n are equivalent if, for any sequence of deterministic matrices C n ∈ R n × n \mathbf{C}_n \in\mathbb{R}^{n \times n} C n ∈ R n × n such that lim sup n → ∞ ∥ C n ∥ o p < ∞ \limsup_{n \to\infty} \|\mathbf{C}_n\|_{\mathrm{op}} < \infty lim sup n → ∞ ∥ C n ∥ op < ∞ , and for any sequence of deterministic vectors v n ∈ R n \mathbf{v}_n \in\mathbb{R}^n v n ∈ R n such that lim sup n → ∞ ∥ v n ∥ < ∞ \limsup_{n \to\infty} \|\mathbf{v}_n\| < \infty lim sup n → ∞ ∥ v n ∥ < ∞ , we have, almost surely,
1 n Tr [ C n ( A n − B n ) ] → 0 , v n T ( A n − B n ) v n → 0. \frac{1}{n}\operatorname{Tr}\left[\mathbf{C}_n(\mathbf{A}_n-\mathbf{B}_n)\right] \to0,\qquad\mathbf{v}_n^{\mathsf{T}}(\mathbf{A}_n-\mathbf{B}_n)\mathbf{v}_n \to0. n 1 Tr [ C n ( A n − B n ) ] → 0 , v n T ( A n − B n ) v n → 0. Here, the operator norm is defined by ∥ A ∥ o p : = λ max ( A T A ) \|\mathbf{A}\|_{\mathrm{op}} := \sqrt{\lambda_{\max}(\mathbf{A}^{\mathsf{T}}\mathbf{A})} ∥ A ∥ op := λ m a x ( A T A ) for any real matrix A ∈ R p × q \mathbf{A} \in\mathbb{R}^{p \times q} A ∈ R p × q .
We write A n ≍ B n \mathbf{A}_n \asymp\mathbf{B}_n A n ≍ B n if the sequences of matrices { A n } \{\mathbf{A}_n\} { A n } and { B n } \{\mathbf{B}_n\} { B n } are equivalent. For a random matrix sequence { A n } \{\mathbf{A}_n\} { A n } , if there exists a sequence of deterministic matrices { A ‾ n } \{\overline{\mathbf{A}}_n\} { A n } such that A n ≍ A ‾ n \mathbf{A}_n \asymp\overline{\mathbf{A}}_n A n ≍ A n , then A ‾ n \overline{\mathbf{A}}_n A n is referred to as a deterministic equivalent of A n \mathbf{A}_n A n .
Definition 4 (Couillet & Liao [7 ] , Notation 2). For A ⊂ C A \subset\mathbb{C} A ⊂ C , z ∈ A z \in A z ∈ A and m ∈ C m \in\mathbb{C} m ∈ C , we denote Z ( A ) \mathcal{Z}(A) Z ( A ) the set of scalar pairs
Z ( A ) = { ( z , m ) ∈ A × C , such that ℑ [ z ] ⋅ ℑ [ m ] > 0 if ℑ [ z ] ≠ 0 \mathcal{Z}(A)=\{(z,m)\in A\times\mathbb{C},\ \text{such that }\Im[z]\cdot\Im[m]>0\text{ if }\Im[z]\ne0 Z ( A ) = {( z , m ) ∈ A × C , such that ℑ [ z ] ⋅ ℑ [ m ] > 0 if ℑ [ z ] = 0 or ( m > 0 if z < inf A ∩ R ) or ( m < 0 if z > sup A ∩ R ) } . \text{or }(m>0\text{ if }z<\inf A\cap\mathbb{R})\text{ or }(m<0\text{ if }z>\sup A\cap\mathbb{R})\}. or ( m > 0 if z < inf A ∩ R ) or ( m < 0 if z > sup A ∩ R )} .
Proposition 1 (Zhao et al. [35 ] , Proposition 8).
If A n ≍ B n \mathbf{A}_n \asymp\mathbf{B}_n A n ≍ B n and C n ≍ D n \mathbf{C}_n \asymp\mathbf{D}_n C n ≍ D n , then
A n + C n ≍ B n + D n . \mathbf{A}_n+\mathbf{C}_n\asymp\mathbf{B}_n+\mathbf{D}_n. A n + C n ≍ B n + D n . If A n ≍ B n \mathbf{A}_n\asymp\mathbf{B}_n A n ≍ B n and { E n } \{\mathbf{E}_n\} { E n } is a sequence of deterministic matrices such that ∥ E n ∥ o p < ∞ \|\mathbf{E}_n\|_{\mathrm{op}}<\infty ∥ E n ∥ op < ∞ , then
E n A n E n T ≍ E n B n E n T . \mathbf{E}_n\mathbf{A}_n\mathbf{E}_n^{\mathsf{T}}\asymp\mathbf{E}_n\mathbf{B}_n\mathbf{E}_n^{\mathsf{T}}. E n A n E n T ≍ E n B n E n T . If A n ≍ B n \mathbf{A}_n\asymp\mathbf{B}_n A n ≍ B n , then
1 n Tr [ A n − B n ] → a . s . 0. \frac{1}{n}\operatorname{Tr}[\mathbf{A}_n-\mathbf{B}_n]\xrightarrow{\mathrm{a.s.}}0. n 1 Tr [ A n − B n ] a.s. 0.
Theorem 6 (Sample covariance matrix, Silverstein & Bai [28 ] ; Couillet & Liao [7 ] , Theorem 2.6). Let X = C 1 / 2 Z ∈ R d × n \mathbf{X}=\mathbf{C}^{1/2}\mathbf{Z}\in\mathbb{R}^{d\times n} X = C 1/2 Z ∈ R d × n with symmetric nonnegative definite C ∈ R d × d \mathbf{C}\in\mathbb{R}^{d\times d} C ∈ R d × d of bounded operator norm (i.e., lim sup d → ∞ ∥ C ∥ o p < ∞ \limsup_{d\to\infty}\|\mathbf{C}\|_{\mathrm{op}}<\infty lim sup d → ∞ ∥ C ∥ op < ∞ ), and Z ∈ R d × n \mathbf{Z}\in\mathbb{R}^{d\times n} Z ∈ R d × n having independent zero-mean and unit-variance entries with 4 + ϵ 4+\epsilon 4 + ϵ bounded moment for some ϵ > 0 \epsilon>0 ϵ > 0 . Then, as n , d → ∞ n,d\to\infty n , d → ∞ with d / n → c ∈ ( 0 , ∞ ) d/n\to c\in(0,\infty) d / n → c ∈ ( 0 , ∞ ) , letting
Q ( z ) = ( 1 n X X T − z I d ) − 1 , Q ~ ( z ) = ( 1 n X T X − z I n ) − 1 , \mathbf{Q}(z)=\left(\frac{1}{n}\mathbf{X}\mathbf{X}^{\mathsf{T}}-z\mathbf{I}_d\right)^{-1},\qquad\widetilde{\mathbf{Q}}(z)=\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}-z\mathbf{I}_n\right)^{-1}, Q ( z ) = ( n 1 X X T − z I d ) − 1 , Q ( z ) = ( n 1 X T X − z I n ) − 1 , we have
Q ( z ) ≍ Q ‾ ( z ) = − 1 z ( I d + m ~ d ( z ) C ) − 1 , \mathbf{Q}(z)\asymp\overline{\mathbf{Q}}(z)=-\frac{1}{z}\left(\mathbf{I}_d+\widetilde{m}_d(z)\mathbf{C}\right)^{-1}, Q ( z ) ≍ Q ( z ) = − z 1 ( I d + m d ( z ) C ) − 1 , Q ~ ( z ) ≍ Q ~ ‾ ( z ) = m ~ d ( z ) I n , \widetilde{\mathbf{Q}}(z)\asymp\overline{\widetilde{\mathbf{Q}}}(z)=\widetilde{m}_d(z)\mathbf{I}_n, Q ( z ) ≍ Q ( z ) = m d ( z ) I n , where ( z , m ~ d ( z ) ) (z,\widetilde{m}_d(z)) ( z , m d ( z )) is the unique solution in Z ( C ∖ R + ) \mathcal{Z}(\mathbb{C}\setminus\mathbb{R}_+) Z ( C ∖ R + ) (see Definition 4) of
m ~ d ( z ) = ( − z + 1 n Tr C ( I d + m ~ d ( z ) C ) − 1 ) − 1 . (36) \widetilde{m}_d(z)=\left(-z+\frac{1}{n}\operatorname{Tr}\mathbf{C}\left(\mathbf{I}_d+\widetilde{m}_d(z)\mathbf{C}\right)^{-1}\right)^{-1}. \tag*{(36)} m d ( z ) = ( − z + n 1 Tr C ( I d + m d ( z ) C ) − 1 ) − 1 . (36) In particular, if the empirical spectral measure of C \mathbf{C} C converges, i.e., μ C ⇒ ν \mu_{\mathbf{C}}\Rightarrow\nu μ C ⇒ ν as d → ∞ d\to\infty d → ∞ , then
μ 1 n X X T → a . s . μ , μ 1 n X T X → a . s . μ ~ as d , n → ∞ , \mu_{\frac{1}{n}\mathbf{X}\mathbf{X}^{\mathsf{T}}}\xrightarrow{\mathrm{a.s.}}\mu,\qquad\mu_{\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}}\xrightarrow{\mathrm{a.s.}}\widetilde{\mu}\quad\text{as }d,n\to\infty, μ n 1 X X T a.s. μ , μ n 1 X T X a.s. μ as d , n → ∞ , where μ \mu μ and μ ~ \widetilde{\mu} μ are the unique measures having Stieltjes transforms m ( z ) m(z) m ( z ) and m ~ ( z ) \widetilde{m}(z) m ( z ) , respectively, with
m ( z ) = 1 c m ~ ( z ) + 1 − c c z , m ~ ( z ) = ( − z + c ∫ t ν ( d t ) 1 + m ~ ( z ) t ) − 1 . m(z)=\frac{1}{c}\widetilde{m}(z)+\frac{1-c}{cz},\qquad\widetilde{m}(z)=\left(-z+c\int\frac{t\nu(dt)}{1+\widetilde{m}(z)t}\right)^{-1}. m ( z ) = c 1 m ( z ) + cz 1 − c , m ( z ) = ( − z + c ∫ 1 + m ( z ) t t ν ( d t ) ) − 1 .
Theorem 7. Assume X = Z Σ 1 2 \mathbf{X} = \mathbf{Z}\boldsymbol{\Sigma}^{\frac{1}{2}} X = Z Σ 2 1 , where Z ∈ R n × d \mathbf{Z} \in\mathbb{R}^{n \times d} Z ∈ R n × d has i.i.d. entries with zero mean, unit variance and finite 4 + ϵ 4+\epsilon 4 + ϵ moment. Let λ > 0 \lambda> 0 λ > 0 be a fixed real number, Q ( − λ ) = ( 1 n X T X + λ I d ) − 1 \mathbf{Q}(-\lambda) = \left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X} + \lambda\mathbf{I}_{d}\right)^{-1} Q ( − λ ) = ( n 1 X T X + λ I d ) − 1 be the resolvent matrix, A ∈ R d × d \mathbf{A} \in\mathbb{R}^{d \times d} A ∈ R d × d is a symmetric deterministic matrix or symmetric random matrix independent of Q ( − λ ) \mathbf{Q}(-\lambda) Q ( − λ ) , and having bounded operator norm. Suppose Σ ∈ R d × d \boldsymbol{\Sigma} \in\mathbb{R}^{d \times d} Σ ∈ R d × d is a deterministic positive semi-definite matrix with bounded operator norm, then as n , d → ∞ n, d \to\infty n , d → ∞ with n / d → α ∈ ( 0 , ∞ ) n/d \to\alpha\in(0,\infty) n / d → α ∈ ( 0 , ∞ ) we have
Q ( − λ ) A Q ( − λ ) ≍ Q ˉ A ˉ Q ˉ + 1 n Tr [ Σ ˉ A ˉ Q ˉ ] [ ( 1 + 1 n Tr ( Σ ˉ Q ˉ ) ) 2 − 1 n Tr ( ( Σ ˉ Q ˉ ) 2 ) ] − 1 Q ˉ Σ ˉ Q ˉ . \mathbf{Q}(-\lambda)\mathbf{A}\mathbf{Q}(-\lambda) \asymp\bar{\mathbf{Q}}\bar{\mathbf{A}}\bar{\mathbf{Q}}+\frac{1}{n}\operatorname{Tr}\left[\bar{\boldsymbol{\Sigma}}\bar{\mathbf{A}}\bar{\mathbf{Q}}\right]\left[\left(1+\frac{1}{n}\operatorname{Tr}\left(\bar{\boldsymbol{\Sigma}}\bar{\mathbf{Q}}\right)\right)^2-\frac{1}{n}\operatorname{Tr}\left((\bar{\boldsymbol{\Sigma}}\bar{\mathbf{Q}})^2\right)\right]^{-1}\bar{\mathbf{Q}}\bar{\boldsymbol{\Sigma}}\bar{\mathbf{Q}}. Q ( − λ ) AQ ( − λ ) ≍ Q ˉ A ˉ Q ˉ + n 1 Tr [ Σ ˉ A ˉ Q ˉ ] [ ( 1 + n 1 Tr ( Σ ˉ Q ˉ ) ) 2 − n 1 Tr ( ( Σ ˉ Q ˉ ) 2 ) ] − 1 Q ˉ Σ ˉ Q ˉ .
Proof. If A \mathbf{A} A is random, we condition throughout on A \mathbf{A} A . Since A \mathbf{A} A is independent of Q ( − λ ) \mathbf{Q}(-\lambda) Q ( − λ ) and has bounded operator norm, it may then be treated as deterministic. For ∣ ρ ∣ |\rho| ∣ ρ ∣ sufficiently small, I p + ρ A \mathbf{I}_{p}+\rho\mathbf{A} I p + ρ A is positive definite.
The key observation (as also identified in Patil et al. [24 ] , Lemma S.6.10) is that
λ 2 Q ( − λ ) A Q ( − λ ) = − ∂ ∂ ρ [ λ ( 1 n X T X + λ I d + λ ρ A ) − 1 ] ∣ ρ = 0 . (37) \lambda^2\mathbf{Q}(-\lambda)\mathbf{A}\mathbf{Q}(-\lambda)=-\left.\frac{\partial}{\partial\rho}\left[\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda\mathbf{I}_{d}+\lambda\rho\mathbf{A}\right)^{-1}\right]\right|_{\rho=0}. \tag*{(37)} λ 2 Q ( − λ ) AQ ( − λ ) = − ∂ ρ ∂ [ λ ( n 1 X T X + λ I d + λ ρ A ) − 1 ] ρ = 0 . (37)
Thus, it suffices to obtain a deterministic equivalent for the parameterized resolvent in Equation Equation (37) , differentiate it with respect to ρ \rho ρ , and set ρ = 0 \rho=0 ρ = 0 .
We would like to make use of Theorem 6, note that,
λ ( 1 n X T X + λ I d + λ ρ A ) − 1 = λ ( 1 n X T X + λ ( I d + ρ A ) ) − 1 = ( I d + ρ A ) − 1 / 2 λ [ ( I d + ρ A ) − 1 / 2 1 n X T X ( I d + ρ A ) − 1 / 2 + λ I d ] − 1 ( I d + ρ A ) − 1 / 2 . (38) \begin{aligned}
\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda\mathbf{I}_{d}+\lambda\rho\mathbf{A}\right)^{-1}=\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda(\mathbf{I}_{d}+\rho\mathbf{A})\right)^{-1} \\
&=(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\lambda\left[(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}+\lambda\mathbf{I}_{d}\right]^{-1}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}. \tag*{(38)}
\end{aligned} λ ( n 1 X T X + λ I d + λ ρ A ) − 1 = λ ( n 1 X T X + λ ( I d + ρ A ) ) − 1 = ( I d + ρ A ) − 1/2 λ [ ( I d + ρ A ) − 1/2 n 1 X T X ( I d + ρ A ) − 1/2 + λ I d ] − 1 ( I d + ρ A ) − 1/2 . (38)
The population covariance corresponding to the resolvent in the middle of Equation Equation (38) is
( I p + ρ A ) − 1 / 2 Σ ( I p + ρ A ) − 1 / 2 . (\mathbf{I}_{p}+\rho\mathbf{A})^{-1/2}\boldsymbol{\Sigma}(\mathbf{I}_{p}+\rho\mathbf{A})^{-1/2}. ( I p + ρ A ) − 1/2 Σ ( I p + ρ A ) − 1/2 .
Since its operator norm remains uniformly bounded for ρ \rho ρ in a sufficiently small neighborhood of zero, and since E ∣ Z i j ∣ 4 + ϵ < ∞ \mathbb{E}|Z_{ij}|^{4+\epsilon}<\infty E ∣ Z ij ∣ 4 + ϵ < ∞ , we may apply Theorem 6. It follows that
λ [ ( I d + ρ A ) − 1 / 2 1 n X T X ( I d + ρ A ) − 1 / 2 + λ I d ] − 1 ≍ [ m ~ p ( − λ , ρ ) ( I d + ρ A ) − 1 / 2 Σ ( I d + ρ A ) − 1 / 2 + I d ] − 1 . (39) \lambda\left[(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}+\lambda\mathbf{I}_{d}\right]^{-1}
\asymp
\left[\widetilde{m}_{p}(-\lambda,\rho)(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\boldsymbol{\Sigma}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}+\mathbf{I}_{d}\right]^{-1}. \tag*{(39)} λ [ ( I d + ρ A ) − 1/2 n 1 X T X ( I d + ρ A ) − 1/2 + λ I d ] − 1 ≍ [ m p ( − λ , ρ ) ( I d + ρ A ) − 1/2 Σ ( I d + ρ A ) − 1/2 + I d ] − 1 . (39)
where m ~ p ( − λ , ρ ) \widetilde{m}_{p}(-\lambda,\rho) m p ( − λ , ρ ) is the unique positive solution of the fixed-point equation from Theorem 6,
1 m ~ p ( − λ , ρ ) = λ + 1 n Tr [ Σ ( m ~ p ( − λ , ρ ) Σ + I d + ρ A ) − 1 ] . (40) \frac{1}{\widetilde{m}_{p}(-\lambda,\rho)}=\lambda+\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\left(\widetilde{m}_{p}(-\lambda,\rho)\boldsymbol{\Sigma}+\mathbf{I}_{d}+\rho\mathbf{A}\right)^{-1}\right]. \tag*{(40)} m p ( − λ , ρ ) 1 = λ + n 1 Tr [ Σ ( m p ( − λ , ρ ) Σ + I d + ρ A ) − 1 ] . (40)
Combining Equations (38) and (39) and using the product rule for deterministic equivalents (Proposition 1) gives
λ ( 1 n X T X + λ I d + λ ρ A ) − 1 = ( I d + ρ A ) − 1 / 2 λ [ ( I d + ρ A ) − 1 / 2 1 n X T X ( I d + ρ A ) − 1 / 2 + λ I d ] − 1 ( I d + ρ A ) − 1 / 2 (41) \begin{aligned}
\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda\mathbf{I}_{d}+\lambda\rho\mathbf{A}\right)^{-1} \\
&=(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\lambda\left[(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}+\lambda\mathbf{I}_{d}\right]^{-1}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2} \tag*{(41)}
\end{aligned} λ ( n 1 X T X + λ I d + λ ρ A ) − 1 = ( I d + ρ A ) − 1/2 λ [ ( I d + ρ A ) − 1/2 n 1 X T X ( I d + ρ A ) − 1/2 + λ I d ] − 1 ( I d + ρ A ) − 1/2 (41)
≍ ( I d + ρ A ) − 1 / 2 [ m ~ p ( − λ , ρ ) ( I d + ρ A ) − 1 / 2 Σ ( I d + ρ A ) − 1 / 2 + I d ] − 1 ( I d + ρ A ) − 1 / 2 = ( m ~ p ( − λ , ρ ) Σ + I d + ρ A ) − 1 . \begin{aligned}
\asymp(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\left[\widetilde{m}_{p}(-\lambda,\rho)(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}\boldsymbol{\Sigma}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2}+\mathbf{I}_{d}\right]^{-1}(\mathbf{I}_{d}+\rho\mathbf{A})^{-1/2} \\
&=\left(\widetilde{m}_{p}(-\lambda,\rho)\boldsymbol{\Sigma}+\mathbf{I}_{d}+\rho\mathbf{A}\right)^{-1}.
\end{aligned} ≍ ( I d + ρ A ) − 1/2 [ m p ( − λ , ρ ) ( I d + ρ A ) − 1/2 Σ ( I d + ρ A ) − 1/2 + I d ] − 1 ( I d + ρ A ) − 1/2 = ( m p ( − λ , ρ ) Σ + I d + ρ A ) − 1 .
At ρ = 0 \rho= 0 ρ = 0 ,
( m ~ p ( − λ , 0 ) Σ + I d ) − 1 = λ Q ‾ . (42) \left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}=\lambda\overline{\mathbf{Q}}. \tag*{(42)} ( m p ( − λ , 0 ) Σ + I d ) − 1 = λ Q . (42)
Setting ρ = 0 \rho= 0 ρ = 0 in (40) and using (42) gives
1 m ~ p ( − λ , 0 ) = λ + λ n Tr ( Σ Q ‾ ) = λ [ 1 + 1 n Tr ( Σ Q ‾ ) ] . (43) \frac{1}{\widetilde{m}_{p}(-\lambda,0)}=\lambda+\frac{\lambda}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}\overline{\mathbf{Q}}\right)=\lambda\left[1+\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}\overline{\mathbf{Q}}\right)\right]. \tag*{(43)} m p ( − λ , 0 ) 1 = λ + n λ Tr ( Σ Q ) = λ [ 1 + n 1 Tr ( Σ Q ) ] . (43)
Both sides of (41) are analytic in ρ \rho ρ in a neighborhood of zero and are uniformly bounded there, since λ > 0 \lambda> 0 λ > 0 and ∥ A ∥ o p = O ( 1 ) \|\mathbf{A}\|_{\mathrm{op}}=O(1) ∥ A ∥ op = O ( 1 ) . We use the differentiation technique for deterministic equivalents (see Patil et al. [24 ] , Lemma S.7.2 (5)). Let T ∈ R d × d \mathbf{T}\in\mathbb{R}^{d\times d} T ∈ R d × d have trace norm uniformly bounded in d d d . For ∣ ρ ∣ |\rho| ∣ ρ ∣ sufficiently small such that I d + ρ A ≻ 0 \mathbf{I}_{d}+\rho\mathbf{A}\succ0 I d + ρ A ≻ 0 , we have
∣ Tr [ T λ ( 1 n X T X + λ I d + λ ρ A ) − 1 A ] ∣ ≤ ∥ T ∥ ∗ λ ∥ ( 1 n X T X + λ ( I d + ρ A ) ) − 1 ∥ o p ∥ A ∥ o p . \left|\operatorname{Tr}\left[\mathbf{T}\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda\mathbf{I}_{d}+\lambda\rho\mathbf{A}\right)^{-1}\mathbf{A}\right]\right|
\leq\|\mathbf{T}\|_{*}\lambda\left\|\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda(\mathbf{I}_{d}+\rho\mathbf{A})\right)^{-1}\right\|_{\mathrm{op}}\|\mathbf{A}\|_{\mathrm{op}}. Tr [ T λ ( n 1 X T X + λ I d + λ ρ A ) − 1 A ] ≤ ∥ T ∥ ∗ λ ( n 1 X T X + λ ( I d + ρ A ) ) − 1 op ∥ A ∥ op .
Since
1 n X T X + λ ( I d + ρ A ) ⪰ λ ( I d + ρ A ) , \frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda(\mathbf{I}_{d}+\rho\mathbf{A})\succeq\lambda(\mathbf{I}_{d}+\rho\mathbf{A}), n 1 X T X + λ ( I d + ρ A ) ⪰ λ ( I d + ρ A ) ,
we obtain
∥ λ ( 1 n X T X + λ ( I d + ρ A ) ) − 1 ∥ o p ≤ ∥ ( I d + ρ A ) − 1 ∥ o p . \left\|\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda(\mathbf{I}_{d}+\rho\mathbf{A})\right)^{-1}\right\|_{\mathrm{op}}
\leq\left\|(\mathbf{I}_{d}+\rho\mathbf{A})^{-1}\right\|_{\mathrm{op}}. λ ( n 1 X T X + λ ( I d + ρ A ) ) − 1 op ≤ ( I d + ρ A ) − 1 op .
Therefore, for ρ \rho ρ in a sufficiently small fixed neighborhood of zero,
∣ Tr [ T λ ( 1 n X T X + λ I d + λ ρ A ) − 1 A ] ∣ ≤ M , \left|\operatorname{Tr}\left[\mathbf{T}\lambda\left(\frac{1}{n}\mathbf{X}^{\mathsf{T}}\mathbf{X}+\lambda\mathbf{I}_{d}+\lambda\rho\mathbf{A}\right)^{-1}\mathbf{A}\right]\right|\leq M, Tr [ T λ ( n 1 X T X + λ I d + λ ρ A ) − 1 A ] ≤ M ,
for some constant M < ∞ M<\infty M < ∞ independent of n , d n,d n , d . Thus, we can apply the differentiation rule from Patil et al. [24 ] , Lemma S.7.2 (5). Differentiating (41) at ρ = 0 \rho= 0 ρ = 0 and using (37) yields
λ 2 Q ( − λ ) A Q ( − λ ) ⪰ ( m ~ p ( − λ , 0 ) Σ + I d ) − 1 [ ∂ ∂ ρ m ~ p ( − λ , ρ ) ∣ ρ = 0 Σ + A ] ( m ~ p ( − λ , 0 ) Σ + I d ) − 1 . (44) \lambda^{2}\mathbf{Q}(-\lambda)\mathbf{A}\mathbf{Q}(-\lambda)\succeq\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}\left[\left.\frac{\partial}{\partial\rho}\widetilde{m}_{p}(-\lambda,\rho)\right|_{\rho=0}\boldsymbol{\Sigma}+\mathbf{A}\right]\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}. \tag*{(44)} λ 2 Q ( − λ ) AQ ( − λ ) ⪰ ( m p ( − λ , 0 ) Σ + I d ) − 1 [ ∂ ρ ∂ m p ( − λ , ρ ) ρ = 0 Σ + A ] ( m p ( − λ , 0 ) Σ + I d ) − 1 . (44)
It remains to evaluate ∂ ∂ ρ m ~ p ( − λ , ρ ) ∣ ρ = 0 \left.\frac{\partial}{\partial\rho}\widetilde{m}_{p}(-\lambda,\rho)\right|_{\rho=0} ∂ ρ ∂ m p ( − λ , ρ ) ρ = 0 . Differentiating (40) with respect to ρ \rho ρ and then setting ρ = 0 \rho= 0 ρ = 0 gives
− ∂ ∂ ρ m ~ p ( − λ , ρ ) ∣ ρ = 0 1 m ~ p ( − λ , 0 ) 2 = − 1 n Tr [ Σ ( m ~ p ( − λ , 0 ) Σ + I d ) − 1 ( ∂ ∂ ρ m ~ p ( − λ , ρ ) ∣ ρ = 0 Σ + A ) ( m ~ p ( − λ , 0 ) Σ + I d ) − 1 ] . (45) -\left.\frac{\partial}{\partial\rho}\widetilde{m}_{p}(-\lambda,\rho)\right|_{\rho=0}\frac{1}{\widetilde{m}_{p}(-\lambda,0)^{2}}
=-\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}\left(\left.\frac{\partial}{\partial\rho}\widetilde{m}_{p}(-\lambda,\rho)\right|_{\rho=0}\boldsymbol{\Sigma}+\mathbf{A}\right)\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}\right]. \tag*{(45)} − ∂ ρ ∂ m p ( − λ , ρ ) ρ = 0 m p ( − λ , 0 ) 2 1 = − n 1 Tr [ Σ ( m p ( − λ , 0 ) Σ + I d ) − 1 ( ∂ ρ ∂ m p ( − λ , ρ ) ρ = 0 Σ + A ) ( m p ( − λ , 0 ) Σ + I d ) − 1 ] . (45)
Since Σ \boldsymbol{\Sigma} Σ commutes with ( m ~ p ( − λ , 0 ) Σ + I p ) − 1 \left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{p}\right)^{-1} ( m p ( − λ , 0 ) Σ + I p ) − 1 , solving (45) gives
∂ ∂ ρ m ~ p ( − λ , ρ ) ∣ ρ = 0 = 1 n Tr [ Σ ( m ~ p ( − λ , 0 ) Σ + I d ) − 1 A ( m ~ p ( − λ , 0 ) Σ + I d ) − 1 ] 1 m ~ p ( − λ , 0 ) 2 − 1 n Tr [ Σ 2 ( m ~ p ( − λ , 0 ) Σ + I d ) − 2 ] . (46) \left.\frac{\partial}{\partial\rho}\widetilde{m}_{p}(-\lambda,\rho)\right|_{\rho=0}
=
\frac{\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}\mathbf{A}\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-1}\right]}
{\frac{1}{\widetilde{m}_{p}(-\lambda,0)^{2}}-\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}^{2}\left(\widetilde{m}_{p}(-\lambda,0)\boldsymbol{\Sigma}+\mathbf{I}_{d}\right)^{-2}\right]}. \tag*{(46)} ∂ ρ ∂ m p ( − λ , ρ ) ρ = 0 = m p ( − λ , 0 ) 2 1 − n 1 Tr [ Σ 2 ( m p ( − λ , 0 ) Σ + I d ) − 2 ] n 1 Tr [ Σ ( m p ( − λ , 0 ) Σ + I d ) − 1 A ( m p ( − λ , 0 ) Σ + I d ) − 1 ] . (46)
Using Equations (44) and (45), the numerator of Equation (48) becomes λ 2 n Tr [ Σ Q ‾ A Q ‾ ] \frac{\lambda^{2}}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\overline{\mathbf{Q}}\mathbf{A}\overline{\mathbf{Q}}\right] n λ 2 Tr [ Σ Q A Q ] , while its denominator becomes λ 2 [ ( 1 + 1 n Tr ( Σ Q ‾ ) ) 2 − 1 n Tr [ ( Σ Q ‾ ) 2 ] ] \lambda^{2}\left[\left(1+\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}\overline{\mathbf{Q}}\right)\right)^{2}-\frac{1}{n}\operatorname{Tr}\left[\left(\boldsymbol{\Sigma}\overline{\mathbf{Q}}\right)^{2}\right]\right] λ 2 [ ( 1 + n 1 Tr ( Σ Q ) ) 2 − n 1 Tr [ ( Σ Q ) 2 ] ] . Therefore,
∂ ∂ ρ m ~ p ( − λ , ρ ) ∣ ρ = 0 = 1 n Tr [ Σ Q ‾ A Q ‾ ] ( 1 + 1 n Tr ( Σ Q ‾ ) ) 2 − 1 n Tr [ ( Σ Q ‾ ) 2 ] . (47) \left.\frac{\partial}{\partial\rho}\widetilde{m}_{p}(-\lambda,\rho)\right|_{\rho=0}
=
\frac{\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\overline{\mathbf{Q}}\mathbf{A}\overline{\mathbf{Q}}\right]}
{\left(1+\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}\overline{\mathbf{Q}}\right)\right)^{2}-\frac{1}{n}\operatorname{Tr}\left[\left(\boldsymbol{\Sigma}\overline{\mathbf{Q}}\right)^{2}\right]}. \tag*{(47)} ∂ ρ ∂ m p ( − λ , ρ ) ρ = 0 = ( 1 + n 1 Tr ( Σ Q ) ) 2 − n 1 Tr [ ( Σ Q ) 2 ] n 1 Tr [ Σ Q A Q ] . (47)
Finally, substituting Equations (42) and (47) into Equation (44) and dividing by λ 2 \lambda^2 λ 2 yields
Q ( − λ ) A Q ( − λ ) ≃ Q ˉ A ˉ Q ˉ + 1 n Tr [ Q ˉ A ˉ Q ˉ ] ( 1 + 1 n Tr ( Σ Q ˉ ) ) 2 − 1 n Tr [ ( Σ Q ˉ ) 2 ] Q ˉ Σ Q ˉ . Q(-\lambda)AQ(-\lambda) \simeq\bar{Q}\bar{A}\bar{Q}+\frac{\frac{1}{n}\operatorname{Tr}\left[\bar{Q}\bar{A}\bar{Q}\right]}{\left(1+\frac{1}{n}\operatorname{Tr}\left(\Sigma\bar{Q}\right)\right)^2-\frac{1}{n}\operatorname{Tr}\left[\left(\Sigma\bar{Q}\right)^2\right]}\bar{Q}\Sigma\bar{Q}. Q ( − λ ) A Q ( − λ ) ≃ Q ˉ A ˉ Q ˉ + ( 1 + n 1 Tr ( Σ Q ˉ ) ) 2 − n 1 Tr [ ( Σ Q ˉ ) 2 ] n 1 Tr [ Q ˉ A ˉ Q ˉ ] Q ˉ Σ Q ˉ .
as claimed.
The following Lemma provides the closed-from solution to the iterates produced by the generalized ridge regression algorithm (Algorithm 3).
Lemma 8. At each iteration t t t the predictor update under Algorithm 3 is
w t = ( 1 n X t T X t + M ) − 1 ( 1 n X t T y t + M w t − 1 ) . \mathbf{w}_t=\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\mathbf{M}\right)^{-1}\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\mathbf{M}\mathbf{w}_{t-1}\right). w t = ( n 1 X t T X t + M ) − 1 ( n 1 X t T y t + M w t − 1 ) . Proof. Let t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] and consider the optimization problem
w t ∈ argmin w ∈ R d 1 2 n ∥ X t w − y t ∥ 2 2 + 1 2 ∥ w − w t − 1 ∥ M 2 , \mathbf{w}_t\in\underset{\mathbf{w}\in\mathbb{R}^d}{\operatorname{argmin}}\ \frac{1}{2n}\lVert\mathbf{X}_t\mathbf{w}-\mathbf{y}_t\rVert_2^2+\frac{1}{2}\lVert\mathbf{w}-\mathbf{w}_{t-1}\rVert_{\mathbf{M}}^2, w t ∈ w ∈ R d argmin 2 n 1 ∥ X t w − y t ∥ 2 2 + 2 1 ∥ w − w t − 1 ∥ M 2 , where M ≻ 0 \mathbf{M}\succ0 M ≻ 0 . The objective is a convex quadratic function of w \mathbf{w} w , hence the minimizer is unique in that case.
Expand the objective and differentiate with respect to w \mathbf{w} w :
f t ( w ) : = 1 2 n ∥ X t w − y t ∥ 2 2 + 1 2 ( w − w t − 1 ) T M ( w − w t − 1 ) , f_t(\mathbf{w}):=\frac{1}{2n}\lVert\mathbf{X}_t\mathbf{w}-\mathbf{y}_t\rVert_2^2+\frac{1}{2}(\mathbf{w}-\mathbf{w}_{t-1})^{\mathsf{T}}\mathbf{M}(\mathbf{w}-\mathbf{w}_{t-1}), f t ( w ) := 2 n 1 ∥ X t w − y t ∥ 2 2 + 2 1 ( w − w t − 1 ) T M ( w − w t − 1 ) , ∇ f t ( w ) = 1 n X t T ( X t w − y t ) + M ( w − w t − 1 ) . \nabla f_t(\mathbf{w})=\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}(\mathbf{X}_t\mathbf{w}-\mathbf{y}_t)+\mathbf{M}(\mathbf{w}-\mathbf{w}_{t-1}). ∇ f t ( w ) = n 1 X t T ( X t w − y t ) + M ( w − w t − 1 ) . Setting ∇ f t ( w ) = 0 \nabla f_t(\mathbf{w})=0 ∇ f t ( w ) = 0 gives the normal equations
( 1 n X t T X t + M ) w = 1 n X t T y t + M w t − 1 . \left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\mathbf{M}\right)\mathbf{w}=\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\mathbf{M}\mathbf{w}_{t-1}. ( n 1 X t T X t + M ) w = n 1 X t T y t + M w t − 1 . Since 1 n X t T X t + M \frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\mathbf{M} n 1 X t T X t + M is invertible, we obtain the closed-form solution
w t = ( 1 n X t T X t + M ) − 1 ( 1 n X t T y t + M w t − 1 ) . \mathbf{w}_t=\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{X}_t+\mathbf{M}\right)^{-1}\left(\frac{1}{n}\mathbf{X}_t^{\mathsf{T}}\mathbf{y}_t+\mathbf{M}\mathbf{w}_{t-1}\right). w t = ( n 1 X t T X t + M ) − 1 ( n 1 X t T y t + M w t − 1 ) .
Proof of Theorem 3: Closed-Form Generalization Loss with Diagonal Regularization
Recall Theorem 3. Under Assumption 2, the generalization loss after T T T tasks of the generalized ridge algorithm (Algorithm 3), specialized to a fixed regularization matrix M M M , as n , d → ∞ n,d\to\infty n , d → ∞ , satisfies
G T g e n → P ( w 0 − w ⋆ ) T ( Q ˉ 2 T + v x ∑ k = 1 T Q ˉ 2 k μ ~ ρ ~ k ) ( w 0 − w ⋆ ) + v z n Tr [ ∑ k = 1 T [ I − Q ˉ [ I + v x 2 n Tr [ M − 1 Q ˉ 2 ] μ ~ M − 1 ] ] [ Q ˉ 2 ( T − k ) + v x ∑ i = k + 1 T Q ˉ 2 ( i − k ) μ ~ ρ ~ i ] M − 1 Q ˉ ] . \begin{aligned}
G_T^{\mathrm{gen}} \xrightarrow{P} (\mathbf{w}_0-\mathbf{w}^{\star})^{\mathsf{T}}\left(\bar{Q}^{2T}+v_x\sum_{k=1}^{T}\bar{Q}^{2k}\tilde{\mu}\tilde{\rho}_k\right)(\mathbf{w}_0-\mathbf{w}^{\star}) \\
&+\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\left[I-\bar{Q}\left[I+\frac{v_x^2}{n}\operatorname{Tr}\left[\mathbf{M}^{-1}\bar{Q}^{2}\right]\tilde{\mu}\mathbf{M}^{-1}\right]\right]\left[\bar{Q}^{2(T-k)}+v_x\sum_{i=k+1}^{T}\bar{Q}^{2(i-k)}\tilde{\mu}\tilde{\rho}_i\right]\mathbf{M}^{-1}\bar{Q}\right].
\end{aligned} G T gen P ( w 0 − w ⋆ ) T ( Q ˉ 2 T + v x k = 1 ∑ T Q ˉ 2 k μ ~ ρ ~ k ) ( w 0 − w ⋆ ) + n v z Tr [ k = 1 ∑ T [ I − Q ˉ [ I + n v x 2 Tr [ M − 1 Q ˉ 2 ] μ ~ M − 1 ] ] [ Q ˉ 2 ( T − k ) + v x i = k + 1 ∑ T Q ˉ 2 ( i − k ) μ ~ ρ ~ i ] M − 1 Q ˉ ] .
where Q ˉ = ( I + v x m ~ p ( − 1 ) M − 1 ) − 1 \bar{Q}=\left(I+v_x\tilde{m}_p(-1)\mathbf{M}^{-1}\right)^{-1} Q ˉ = ( I + v x m ~ p ( − 1 ) M − 1 ) − 1 , with m ~ p ( − 1 ) \tilde{m}_p(-1) m ~ p ( − 1 ) being the unique positive solution of
1 m ~ p ( − 1 ) = 1 + 1 n ∑ i = 1 d v x M i , i − 1 1 + m ~ p ( − 1 ) v x M i , i − 1 . \frac{1}{\tilde{m}_p(-1)}=1+\frac{1}{n}\sum_{i=1}^{d}\frac{v_xM_{i,i}^{-1}}{1+\tilde{m}_p(-1)v_xM_{i,i}^{-1}}. m ~ p ( − 1 ) 1 = 1 + n 1 i = 1 ∑ d 1 + m ~ p ( − 1 ) v x M i , i − 1 v x M i , i − 1 .
And,
ρ ~ k = v x n Tr [ M − 2 ( Q ˉ 2 ( T − k + 1 ) + v x μ ~ ∑ i = k + 1 T ρ ~ i Q ˉ 2 ( i − k + 1 ) ) ] , \tilde{\rho}_k=\frac{v_x}{n}\operatorname{Tr}\left[\mathbf{M}^{-2}\left(\bar{Q}^{2(T-k+1)}+v_x\tilde{\mu}\sum_{i=k+1}^{T}\tilde{\rho}_i\bar{Q}^{2(i-k+1)}\right)\right], ρ ~ k = n v x Tr [ M − 2 ( Q ˉ 2 ( T − k + 1 ) + v x μ ~ i = k + 1 ∑ T ρ ~ i Q ˉ 2 ( i − k + 1 ) ) ] ,
μ ~ = [ [ 1 + v x n Tr ( M − 1 Q ˉ ) ] 2 − v x 2 n Tr ( M − 1 Q ˉ ) 2 ] − 1 . \tilde{\mu}=\left[\left[1+\frac{v_x}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\bar{Q}\right)\right]^2-\frac{v_x^2}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\bar{Q}\right)^2\right]^{-1}. μ ~ = [ [ 1 + n v x Tr ( M − 1 Q ˉ ) ] 2 − n v x 2 Tr ( M − 1 Q ˉ ) 2 ] − 1 .
Proof. We will develop a slightly more general result, the outcome would be able to accommodate general diagonal covariance matrix Σ \Sigma Σ (spectrally bounded), in contrast to the setting considered in § 3 . Specifically, here we may assume that the data for task t t t is generated as X t = Z t Σ 1 / 2 X_t=Z_t\Sigma^{1/2} X t = Z t Σ 1/2 , where Z t ∈ R n × d Z_t\in\mathbb{R}^{n\times d} Z t ∈ R n × d has i.i.d. entries with zero mean and unit variance.
For each t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] , we are interested in solving
w t g e n = min w ∈ R d 1 n ∥ X t w − y ∥ 2 2 + ∥ w − w t − 1 ∥ M 2 . \mathbf{w}_t^{\mathrm{gen}}=\min_{\mathbf{w}\in\mathbb{R}^{d}}\frac{1}{n}\lVert X_t\mathbf{w}-\mathbf{y}\rVert_2^2+\lVert\mathbf{w}-\mathbf{w}_{t-1}\rVert_{\mathbf{M}}^2. w t gen = w ∈ R d min n 1 ∥ X t w − y ∥ 2 2 + ∥ w − w t − 1 ∥ M 2 .
By Lemma 8,
w t g e n = ( 1 n X t T X t + M ) − 1 ( 1 n X t T y + M w t − 1 g e n ) . \mathbf{w}_t^{\mathrm{gen}}=\left(\frac{1}{n}X_t^{\mathsf{T}}X_t+\mathbf{M}\right)^{-1}\left(\frac{1}{n}X_t^{\mathsf{T}}\mathbf{y}+\mathbf{M}\mathbf{w}_{t-1}^{\mathrm{gen}}\right). w t gen = ( n 1 X t T X t + M ) − 1 ( n 1 X t T y + M w t − 1 gen ) .
Therefore,
w T g e n − w ⋆ = ( 1 n X T T X T + M ) − 1 ( 1 n X T T ( X T w ⋆ + z T ) + M w T − 1 g e n ) − w ⋆ = ( 1 n X T T X T + M ) − 1 ( 1 n X T T ( X T w ⋆ + z T ) + M w T − 1 g e n − ( 1 n X T T X T + M ) w ⋆ ) = ( 1 n X T T X T + M ) − 1 ( 1 n X T T z T + M ( w T − 1 g e n − w ⋆ ) ) = P T M ( w T − 1 g e n − w ⋆ ) + P T 1 n X T T z T = ⋯ = [ ∏ m = T 1 P m M ] ( w 0 − w ⋆ ) + ∑ k = 1 T [ ∏ m = T k + 1 P m M ] P k 1 n X k T z k , \begin{aligned}
\mathbf{w}_T^{\mathrm{gen}}-\mathbf{w}^{\star}=\left(\frac{1}{n}X_T^{\mathsf{T}}X_T+\mathbf{M}\right)^{-1}\left(\frac{1}{n}X_T^{\mathsf{T}}\left(X_T\mathbf{w}^{\star}+\mathbf{z}_T\right)+\mathbf{M}\mathbf{w}_{T-1}^{\mathrm{gen}}\right)-\mathbf{w}^{\star} \\
&=\left(\frac{1}{n}X_T^{\mathsf{T}}X_T+\mathbf{M}\right)^{-1}\left(\frac{1}{n}X_T^{\mathsf{T}}\left(X_T\mathbf{w}^{\star}+\mathbf{z}_T\right)+\mathbf{M}\mathbf{w}_{T-1}^{\mathrm{gen}}-\left(\frac{1}{n}X_T^{\mathsf{T}}X_T+\mathbf{M}\right)\mathbf{w}^{\star}\right) \\
&=\left(\frac{1}{n}X_T^{\mathsf{T}}X_T+\mathbf{M}\right)^{-1}\left(\frac{1}{n}X_T^{\mathsf{T}}\mathbf{z}_T+\mathbf{M}\left(\mathbf{w}_{T-1}^{\mathrm{gen}}-\mathbf{w}^{\star}\right)\right) \\
&=\mathbf{P}_T\mathbf{M}\left(\mathbf{w}_{T-1}^{\mathrm{gen}}-\mathbf{w}^{\star}\right)+\mathbf{P}_T\frac{1}{n}X_T^{\mathsf{T}}\mathbf{z}_T \\
&=\cdots\\
&=\left[\prod_{m=T}^{1}\mathbf{P}_m\mathbf{M}\right](\mathbf{w}_0-\mathbf{w}^{\star})+\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]\mathbf{P}_k\frac{1}{n}X_k^{\mathsf{T}}\mathbf{z}_k,
\end{aligned} w T gen − w ⋆ = ( n 1 X T T X T + M ) − 1 ( n 1 X T T ( X T w ⋆ + z T ) + M w T − 1 gen ) − w ⋆ = ( n 1 X T T X T + M ) − 1 ( n 1 X T T ( X T w ⋆ + z T ) + M w T − 1 gen − ( n 1 X T T X T + M ) w ⋆ ) = ( n 1 X T T X T + M ) − 1 ( n 1 X T T z T + M ( w T − 1 gen − w ⋆ ) ) = P T M ( w T − 1 gen − w ⋆ ) + P T n 1 X T T z T = ⋯ = [ m = T ∏ 1 P m M ] ( w 0 − w ⋆ ) + k = 1 ∑ T [ m = T ∏ k + 1 P m M ] P k n 1 X k T z k ,
where P t = ( 1 n X t T X t + M ) − 1 = M − 1 / 2 ( 1 n M − 1 / 2 X t T X t M − 1 / 2 + I ) − 1 M − 1 / 2 \mathbf{P}_t=\left(\frac{1}{n}X_t^{\mathsf{T}}X_t+\mathbf{M}\right)^{-1}=\mathbf{M}^{-1/2}\left(\frac{1}{n}\mathbf{M}^{-1/2}X_t^{\mathsf{T}}X_t\mathbf{M}^{-1/2}+I\right)^{-1}\mathbf{M}^{-1/2} P t = ( n 1 X t T X t + M ) − 1 = M − 1/2 ( n 1 M − 1/2 X t T X t M − 1/2 + I ) − 1 M − 1/2 for all t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] . Then,
G T g e n = [ [ ∏ m = T 1 P m M ] ( w 0 − w ⋆ ) + ∑ k = 1 T [ ∏ m = T k + 1 P m M ] P k 1 n Σ 1 2 Z k ⊤ z k ] ⊤ [ [ ∏ m = T 1 P m M ] ( w 0 − w ⋆ ) + ∑ k = 1 T [ ∏ m = T k + 1 P m M ] P k 1 n Σ 1 2 Z k ⊤ z k ] = ( w 0 − w ⋆ ) ⊤ [ ∏ m = T 1 P m M ] ⊤ [ ∏ m = T 1 P m M ] ⏟ term 1 ( w 0 − w ⋆ ) + [ 1 n 2 ∑ k = 1 T z k ⊤ Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] ] ⊤ ∑ k ′ = 1 T [ ∏ m = T k ′ + 1 P m M ] P k ′ Σ 1 2 Z k ′ ⊤ z k ′ ⏟ term 2 . (48) \begin{aligned}
G_T^{\mathrm{gen}}={}&\left[\left[\prod_{m=T}^{1}P_mM\right](w_0-w^\star)+\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}P_mM\right]P_k\frac{1}{n}\Sigma^{\frac{1}{2}}Z_k^{\top}z_k\right]^{\top}\\
&\quad\left[\left[\prod_{m=T}^{1}P_mM\right](w_0-w^\star)+\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}P_mM\right]P_k\frac{1}{n}\Sigma^{\frac{1}{2}}Z_k^{\top}z_k\right]\\
={}&(w_0-w^\star)^{\top}\underbrace{\left[\prod_{m=T}^{1}P_mM\right]^{\top}\left[\prod_{m=T}^{1}P_mM\right]}_{\text{term 1}}(w_0-w^\star)\\
&\quad+\underbrace{\left[\frac{1}{n^2}\sum_{k=1}^{T}z_k^{\top}Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]\right]^{\top}\sum_{k'=1}^{T}\left[\prod_{m=T}^{k'+1}P_mM\right]P_{k'}\Sigma^{\frac{1}{2}}Z_{k'}^{\top}z_{k'}}_{\text{term 2}}. \tag*{(48)}
\end{aligned} G T gen = = [ [ m = T ∏ 1 P m M ] ( w 0 − w ⋆ ) + k = 1 ∑ T [ m = T ∏ k + 1 P m M ] P k n 1 Σ 2 1 Z k ⊤ z k ] ⊤ [ [ m = T ∏ 1 P m M ] ( w 0 − w ⋆ ) + k = 1 ∑ T [ m = T ∏ k + 1 P m M ] P k n 1 Σ 2 1 Z k ⊤ z k ] ( w 0 − w ⋆ ) ⊤ term 1 [ m = T ∏ 1 P m M ] ⊤ [ m = T ∏ 1 P m M ] ( w 0 − w ⋆ ) + term 2 [ n 2 1 k = 1 ∑ T z k ⊤ Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] ] ⊤ k ′ = 1 ∑ T m = T ∏ k ′ + 1 P m M P k ′ Σ 2 1 Z k ′ ⊤ z k ′ . (48)
where [1] follows since under the statistical design (§ 3 ) in which E [ z k ] = 0 \mathbb{E}[z_k]=0 E [ z k ] = 0 for all k ∈ [ 1 , T ] k\in[1,T] k ∈ [ 1 , T ] , and the noise variables are sampled independently of all tasks, so by the weak law of large numbers cross terms vanish as n → ∞ n\to\infty n → ∞ .
We begin by analyzing the first term. Let A i = M 1 2 P i [ ∏ m = T i + 1 P m M ] ⊤ [ ∏ m = T i + 1 P m M ] P i M 1 2 A_i=M^{\frac{1}{2}}P_i\left[\prod_{m=T}^{i+1}P_mM\right]^{\top}\left[\prod_{m=T}^{i+1}P_mM\right]P_iM^{\frac{1}{2}} A i = M 2 1 P i [ ∏ m = T i + 1 P m M ] ⊤ [ ∏ m = T i + 1 P m M ] P i M 2 1 .
To build some intuition for the application of Theorem 7, note that in order to compute term 1 we would need to solve
[ ∏ m = T 1 P m M ] ⊤ [ ∏ m = T 1 P m M ] = M P 1 … M P T P T M … P 1 M = M 1 2 [ M 1 2 P 1 M 1 2 ] ⏟ Q ( − 1 ) … M P T M 1 2 M − 1 M 1 2 P T M … ⏟ independent [ M 1 2 P 1 M 1 2 ] M 1 2 ⏟ Q ( − 1 ) \begin{aligned}
\left[\prod_{m=T}^{1}P_mM\right]^{\top}\left[\prod_{m=T}^{1}P_mM\right]
=MP_1\ldots MP_TP_TM\ldots P_1M \\
&=\underbrace{M^{\frac{1}{2}}\left[M^{\frac{1}{2}}P_1M^{\frac{1}{2}}\right]}_{Q(-1)}\ldots\underbrace{MP_TM^{\frac{1}{2}}M^{-1}M^{\frac{1}{2}}P_TM\ldots}_{\text{independent}}\underbrace{\left[M^{\frac{1}{2}}P_1M^{\frac{1}{2}}\right]M^{\frac{1}{2}}}_{Q(-1)}
\end{aligned} [ m = T ∏ 1 P m M ] ⊤ [ m = T ∏ 1 P m M ] = M P 1 … M P T P T M … P 1 M = Q ( − 1 ) M 2 1 [ M 2 1 P 1 M 2 1 ] … independent M P T M 2 1 M − 1 M 2 1 P T M … Q ( − 1 ) [ M 2 1 P 1 M 2 1 ] M 2 1
[ M 1 2 P 1 M 1 2 ] M 1 2 ⏟ Q ( − 1 ) A 2 Q ( − 1 ) \hspace{8em}\underbrace{\vphantom{\left[M^{\frac{1}{2}}P_1M^{\frac{1}{2}}\right]M^{\frac{1}{2}}}}{Q(-1)A_2Q(-1)} [ M 2 1 P 1 M 2 1 ] M 2 1 Q ( − 1 ) A 2 Q ( − 1 )
where Q ( z ) : = ( 1 n M − 1 2 Σ 1 2 Z ⊤ Z Σ 1 2 M − 1 2 − z I ) − 1 Q(z):=\left(\frac{1}{n}M^{-\frac{1}{2}}\Sigma^{\frac{1}{2}}Z^{\top}Z\Sigma^{\frac{1}{2}}M^{-\frac{1}{2}}-zI\right)^{-1} Q ( z ) := ( n 1 M − 2 1 Σ 2 1 Z ⊤ Z Σ 2 1 M − 2 1 − z I ) − 1 is the resolvent matrix with Z Z Z having i.i.d. entries with zero mean and unit variance. The middle block is a symmetric random matrix independent of Q ( − 1 ) Q(-1) Q ( − 1 ) with bounded operator norm, therefore we use Theorem 7 to evaluate Q ( − 1 ) A 2 Q ( − 1 ) Q(-1)A_2Q(-1) Q ( − 1 ) A 2 Q ( − 1 ) .
Using Theorem 6, Q ( − 1 ) Q(-1) Q ( − 1 ) admits a deterministic equivalent, where,
Q ‾ ( − 1 ) = ( I + m ~ p ( − 1 ) Σ M − 1 ) − 1 and 1 m ~ p ( − 1 ) = 1 + 1 n ∑ i = 1 d σ i m i − 1 1 + m ~ p ( − 1 ) σ i m i − 1 . \overline{Q}(-1)=\left(I+\widetilde{m}_p(-1)\Sigma M^{-1}\right)^{-1}
\quad\text{and}\quad
\frac{1}{\widetilde{m}_p(-1)}=1+\frac{1}{n}\sum_{i=1}^{d}\frac{\sigma_i m_i^{-1}}{1+\widetilde{m}_p(-1)\sigma_i m_i^{-1}}. Q ( − 1 ) = ( I + m p ( − 1 ) Σ M − 1 ) − 1 and m p ( − 1 ) 1 = 1 + n 1 i = 1 ∑ d 1 + m p ( − 1 ) σ i m i − 1 σ i m i − 1 .
Here σ i , m i \sigma_i,m_i σ i , m i denote respectively, the i i i ’th eigenvalues of the matrices Σ , M \Sigma,M Σ , M . For notational convenience, we set Q : = Q ( − 1 ) Q:=Q(-1) Q := Q ( − 1 ) , and Q ‾ : = Q ‾ ( − 1 ) \overline{Q}:=\overline{Q}(-1) Q := Q ( − 1 ) . Both matrices are diagonal since both Σ \Sigma Σ and M M M are diagonal. Moreover, we note that under our standing assumption, we have σ i = v x \sigma_i=v_x σ i = v x for all i i i . Nonetheless, as previously mentioned, our analysis also allows for non-isotropic covariance matrices.
For all k ≥ 1 k\geq1 k ≥ 1 , using Theorem 7 we attain the following recurrence,
A k ⪰ Q ‾ ( − 1 ) A k + 1 Q ‾ ( − 1 ) + μ ~ ρ ~ k D (49) A_k\succeq\overline{Q}(-1)A_{k+1}\overline{Q}(-1)+\widetilde{\mu}\widetilde{\rho}_kD \tag*{(49)} A k ⪰ Q ( − 1 ) A k + 1 Q ( − 1 ) + μ ρ k D (49)
where
ρ ~ k = 1 n Tr [ Σ M − 1 Q ‾ A k + 1 Q ‾ ] , \widetilde{\rho}_k=\frac{1}{n}\operatorname{Tr}\left[\Sigma M^{-1}\overline{Q}A_{k+1}\overline{Q}\right], ρ k = n 1 Tr [ Σ M − 1 Q A k + 1 Q ] ,
μ ~ = [ ( 1 + 1 n Tr ( Σ M − 1 Q ‾ ) ) 2 − 1 n Tr ( Σ M − 1 Q ‾ ) 2 ] − 1 , \widetilde{\mu}=\left[\left(1+\frac{1}{n}\operatorname{Tr}\left(\Sigma M^{-1}\overline{Q}\right)\right)^2-\frac{1}{n}\operatorname{Tr}\left(\Sigma M^{-1}\overline{Q}\right)^2\right]^{-1}, μ = [ ( 1 + n 1 Tr ( Σ M − 1 Q ) ) 2 − n 1 Tr ( Σ M − 1 Q ) 2 ] − 1 ,
D = Q ‾ Σ M − 1 Q ‾ . D=\overline{Q}\Sigma M^{-1}\overline{Q}. D = Q Σ M − 1 Q .
Using the recurrence from (49) ,
A k ≃ Q ˉ A k + 1 Q ˉ + μ ~ p ~ k D ≃ Q ˉ [ Q ˉ A k + 2 Q ˉ + μ ~ p ~ k + 1 D ] Q ˉ + μ ~ p ~ k D ≃ ⋯ ≃ Q ˉ T − k + 1 A T + 1 ⏟ M − 1 Q ˉ T − k + 1 + ∑ i = k T Q ˉ i − k μ ~ p ~ i Q ˉ i − k D . \begin{aligned}
A_k &\simeq\bar{Q}A_{k+1}\bar{Q}+\tilde{\mu}\tilde{p}_kD\\
&\simeq\bar{Q}\left[\bar{Q}A_{k+2}\bar{Q}+\tilde{\mu}\tilde{p}_{k+1}D\right]\bar{Q}+\tilde{\mu}\tilde{p}_kD\\
&\simeq\cdots\\
&\simeq\bar{Q}^{T-k+1}\underbrace{A_{T+1}}_{M^{-1}}\bar{Q}^{T-k+1}+\sum_{i=k}^{T}\bar{Q}^{i-k}\tilde{\mu}\tilde{p}_i\bar{Q}^{i-k}D.
\end{aligned} A k ≃ Q ˉ A k + 1 Q ˉ + μ ~ p ~ k D ≃ Q ˉ [ Q ˉ A k + 2 Q ˉ + μ ~ p ~ k + 1 D ] Q ˉ + μ ~ p ~ k D ≃ ⋯ ≃ Q ˉ T − k + 1 M − 1 A T + 1 Q ˉ T − k + 1 + i = k ∑ T Q ˉ i − k μ ~ p ~ i Q ˉ i − k D .
Therefore, using Proposition 1,
p ~ k = 1 n Tr [ Σ M − 1 Q ˉ A k + 1 Q ˉ ] = 1 n Tr [ Q ˉ Σ M − 1 Q ˉ A k + 1 ] → 1 n Tr [ Q ˉ Σ M − 1 Q ˉ [ Q ˉ 2 ( T − k ) M − 1 + ∑ i = k + 1 T Q ˉ 2 ( i − k − 1 ) μ ~ p ~ i D ] ] = 1 n Tr [ Q ˉ 2 ( T − k + 1 ) Σ M − 2 ] + 1 n Tr [ ∑ i = k + 1 T Q ˉ 2 ( i − k + 1 ) Σ 2 M − 2 μ ~ p ~ i ] , \begin{aligned}
\tilde{p}_k&=\frac{1}{n}\operatorname{Tr}\left[\Sigma M^{-1}\bar{Q}A_{k+1}\bar{Q}\right]=\frac{1}{n}\operatorname{Tr}\left[\bar{Q}\Sigma M^{-1}\bar{Q}A_{k+1}\right]\\
&\rightarrow\frac{1}{n}\operatorname{Tr}\left[\bar{Q}\Sigma M^{-1}\bar{Q}\left[\bar{Q}^{2(T-k)}M^{-1}+\sum_{i=k+1}^{T}\bar{Q}^{2(i-k-1)}\tilde{\mu}\tilde{p}_iD\right]\right]\\
&=\frac{1}{n}\operatorname{Tr}\left[\bar{Q}^{2(T-k+1)}\Sigma M^{-2}\right]+\frac{1}{n}\operatorname{Tr}\left[\sum_{i=k+1}^{T}\bar{Q}^{2(i-k+1)}\Sigma^{2}M^{-2}\tilde{\mu}\tilde{p}_i\right],
\end{aligned} p ~ k = n 1 Tr [ Σ M − 1 Q ˉ A k + 1 Q ˉ ] = n 1 Tr [ Q ˉ Σ M − 1 Q ˉ A k + 1 ] → n 1 Tr [ Q ˉ Σ M − 1 Q ˉ [ Q ˉ 2 ( T − k ) M − 1 + i = k + 1 ∑ T Q ˉ 2 ( i − k − 1 ) μ ~ p ~ i D ] ] = n 1 Tr [ Q ˉ 2 ( T − k + 1 ) Σ M − 2 ] + n 1 Tr [ i = k + 1 ∑ T Q ˉ 2 ( i − k + 1 ) Σ 2 M − 2 μ ~ p ~ i ] ,
almost surely.
And term 2 in (48) , becomes,
1 n 2 [ ∑ k = 1 T Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T ∑ k ′ = 1 T [ ∏ m = T k ′ + 1 P m M ] P k ′ Σ 1 2 Z k ′ T Z k ′ ] = 1 n 2 [ ∑ k , k ′ = 1 T Z k ′ T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k ′ + 1 P m M ] P k ′ Σ 1 2 Z k ′ T Z k ′ ] → P [ 1 ] P 1 n 2 [ ∑ k = 1 T Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] P k Σ 1 2 Z k T Z k ] = 1 n 2 [ ∑ k = 1 T Tr [ Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] P k Σ 1 2 Z k T Z k ] ] = 1 n 2 [ ∑ k = 1 T Tr [ Z k Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] P k Σ 1 2 Z k T ] ] → P [ 2 ] P v z n 2 [ ∑ k = 1 T Tr [ Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] P k Σ 1 2 Z k T ] ] = v z n 2 [ ∑ k = 1 T Tr [ P k Σ 1 2 Z k T Z k Σ 1 2 P k ] [ [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] ] ] . \begin{aligned}
&\frac{1}{n^2}\left[\sum_{k=1}^{T}Z_k^{\mathsf{T}}Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\sum_{k'=1}^{T}\left[\prod_{m=T}^{k'+1}P_mM\right]P_{k'}\Sigma^{\frac{1}{2}}Z_{k'}^{\mathsf{T}}Z_{k'}\right]\\
&=\frac{1}{n^2}\left[\sum_{k,k'=1}^{T}Z_{k'}^{\mathsf{T}}Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\left[\prod_{m=T}^{k'+1}P_mM\right]P_{k'}\Sigma^{\frac{1}{2}}Z_{k'}^{\mathsf{T}}Z_{k'}\right]\\
&\xrightarrow[\phantom{P}]{[1]\,P}\frac{1}{n^2}\left[\sum_{k=1}^{T}Z_k^{\mathsf{T}}Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}P_mM\right]P_k\Sigma^{\frac{1}{2}}Z_k^{\mathsf{T}}Z_k\right]\\
&=\frac{1}{n^2}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[Z_k^{\mathsf{T}}Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}P_mM\right]P_k\Sigma^{\frac{1}{2}}Z_k^{\mathsf{T}}Z_k\right]\right]\\
&=\frac{1}{n^2}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[Z_kZ_k^{\mathsf{T}}Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}P_mM\right]P_k\Sigma^{\frac{1}{2}}Z_k^{\mathsf{T}}\right]\right]\\
&\xrightarrow[\phantom{P}]{[2]\,P}\frac{v_z}{n^2}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[Z_k\Sigma^{\frac{1}{2}}P_k\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}P_mM\right]P_k\Sigma^{\frac{1}{2}}Z_k^{\mathsf{T}}\right]\right]\\
&=\frac{v_z}{n^2}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[P_k\Sigma^{\frac{1}{2}}Z_k^{\mathsf{T}}Z_k\Sigma^{\frac{1}{2}}P_k\right]\left[\left[\prod_{m=T}^{k+1}P_mM\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}P_mM\right]\right]\right].
\end{aligned} n 2 1 k = 1 ∑ T Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T k ′ = 1 ∑ T m = T ∏ k ′ + 1 P m M P k ′ Σ 2 1 Z k ′ T Z k ′ = n 2 1 k , k ′ = 1 ∑ T Z k ′ T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T m = T ∏ k ′ + 1 P m M P k ′ Σ 2 1 Z k ′ T Z k ′ [ 1 ] P P n 2 1 k = 1 ∑ T Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ] P k Σ 2 1 Z k T Z k = n 2 1 k = 1 ∑ T Tr Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ] P k Σ 2 1 Z k T Z k = n 2 1 k = 1 ∑ T Tr Z k Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ] P k Σ 2 1 Z k T [ 2 ] P P n 2 v z k = 1 ∑ T Tr Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ] P k Σ 2 1 Z k T = n 2 v z k = 1 ∑ T Tr [ P k Σ 2 1 Z k T Z k Σ 2 1 P k ] [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ] .
Where [1] and [2] follows since the noise z k z_k z k is sample independently of the data matrices X 1 , … , X T \mathbf{X}_1,\ldots,\mathbf{X}_T X 1 , … , X T and E [ z k z k T ] = v z I \mathbb{E}[z_kz_k^{\mathsf{T}}]=v_z\mathbf{I} E [ z k z k T ] = v z I , with the weak law of large numbers. Note that,
P k Σ 1 2 Z k T Z k Σ 1 2 P k = n 2 ( Σ 1 2 Z k T Z k Σ 1 2 + n M ) − 1 ( Σ 1 2 Z k T Z k Σ 1 2 + n M − n M ) ( Σ 1 2 Z k T Z k Σ 1 2 + n M ) − 1 = n ( P k − P k M P k ) . \begin{aligned}
\mathbf{P}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{P}_k \\
&= n^2\left(\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}+n\mathbf{M}\right)^{-1}\left(\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}+n\mathbf{M}-n\mathbf{M}\right)\left(\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}+n\mathbf{M}\right)^{-1} \\
&= n\left(\mathbf{P}_k-\mathbf{P}_k\mathbf{M}\mathbf{P}_k\right).
\end{aligned} P k Σ 2 1 Z k T Z k Σ 2 1 P k = n 2 ( Σ 2 1 Z k T Z k Σ 2 1 + n M ) − 1 ( Σ 2 1 Z k T Z k Σ 2 1 + n M − n M ) ( Σ 2 1 Z k T Z k Σ 2 1 + n M ) − 1 = n ( P k − P k M P k ) .
Therefore using Theorem 7 ,
1 n P k Σ 1 2 Z k T Z k Σ 1 2 P k = P ‾ k − P k M P k = M − 1 2 Q ‾ M − 1 2 − M − 1 2 Q 2 M − 1 2 = M − 1 2 ( Q ‾ − ( Q ‾ 2 + 1 n Tr [ Σ M − 1 Q ‾ 2 ] ) [ [ 1 + 1 n Tr ( Σ M − 1 Q ‾ ) ] 2 − 1 n Tr ( Σ M − 1 Q ‾ ) 2 ] − 1 Σ M − 1 Q ‾ 2 ) M − 1 2 . \begin{aligned}
\frac{1}{n}\mathbf{P}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{P}_k
= \overline{\mathbf{P}}_k-\mathbf{P}_k\mathbf{M}\mathbf{P}_k
= \mathbf{M}^{-\frac{1}{2}}\overline{\mathbf{Q}}\mathbf{M}^{-\frac{1}{2}}-\mathbf{M}^{-\frac{1}{2}}\mathbf{Q}^2\mathbf{M}^{-\frac{1}{2}} \\
&= \mathbf{M}^{-\frac{1}{2}}\left(\overline{\mathbf{Q}}-\left(\overline{\mathbf{Q}}^2+\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\mathbf{M}^{-1}\overline{\mathbf{Q}}^2\right]\right)\left[\left[1+\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}\mathbf{M}^{-1}\overline{\mathbf{Q}}\right)\right]^2-\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}\mathbf{M}^{-1}\overline{\mathbf{Q}}\right)^2\right]^{-1}\boldsymbol{\Sigma}\mathbf{M}^{-1}\overline{\mathbf{Q}}^2\right)\mathbf{M}^{-\frac{1}{2}}.
\end{aligned} n 1 P k Σ 2 1 Z k T Z k Σ 2 1 P k = P k − P k M P k = M − 2 1 Q M − 2 1 − M − 2 1 Q 2 M − 2 1 = M − 2 1 Q − ( Q 2 + n 1 Tr [ Σ M − 1 Q 2 ] ) [ [ 1 + n 1 Tr ( Σ M − 1 Q ) ] 2 − n 1 Tr ( Σ M − 1 Q ) 2 ] − 1 Σ M − 1 Q 2 M − 2 1 .
Since both [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] \left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right] [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] and P k Σ 1 2 Z k T Z k Σ 1 2 P k \mathbf{P}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{P}_k P k Σ 2 1 Z k T Z k Σ 2 1 P k have almost surely finite operator norm, then by the properties of deterministic equivalent we have
v z n 2 Tr [ ∑ k = 1 T P k Σ 1 2 Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] ] \frac{v_z}{n^2}\operatorname{Tr}\left[\sum_{k=1}^{T}\mathbf{P}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]\right] n 2 v z Tr k = 1 ∑ T P k Σ 2 1 Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ]
→ P v z n Tr [ ∑ k = 1 T 1 n P k Σ 1 2 Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] ] \xrightarrow{P}\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\frac{1}{n}\mathbf{P}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]\right] P n v z Tr k = 1 ∑ T n 1 P k Σ 2 1 Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ]
→ P v z n Tr [ ∑ k = 1 T 1 n P k Σ 1 2 Z k T Z k Σ 1 2 P k [ ∏ m = T k + 1 P m M ] T [ ∏ m = T k + 1 P m M ] ] , \xrightarrow{P}\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\frac{1}{n}\mathbf{P}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\boldsymbol{\Sigma}^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}\right]\right], P n v z Tr k = 1 ∑ T n 1 P k Σ 2 1 Z k T Z k Σ 2 1 P k [ m = T ∏ k + 1 P m M ] T [ m = T ∏ k + 1 P m M ] ,
where in each step we condition on the event that each one of the matrices has finite operator norm and then use Definition 3. Using
[ ∏ m = T k P m M m ] T [ ∏ m = T k P m M m ] = M 1 2 A k M 1 2 ≃ Q ‾ 2 ( T − k + 1 ) + ∑ i = k T Q ‾ 2 ( i − k + 1 ) μ ~ ρ ~ i , \left[\prod_{m=T}^{k}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k}\mathbf{P}_m\mathbf{M}_m\right]
= \mathbf{M}^{\frac{1}{2}}\mathbf{A}_k\mathbf{M}^{\frac{1}{2}}
\simeq\overline{\mathbf{Q}}^{2(T-k+1)}+\sum_{i=k}^{T}\overline{\mathbf{Q}}^{2(i-k+1)}\widetilde{\mu}\widetilde{\rho}_i, [ m = T ∏ k P m M m ] T [ m = T ∏ k P m M m ] = M 2 1 A k M 2 1 ≃ Q 2 ( T − k + 1 ) + i = k ∑ T Q 2 ( i − k + 1 ) μ ρ i ,
and combining all the terms in Equation (48) .
G T g e n → P ( w 0 − w ∗ ) T ( Q ‾ 2 T + ∑ k = 1 T Q ‾ 2 k μ ~ ρ ~ k ) ( w 0 − w ∗ ) + v z n Tr [ ∑ k = 1 T M − 1 Q ‾ [ I − Q ‾ [ I + 1 n Tr [ Σ M − 1 Q ‾ 2 ] μ ~ Σ M − 1 ] ] [ Q ‾ 2 ( T − k ) + ∑ i = k + 1 T Q ‾ 2 ( i − k ) μ ~ ρ ~ i ] ] . \begin{aligned}
G_T^{\mathrm{gen}}\xrightarrow{P}(\mathbf{w}_0-\mathbf{w}^{*})^{\mathsf{T}}\left(\overline{\mathbf{Q}}^{2T}+\sum_{k=1}^{T}\overline{\mathbf{Q}}^{2k}\widetilde{\mu}\widetilde{\rho}_k\right)(\mathbf{w}_0-\mathbf{w}^{*}) \\
&+\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\mathbf{M}^{-1}\overline{\mathbf{Q}}\left[\mathbf{I}-\overline{\mathbf{Q}}\left[\mathbf{I}+\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}\mathbf{M}^{-1}\overline{\mathbf{Q}}^2\right]\widetilde{\mu}\boldsymbol{\Sigma}\mathbf{M}^{-1}\right]\right]\left[\overline{\mathbf{Q}}^{2(T-k)}+\sum_{i=k+1}^{T}\overline{\mathbf{Q}}^{2(i-k)}\widetilde{\mu}\widetilde{\rho}_i\right]\right].
\end{aligned} G T gen P ( w 0 − w ∗ ) T ( Q 2 T + k = 1 ∑ T Q 2 k μ ρ k ) ( w 0 − w ∗ ) + n v z Tr [ k = 1 ∑ T M − 1 Q [ I − Q [ I + n 1 Tr [ Σ M − 1 Q 2 ] μ Σ M − 1 ] ] [ Q 2 ( T − k ) + i = k + 1 ∑ T Q 2 ( i − k ) μ ρ i ] ] .
Closed-Form Generalization Loss with Task-Dependent Diagonal Regularization
In this appendix, we provide an exact generalization analysis under arbitrary positive-definite diagonal regularization matrices { M t } t = 1 T \{\mathbf{M}_t\}_{t=1}^{T} { M t } t = 1 T (spectrally bounded). The resulting expression accommodates general task-dependent diagonal covariance matrices Σ t \boldsymbol{\Sigma}_t Σ t (spectrally bounded), in contrast to the isotropic setting considered in § 3 . Specifically, here we may assume that the data for task t t t is generated as X t = Z t Σ t 1 / 2 \mathbf{X}_t=\mathbf{Z}_t\boldsymbol{\Sigma}_t^{1/2} X t = Z t Σ t 1/2 , where Z t ∈ R n × d \mathbf{Z}_t \in\mathbb{R}^{n \times d} Z t ∈ R n × d has i.i.d. entries with zero mean and unit variance.
Theorem 8. Under Assumption 2, the generalization loss after T T T tasks of the generalized ridge algorithm (Algorithm 3) with task dependent diagonal regularization, satisfies, as n , d → ∞ n,d \to\infty n , d → ∞ ,
G T g e n → P ( w 0 − w ⋆ ) ⊤ [ [ ∏ m = 1 T Q ‾ m ] 2 + ∑ i = 2 T Σ i [ ∏ r = i T Q ‾ r ] 2 μ ~ i ρ ~ i + ρ ~ 1 μ ~ 1 Q ‾ 1 2 ] ( w 0 − w ⋆ ) G_T^{\mathrm{gen}} \xrightarrow{P} (\mathbf{w}_0-\mathbf{w}^\star)^\top\left[\left[\prod_{m=1}^{T}\overline{\mathbf{Q}}_m\right]^2+\sum_{i=2}^{T}\boldsymbol{\Sigma}_i\left[\prod_{r=i}^{T}\overline{\mathbf{Q}}_r\right]^2\widetilde{\mu}_i\widetilde{\rho}_i+\widetilde{\rho}_1\widetilde{\mu}_1\overline{\mathbf{Q}}_1^2\right](\mathbf{w}_0-\mathbf{w}^\star) G T gen P ( w 0 − w ⋆ ) ⊤ [ m = 1 ∏ T Q m ] 2 + i = 2 ∑ T Σ i [ r = i ∏ T Q r ] 2 μ i ρ i + ρ 1 μ 1 Q 1 2 ( w 0 − w ⋆ ) + v z n Tr [ ∑ k = 1 T Q ‾ k M k − 1 [ I − Q ‾ k [ I + 1 n Tr [ Σ k − 1 M k − 1 Q ‾ k 2 ] μ k M k − 1 ] +\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\overline{\mathbf{Q}}_k\mathbf{M}_k^{-1}\left[\mathbf{I}-\overline{\mathbf{Q}}_k\left[\mathbf{I}+\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}_k^{-1}\mathbf{M}_k^{-1}\overline{\mathbf{Q}}_k^2\right]\boldsymbol{\mu}_k\mathbf{M}_k^{-1}\right]\right.\right. + n v z Tr [ k = 1 ∑ T Q k M k − 1 [ I − Q k [ I + n 1 Tr [ Σ k − 1 M k − 1 Q k 2 ] μ k M k − 1 ] v z n Tr [ ∑ k = 1 T Q ‾ k M k − 1 [ ∏ m = k + 1 T Q ‾ m ] 2 + ∑ i = k + 2 T Σ i [ ∏ r = k + 1 T Q ‾ r ] 2 μ ~ i ρ ~ i + ρ ~ k + 1 μ ~ k + 1 Q ‾ k + 1 2 ] ] ] . (50) \phantom{\frac{v_z}{n}\operatorname{Tr}[\sum_{k=1}^{T}\overline{\mathbf{Q}}_k\mathbf{M}_k^{-1}}[\prod_{m=k+1}^{T}\overline{\mathbf{Q}}_m]^2+\sum_{i=k+2}^{T}\boldsymbol{\Sigma}_i[\prod_{r=k+1}^{T}\overline{\mathbf{Q}}_r]^2\widetilde{\mu}_i\widetilde{\rho}_i+\widetilde{\rho}_{k+1}\widetilde{\mu}_{k+1}\overline{\mathbf{Q}}_{k+1}^2]]]. \tag*{(50)} n v z Tr [ k = 1 ∑ T Q k M k − 1 [ m = k + 1 ∏ T Q m ] 2 + i = k + 2 ∑ T Σ i [ r = k + 1 ∏ T Q r ] 2 μ i ρ i + ρ k + 1 μ k + 1 Q k + 1 2 ]]] . (50) where Q ‾ j = ( I + m ~ p j ( − 1 ) Σ j M j − 1 ) − 1 \overline{\mathbf{Q}}_j=\left(\mathbf{I}+\widetilde{m}_p^j(-1)\boldsymbol{\Sigma}_j\mathbf{M}_j^{-1}\right)^{-1} Q j = ( I + m p j ( − 1 ) Σ j M j − 1 ) − 1 , with m ~ p j ( − 1 ) \widetilde{m}_p^j(-1) m p j ( − 1 ) being the unique positive solution of
1 m ~ p j ( − 1 ) = 1 + 1 n ∑ i = 1 d σ i j ( m i j ) − 1 1 + m ~ p j ( − 1 ) σ i j ( m i j ) − 1 , \frac{1}{\widetilde{m}_p^j(-1)}=1+\frac{1}{n}\sum_{i=1}^{d}\frac{\sigma_i^j(m_i^j)^{-1}}{1+\widetilde{m}_p^j(-1)\sigma_i^j(m_i^j)^{-1}}, m p j ( − 1 ) 1 = 1 + n 1 i = 1 ∑ d 1 + m p j ( − 1 ) σ i j ( m i j ) − 1 σ i j ( m i j ) − 1 , and,
ρ ~ j = 1 n Tr [ Σ j M j − 2 [ [ ∏ m = j T Q ‾ m ] 2 + ∑ i = j + 1 T Σ i [ ∏ r = j i Q ‾ r ] 2 μ ~ i ρ ~ i ] ] \widetilde{\rho}_j=\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}_j\mathbf{M}_j^{-2}\left[\left[\prod_{m=j}^{T}\overline{\mathbf{Q}}_m\right]^2+\sum_{i=j+1}^{T}\boldsymbol{\Sigma}_i\left[\prod_{r=j}^{i}\overline{\mathbf{Q}}_r\right]^2\widetilde{\mu}_i\widetilde{\rho}_i\right]\right] ρ j = n 1 Tr Σ j M j − 2 [ m = j ∏ T Q m ] 2 + i = j + 1 ∑ T Σ i [ r = j ∏ i Q r ] 2 μ i ρ i μ ~ j = [ [ 1 + 1 n Tr ( Σ j M j − 1 Q ‾ j ) 2 ] − 1 n Tr ( Σ j M j − 1 Q ‾ j ) 2 ] − 1 . \widetilde{\mu}_j=\left[\left[1+\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}_j\mathbf{M}_j^{-1}\overline{\mathbf{Q}}_j\right)^2\right]-\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}_j\mathbf{M}_j^{-1}\overline{\mathbf{Q}}_j\right)^2\right]^{-1}. μ j = [ [ 1 + n 1 Tr ( Σ j M j − 1 Q j ) 2 ] − n 1 Tr ( Σ j M j − 1 Q j ) 2 ] − 1 . Here σ i j , m i j \sigma_i^j,m_i^j σ i j , m i j denote respectively, the i i i ’th eigenvalues of the matrices Σ j , M j \boldsymbol{\Sigma}_j,\mathbf{M}_j Σ j , M j .
Proof. For each t ∈ [ 1 , T ] t \in[1,T] t ∈ [ 1 , T ] , we are interested in solving
w t g e n = min w ∈ R d 1 n ∥ X t w − y ∥ 2 2 + ∥ w − w t − 1 g e n ∥ M t 2 . \mathbf{w}_t^{\mathrm{gen}}=\min_{\mathbf{w}\in\mathbb{R}^d}\frac{1}{n}\left\|\mathbf{X}_t\mathbf{w}-\mathbf{y}\right\|_2^2+\left\|\mathbf{w}-\mathbf{w}_{t-1}^{\mathrm{gen}}\right\|_{\mathbf{M}_t}^2. w t gen = w ∈ R d min n 1 ∥ X t w − y ∥ 2 2 + w − w t − 1 gen M t 2 . By Lemma 8 we have,
w t g e n = ( 1 n X t ⊤ X t + M t ) − 1 ( 1 n X t ⊤ y + M t w t − 1 g e n ) \mathbf{w}_t^{\mathrm{gen}}=\left(\frac{1}{n}\mathbf{X}_t^\top\mathbf{X}_t+\mathbf{M}_t\right)^{-1}\left(\frac{1}{n}\mathbf{X}_t^\top\mathbf{y}+\mathbf{M}_t\mathbf{w}_{t-1}^{\mathrm{gen}}\right) w t gen = ( n 1 X t ⊤ X t + M t ) − 1 ( n 1 X t ⊤ y + M t w t − 1 gen ) so,
w T g e n − w ⋆ = ( 1 n X T ⊤ X T + M T ) − 1 ( 1 n X T ⊤ ( X T w ⋆ + z T ) + M T w T − 1 g e n ) − w ⋆ \mathbf{w}_T^{\mathrm{gen}}-\mathbf{w}^\star=\left(\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T+\mathbf{M}_T\right)^{-1}\left(\frac{1}{n}\mathbf{X}_T^\top\left(\mathbf{X}_T\mathbf{w}^\star+\mathbf{z}_T\right)+\mathbf{M}_T\mathbf{w}_{T-1}^{\mathrm{gen}}\right)-\mathbf{w}^\star w T gen − w ⋆ = ( n 1 X T ⊤ X T + M T ) − 1 ( n 1 X T ⊤ ( X T w ⋆ + z T ) + M T w T − 1 gen ) − w ⋆ = ( 1 n X T ⊤ X T + M T ) − 1 ( 1 n X T ⊤ ( X T w ⋆ + z T ) + M T w T − 1 g e n − ( 1 n X T ⊤ X T + M T ) w ⋆ ) =\left(\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T+\mathbf{M}_T\right)^{-1}\left(\frac{1}{n}\mathbf{X}_T^\top\left(\mathbf{X}_T\mathbf{w}^\star+\mathbf{z}_T\right)+\mathbf{M}_T\mathbf{w}_{T-1}^{\mathrm{gen}}-\left(\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T+\mathbf{M}_T\right)\mathbf{w}^\star\right) = ( n 1 X T ⊤ X T + M T ) − 1 ( n 1 X T ⊤ ( X T w ⋆ + z T ) + M T w T − 1 gen − ( n 1 X T ⊤ X T + M T ) w ⋆ ) = ( 1 n X T ⊤ X T + M T ) − 1 ( 1 n X T ⊤ z T + M T ( w T − 1 g e n − w ⋆ ) ) =\left(\frac{1}{n}\mathbf{X}_T^\top\mathbf{X}_T+\mathbf{M}_T\right)^{-1}\left(\frac{1}{n}\mathbf{X}_T^\top\mathbf{z}_T+\mathbf{M}_T\left(\mathbf{w}_{T-1}^{\mathrm{gen}}-\mathbf{w}^\star\right)\right) = ( n 1 X T ⊤ X T + M T ) − 1 ( n 1 X T ⊤ z T + M T ( w T − 1 gen − w ⋆ ) )
= P T M T ( w T − 1 g e n − w ⋆ ) + P T 1 n X T ⊤ z T = ⋯ = [ ∏ m = T 1 P m M m ] ( w 0 − w ⋆ ) + ∑ k = 1 T [ ∏ m = T k + 1 P m M m ] P k 1 n X k ⊤ z k \begin{aligned}
= \mathbf{P}_{T}\mathbf{M}_{T}\left(w^{\mathrm{gen}}_{T-1}-w^\star\right)+\mathbf{P}_{T}\frac{1}{n}\mathbf{X}_{T}^{\top}z_{T} \\
&= \cdots\\
&= \left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right](w_{0}-w^\star)+\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\frac{1}{n}\mathbf{X}_{k}^{\top}z_{k}
\end{aligned} = P T M T ( w T − 1 gen − w ⋆ ) + P T n 1 X T ⊤ z T = ⋯ = [ m = T ∏ 1 P m M m ] ( w 0 − w ⋆ ) + k = 1 ∑ T [ m = T ∏ k + 1 P m M m ] P k n 1 X k ⊤ z k
where P t = ( 1 n X t ⊤ X t + M t ) − 1 = M t − 1 2 ( I + 1 n M t − 1 2 X t ⊤ X t M t − 1 2 ) − 1 M t − 1 2 \mathbf{P}_{t}=\left(\frac{1}{n}\mathbf{X}_{t}^{\top}\mathbf{X}_{t}+\mathbf{M}_{t}\right)^{-1}=\mathbf{M}_{t}^{-\frac{1}{2}}\left(\mathbf{I}+\frac{1}{n}\mathbf{M}_{t}^{-\frac{1}{2}}\mathbf{X}_{t}^{\top}\mathbf{X}_{t}\mathbf{M}_{t}^{-\frac{1}{2}}\right)^{-1}\mathbf{M}_{t}^{-\frac{1}{2}} P t = ( n 1 X t ⊤ X t + M t ) − 1 = M t − 2 1 ( I + n 1 M t − 2 1 X t ⊤ X t M t − 2 1 ) − 1 M t − 2 1 for all t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] .
Note that X t \mathbf{X}_{t} X t can be re-written as X t = Z t Σ t 1 / 2 \mathbf{X}_{t}=\mathbf{Z}_{t}\boldsymbol{\Sigma}_{t}^{1/2} X t = Z t Σ t 1/2 where Z t \mathbf{Z}_{t} Z t has i.i.d. entries with zero mean and unit variance. Substituting into G T g e n = ∥ w T g e n − w ⋆ ∥ 2 G_{T}^{\mathrm{gen}}=\left\|w_{T}^{\mathrm{gen}}-w^\star\right\|^{2} G T gen = ∥ w T gen − w ⋆ ∥ 2 ,
G T g e n = [ [ ∏ m = T 1 P m M m ] ( w 0 − w ⋆ ) + ∑ k = 1 T [ ∏ m = T k + 1 P m M m ] P k 1 n X k ⊤ z k ] ⊤ G_{T}^{\mathrm{gen}}=\left[\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right](w_{0}-w^\star)+\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\frac{1}{n}\mathbf{X}_{k}^{\top}z_{k}\right]^{\top} G T gen = [ [ m = T ∏ 1 P m M m ] ( w 0 − w ⋆ ) + k = 1 ∑ T [ m = T ∏ k + 1 P m M m ] P k n 1 X k ⊤ z k ] ⊤
[ [ ∏ m = T 1 P m M m ] ( w 0 − w ⋆ ) + ∑ k = 1 T [ ∏ m = T k + 1 P m M m ] P k 1 n X k ⊤ z k ] = ( w 0 − w ⋆ ) ⊤ [ ∏ m = T 1 P m M m ] ⊤ [ ∏ m = T 1 P m M m ] ( w 0 − w ⋆ ) + v x n 2 ∑ k = 1 T z k ⊤ X k P k [ ∏ m = T k + 1 P m M m ] ⊤ ∑ k ′ = 1 T [ ∏ m = T k ′ + 1 P m M m ] P k ′ X k ′ ⊤ z k ′ . (51) \begin{aligned}
\left[\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right](w_{0}-w^\star)+\sum_{k=1}^{T}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\frac{1}{n}\mathbf{X}_{k}^{\top}z_{k}\right] \\
&=(w_{0}-w^\star)^{\top}\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\top}\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right](w_{0}-w^\star) \\
&+\frac{v_{x}}{n^{2}}\sum_{k=1}^{T}z_{k}^{\top}\mathbf{X}_{k}\mathbf{P}_{k}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\top}\sum_{k'=1}^{T}\left[\prod_{m=T}^{k'+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k'}\mathbf{X}_{k'}^{\top}z_{k'}. \tag*{(51)}
\end{aligned} [ [ m = T ∏ 1 P m M m ] ( w 0 − w ⋆ ) + k = 1 ∑ T [ m = T ∏ k + 1 P m M m ] P k n 1 X k ⊤ z k ] = ( w 0 − w ⋆ ) ⊤ [ m = T ∏ 1 P m M m ] ⊤ [ m = T ∏ 1 P m M m ] ( w 0 − w ⋆ ) + n 2 v x k = 1 ∑ T z k ⊤ X k P k [ m = T ∏ k + 1 P m M m ] ⊤ k ′ = 1 ∑ T m = T ∏ k ′ + 1 P m M m P k ′ X k ′ ⊤ z k ′ . (51)
Let A k : = M k − 1 2 [ ∏ m = T k + 1 P m M m ] ⊤ [ ∏ m = T k + 1 P m M m ] M k − 1 2 \mathbf{A}_{k}:=\mathbf{M}_{k}^{-\frac{1}{2}}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\top}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{M}_{k}^{-\frac{1}{2}} A k := M k − 2 1 [ ∏ m = T k + 1 P m M m ] ⊤ [ ∏ m = T k + 1 P m M m ] M k − 2 1 . Using this definition we can find the equivalent to [ ∏ m = T 1 P m M m ] ⊤ [ ∏ m = T 1 P m M m ] \left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\top}\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right] [ ∏ m = T 1 P m M m ] ⊤ [ ∏ m = T 1 P m M m ] , in the following manner,
[ ∏ m = T 1 P m M m ] ⊤ [ ∏ m = T 1 P m M m ] = M 1 [ P 1 ⋯ M T P T P T ⋯ P 1 ] M 1 = M 1 1 2 [ M 1 1 2 P 1 M 1 1 2 ⏟ Q 1 ( − 1 ) M 1 − 1 2 M 2 ⋯ M T P T P T M T ⋯ M 2 M 1 − 1 2 ⏟ A 1 M 1 1 2 P 1 M 1 1 2 ⏟ Q 1 ( − 1 ) ] M 1 1 2 (52) \begin{aligned}
\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\top}\left[\prod_{m=T}^{1}\mathbf{P}_{m}\mathbf{M}_{m}\right]
=\mathbf{M}_{1}\left[\mathbf{P}_{1}\cdots\mathbf{M}_{T}\mathbf{P}_{T}\mathbf{P}_{T}\cdots\mathbf{P}_{1}\right]\mathbf{M}_{1} \\
&=\mathbf{M}_{1}^{\frac{1}{2}}\left[\underbrace{\mathbf{M}_{1}^{\frac{1}{2}}\mathbf{P}_{1}\mathbf{M}_{1}^{\frac{1}{2}}}_{\mathbf{Q}_{1}(-1)}\underbrace{\mathbf{M}_{1}^{-\frac{1}{2}}\mathbf{M}_{2}\cdots\mathbf{M}_{T}\mathbf{P}_{T}\mathbf{P}_{T}\mathbf{M}_{T}\cdots\mathbf{M}_{2}\mathbf{M}_{1}^{-\frac{1}{2}}}_{\mathbf{A}_{1}}\underbrace{\mathbf{M}_{1}^{\frac{1}{2}}\mathbf{P}_{1}\mathbf{M}_{1}^{\frac{1}{2}}}_{\mathbf{Q}_{1}(-1)}\right]\mathbf{M}_{1}^{\frac{1}{2}} \tag*{(52)}
\end{aligned} [ m = T ∏ 1 P m M m ] ⊤ [ m = T ∏ 1 P m M m ] = M 1 [ P 1 ⋯ M T P T P T ⋯ P 1 ] M 1 = M 1 2 1 Q 1 ( − 1 ) M 1 2 1 P 1 M 1 2 1 A 1 M 1 − 2 1 M 2 ⋯ M T P T P T M T ⋯ M 2 M 1 − 2 1 Q 1 ( − 1 ) M 1 2 1 P 1 M 1 2 1 M 1 2 1 (52)
where we let Q t ( z ) : = ( 1 n M t − 1 2 Σ t 1 2 Z ⊤ Z Σ t 1 2 M t − 1 2 − z I ) − 1 \mathbf{Q}_{t}(z):=\left(\frac{1}{n}\mathbf{M}_{t}^{-\frac{1}{2}}\mathbf{\Sigma}_{t}^{\frac{1}{2}}\mathbf{Z}^{\top}\mathbf{Z}\mathbf{\Sigma}_{t}^{\frac{1}{2}}\mathbf{M}_{t}^{-\frac{1}{2}}-z\mathbf{I}\right)^{-1} Q t ( z ) := ( n 1 M t − 2 1 Σ t 2 1 Z ⊤ Z Σ t 2 1 M t − 2 1 − z I ) − 1 with Z \mathbf{Z} Z having i.i.d. entries with zero mean and unit variance, then by Theorem 6, Q t ( − 1 ) \mathbf{Q}_{t}(-1) Q t ( − 1 ) admits a deterministic equivalent, where,
Q t ( − 1 ) ≃ Q ‾ t ( − 1 ) = ( I + m ~ p t ( − 1 ) Σ t M t − 1 ) − 1 \mathbf{Q}_{t}(-1)\simeq\overline{\mathbf{Q}}_{t}(-1)=\left(\mathbf{I}+\widetilde{m}_{p}^{t}(-1)\boldsymbol{\Sigma}_{t}\mathbf{M}_{t}^{-1}\right)^{-1} Q t ( − 1 ) ≃ Q t ( − 1 ) = ( I + m p t ( − 1 ) Σ t M t − 1 ) − 1
and
1 m ~ p t ( − 1 ) = 1 + 1 n ∑ i = 1 d σ i t ( m i t ) − 1 1 + m ~ p t ( − 1 ) σ i t ( m i t ) − 1 . \frac{1}{\widetilde{m}_{p}^{t}(-1)}=1+\frac{1}{n}\sum_{i=1}^{d}\frac{\sigma_{i}^{t}(m_{i}^{t})^{-1}}{1+\widetilde{m}_{p}^{t}(-1)\sigma_{i}^{t}(m_{i}^{t})^{-1}}. m p t ( − 1 ) 1 = 1 + n 1 i = 1 ∑ d 1 + m p t ( − 1 ) σ i t ( m i t ) − 1 σ i t ( m i t ) − 1 .
Here σ i t , m i t \sigma_{i}^{t},m_{i}^{t} σ i t , m i t denote respectively, the i i i ’th eigenvalues of the matrices Σ t , M t \boldsymbol{\Sigma}_{t},\mathbf{M}_{t} Σ t , M t . For notational convenience, we set Q t : = Q t ( − 1 ) \mathbf{Q}_{t}:=\mathbf{Q}_{t}(-1) Q t := Q t ( − 1 ) , and Q ‾ t : = Q ‾ t ( − 1 ) \overline{\mathbf{Q}}_{t}:=\overline{\mathbf{Q}}_{t}(-1) Q t := Q t ( − 1 ) . Both matrices are diagonal since both Σ t \boldsymbol{\Sigma}_{t} Σ t and M t \mathbf{M}_{t} M t are diagonal for all t ∈ [ 1 , T ] t\in[1,T] t ∈ [ 1 , T ] . Moreover, as previously mentioned, we note that under our standing assumption, we have σ i t = v x \sigma_{i}^{t}=v_{x} σ i t = v x , for all i i i and t t t . Nevertheless, our analysis accommodates non-isotropic covariance matrices.
Using Theorem 7, we get,
A k = M k − 1 2 [ ∏ m = T k + 1 P m M m ] ⊤ [ ∏ m = T k + 1 P m M m ] M k − 1 2 ≃ M k − 1 2 M k + 1 1 2 ( Q ‾ k + 1 A k + 1 Q ‾ k + 1 + μ ~ k + 1 ρ ~ k + 1 D k + 1 ) M k + 1 1 2 M k − 1 2 \begin{aligned}
\mathbf{A}_{k}=\mathbf{M}_{k}^{-\frac{1}{2}}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\top}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{M}_{k}^{-\frac{1}{2}} \\
&\simeq\mathbf{M}_{k}^{-\frac{1}{2}}\mathbf{M}_{k+1}^{\frac{1}{2}}\left(\overline{\mathbf{Q}}_{k+1}\mathbf{A}_{k+1}\overline{\mathbf{Q}}_{k+1}+\widetilde{\mu}_{k+1}\widetilde{\rho}_{k+1}\mathbf{D}_{k+1}\right)\mathbf{M}_{k+1}^{\frac{1}{2}}\mathbf{M}_{k}^{-\frac{1}{2}}
\end{aligned} A k = M k − 2 1 [ m = T ∏ k + 1 P m M m ] ⊤ [ m = T ∏ k + 1 P m M m ] M k − 2 1 ≃ M k − 2 1 M k + 1 2 1 ( Q k + 1 A k + 1 Q k + 1 + μ k + 1 ρ k + 1 D k + 1 ) M k + 1 2 1 M k − 2 1
M ~ k − 1 2 M k + 1 1 2 ( Q ‾ k + 1 ( M k + 1 − 1 2 M k + 2 1 2 ( Q ‾ k + 2 A k + 2 Q ‾ k + 2 + μ ~ k + 2 ρ ~ k + 2 D k + 2 ) M k + 2 1 2 M k + 2 − 1 2 Q ‾ k + 1 + μ ~ k + 1 ρ ~ k + 1 D k + 1 ) M k + 1 1 2 M k − 1 2 \widetilde{\mathbf{M}}_{k}^{-\frac{1}{2}}\mathbf{M}_{k+1}^{\frac{1}{2}}(\overline{\mathbf{Q}}_{k+1}(\mathbf{M}_{k+1}^{-\frac{1}{2}}\mathbf{M}_{k+2}^{\frac{1}{2}}(\overline{\mathbf{Q}}_{k+2}\mathbf{A}_{k+2}\overline{\mathbf{Q}}_{k+2}+\widetilde{\mu}_{k+2}\widetilde{\rho}_{k+2}\mathbf{D}_{k+2})\mathbf{M}_{k+2}^{\frac{1}{2}}\mathbf{M}_{k+2}^{-\frac{1}{2}}\overline{\mathbf{Q}}_{k+1}+\widetilde{\mu}_{k+1}\widetilde{\rho}_{k+1}\mathbf{D}_{k+1})\mathbf{M}_{k+1}^{\frac{1}{2}}\mathbf{M}_{k}^{-\frac{1}{2}} M k − 2 1 M k + 1 2 1 ( Q k + 1 ( M k + 1 − 2 1 M k + 2 2 1 ( Q k + 2 A k + 2 Q k + 2 + μ k + 2 ρ k + 2 D k + 2 ) M k + 2 2 1 M k + 2 − 2 1 Q k + 1 + μ k + 1 ρ k + 1 D k + 1 ) M k + 1 2 1 M k − 2 1
M ~ k − 1 2 M T 1 2 [ ∏ m = k + 1 T Q ‾ m ] A T M T − 1 [ ∏ m = k + 1 T Q ‾ m ] M T 1 2 M k − 1 2 + M k − 1 2 ∑ i = k + 1 T M i 1 2 [ ∏ r = k + 1 i − 1 Q ‾ r ] μ ~ i ρ ~ i D i [ ∏ r = k + 1 i − 1 Q ‾ r ] M i 1 2 M k − 1 2 , \begin{aligned}
\widetilde{\mathbf{M}}_{k}^{-\frac{1}{2}}\mathbf{M}_{T}^{\frac{1}{2}}\left[\prod_{m=k+1}^{T}\overline{\mathbf{Q}}_{m}\right]\mathbf{A}_{T}\mathbf{M}_{T}^{-1}\left[\prod_{m=k+1}^{T}\overline{\mathbf{Q}}_{m}\right]\mathbf{M}_{T}^{\frac{1}{2}}\mathbf{M}_{k}^{-\frac{1}{2}} \\
&+\mathbf{M}_{k}^{-\frac{1}{2}}\sum_{i=k+1}^{T}\mathbf{M}_{i}^{\frac{1}{2}}\left[\prod_{r=k+1}^{i-1}\overline{\mathbf{Q}}_{r}\right]\widetilde{\mu}_{i}\widetilde{\rho}_{i}\mathbf{D}_{i}\left[\prod_{r=k+1}^{i-1}\overline{\mathbf{Q}}_{r}\right]\mathbf{M}_{i}^{\frac{1}{2}}\mathbf{M}_{k}^{-\frac{1}{2}},
\end{aligned} M k − 2 1 M T 2 1 [ m = k + 1 ∏ T Q m ] A T M T − 1 [ m = k + 1 ∏ T Q m ] M T 2 1 M k − 2 1 + M k − 2 1 i = k + 1 ∑ T M i 2 1 [ r = k + 1 ∏ i − 1 Q r ] μ i ρ i D i [ r = k + 1 ∏ i − 1 Q r ] M i 2 1 M k − 2 1 ,
where
ρ ~ k = 1 n Tr [ Σ k M k − 1 Q ‾ k A k Q ‾ k ] , \widetilde{\rho}_{k}=\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}\mathbf{A}_{k}\overline{\mathbf{Q}}_{k}\right], ρ k = n 1 Tr [ Σ k M k − 1 Q k A k Q k ] ,
μ ~ k = [ ( 1 + 1 n Tr ( Σ k M k − 1 Q ‾ k ) ) 2 − 1 n Tr ( Σ k M k − 1 Q ‾ k ) 2 ] − 1 , \widetilde{\mu}_{k}=\left[\left(1+\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}\right)\right)^{2}-\frac{1}{n}\operatorname{Tr}\left(\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}\right)^{2}\right]^{-1}, μ k = [ ( 1 + n 1 Tr ( Σ k M k − 1 Q k ) ) 2 − n 1 Tr ( Σ k M k − 1 Q k ) 2 ] − 1 ,
D k = Q ‾ k Σ k M k − 1 Q ‾ k . \mathbf{D}_{k}=\overline{\mathbf{Q}}_{k}\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}. D k = Q k Σ k M k − 1 Q k .
Substituting back into (52) and using Proposition 1,
[ ∏ m = T k P m M m ] T [ ∏ m = T k P m M m ] = M k 1 2 Q k A k Q k M k 1 2 ≃ M k 1 2 [ Q ‾ k A k Q ‾ k + ρ ~ k μ ~ k Q ‾ k Σ k M k − 1 Q ‾ k ] M k 1 2 ≃ [ ∏ m = k T Q ‾ m ] 2 + ∑ i = k + 1 T [ ∏ r = k i Q ‾ r ] 2 Σ i μ ~ i ρ ~ i Σ k Q ‾ k 2 . (53) \begin{aligned}
\left[\prod_{m=T}^{k}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k}\mathbf{P}_{m}\mathbf{M}_{m}\right]=\mathbf{M}_{k}^{\frac{1}{2}}\mathbf{Q}_{k}\mathbf{A}_{k}\mathbf{Q}_{k}\mathbf{M}_{k}^{\frac{1}{2}} \\
&\simeq\mathbf{M}_{k}^{\frac{1}{2}}\left[\overline{\mathbf{Q}}_{k}\mathbf{A}_{k}\overline{\mathbf{Q}}_{k}+\widetilde{\rho}_{k}\widetilde{\mu}_{k}\overline{\mathbf{Q}}_{k}\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}\right]\mathbf{M}_{k}^{\frac{1}{2}} \\
&\simeq\left[\prod_{m=k}^{T}\overline{\mathbf{Q}}_{m}\right]^{2}+\sum_{i=k+1}^{T}\left[\prod_{r=k}^{i}\overline{\mathbf{Q}}_{r}\right]^{2}\boldsymbol{\Sigma}_{i}\widetilde{\mu}_{i}\widetilde{\rho}_{i}\boldsymbol{\Sigma}_{k}\overline{\mathbf{Q}}_{k}^{2}. \tag*{(53)}
\end{aligned} [ m = T ∏ k P m M m ] T [ m = T ∏ k P m M m ] = M k 2 1 Q k A k Q k M k 2 1 ≃ M k 2 1 [ Q k A k Q k + ρ k μ k Q k Σ k M k − 1 Q k ] M k 2 1 ≃ [ m = k ∏ T Q m ] 2 + i = k + 1 ∑ T [ r = k ∏ i Q r ] 2 Σ i μ i ρ i Σ k Q k 2 . (53)
Additionally, using Proposition 1, we have,
ρ ~ k = 1 n Tr [ Σ k M k − 1 Q ‾ k A k Q ‾ k ] = 1 n Tr [ M k − 1 Q ‾ k 2 A k ] → 1 n Tr [ Σ k M k − 2 [ [ ∏ m = k T Q ‾ m ] 2 + ∑ i = k + 1 T Σ i [ ∏ r = k i Q ‾ r ] 2 μ ~ i ρ ~ i ] ] . \begin{aligned}
\widetilde{\rho}_{k}=\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}\mathbf{A}_{k}\overline{\mathbf{Q}}_{k}\right]=\frac{1}{n}\operatorname{Tr}\left[\mathbf{M}_{k}^{-1}\overline{\mathbf{Q}}_{k}^{2}\mathbf{A}_{k}\right] \\
&\to\frac{1}{n}\operatorname{Tr}\left[\boldsymbol{\Sigma}_{k}\mathbf{M}_{k}^{-2}\left[\left[\prod_{m=k}^{T}\overline{\mathbf{Q}}_{m}\right]^{2}+\sum_{i=k+1}^{T}\boldsymbol{\Sigma}_{i}\left[\prod_{r=k}^{i}\overline{\mathbf{Q}}_{r}\right]^{2}\widetilde{\mu}_{i}\widetilde{\rho}_{i}\right]\right].
\end{aligned} ρ k = n 1 Tr [ Σ k M k − 1 Q k A k Q k ] = n 1 Tr [ M k − 1 Q k 2 A k ] → n 1 Tr Σ k M k − 2 [ m = k ∏ T Q m ] 2 + i = k + 1 ∑ T Σ i [ r = k ∏ i Q r ] 2 μ i ρ i .
almost surely.
And term 2 in (51) is,
1 n 2 [ ∑ k , k ′ = 1 T z k T W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k ′ + 1 P m M m ] P k ′ Σ k ′ 1 2 W k ′ T z k ′ \frac{1}{n^{2}}[\sum_{k,k'=1}^{T}\mathbf{z}_{k}^{\mathsf{T}}\mathbf{W}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{P}_{k}[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}]^{\mathsf{T}}[\prod_{m=T}^{k'+1}\mathbf{P}_{m}\mathbf{M}_{m}]\mathbf{P}_{k'}\boldsymbol{\Sigma}_{k'}^{\frac{1}{2}}\mathbf{W}_{k'}^{\mathsf{T}}\mathbf{z}_{k'} n 2 1 [ k , k ′ = 1 ∑ T z k T W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k ′ + 1 P m M m ] P k ′ Σ k ′ 2 1 W k ′ T z k ′
→ [ 1 ] 1 n 2 ∑ k = 1 T z k T W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] P k Σ k 1 2 W k T z k = 1 n 2 [ ∑ k = 1 T Tr [ z k T W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] P k Σ k 1 2 W k T z k ] ] = 1 n 2 [ ∑ k = 1 T Tr [ z k z k T W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] P k Σ k 1 2 W k T ] ] = 1 n 2 ∑ k = 1 T Tr [ z k z k T [ W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] P k Σ k 1 2 W k T ] ] \begin{aligned}
\xrightarrow{[1]}\frac{1}{n^{2}}\sum_{k=1}^{T}\mathbf{z}_{k}^{\mathsf{T}}\mathbf{W}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{P}_{k}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{W}_{k}^{\mathsf{T}}\mathbf{z}_{k} \\
&=\frac{1}{n^{2}}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[\mathbf{z}_{k}^{\mathsf{T}}\mathbf{W}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{P}_{k}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{W}_{k}^{\mathsf{T}}\mathbf{z}_{k}\right]\right] \\
&=\frac{1}{n^{2}}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[\mathbf{z}_{k}\mathbf{z}_{k}^{\mathsf{T}}\mathbf{W}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{P}_{k}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{W}_{k}^{\mathsf{T}}\right]\right] \\
&=\frac{1}{n^{2}}\sum_{k=1}^{T}\operatorname{Tr}\left[\mathbf{z}_{k}\mathbf{z}_{k}^{\mathsf{T}}\left[\mathbf{W}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{P}_{k}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_{m}\mathbf{M}_{m}\right]\mathbf{P}_{k}\boldsymbol{\Sigma}_{k}^{\frac{1}{2}}\mathbf{W}_{k}^{\mathsf{T}}\right]\right]
\end{aligned} [ 1 ] n 2 1 k = 1 ∑ T z k T W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] P k Σ k 2 1 W k T z k = n 2 1 k = 1 ∑ T Tr z k T W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] P k Σ k 2 1 W k T z k = n 2 1 k = 1 ∑ T Tr z k z k T W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] P k Σ k 2 1 W k T = n 2 1 k = 1 ∑ T Tr z k z k T W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] P k Σ k 2 1 W k T
P [ 2 ] → v z n 2 [ ∑ k = 1 T Tr [ W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] P k Σ k 1 2 W k T ] ] = v z n 2 [ ∑ k = 1 T Tr [ P k Σ k 1 2 W k T W k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] ] ] = v z n 2 Tr [ ∑ k = 1 T [ P k Σ k 1 2 W k T W k Σ k 1 2 P k ] [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] ] . \overset{[2]}{P}\to\frac{v_z}{n^2}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[\mathbf{W}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\right]\right]
= \frac{v_z}{n^2}\left[\sum_{k=1}^{T}\operatorname{Tr}\left[\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]\right]\right]
= \frac{v_z}{n^2}\operatorname{Tr}\left[\sum_{k=1}^{T}\left[\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k\right]\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]\right]. P [ 2 ] → n 2 v z k = 1 ∑ T Tr W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] P k Σ k 2 1 W k T = n 2 v z k = 1 ∑ T Tr P k Σ k 2 1 W k T W k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] = n 2 v z Tr k = 1 ∑ T [ P k Σ k 2 1 W k T W k Σ k 2 1 P k ] [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] .
where [1] and [2] follows since the noise z k \mathbf{z}_k z k is sample independently of the data matrices X 1 , … , X T \mathbf{X}_1,\ldots,\mathbf{X}_T X 1 , … , X T and E [ z k z k T ] = v z I \mathbb{E}[\mathbf{z}_k\mathbf{z}_k^{\mathsf{T}}]=v_z\mathbf{I} E [ z k z k T ] = v z I with the weak law of large numbers.
We already know the equivalent corresponding to [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] \left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right] [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] from (53) . Hence, we now focus on the remaining term.
P k Σ k 1 2 W k T W k Σ k 1 2 P k = n 2 ( Σ k 1 2 W k T W k Σ k 1 2 + n M k ) − 1 ( Σ k 1 2 W k T W k Σ k 1 2 + n M k − n M k ) ( Σ k 1 2 W k T W k Σ k 1 2 + n M k ) − 1 = n ( P k − P k M k P k ) . \mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k
= n^2\left(\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}+n\mathbf{M}_k\right)^{-1}
\left(\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}+n\mathbf{M}_k-n\mathbf{M}_k\right)
\left(\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}+n\mathbf{M}_k\right)^{-1}
= n\left(\mathbf{P}_k-\mathbf{P}_k\mathbf{M}_k\mathbf{P}_k\right). P k Σ k 2 1 W k T W k Σ k 2 1 P k = n 2 ( Σ k 2 1 W k T W k Σ k 2 1 + n M k ) − 1 ( Σ k 2 1 W k T W k Σ k 2 1 + n M k − n M k ) ( Σ k 2 1 W k T W k Σ k 2 1 + n M k ) − 1 = n ( P k − P k M k P k ) .
Thus,
1 n P k Σ k 1 2 W k T W k Σ k 1 2 P k = M ‾ k − 1 2 Q ‾ k M ‾ k − 1 2 − M ‾ k − 1 2 Q ‾ k 2 M ‾ k − 1 2 = M ‾ k − 1 2 ( Q ‾ k − [ Q ‾ k 2 + 1 n Tr [ Σ k M k − 1 Q ‾ k 2 ] ] \frac{1}{n}\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{W}_k^{\mathsf{T}}\mathbf{W}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k
= \overline{\mathbf{M}}_k^{-\frac{1}{2}}\overline{\mathbf{Q}}_k\overline{\mathbf{M}}_k^{-\frac{1}{2}}
-\overline{\mathbf{M}}_k^{-\frac{1}{2}}\overline{\mathbf{Q}}_k^2\overline{\mathbf{M}}_k^{-\frac{1}{2}}
= \overline{\mathbf{M}}_k^{-\frac{1}{2}}\left(\overline{\mathbf{Q}}_k-\left[\overline{\mathbf{Q}}_k^2+\frac{1}{n}\operatorname{Tr}\left[\Sigma_k\mathbf{M}_k^{-1}\overline{\mathbf{Q}}_k^2\right]\right]\right. n 1 P k Σ k 2 1 W k T W k Σ k 2 1 P k = M k − 2 1 Q k M k − 2 1 − M k − 2 1 Q k 2 M k − 2 1 = M k − 2 1 ( Q k − [ Q k 2 + n 1 Tr [ Σ k M k − 1 Q k 2 ] ]
[ [ 1 + 1 n Tr ( Σ k M k − 1 Q ‾ k ) ] 2 − 1 n Tr ( Σ k M k − 1 Q ‾ k ) 2 ] − 1 Σ k M k − 1 Q ‾ k ) M ‾ k − 1 2 . \left.\left[\left[1+\frac{1}{n}\operatorname{Tr}\left(\Sigma_k\mathbf{M}_k^{-1}\overline{\mathbf{Q}}_k\right)\right]^2-\frac{1}{n}\operatorname{Tr}\left(\Sigma_k\mathbf{M}_k^{-1}\overline{\mathbf{Q}}_k\right)^2\right]^{-1}\Sigma_k\mathbf{M}_k^{-1}\overline{\mathbf{Q}}_k\right)\overline{\mathbf{M}}_k^{-\frac{1}{2}}. [ [ 1 + n 1 Tr ( Σ k M k − 1 Q k ) ] 2 − n 1 Tr ( Σ k M k − 1 Q k ) 2 ] − 1 Σ k M k − 1 Q k M k − 2 1 .
Since both [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] \left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right] [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] and P k Σ k 1 2 Z k T Z k Σ k 1 2 P k \mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k P k Σ k 2 1 Z k T Z k Σ k 2 1 P k have almost surely finite operator norm, then by the properties of deterministic equivalent we have
v z n 2 Tr [ ∑ k = 1 T P k Σ k 1 2 Z k T Z k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] ] \frac{v_z}{n^2}\operatorname{Tr}\left[\sum_{k=1}^{T}\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]\right] n 2 v z Tr k = 1 ∑ T P k Σ k 2 1 Z k T Z k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ]
→ P v z n Tr [ ∑ k = 1 T 1 n P k Σ k 1 2 Z k T Z k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] ] \overset{P}{\to}\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\frac{1}{n}\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]\right] → P n v z Tr k = 1 ∑ T n 1 P k Σ k 2 1 Z k T Z k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ]
→ P v z n Tr [ ∑ k = 1 T 1 n P k Σ k 1 2 Z k T Z k Σ k 1 2 P k [ ∏ m = T k + 1 P m M m ] T [ ∏ m = T k + 1 P m M m ] ] , \overset{P}{\to}\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\frac{1}{n}\mathbf{P}_k\Sigma_k^{\frac{1}{2}}\mathbf{Z}_k^{\mathsf{T}}\mathbf{Z}_k\Sigma_k^{\frac{1}{2}}\mathbf{P}_k\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]^{\mathsf{T}}\left[\prod_{m=T}^{k+1}\mathbf{P}_m\mathbf{M}_m\right]\right], → P n v z Tr k = 1 ∑ T n 1 P k Σ k 2 1 Z k T Z k Σ k 2 1 P k [ m = T ∏ k + 1 P m M m ] T [ m = T ∏ k + 1 P m M m ] ,
where in each step we condition on the event that each one of the matrices has finite operator norm and then use Definition 3. Summing the terms, we get
G T g e n → P ( w 0 − w ∗ ) T [ [ ∏ m = 1 T Q ‾ m ] 2 + ∑ i = 2 T Σ i [ ∏ r = 1 i Q ‾ r ] 2 μ ~ i ρ ~ i + ρ ~ 1 μ ~ 1 Q ‾ 1 2 ] ( w 0 − w ∗ ) + v z n Tr [ ∑ k = 1 T Q ‾ k M k − 1 [ I − Q ‾ k [ I + 1 n Tr [ Σ k − 1 M k − 1 Q ‾ k 2 ] μ ~ k M k − 1 ] ] ] + [ [ ∏ m = k + 1 T Q ‾ m ] 2 + ∑ i = k + 2 T Σ i [ ∏ r = k + 1 i Q ‾ r ] 2 [ μ ~ i ρ ~ i + κ ~ k + 1 μ ~ k + 1 Q ‾ k + 1 2 ] ] . \begin{aligned}
G_T^{\mathrm{gen}}\overset{P}{\to}(\mathbf{w}_0-\mathbf{w}^{\ast})^{\mathsf{T}}\left[\left[\prod_{m=1}^{T}\overline{\mathbf{Q}}_m\right]^2+\sum_{i=2}^{T}\Sigma_i\left[\prod_{r=1}^{i}\overline{\mathbf{Q}}_r\right]^2\widetilde{\mu}_i\widetilde{\rho}_i+\widetilde{\rho}_1\widetilde{\mu}_1\overline{\mathbf{Q}}_1^2\right](\mathbf{w}_0-\mathbf{w}^{\ast}) \\
&+\frac{v_z}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\overline{\mathbf{Q}}_k\mathbf{M}_k^{-1}\left[\mathbf{I}-\overline{\mathbf{Q}}_k\left[\mathbf{I}+\frac{1}{n}\operatorname{Tr}\left[\Sigma_k^{-1}\mathbf{M}_k^{-1}\overline{\mathbf{Q}}_k^2\right]\widetilde{\mu}_k\mathbf{M}_k^{-1}\right]\right]\right] \\
&+\left[\left[\prod_{m=k+1}^{T}\overline{\mathbf{Q}}_m\right]^2+\sum_{i=k+2}^{T}\Sigma_i\left[\prod_{r=k+1}^{i}\overline{\mathbf{Q}}_r\right]^2\left[\widetilde{\mu}_i\widetilde{\rho}_i+\widetilde{\kappa}_{k+1}\widetilde{\mu}_{k+1}\overline{\mathbf{Q}}_{k+1}^2\right]\right].
\end{aligned} G T gen → P ( w 0 − w ∗ ) T [ m = 1 ∏ T Q m ] 2 + i = 2 ∑ T Σ i [ r = 1 ∏ i Q r ] 2 μ i ρ i + ρ 1 μ 1 Q 1 2 ( w 0 − w ∗ ) + n v z Tr [ k = 1 ∑ T Q k M k − 1 [ I − Q k [ I + n 1 Tr [ Σ k − 1 M k − 1 Q k 2 ] μ k M k − 1 ] ] ] + [ m = k + 1 ∏ T Q m ] 2 + i = k + 2 ∑ T Σ i [ r = k + 1 ∏ i Q r ] 2 [ μ i ρ i + κ k + 1 μ k + 1 Q k + 1 2 ] .
Proof of Theorem 4: A Failure of Isotropic Ridge Under Sparse Teachers
Recall Theorem 4. Assume that α : = n d < 1 \alpha:= \frac{n}{d} < 1 α := d n < 1 . Let w 1 ⋆ − w 0 \mathbf{w}_1^\star-\mathbf{w}_0 w 1 ⋆ − w 0 be k k k -sparse with support S S S so that w 1 ⋆ ≠ w 0 \mathbf{w}_1^\star\ne\mathbf{w}_0 w 1 ⋆ = w 0 , and assume that X S X_S X S (the submatrix of X X X consisting of the columns indexed by S S S ) has full column rank, then as n , d → ∞ n,d\to\infty n , d → ∞ after a single task with no noise, it holds almost surely that,
sup M ∈ M inf λ > 0 G 1 r i d g e G 1 g e n = ∞ . \sup_{\mathcal{M}\in\mathcal{M}}\inf_{\lambda>0}\frac{G_1^{\mathrm{ridge}}}{G_1^{\mathrm{gen}}}=\infty. M ∈ M sup λ > 0 inf G 1 gen G 1 ridge = ∞.
where M = ⋃ 0 < l ≤ u < ∞ { M : l I d ⪯ M ⪯ u I d } \mathcal{M}=\bigcup_{0<l\le u<\infty}\{\mathbf{M}:lI_d\preceq\mathbf{M}\preceq uI_d\} M = ⋃ 0 < l ≤ u < ∞ { M : l I d ⪯ M ⪯ u I d } and u , l u,l u , l are constants independent of n , d n,d n , d .
Proof. In this proof, we show that ridge has an error floor in the overparameterized regime, while the generalized ridge can be optimized to sufficiently small error.
Since y = X w 1 ⋆ \mathbf{y}=X\mathbf{w}_1^\star y = X w 1 ⋆ , the ridge solution is
w 1 r i d g e = ( 1 n X T X + λ I d ) − 1 ( 1 n X T X w 1 ⋆ + λ w 0 ) . \mathbf{w}_1^{\mathrm{ridge}}=\left(\frac{1}{n}X^{\mathsf{T}}X+\lambda I_d\right)^{-1}\left(\frac{1}{n}X^{\mathsf{T}}X\mathbf{w}_1^\star+\lambda\mathbf{w}_0\right). w 1 ridge = ( n 1 X T X + λ I d ) − 1 ( n 1 X T X w 1 ⋆ + λ w 0 ) .
Equivalently,
w 1 r i d g e − w 1 ⋆ = ( ( 1 n X T X + λ I d ) − 1 ( 1 n X T X w 1 ⋆ + λ w 0 ) − I d ) w 1 ⋆ = − λ ( 1 n X T X + λ I d ) − 1 ( w 1 ⋆ − w 0 ) . \begin{aligned}
\mathbf{w}_1^{\mathrm{ridge}}-\mathbf{w}_1^\star=\left(\left(\frac{1}{n}X^{\mathsf{T}}X+\lambda I_d\right)^{-1}\left(\frac{1}{n}X^{\mathsf{T}}X\mathbf{w}_1^\star+\lambda\mathbf{w}_0\right)-I_d\right)\mathbf{w}_1^\star\\
&=-\lambda\left(\frac{1}{n}X^{\mathsf{T}}X+\lambda I_d\right)^{-1}(\mathbf{w}_1^\star-\mathbf{w}_0).
\end{aligned} w 1 ridge − w 1 ⋆ = ( ( n 1 X T X + λ I d ) − 1 ( n 1 X T X w 1 ⋆ + λ w 0 ) − I d ) w 1 ⋆ = − λ ( n 1 X T X + λ I d ) − 1 ( w 1 ⋆ − w 0 ) .
Hence the squared estimation error is
G 1 r i d g e = ∥ w 1 r i d g e − w ⋆ ∥ 2 2 = λ 2 ( w 1 ⋆ − w 0 ) T ( 1 n X T X + λ I d ) − 2 ( w 1 ⋆ − w 0 ) . G_1^{\mathrm{ridge}}=\left\|\mathbf{w}_1^{\mathrm{ridge}}-\mathbf{w}^\star\right\|_2^2=\lambda^2(\mathbf{w}_1^\star-\mathbf{w}_0)^{\mathsf{T}}\left(\frac{1}{n}X^{\mathsf{T}}X+\lambda I_d\right)^{-2}(\mathbf{w}_1^\star-\mathbf{w}_0). G 1 ridge = w 1 ridge − w ⋆ 2 2 = λ 2 ( w 1 ⋆ − w 0 ) T ( n 1 X T X + λ I d ) − 2 ( w 1 ⋆ − w 0 ) .
where m α m_\alpha m α is the Stieltjes transform of the MP law with aspect ratio α \alpha α . Therefore, almost surely, as d → ∞ d\to\infty d → ∞ by the Marchenko-Pastur law,
G 1 r i d g e = ∥ w 1 r i d g e − w ⋆ ∥ 2 2 → λ 2 v x 2 m α ′ ( − λ v x ) ∥ w ⋆ − w 0 ∥ 2 2 . G_1^{\mathrm{ridge}}=\left\|\mathbf{w}_1^{\mathrm{ridge}}-\mathbf{w}^\star\right\|_2^2\to\frac{\lambda^2}{v_x^2}m_\alpha'\left(-\frac{\lambda}{v_x}\right)\left\|\mathbf{w}^\star-\mathbf{w}_0\right\|_2^2. G 1 ridge = w 1 ridge − w ⋆ 2 2 → v x 2 λ 2 m α ′ ( − v x λ ) ∥ w ⋆ − w 0 ∥ 2 2 .
λ 2 v x 2 m α ′ ( − λ v x ) = 1 2 ( 1 − α + λ ( 1 + α ) + α v x ( 1 − α ) 2 λ 2 + 2 λ v x ( 1 + α ) α + v x 2 ( 1 − α ) 2 α 2 ) \frac{\lambda^2}{v_x^2}m_\alpha'\left(-\frac{\lambda}{v_x}\right)=\frac{1}{2}\left(1-\alpha+\frac{\lambda(1+\alpha)+\alpha v_x(1-\alpha)^2}{\sqrt{\lambda^2+\frac{2\lambda v_x(1+\alpha)}{\alpha}+\frac{v_x^2(1-\alpha)^2}{\alpha^2}}}\right) v x 2 λ 2 m α ′ ( − v x λ ) = 2 1 1 − α + λ 2 + α 2 λ v x ( 1 + α ) + α 2 v x 2 ( 1 − α ) 2 λ ( 1 + α ) + α v x ( 1 − α ) 2
is monotonic increasing as function of λ \lambda λ as established in Karpel et al. [16 ] , therefore λ 2 v x 2 m α ′ ( − λ v x ) \frac{\lambda^2}{v_x^2}m_\alpha'\left(-\frac{\lambda}{v_x}\right) v x 2 λ 2 m α ′ ( − v x λ ) is bounded below by 1 − α > 0 1-\alpha>0 1 − α > 0 , which implies that min λ G 1 r i d g e > ( 1 − α ) ∥ w 1 ⋆ − w 0 ∥ 2 2 \min_\lambda G_1^{\mathrm{ridge}}>(1-\alpha)\left\|\mathbf{w}_1^\star-\mathbf{w}_0\right\|_2^2 min λ G 1 ridge > ( 1 − α ) ∥ w 1 ⋆ − w 0 ∥ 2 2 , almost surely, as d → ∞ d\to\infty d → ∞ .
Write P = 1 n X T X \mathbf{P}=\frac{1}{n}X^{\mathsf{T}}X P = n 1 X T X and partition,
P = ( P S S P S S c P S c S P S c S c ) , M ~ λ , ψ = ( λ ~ I 0 0 ψ I ) . \mathbf{P}=\begin{pmatrix}P_{SS}&P_{SS^c}\\P_{S^cS}&P_{S^cS^c}\end{pmatrix},\qquad\widetilde{\mathbf{M}}_{\lambda,\psi}=\begin{pmatrix}\widetilde{\lambda}I&0\\0&\psi I\end{pmatrix}. P = ( P S S P S c S P S S c P S c S c ) , M λ , ψ = ( λ I 0 0 ψ I ) .
Without loss of generality, we assume S = { 1 , … , k } S=\{1,\ldots,k\} S = { 1 , … , k } ; otherwise, apply a permutation of coordinates. Since y = X w 1 ⋆ \mathbf{y}=X\mathbf{w}_1^\star y = X w 1 ⋆ with w 1 ⋆ − w 0 = ( ( w 1 ⋆ ) S − ( w 0 ) S , 0 ) \mathbf{w}_1^\star-\mathbf{w}_0=((\mathbf{w}_1^\star)_S-(\mathbf{w}_0)_S,0) w 1 ⋆ − w 0 = (( w 1 ⋆ ) S − ( w 0 ) S , 0 ) , we have
1 n X T ( y − X w 0 ) = P ( w 1 ⋆ − w 0 ) = ( P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) P S c S ( ( w 1 ⋆ ) S − ( w 0 ) S ) ) . \frac{1}{n}X^{\mathsf{T}}(\mathbf{y}-X\mathbf{w}_0)=\mathbf{P}(\mathbf{w}_1^\star-\mathbf{w}_0)=\begin{pmatrix}P_{SS}((\mathbf{w}_1^\star)_S-(\mathbf{w}_0)_S)\\P_{S^cS}((\mathbf{w}_1^\star)_S-(\mathbf{w}_0)_S)\end{pmatrix}. n 1 X T ( y − X w 0 ) = P ( w 1 ⋆ − w 0 ) = ( P S S (( w 1 ⋆ ) S − ( w 0 ) S ) P S c S (( w 1 ⋆ ) S − ( w 0 ) S ) ) .
The estimator w ^ = ( w ^ S , w ^ S c ) \widehat{\mathbf{w}}=(\widehat{\mathbf{w}}_S,\widehat{\mathbf{w}}_{S^c}) w = ( w S , w S c ) satisfies
( P + M ~ λ , ψ ) ( w ^ − w 0 ) = P ( w 1 ⋆ − w 0 ) , (\mathbf{P}+\widetilde{\mathbf{M}}_{\lambda,\psi})(\widehat{\mathbf{w}}-\mathbf{w}_0)=\mathbf{P}(\mathbf{w}_1^\star-\mathbf{w}_0), ( P + M λ , ψ ) ( w − w 0 ) = P ( w 1 ⋆ − w 0 ) ,
that is,
( P S S + λ ~ I ) ( w ^ S − ( w 0 ) S ) + P S S c ( w ^ S c − ( w 0 ) S c ) = P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) , (P_{SS}+\widetilde{\lambda}I)(\widehat{\mathbf{w}}_S-(\mathbf{w}_0)_S)+P_{SS^c}(\widehat{\mathbf{w}}_{S^c}-(\mathbf{w}_0)_{S^c})=P_{SS}((\mathbf{w}_1^\star)_S-(\mathbf{w}_0)_S), ( P S S + λ I ) ( w S − ( w 0 ) S ) + P S S c ( w S c − ( w 0 ) S c ) = P S S (( w 1 ⋆ ) S − ( w 0 ) S ) ,
P S c S ( w ^ S − ( w 0 ) S ) + ( P S c S c + ψ I ) ( w ^ S c − ( w 0 ) S c ) = P S c S ( ( w 1 ⋆ ) S − ( w 0 ) S ) . P_{S^cS}(\widehat{\mathbf{w}}_S-(\mathbf{w}_0)_S)+(P_{S^cS^c}+\psi I)(\widehat{\mathbf{w}}_{S^c}-(\mathbf{w}_0)_{S^c})=P_{S^cS}((\mathbf{w}_1^\star)_S-(\mathbf{w}_0)_S). P S c S ( w S − ( w 0 ) S ) + ( P S c S c + ψ I ) ( w S c − ( w 0 ) S c ) = P S c S (( w 1 ⋆ ) S − ( w 0 ) S ) .
Solving the second equation gives
w ^ S c − ( w 0 ) S c = ( P S c S c + ψ I ) − 1 P S c S ( ( w 1 ⋆ ) S − ( w 0 ) S − ( w ^ S − ( w 0 ) S ) ) . \widehat{\mathbf{w}}_{S^{c}}-(\mathbf{w}_{0})_{S^{c}}=(P_{S^{c}S^{c}}+\psi I)^{-1}P_{S^{c}S}\left((\mathbf{w}_{1}^{\star})_{S}-(\mathbf{w}_{0})_{S}-(\widehat{\mathbf{w}}_{S}-(\mathbf{w}_{0})_{S})\right). w S c − ( w 0 ) S c = ( P S c S c + ψ I ) − 1 P S c S ( ( w 1 ⋆ ) S − ( w 0 ) S − ( w S − ( w 0 ) S ) ) .
Substituting into the first equation yields
( P S S + λ ~ I − P S S c ( P S c S c + ψ I ) − 1 P S c S ) ( w ^ S − ( w 0 ) S ) = P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) − P S S c ( P S c S c + ψ I ) − 1 P S c S ( ( w 1 ⋆ ) S − ( w 0 ) S ) . \begin{aligned}
\left(P_{SS}+\widetilde{\lambda}I-P_{SS^{c}}(P_{S^{c}S^{c}}+\psi I)^{-1}P_{S^{c}S}\right)\left(\widehat{\mathbf{w}}_{S}-(\mathbf{w}_{0})_{S}\right)
={}&P_{SS}\left((\mathbf{w}_{1}^{\star})_{S}-(\mathbf{w}_{0})_{S}\right)\\
&-P_{SS^{c}}(P_{S^{c}S^{c}}+\psi I)^{-1}P_{S^{c}S}\left((\mathbf{w}_{1}^{\star})_{S}-(\mathbf{w}_{0})_{S}\right).
\end{aligned} ( P S S + λ I − P S S c ( P S c S c + ψ I ) − 1 P S c S ) ( w S − ( w 0 ) S ) = P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) − P S S c ( P S c S c + ψ I ) − 1 P S c S ( ( w 1 ⋆ ) S − ( w 0 ) S ) .
Since ∥ ( P S c S c + ψ I ) − 1 ∥ 2 ≤ ψ − 1 \lVert(P_{S^{c}S^{c}}+\psi I)^{-1}\rVert_{2}\leq\psi^{-1} ∥( P S c S c + ψ I ) − 1 ∥ 2 ≤ ψ − 1 , the terms involving ( P S c S c + ψ I ) − 1 (P_{S^{c}S^{c}}+\psi I)^{-1} ( P S c S c + ψ I ) − 1 vanish as ψ → ∞ \psi\to\infty ψ → ∞ , giving
( P S S + λ ~ I ) ( w ^ S − ( w 0 ) S ) → P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) , w ^ S c − ( w 0 ) S c → 0. (P_{SS}+\widetilde{\lambda}I)\left(\widehat{\mathbf{w}}_{S}-(\mathbf{w}_{0})_{S}\right)\to P_{SS}\left((\mathbf{w}_{1}^{\star})_{S}-(\mathbf{w}_{0})_{S}\right),\qquad\widehat{\mathbf{w}}_{S^{c}}-(\mathbf{w}_{0})_{S^{c}}\to0. ( P S S + λ I ) ( w S − ( w 0 ) S ) → P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) , w S c − ( w 0 ) S c → 0.
Thus
lim ψ → ∞ w ^ ( λ ~ , ψ ) = w 0 + ( ( P S S + λ ~ I ) − 1 P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) , 0 ) . \lim_{\psi\to\infty}\widehat{\mathbf{w}}(\widetilde{\lambda},\psi)=\mathbf{w}_{0}+\left((P_{SS}+\widetilde{\lambda}I)^{-1}P_{SS}\left((\mathbf{w}_{1}^{\star})_{S}-(\mathbf{w}_{0})_{S}\right),0\right). ψ → ∞ lim w ( λ , ψ ) = w 0 + ( ( P S S + λ I ) − 1 P S S ( ( w 1 ⋆ ) S − ( w 0 ) S ) , 0 ) .
Since P S S ≻ 0 P_{SS}\succ0 P S S ≻ 0 , then ( P S S + λ ~ I ) − 1 P S S → I (P_{SS}+\widetilde{\lambda}I)^{-1}P_{SS}\to I ( P S S + λ I ) − 1 P S S → I as λ ~ → 0 \widetilde{\lambda}\to0 λ → 0 , hence w 1 → w 1 ⋆ \mathbf{w}_{1}\to\mathbf{w}_{1}^{\star} w 1 → w 1 ⋆ , which implies that G 1 g e n → 0 G_{1}^{\mathrm{gen}}\to0 G 1 gen → 0 , proving the claim.
In the statement of Theorem 4 the supremum is taken over the set of matrices which are spectrally bounded. This is an immediate consequence of the proof. For each q ≥ 1 q\geq1 q ≥ 1 we may define the set
M q = { M : 1 q I ⪯ M ⪯ q I } ∈ M \mathcal{M}_{q}=\left\{M:\frac{1}{q}I\preceq M\preceq qI\right\}\in\mathcal{M} M q = { M : q 1 I ⪯ M ⪯ q I } ∈ M
for this choice for all finite q q q we have that M q \mathcal{M}_{q} M q is spectrally bounded. In the construction of the regularization matrix, we take ψ → ∞ \psi\to\infty ψ → ∞ and λ ~ → 0 \widetilde{\lambda}\to0 λ → 0 , this corresponds to taking λ ~ = 1 / q \widetilde{\lambda}=1/q λ = 1/ q and ψ = q \psi=q ψ = q . The resulting matrix belongs to M q \mathcal{M}_{q} M q for every finite q q q . The proof shows that, along this sequence, G 1 g e n → 0 G_{1}^{\mathrm{gen}}\to0 G 1 gen → 0 , while the optimal isotropic-ridge loss remains bounded away from zero. Consequently,
lim q → ∞ sup M ∈ M q inf λ > 0 G 1 r i d g e G 1 g e n = ∞ . \lim_{q\to\infty}\sup_{M\in\mathcal{M}_{q}}\inf_{\lambda>0}\frac{G_{1}^{\mathrm{ridge}}}{G_{1}^{\mathrm{gen}}}=\infty. q → ∞ lim M ∈ M q sup λ > 0 inf G 1 gen G 1 ridge = ∞.
Necessary and Sufficient Symmetry Conditions for a Guaranteed Optimal Isotropic Diagonal Regularizer
Theorem 9 (Necessary and sufficient condition to a guaranteed optimal isotropic regularization). Assume that the generalization loss admits a unique diagonal minimizer M ⋆ = diag ( m 1 ⋆ , … , m d ⋆ ) \mathbf{M}^{\star}=\operatorname{diag}(m_{1}^{\star},\ldots,m_{d}^{\star}) M ⋆ = diag ( m 1 ⋆ , … , m d ⋆ ) . Then M ⋆ = λ ⋆ I d \mathbf{M}^{\star}=\lambda^{\star}\mathbf{I}_{d} M ⋆ = λ ⋆ I d for some λ ⋆ > 0 \lambda^{\star}>0 λ ⋆ > 0 if and only if, for each coordinate, the teacher is equally far from the initialization (i.e., ∣ w 1 ⋆ − ( w 0 ) 1 ∣ = ∣ w 2 ⋆ − ( w 0 ) 2 ∣ = … = ∣ w d ⋆ − ( w 0 ) d ∣ \lvert w_{1}^{\star}-(w_{0})_{1}\rvert=\lvert w_{2}^{\star}-(w_{0})_{2}\rvert=\ldots=\lvert w_{d}^{\star}-(w_{0})_{d}\rvert ∣ w 1 ⋆ − ( w 0 ) 1 ∣ = ∣ w 2 ⋆ − ( w 0 ) 2 ∣ = … = ∣ w d ⋆ − ( w 0 ) d ∣ ), either deterministically or with probability tending to 1 1 1 (as n , d → ∞ n,d\to\infty n , d → ∞ ) for random teacher.
Proof. We write m = ( m 1 , … , m d ) \mathbf{m}=(m_{1},\ldots,m_{d}) m = ( m 1 , … , m d ) and M = diag ( m ) \mathbf{M}=\operatorname{diag}(\mathbf{m}) M = diag ( m ) ,
Recall Theorem 3, under Assumption 2, the expected generalization loss after T T T tasks of the generalized ridge algorithm (Algorithm 3), satisfies,
G T g e n ⟶ P ( w 0 − w ⋆ ) T ( Q ‾ 2 T + ∑ k = 1 T Q ‾ 2 k μ ~ ρ ~ k ) ( w 0 − w ⋆ ) (54) G_{T}^{\mathrm{gen}}\mathrel{\mathop{\longrightarrow}^{P}}(\mathbf{w}_{0}-\mathbf{w}^{\star})^{\mathsf{T}}\left(\overline{\mathbf{Q}}^{2T}+\sum_{k=1}^{T}\overline{\mathbf{Q}}^{2k}\widetilde{\mu}\widetilde{\rho}_{k}\right)(\mathbf{w}_{0}-\mathbf{w}^{\star}) \tag*{(54)} G T gen ⟶ P ( w 0 − w ⋆ ) T ( Q 2 T + k = 1 ∑ T Q 2 k μ ρ k ) ( w 0 − w ⋆ ) (54)
+ v z n Tr [ ∑ k = 1 T [ I − Q ‾ [ I + 1 n Tr ( M − 1 Q ‾ 2 ) μ ~ M − 1 ] ] [ Q ‾ 2 ( T − k ) + ∑ i = k + 1 T Q ‾ 2 ( i − k ) μ ~ ρ ~ i ] M − 1 Q ‾ ] (55) +\frac{v_{z}}{n}\operatorname{Tr}\left[\sum_{k=1}^{T}\left[\mathbf{I}-\overline{\mathbf{Q}}\left[\mathbf{I}+\frac{1}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\overline{\mathbf{Q}}^{2}\right)\widetilde{\mu}\mathbf{M}^{-1}\right]\right]\left[\overline{\mathbf{Q}}^{2(T-k)}+\sum_{i=k+1}^{T}\overline{\mathbf{Q}}^{2(i-k)}\widetilde{\mu}\widetilde{\rho}_{i}\right]\mathbf{M}^{-1}\overline{\mathbf{Q}}\right] \tag*{(55)} + n v z Tr [ k = 1 ∑ T [ I − Q [ I + n 1 Tr ( M − 1 Q 2 ) μ M − 1 ] ] [ Q 2 ( T − k ) + i = k + 1 ∑ T Q 2 ( i − k ) μ ρ i ] M − 1 Q ] (55)
where
Q ‾ = ( I + v x m ~ p ( − 1 ) M − 1 ) − 1 , \overline{\mathbf{Q}}=\left(\mathbf{I}+v_{x}\widetilde{m}_{p}(-1)\mathbf{M}^{-1}\right)^{-1}, Q = ( I + v x m p ( − 1 ) M − 1 ) − 1 ,
with m ~ p ( − 1 ) \widetilde{m}_{p}(-1) m p ( − 1 ) being the unique positive solution of
1 m ~ p ( − 1 ) = 1 + 1 n ∑ i = 1 d v x M i , i − 1 1 + m ~ p ( − 1 ) v x M i , i − 1 . \frac{1}{\widetilde{m}_{p}(-1)}=1+\frac{1}{n}\sum_{i=1}^{d}\frac{v_{x}M_{i,i}^{-1}}{1+\widetilde{m}_{p}(-1)v_{x}M_{i,i}^{-1}}. m p ( − 1 ) 1 = 1 + n 1 i = 1 ∑ d 1 + m p ( − 1 ) v x M i , i − 1 v x M i , i − 1 .
And,
ρ ~ k = 1 n Tr [ M − 2 ( Q ‾ 2 ( T − k + 1 ) + μ ~ ∑ i = k + 1 T ρ ~ i Q ‾ 2 ( i − k + 1 ) ) ] , \widetilde{\rho}_{k}=\frac{1}{n}\operatorname{Tr}\left[\mathbf{M}^{-2}\left(\overline{\mathbf{Q}}^{2(T-k+1)}+\widetilde{\mu}\sum_{i=k+1}^{T}\widetilde{\rho}_{i}\overline{\mathbf{Q}}^{2(i-k+1)}\right)\right], ρ k = n 1 Tr [ M − 2 ( Q 2 ( T − k + 1 ) + μ i = k + 1 ∑ T ρ i Q 2 ( i − k + 1 ) ) ] ,
μ ~ = [ ( 1 + 1 n Tr ( M − 1 Q ‾ ) ) 2 − 1 n Tr ( M − 1 Q ‾ ) 2 ] − 1 . \widetilde{\mu}=\left[\left(1+\frac{1}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\overline{\mathbf{Q}}\right)\right)^{2}-\frac{1}{n}\operatorname{Tr}\left(\mathbf{M}^{-1}\overline{\mathbf{Q}}\right)^{2}\right]^{-1}. μ = [ ( 1 + n 1 Tr ( M − 1 Q ) ) 2 − n 1 Tr ( M − 1 Q ) 2 ] − 1 .
With diagonal M \mathbf{M} M , the deterministic equivalent resolvent appearing in (54) reduces to
Q ‾ = ( I d + v x m ~ p ( − 1 ) M − 1 ) − 1 = ( I d + m ~ p ( − 1 ) v x M − 1 ) − 1 . (56) \overline{\mathbf{Q}}=\left(\mathbf{I}_{d}+v_{x}\widetilde{m}_{p}(-1)\mathbf{M}^{-1}\right)^{-1}=\left(\mathbf{I}_{d}+\widetilde{m}_{p}(-1)v_{x}\mathbf{M}^{-1}\right)^{-1}. \tag*{(56)} Q = ( I d + v x m p ( − 1 ) M − 1 ) − 1 = ( I d + m p ( − 1 ) v x M − 1 ) − 1 . (56)
Hence Q ‾ \overline{\mathbf{Q}} Q is diagonal with entries
q i = q i ( m i ) = 1 1 + m ~ p ( − 1 ) v x m i = m i m i + m ~ p ( − 1 ) v x . q_{i}=q_{i}(m_{i})=\frac{1}{1+\frac{\widetilde{m}_{p}(-1)v_{x}}{m_{i}}}=\frac{m_{i}}{m_{i}+\widetilde{m}_{p}(-1)v_{x}}. q i = q i ( m i ) = 1 + m i m p ( − 1 ) v x 1 = m i + m p ( − 1 ) v x m i .
All matrices built from Q ‾ \overline{\mathbf{Q}} Q , M ± 1 \mathbf{M}^{\pm1} M ± 1 (e.g. powers of Q ‾ \overline{\mathbf{Q}} Q , Q ‾ M − 1 Q ‾ \overline{\mathbf{Q}}\mathbf{M}^{-1}\overline{\mathbf{Q}} Q M − 1 Q , and trace terms such as 1 n Tr [ ( M − 1 Q ‾ ) k ] \frac{1}{n}\operatorname{Tr}[(\mathbf{M}^{-1}\overline{\mathbf{Q}})^{k}] n 1 Tr [( M − 1 Q ) k ] ) are therefore diagonal, and depend on m \mathbf{m} m only through the coordinate-wise pairs ( m i , q i ( m i ) ) (m_{i},q_{i}(m_{i})) ( m i , q i ( m i )) and through symmetric trace scalars.
Using the closed-form expression in (54) and the diagonal structure from (56) , the expected error decomposes as
R T ( m ) = R T t e a c h e r ( m ) + R T n o i s e ( m ) . R_{T}(\mathbf{m})=R_{T}^{\mathrm{teacher}}(\mathbf{m})+R_{T}^{\mathrm{noise}}(\mathbf{m}). R T ( m ) = R T teacher ( m ) + R T noise ( m ) .
The teacher-dependent term can be written as
R T t e a c h e r ( m ) = ( w ⋆ − w 0 ) T B T ( m ) ( w ⋆ − w 0 ) = ∑ i = 1 d b T , i ( m ) ( w i ⋆ − w 0 i ) 2 , (57) R_{T}^{\mathrm{teacher}}(\mathbf{m})=(\mathbf{w}^{\star}-\mathbf{w}_{0})^{\mathsf{T}}\mathbf{B}_{T}(\mathbf{m})(\mathbf{w}^{\star}-\mathbf{w}_{0})=\sum_{i=1}^{d}b_{T,i}(\mathbf{m})(w_{i}^{\star}-w_{0i})^{2}, \tag*{(57)} R T teacher ( m ) = ( w ⋆ − w 0 ) T B T ( m ) ( w ⋆ − w 0 ) = i = 1 ∑ d b T , i ( m ) ( w i ⋆ − w 0 i ) 2 , (57)
where B T ( m ) \mathbf{B}_T(\mathbf{m}) B T ( m ) is diagonal and b T , i ( m ) b_{T,i}(\mathbf{m}) b T , i ( m ) denotes its i i i ’th diagonal entry. The noise term R T n o i s e ( m ) \mathcal{R}^{\mathrm{noise}}_T(\mathbf{m}) R T noise ( m ) does not depend on w ⋆ \mathbf{w}^{\star} w ⋆ and depends on m \mathbf{m} m only through symmetric trace scalars. Consequently, R T n o i s e ( m ) \mathcal{R}^{\mathrm{noise}}_T(\mathbf{m}) R T noise ( m ) is invariant under any permutation of the coordinates of m \mathbf{m} m .
Fix λ > 0 \lambda> 0 λ > 0 and consider the isotropic point m = λ 1 \mathbf{m} = \lambda\mathbf{1} m = λ 1 . By permutation symmetry of R T n o i s e \mathcal{R}^{\mathrm{noise}}_T R T noise , there exists a scalar B T ( λ ) B_T(\lambda) B T ( λ ) such that
∂ ∂ m i R T n o i s e ( m ) ∣ m = λ 1 = B T ( λ ) for all i . \left.\frac{\partial}{\partial m_i}\mathcal{R}^{\mathrm{noise}}_T(\mathbf{m})\right|_{\mathbf{m}=\lambda\mathbf{1}} = B_T(\lambda) \qquad\text{for all } i. ∂ m i ∂ R T noise ( m ) m = λ 1 = B T ( λ ) for all i .
Likewise, at m = λ 1 \mathbf{m} = \lambda\mathbf{1} m = λ 1 all diagonal entries b T , i ( m ) b_{T,i}(\mathbf{m}) b T , i ( m ) coincide, and their coordinate derivatives are equal. We define
A T ( λ ) : = ∂ ∂ m i b T , i ( m ) ∣ m = λ 1 , B T ( λ ) : = ∂ ∂ m i R T n o i s e ( m ) ∣ m = λ 1 . A_T(\lambda) := \left.\frac{\partial}{\partial m_i}b_{T,i}(\mathbf{m})\right|_{\mathbf{m}=\lambda\mathbf{1}}, \qquad B_T(\lambda) := \left.\frac{\partial}{\partial m_i}\mathcal{R}^{\mathrm{noise}}_T(\mathbf{m})\right|_{\mathbf{m}=\lambda\mathbf{1}}. A T ( λ ) := ∂ m i ∂ b T , i ( m ) m = λ 1 , B T ( λ ) := ∂ m i ∂ R T noise ( m ) m = λ 1 .
Differentiating R T ( m ) \mathcal{R}_T(\mathbf{m}) R T ( m ) and evaluating at m = λ 1 \mathbf{m} = \lambda\mathbf{1} m = λ 1 yields
∂ ∂ m i R T ( m ) ∣ m = λ 1 = ( w i ⋆ − w 0 i ) 2 A T ( λ ) + B T ( λ ) , i = 1 , … , d . (58) \left.\frac{\partial}{\partial m_i}\mathcal{R}_T(\mathbf{m})\right|_{\mathbf{m}=\lambda\mathbf{1}} = (w_i^{\star} - w_{0i})^2 A_T(\lambda) + B_T(\lambda), \qquad i = 1,\ldots,d. \tag*{(58)} ∂ m i ∂ R T ( m ) m = λ 1 = ( w i ⋆ − w 0 i ) 2 A T ( λ ) + B T ( λ ) , i = 1 , … , d . (58)
Assume that M = λ ⋆ I d \mathbf{M} = \lambda^{\star}\mathbf{I}_d M = λ ⋆ I d is a diagonal minimizer. Then the first-order optimality conditions imply that Equation (58) vanishes for every i i i , i.e.
( w i ⋆ − w 0 i ) 2 A T ( λ ⋆ ) + B T ( λ ⋆ ) = 0 for all i . (w_i^{\star} - w_{0i})^2 A_T(\lambda^{\star}) + B_T(\lambda^{\star}) = 0 \qquad\text{for all } i. ( w i ⋆ − w 0 i ) 2 A T ( λ ⋆ ) + B T ( λ ⋆ ) = 0 for all i .
Subtracting the conditions for indices i i i and j j j gives
( ( w i ⋆ − w 0 i ) 2 − ( w j ⋆ − w 0 j ) 2 ) A T ( λ ⋆ ) = 0. \left((w_i^{\star} - w_{0i})^2 - (w_j^{\star} - w_{0j})^2\right) A_T(\lambda^{\star}) = 0. ( ( w i ⋆ − w 0 i ) 2 − ( w j ⋆ − w 0 j ) 2 ) A T ( λ ⋆ ) = 0.
In the case of M = λ I d \mathbf{M} = \lambda\mathbf{I}_d M = λ I d . We have a compact closed solution given in Karpel et al. [16 ] where7 ,
∥ w T r i d g e − w ⋆ ∥ 2 → P v z c 1 − a T 1 − a + a T ∥ w 0 − w ⋆ ∥ 2 . \left\|\mathbf{w}^{\mathrm{ridge}}_T - \mathbf{w}^{\star}\right\|^2 \xrightarrow{P} v_z c \frac{1-a^T}{1-a} + a^T \left\|\mathbf{w}_0 - \mathbf{w}^{\star}\right\|^2. w T ridge − w ⋆ 2 P v z c 1 − a 1 − a T + a T ∥ w 0 − w ⋆ ∥ 2 .
and
a = 1 2 ( 1 − α + λ α ( 1 + α ) + v x ( 1 − α ) 2 ( λ α ) 2 + 2 λ α v x ( 1 + α ) + v x 2 ( 1 − α ) 2 ) , a = \frac{1}{2}\left(1-\alpha+ \frac{\lambda\alpha(1+\alpha)+v_x(1-\alpha)^2}{\sqrt{(\lambda\alpha)^2+2\lambda\alpha v_x(1+\alpha)+v_x^2(1-\alpha)^2}}\right), a = 2 1 ( 1 − α + ( λ α ) 2 + 2 λ α v x ( 1 + α ) + v x 2 ( 1 − α ) 2 λ α ( 1 + α ) + v x ( 1 − α ) 2 ) ,
c = 1 2 v x ( v x ( 1 + α ) + λ α ( λ α ) 2 + 2 λ α v x ( 1 + α ) + v x 2 ( 1 − α ) 2 − 1 ) . c = \frac{1}{2v_x}\left(\frac{v_x(1+\alpha)+\lambda\alpha}{\sqrt{(\lambda\alpha)^2+2\lambda\alpha v_x(1+\alpha)+v_x^2(1-\alpha)^2}}-1\right). c = 2 v x 1 ( ( λ α ) 2 + 2 λ α v x ( 1 + α ) + v x 2 ( 1 − α ) 2 v x ( 1 + α ) + λ α − 1 ) .
By Karpel et al. [16 ] d d λ a = 2 λ α ~ D 3 v x \frac{d}{d\lambda}a = \frac{2\lambda\tilde{\alpha}}{D^3v_x} d λ d a = D 3 v x 2 λ α ~ where D = λ ~ 2 + 2 λ ~ ( 1 + α ) + ( 1 − α ) 2 D = \sqrt{\tilde{\lambda}^2 + 2\tilde{\lambda}(1+\alpha) + (1-\alpha)^2} D = λ ~ 2 + 2 λ ~ ( 1 + α ) + ( 1 − α ) 2 and λ ~ = λ α v x \tilde{\lambda} = \frac{\lambda\alpha}{v_x} λ ~ = v x λ α which is therefore strictly positive for all λ > 0 \lambda> 0 λ > 0 , hence d d λ R T n o i s e ( λ ⋆ 1 ) ≠ 0 \frac{d}{d\lambda}\mathcal{R}^{\mathrm{noise}}_T(\lambda^{\star}\mathbf{1}) \ne0 d λ d R T noise ( λ ⋆ 1 ) = 0 .8 By permutation symmetry, d d λ R T n o i s e ( λ 1 ) = d d λ B T ( λ ) \frac{d}{d\lambda}\mathcal{R}^{\mathrm{noise}}_T(\lambda\mathbf{1}) = \frac{d}{d\lambda}B_T(\lambda) d λ d R T noise ( λ 1 ) = d λ d B T ( λ ) , therefore B T ( λ ⋆ ) ≠ 0 B_T(\lambda^{\star}) \ne0 B T ( λ ⋆ ) = 0 . Using the isotropic first-order conditions ( w i ⋆ − w 0 i ) 2 A T ( λ ⋆ ) + B T ( λ ⋆ ) = 0 (w_i^{\star} - w_{0i})^2 A_T(\lambda^{\star}) + B_T(\lambda^{\star}) = 0 ( w i ⋆ − w 0 i ) 2 A T ( λ ⋆ ) + B T ( λ ⋆ ) = 0 for all i i i , we conclude that A T ( λ ⋆ ) ≠ 0 A_T(\lambda^{\star}) \ne0 A T ( λ ⋆ ) = 0 (otherwise stationarity would force B T ( λ ⋆ ) = 0 B_T(\lambda^{\star}) = 0 B T ( λ ⋆ ) = 0 ), and therefore ( w i ⋆ − w 0 i ) 2 = ( w j ⋆ − w 0 j ) 2 (w_i^{\star} - w_{0i})^2 = (w_j^{\star} - w_{0j})^2 ( w i ⋆ − w 0 i ) 2 = ( w j ⋆ − w 0 j ) 2 for all i , j i,j i , j deterministically, or with probability tending to 1 1 1 (as n , d → ∞ n,d \to\infty n , d → ∞ ) for random teacher.
Conversely, assume ( w 1 ⋆ − w 01 ) 2 = … = ( w d ⋆ − w 0 d ) 2 = τ 2 (w_1^{\star} - w_{01})^2 = \ldots= (w_d^{\star} - w_{0d})^2 = \tau^2 ( w 1 ⋆ − w 01 ) 2 = … = ( w d ⋆ − w 0 d ) 2 = τ 2 deterministically, or with probability tending to 1 1 1 (as n , d → ∞ n,d \to\infty n , d → ∞ ) for random teacher. Then Equation (57) reduces to τ 2 ∑ i = 1 d b T , i ( m ) \tau^2 \sum_{i=1}^{d} b_{T,i}(\mathbf{m}) τ 2 ∑ i = 1 d b T , i ( m ) , which is permutation invariant. Together with the invariance of R T n o i s e ( m ) \mathcal{R}^{\mathrm{noise}}_T(\mathbf{m}) R T noise ( m ) , this shows that R T ( m ) \mathcal{R}_T(\mathbf{m}) R T ( m ) is a symmetric function of m \mathbf{m} m .
Let m ⋆ \mathbf{m}^{\star} m ⋆ be a diagonal minimizer. For any permutation π \pi π of { 1 , … , d } \{1,\ldots,d\} { 1 , … , d } , symmetry implies R T ( m ⋆ ) = R T ( π m ⋆ ) \mathcal{R}_T(\mathbf{m}^{\star}) = \mathcal{R}_T(\pi\mathbf{m}^{\star}) R T ( m ⋆ ) = R T ( π m ⋆ ) . If the diagonal minimizer is unique, it must be fixed by all permutations, which is only possible if m 1 ⋆ = … = m d ⋆ m_1^{\star} = \ldots= m_d^{\star} m 1 ⋆ = … = m d ⋆ . Thus M ⋆ = λ ⋆ I d \mathbf{M}^{\star} = \lambda^{\star}\mathbf{I}_d M ⋆ = λ ⋆ I d for some λ ⋆ > 0 \lambda^{\star} > 0 λ ⋆ > 0 .
Proofs for Section 6
Proof of Theorem 5: Closed-Form Expression for Generalization Error Under the Sinusoidal Model
Recall Theorem 5. Under Assumption 3 we have,
G ∞ → P C 0 + C 1 2 + C 2 2 sup T ≥ 1 cos ( 4 π f T + φ ) G_{\infty} \xrightarrow{P} C_0+\sqrt{C_1^2+C_2^2}\sup_{T\ge1}\cos(4\pi fT+\varphi) G ∞ P C 0 + C 1 2 + C 2 2 T ≥ 1 sup cos ( 4 π f T + φ )
where,
φ = 2 π f − arctan 2 ( C 2 , C 1 ) \varphi=2\pi f-\arctan2(C_2,C_1) φ = 2 π f − arctan 2 ( C 2 , C 1 )
C 0 = v z c ′ 1 1 − a ′ + 2 ∥ B ∥ 2 sin 2 ( π f ) ( 1 1 − a ′ − 1 ) ( 2 c 2 − 1 ) , C_0=v_zc'\frac{1}{1-a'}+2\lVert B\rVert^2\sin^2(\pi f)\left(\frac{1}{1-a'}-1\right)(2c_2-1), C 0 = v z c ′ 1 − a ′ 1 + 2 ∥ B ∥ 2 sin 2 ( π f ) ( 1 − a ′ 1 − 1 ) ( 2 c 2 − 1 ) ,
C 1 = 4 ∥ B ∥ 2 sin 2 ( π f ) ( 1 2 ( c 1 − 1 ) + ( c 2 − 1 ) ( c 1 − 1 ) − c 4 c 3 ) , C_1=4\lVert B\rVert^2\sin^2(\pi f)\left(\frac{1}{2}(c_1-1)+(c_2-1)(c_1-1)-c_4c_3\right), C 1 = 4 ∥ B ∥ 2 sin 2 ( π f ) ( 2 1 ( c 1 − 1 ) + ( c 2 − 1 ) ( c 1 − 1 ) − c 4 c 3 ) ,
C 2 = 4 ∥ B ∥ 2 sin 2 ( π f ) ( − 1 2 c 3 + c 4 ( c 1 − 1 ) + c 2 c 3 ) , C_2=4\lVert B\rVert^2\sin^2(\pi f)\left(-\frac{1}{2}c_3+c_4(c_1-1)+c_2c_3\right), C 2 = 4 ∥ B ∥ 2 sin 2 ( π f ) ( − 2 1 c 3 + c 4 ( c 1 − 1 ) + c 2 c 3 ) ,
c 1 = 1 − a ′ cos ( 4 π f ) 1 − 2 a ′ cos ( 4 π f ) + a ′ 2 , c_1=\frac{1-a'\cos(4\pi f)}{1-2a'\cos(4\pi f)+a'^2}, c 1 = 1 − 2 a ′ cos ( 4 π f ) + a ′2 1 − a ′ cos ( 4 π f ) ,
c 2 = 1 − b ′ cos ( 2 π f ) 1 − 2 b ′ cos ( 2 π f ) + b ′ 2 , c_2=\frac{1-b'\cos(2\pi f)}{1-2b'\cos(2\pi f)+b'^2}, c 2 = 1 − 2 b ′ cos ( 2 π f ) + b ′2 1 − b ′ cos ( 2 π f ) ,
c 3 = a ′ sin ( 4 π f ) 1 − 2 a ′ cos ( 4 π f ) + a ′ 2 , c_3=\frac{a'\sin(4\pi f)}{1-2a'\cos(4\pi f)+a'^2}, c 3 = 1 − 2 a ′ cos ( 4 π f ) + a ′2 a ′ sin ( 4 π f ) ,
c 4 = b ′ sin ( 2 π f ) 1 − 2 b ′ cos ( 2 π f ) + b ′ 2 , c_4=\frac{b'\sin(2\pi f)}{1-2b'\cos(2\pi f)+b'^2}, c 4 = 1 − 2 b ′ cos ( 2 π f ) + b ′2 b ′ sin ( 2 π f ) ,
a ′ = 1 + ∑ k = 0 2 N ( 2 N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r , a'=1+\sum_{k=0}^{2N}\binom{2N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^r}, a ′ = 1 + k = 0 ∑ 2 N ( k 2 N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 ,
b ′ = 1 + ∑ k = 0 N ( N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r , b'=1+\sum_{k=0}^{N}\binom{N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^r}, b ′ = 1 + k = 0 ∑ N ( k N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 ,
c ′ = ∑ s = 0 2 N − 2 m s ∑ l = 0 s ( s l ) ( − γ ) l + 2 ∑ r = 0 l v x l + 1 r + 1 ( l + 1 r ) ( l r ) 1 α r + 1 . (59) c'=\sum_{s=0}^{2N-2}m_s\sum_{l=0}^{s}\binom{s}{l}(-\gamma)^{l+2}\sum_{r=0}^{l}\frac{v_x^{l+1}}{r+1}\binom{l+1}{r}\binom{l}{r}\frac{1}{\alpha^{r+1}}. \tag*{(59)} c ′ = s = 0 ∑ 2 N − 2 m s l = 0 ∑ s ( l s ) ( − γ ) l + 2 r = 0 ∑ l r + 1 v x l + 1 ( r l + 1 ) ( r l ) α r + 1 1 . (59)
Proof. We first show that, for all i ∈ [ T ] i\in[T] i ∈ [ T ] ,
lim sup T → ∞ ∥ w T − w i ⋆ ∥ 2 → P lim sup T → ∞ { v z c 1 1 − a + 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 1 − a − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) { ( 1 1 − a − 1 ) ( c 2 − 1 ) + [ ( c 2 − 1 ) cos ( 4 π f T + 2 π f ) + b sin ( 2 π f ) 1 − 2 b cos ( 2 π f ) + b 2 sin ( 4 π f T + 2 π f ) ] ( c 1 − 1 ) } + [ − c 4 cos ( 4 π f T + 2 π f ) + ( c 2 − 1 ) sin ( 4 π f T + 2 π f ) ] c 3 } \limsup_{T\to\infty}\lVert\mathbf{w}_T-\mathbf{w}_i^\star\rVert^2
\xrightarrow{P}
\limsup_{T\to\infty}\left\{
v_zc\frac{1}{1-a}+2\lVert B\rVert^2\sin^2(\pi f)
\left(
\left(\frac{1}{1-a}-1\right)+\cos(4\pi fT+2\pi f)(c_1-1)+\sin(4\pi fT+2\pi f)c_3
\right)
+4\lVert B\rVert^2\sin^2(\pi f)
\left\{
\left(\frac{1}{1-a}-1\right)(c_2-1)+
\left[
(c_2-1)\cos(4\pi fT+2\pi f)
+\frac{b\sin(2\pi f)}{1-2b\cos(2\pi f)+b^2}\sin(4\pi fT+2\pi f)
\right](c_1-1)
\right\}
+\left[-c_4\cos(4\pi fT+2\pi f)+(c_2-1)\sin(4\pi fT+2\pi f)\right]c_3
\right\} T → ∞ lim sup ∥ w T − w i ⋆ ∥ 2 P T → ∞ lim sup { v z c 1 − a 1 + 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 − a 1 − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) { ( 1 − a 1 − 1 ) ( c 2 − 1 ) + [ ( c 2 − 1 ) cos ( 4 π f T + 2 π f ) + 1 − 2 b cos ( 2 π f ) + b 2 b sin ( 2 π f ) sin ( 4 π f T + 2 π f ) ] ( c 1 − 1 ) } + [ − c 4 cos ( 4 π f T + 2 π f ) + ( c 2 − 1 ) sin ( 4 π f T + 2 π f ) ] c 3 }
− 8 ∥ B ∥ 2 cos ( π f ( T + i ) ) sin ( π f ( T − i ) ) sin ( π f ) ( cos ( 2 π f T + π f ) ( c 2 − 1 ) + sin ( 2 π f T + π f ) c 4 ) + 4 ∥ B ∥ 2 cos 2 ( π f ( T + i ) ) sin 2 ( π f ( T − i ) ) -8\lVert\mathbf{B}\rVert^2\cos\left(\pi f\left(T+i\right)\right)\sin\left(\pi f\left(T-i\right)\right)\sin(\pi f)\left(\cos(2\pi fT+\pi f)(c_2-1)+\sin(2\pi fT+\pi f)c_4\right)+4\lVert\mathbf{B}\rVert^2\cos^2\left(\pi f\left(T+i\right)\right)\sin^2\left(\pi f\left(T-i\right)\right) − 8 ∥ B ∥ 2 cos ( π f ( T + i ) ) sin ( π f ( T − i ) ) sin ( π f ) ( cos ( 2 π f T + π f ) ( c 2 − 1 ) + sin ( 2 π f T + π f ) c 4 ) + 4 ∥ B ∥ 2 cos 2 ( π f ( T + i ) ) sin 2 ( π f ( T − i ) )
Recall Theorem 1,
G T e s g d → P v z c ′ 1 − a ′ T 1 − a ′ + 1 T ∑ i = 1 T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) T ∑ i = 1 T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ ) G_T^{\mathrm{esgd}} \xrightarrow{P} v_zc'\frac{1-a'^T}{1-a'}+\frac{1}{T}\sum_{i=1}^{T}\left\lVert\mathbf{w}_T^\star-\mathbf{w}_i^\star\right\rVert^2+2\left(\mathbf{w}_T^\star-\bar{\mathbf{w}}^\star\right)^{\mathsf{T}}\sum_{i=1}^{T}b'^{T-i+1}\left(\mathbf{w}_{i-1}^\star-\mathbf{w}_i^\star\right) G T esgd P v z c ′ 1 − a ′ 1 − a ′ T + T 1 i = 1 ∑ T ∥ w T ⋆ − w i ⋆ ∥ 2 + 2 ( w T ⋆ − w ˉ ⋆ ) T i = 1 ∑ T b ′ T − i + 1 ( w i − 1 ⋆ − w i ⋆ )
+ ∑ i = 1 T ∑ i ′ = 1 T a ′ T − max ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) , \quad+\sum_{i=1}^{T}\sum_{i'=1}^{T}a'^{T-\max(i,i')+1}b'^{|i-i'|}\left(\mathbf{w}_{i-1}^\star-\mathbf{w}_i^\star\right)^{\mathsf{T}}\left(\mathbf{w}_{i'-1}^\star-\mathbf{w}_{i'}^\star\right), + i = 1 ∑ T i ′ = 1 ∑ T a ′ T − m a x ( i , i ′ ) + 1 b ′ ∣ i − i ′ ∣ ( w i − 1 ⋆ − w i ⋆ ) T ( w i ′ − 1 ⋆ − w i ′ ⋆ ) ,
where we define w 0 ⋆ ≜ w 0 \mathbf{w}_0^\star\triangleq\mathbf{w}_0 w 0 ⋆ ≜ w 0 (by abuse of notation), the average teacher w ˉ ⋆ ≜ 1 T ∑ i = 1 T w i ⋆ \bar{\mathbf{w}}^\star\triangleq\frac{1}{T}\sum_{i=1}^{T}\mathbf{w}_i^\star w ˉ ⋆ ≜ T 1 ∑ i = 1 T w i ⋆ , and
a ′ = 1 + ∑ k = 0 2 N ( 2 N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r , a'=1+\sum_{k=0}^{2N}\binom{2N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^r}, a ′ = 1 + k = 0 ∑ 2 N ( k 2 N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 ,
b ′ = 1 + ∑ k = 0 N ( N k ) ( − γ ) k ∑ r = 0 k − 1 v x k r + 1 ( k r ) ( k − 1 r ) 1 α r , b'=1+\sum_{k=0}^{N}\binom{N}{k}(-\gamma)^k\sum_{r=0}^{k-1}\frac{v_x^k}{r+1}\binom{k}{r}\binom{k-1}{r}\frac{1}{\alpha^r}, b ′ = 1 + k = 0 ∑ N ( k N ) ( − γ ) k r = 0 ∑ k − 1 r + 1 v x k ( r k ) ( r k − 1 ) α r 1 ,
c ′ = ∑ s = 0 2 N − 2 m s ∑ l = 0 s ( s l ) ( − γ ) l + 2 ∑ r = 0 l v x l + 1 r + 1 ( l + 1 r ) ( l r ) 1 α r + 1 . c'=\sum_{s=0}^{2N-2}m_s\sum_{l=0}^{s}\binom{s}{l}(-\gamma)^{l+2}\sum_{r=0}^{l}\frac{v_x^{l+1}}{r+1}\binom{l+1}{r}\binom{l}{r}\frac{1}{\alpha^{r+1}}. c ′ = s = 0 ∑ 2 N − 2 m s l = 0 ∑ s ( l s ) ( − γ ) l + 2 r = 0 ∑ l r + 1 v x l + 1 ( r l + 1 ) ( r l ) α r + 1 1 .
In particular, it is shown in the proof of the Theorem that for all i ∈ [ T ] i\in[T] i ∈ [ T ] (see (13) ),
∥ w T e s g d − w i ⋆ ∥ 2 → P a ′ T ∥ w 0 − w 1 ⋆ ∥ 2 + v z c ′ 1 − a ′ T 1 − a ′ \left\lVert\mathbf{w}_T^{\mathrm{esgd}}-\mathbf{w}_i^\star\right\rVert^2\xrightarrow{P}a'^T\left\lVert\mathbf{w}_0-\mathbf{w}_1^\star\right\rVert^2+v_zc'\frac{1-a'^T}{1-a'} w T esgd − w i ⋆ 2 P a ′ T ∥ w 0 − w 1 ⋆ ∥ 2 + v z c ′ 1 − a ′ 1 − a ′ T
+ 2 ∑ k = 2 T a ′ T − k + 1 b ′ k − 1 ( w k − 1 ⋆ − w k ⋆ ) T ( w 0 − w 1 ⋆ ) + 2 b ′ T ( w T ⋆ − w i ⋆ ) T ( w 0 − w 1 ⋆ ) \quad+2\sum_{k=2}^{T}a'^{T-k+1}b'^{k-1}\left(\mathbf{w}_{k-1}^\star-\mathbf{w}_k^\star\right)^{\mathsf{T}}\left(\mathbf{w}_0-\mathbf{w}_1^\star\right)+2b'^T\left(\mathbf{w}_T^\star-\mathbf{w}_i^\star\right)^{\mathsf{T}}\left(\mathbf{w}_0-\mathbf{w}_1^\star\right) + 2 k = 2 ∑ T a ′ T − k + 1 b ′ k − 1 ( w k − 1 ⋆ − w k ⋆ ) T ( w 0 − w 1 ⋆ ) + 2 b ′ T ( w T ⋆ − w i ⋆ ) T ( w 0 − w 1 ⋆ )
+ ∑ k = 2 T ∑ k ′ = 2 T a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k − 1 ⋆ − w k ⋆ ) T ( w k ′ − 1 ⋆ − w k ′ ⋆ ) \quad+\sum_{k=2}^{T}\sum_{k'=2}^{T}a'^{T-(k\vee k')+1}b'^{|k-k'|}\left(\mathbf{w}_{k-1}^\star-\mathbf{w}_k^\star\right)^{\mathsf{T}}\left(\mathbf{w}_{k'-1}^\star-\mathbf{w}_{k'}^\star\right) + k = 2 ∑ T k ′ = 2 ∑ T a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ ( w k − 1 ⋆ − w k ⋆ ) T ( w k ′ − 1 ⋆ − w k ′ ⋆ )
+ 2 ∑ k = 2 T b ′ T − k + 1 ( w T ⋆ − w i ⋆ ) T ( w k − 1 ⋆ − w k ⋆ ) + ∥ w T ⋆ − w i ⋆ ∥ 2 (60) \quad+2\sum_{k=2}^{T}b'^{T-k+1}\left(\mathbf{w}_T^\star-\mathbf{w}_i^\star\right)^{\mathsf{T}}\left(\mathbf{w}_{k-1}^\star-\mathbf{w}_k^\star\right)+\left\lVert\mathbf{w}_T^\star-\mathbf{w}_i^\star\right\rVert^2 \tag*{(60)} + 2 k = 2 ∑ T b ′ T − k + 1 ( w T ⋆ − w i ⋆ ) T ( w k − 1 ⋆ − w k ⋆ ) + ∥ w T ⋆ − w i ⋆ ∥ 2 (60)
Let w i ⋆ = A + sin ( 2 π f i ) ⋅ B \mathbf{w}_i^\star=\mathbf{A}+\sin(2\pi f i)\cdot\mathbf{B} w i ⋆ = A + sin ( 2 π f i ) ⋅ B , for all k ∈ [ 2 , T ] k\in[2,T] k ∈ [ 2 , T ] we have
w k − 1 ⋆ − w k ⋆ = A + sin ( 2 π f ( k − 1 ) ) ⋅ B − ( A + sin ( 2 π f k ) ⋅ B ) = B ( sin ( 2 π f ( k − 1 ) ) − sin ( 2 π f k ) ) = − 2 B sin ( π f ) cos ( π f ( 2 k − 1 ) ) \begin{aligned}
\mathbf{w}_{k-1}^\star-\mathbf{w}_k^\star=\mathbf{A}+\sin(2\pi f(k-1))\cdot\mathbf{B}-\left(\mathbf{A}+\sin(2\pi fk)\cdot\mathbf{B}\right) \\
&=\mathbf{B}\left(\sin(2\pi f(k-1))-\sin(2\pi fk)\right) \\
&=-2\mathbf{B}\sin(\pi f)\cos(\pi f(2k-1))
\end{aligned} w k − 1 ⋆ − w k ⋆ = A + sin ( 2 π f ( k − 1 )) ⋅ B − ( A + sin ( 2 π f k ) ⋅ B ) = B ( sin ( 2 π f ( k − 1 )) − sin ( 2 π f k ) ) = − 2 B sin ( π f ) cos ( π f ( 2 k − 1 ))
and for all i ∈ [ 1 , T ] i\in[1,T] i ∈ [ 1 , T ] ,
w T ⋆ − w i ⋆ = A + sin ( 2 π f T ) ⋅ B − ( A + sin ( 2 π f i ) ⋅ B ) = B ( sin ( 2 π f T ) − sin ( 2 π f i ) ) = 2 B cos ( π f ( T + i ) ) sin ( π f ( T − i ) ) \begin{aligned}
\mathbf{w}_T^\star-\mathbf{w}_i^\star=\mathbf{A}+\sin(2\pi fT)\cdot\mathbf{B}-\left(\mathbf{A}+\sin(2\pi fi)\cdot\mathbf{B}\right) \\
&=\mathbf{B}\left(\sin(2\pi fT)-\sin(2\pi fi)\right) \\
&=2\mathbf{B}\cos(\pi f(T+i))\sin(\pi f(T-i))
\end{aligned} w T ⋆ − w i ⋆ = A + sin ( 2 π f T ) ⋅ B − ( A + sin ( 2 π f i ) ⋅ B ) = B ( sin ( 2 π f T ) − sin ( 2 π f i ) ) = 2 B cos ( π f ( T + i )) sin ( π f ( T − i ))
We first evaluate the following geometric sums,
∑ n = 0 ∞ q n cos ( n x ) = 1 2 ∑ n = 0 ∞ [ ( q e i x ) n + ( q e − i x ) n ] = 1 2 [ 1 1 − q e i x + 1 1 − q e − i x ] = 1 2 [ 1 − q e − i x ( 1 − q e i x ) ( 1 − q e − i x ) + 1 − q e i x ( 1 − q e − i x ) ( 1 − q e i x ) ] = 1 2 [ 2 − q ( e − i x + e i x ) 1 − q e i x − q e − i x + q 2 ] = 1 − q cos ( x ) 1 − 2 q cos ( x ) + q 2 (61) \begin{aligned}
\sum_{n=0}^{\infty} q^n\cos(nx)
&= \frac{1}{2}\sum_{n=0}^{\infty}\left[(qe^{ix})^n+(qe^{-ix})^n\right]
= \frac{1}{2}\left[\frac{1}{1-qe^{ix}}+\frac{1}{1-qe^{-ix}}\right]\\
&= \frac{1}{2}\left[\frac{1-qe^{-ix}}{(1-qe^{ix})(1-qe^{-ix})}+\frac{1-qe^{ix}}{(1-qe^{-ix})(1-qe^{ix})}\right]\\
&= \frac{1}{2}\left[\frac{2-q(e^{-ix}+e^{ix})}{1-qe^{ix}-qe^{-ix}+q^2}\right]
= \frac{1-q\cos(x)}{1-2q\cos(x)+q^2} \tag*{(61)}
\end{aligned} n = 0 ∑ ∞ q n cos ( n x ) = 2 1 n = 0 ∑ ∞ [ ( q e i x ) n + ( q e − i x ) n ] = 2 1 [ 1 − q e i x 1 + 1 − q e − i x 1 ] = 2 1 [ ( 1 − q e i x ) ( 1 − q e − i x ) 1 − q e − i x + ( 1 − q e − i x ) ( 1 − q e i x ) 1 − q e i x ] = 2 1 [ 1 − q e i x − q e − i x + q 2 2 − q ( e − i x + e i x ) ] = 1 − 2 q cos ( x ) + q 2 1 − q cos ( x ) (61)
∑ n = 0 ∞ q n sin ( n x ) = 1 2 i ∑ n = 0 ∞ [ ( q e i x ) n − ( q e − i x ) n ] = 1 2 i [ 1 1 − q e i x − 1 1 − q e − i x ] = 1 2 i [ 1 − q e − i x ( 1 − q e i x ) ( 1 − q e − i x ) − 1 − q e i x ( 1 − q e − i x ) ( 1 − q e i x ) ] = 1 2 i [ 1 − q e − i x 1 − q e i x − q e − i x + q 2 − 1 − q e i x 1 − q e i x − q e − i x + q 2 ] = 1 2 i q ( e i x − e − i x ) 1 − 2 q cos ( x ) + q 2 = q sin ( x ) 1 − 2 q cos ( x ) + q 2 (62) \begin{aligned}
\sum_{n=0}^{\infty}q^n\sin(nx)
&= \frac{1}{2i}\sum_{n=0}^{\infty}\left[(qe^{ix})^n-(qe^{-ix})^n\right]
= \frac{1}{2i}\left[\frac{1}{1-qe^{ix}}-\frac{1}{1-qe^{-ix}}\right]\\
&= \frac{1}{2i}\left[\frac{1-qe^{-ix}}{(1-qe^{ix})(1-qe^{-ix})}-\frac{1-qe^{ix}}{(1-qe^{-ix})(1-qe^{ix})}\right]\\
&= \frac{1}{2i}\left[\frac{1-qe^{-ix}}{1-qe^{ix}-qe^{-ix}+q^2}-\frac{1-qe^{ix}}{1-qe^{ix}-qe^{-ix}+q^2}\right]\\
&= \frac{1}{2i}\frac{q(e^{ix}-e^{-ix})}{1-2q\cos(x)+q^2}
= \frac{q\sin(x)}{1-2q\cos(x)+q^2} \tag*{(62)}
\end{aligned} n = 0 ∑ ∞ q n sin ( n x ) = 2 i 1 n = 0 ∑ ∞ [ ( q e i x ) n − ( q e − i x ) n ] = 2 i 1 [ 1 − q e i x 1 − 1 − q e − i x 1 ] = 2 i 1 [ ( 1 − q e i x ) ( 1 − q e − i x ) 1 − q e − i x − ( 1 − q e − i x ) ( 1 − q e i x ) 1 − q e i x ] = 2 i 1 [ 1 − q e i x − q e − i x + q 2 1 − q e − i x − 1 − q e i x − q e − i x + q 2 1 − q e i x ] = 2 i 1 1 − 2 q cos ( x ) + q 2 q ( e i x − e − i x ) = 1 − 2 q cos ( x ) + q 2 q sin ( x ) (62)
Then, we proceed with evaluating term 1 in (60)
∣ lim sup T → ∞ ∑ k = 2 T a ′ T − k + 1 b ′ k − 1 cos ( π f ( 2 k − 1 ) ) ∣ ≤ lim sup T → ∞ ∑ k = 2 T a ′ T − k + 1 b ′ k − 1 = lim sup T → ∞ ∑ k = 2 T a ′ T + 1 ( b ′ a ′ ) k − 1 = lim sup T → ∞ a ′ T + 1 ∑ j = 1 T − 1 ( b ′ a ′ ) j = lim sup T → ∞ a ′ T + 1 b ′ a ′ ( ( b ′ a ′ ) T − 1 − 1 ) b ′ a ′ − 1 = [1] lim sup T → ∞ a ′ b ′ T − a ′ T b ′ b ′ − a ′ = 0. \begin{aligned}
\left|\limsup_{T\to\infty}\sum_{k=2}^{T}a'^{T-k+1}b'^{k-1}\cos\left(\pi f(2k-1)\right)\right|
\leq\limsup_{T\to\infty}\sum_{k=2}^{T}a'^{T-k+1}b'^{k-1}
= \limsup_{T\to\infty}\sum_{k=2}^{T}a'^{T+1}\left(\frac{b'}{a'}\right)^{k-1} \\
&= \limsup_{T\to\infty}a'^{T+1}\sum_{j=1}^{T-1}\left(\frac{b'}{a'}\right)^j
= \limsup_{T\to\infty}a'^{T+1}\frac{\frac{b'}{a'}\left(\left(\frac{b'}{a'}\right)^{T-1}-1\right)}{\frac{b'}{a'}-1}
\overset{\text{[1]}}{=}\limsup_{T\to\infty}\frac{a'b'^T-a'Tb'}{b'-a'}=0.
\end{aligned} T → ∞ lim sup k = 2 ∑ T a ′ T − k + 1 b ′ k − 1 cos ( π f ( 2 k − 1 ) ) ≤ T → ∞ lim sup k = 2 ∑ T a ′ T − k + 1 b ′ k − 1 = T → ∞ lim sup k = 2 ∑ T a ′ T + 1 ( a ′ b ′ ) k − 1 = T → ∞ lim sup a ′ T + 1 j = 1 ∑ T − 1 ( a ′ b ′ ) j = T → ∞ lim sup a ′ T + 1 a ′ b ′ − 1 a ′ b ′ ( ( a ′ b ′ ) T − 1 − 1 ) = [1] T → ∞ lim sup b ′ − a ′ a ′ b ′ T − a ′ T b ′ = 0.
Where [1] follows as a ′ , b ′ < 1 a',b'<1 a ′ , b ′ < 1 for γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1 / 2 ) − 2 ) \gamma\in\left(0,2v_x^{-1}\left(1+\alpha^{-1/2}\right)^{-2}\right) γ ∈ ( 0 , 2 v x − 1 ( 1 + α − 1/2 ) − 2 ) . That implies,
lim sup T → ∞ ∑ k = 2 T a ′ T − k + 1 b ′ k − 1 cos ( π f ( 2 k − 1 ) ) = 0. \limsup_{T\to\infty}\sum_{k=2}^{T}a'^{T-k+1}b'^{k-1}\cos\left(\pi f(2k-1)\right)=0. T → ∞ lim sup k = 2 ∑ T a ′ T − k + 1 b ′ k − 1 cos ( π f ( 2 k − 1 ) ) = 0.
And term 2 in (60) becomes,
lim sup T → ∞ 4 ∥ B ∥ 2 sin 2 ( π f ) ∑ k = 2 T ∑ k ′ = 2 T a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ cos ( π f ( 2 k − 1 ) ) cos ( π f ( 2 k ′ − 1 ) ) = lim sup T → ∞ 4 ∥ B ∥ 2 sin 2 ( π f ) ∑ k = 0 T − 2 a ′ T − k − 1 cos 2 ( π f ( 2 k + 3 ) ) + 8 ∥ B ∥ 2 sin 2 ( π f ) ∑ p = 0 T − 3 b ′ p + 1 ∑ k = 1 T − p − 2 a ′ k cos ( π f ( 2 ( T − k − p ) − 1 ) ) cos ( π f ( 2 ( T − k ) + 1 ) ) = lim sup T → ∞ 4 ∥ B ∥ 2 sin 2 ( π f ) ∑ k = 1 T − 1 a ′ k ( 1 + cos ( 2 ( π f ( 2 ( T − k ) + 1 ) ) ) 2 ) + 8 ∥ B ∥ 2 sin 2 ( π f ) ∑ p = 0 T − 3 b ′ p + 1 ∑ r = 1 T − p − 1 a ′ r ( 1 2 cos ( − 2 π f ( 1 + p ) ) + 1 2 cos ( 4 π f ( T − r ) − 2 p π f ) ) = lim sup T → ∞ 4 ∥ B ∥ 2 sin 2 ( π f ) ∑ k = 1 T − 1 a ′ k ( 1 + cos ( − 4 π f k + 4 π f T + 2 π f ) 2 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) ∑ p = 0 T − 2 b ′ p + 1 ∑ r = 1 T − p − 1 a ′ r ( cos ( − 2 π f ( 1 + p ) ) + cos ( − 4 π f r + 4 π f T − 2 p π f ) ) \begin{aligned}
&\limsup_{T\to\infty}4\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{k=2}^{T}\sum_{k'=2}^{T}a'^{T-(k\vee k')+1}b'^{|k-k'|}
\cos\left(\pi f(2k-1)\right)\cos\left(\pi f(2k'-1)\right)\\
&=\limsup_{T\to\infty}4\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{k=0}^{T-2}a'^{T-k-1}\cos^2\left(\pi f(2k+3)\right)\\
&\quad+8\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{p=0}^{T-3}b'^{p+1}\sum_{k=1}^{T-p-2}a'^k
\cos\left(\pi f(2(T-k-p)-1)\right)\cos\left(\pi f(2(T-k)+1)\right)\\
&=\limsup_{T\to\infty}4\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{k=1}^{T-1}a'^k\left(\frac{1+\cos\left(2(\pi f(2(T-k)+1))\right)}{2}\right)\\
&\quad+8\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{p=0}^{T-3}b'^{p+1}\sum_{r=1}^{T-p-1}a'^r
\left(\frac{1}{2}\cos(-2\pi f(1+p))+\frac{1}{2}\cos(4\pi f(T-r)-2p\pi f)\right)\\
&=\limsup_{T\to\infty}4\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{k=1}^{T-1}a'^k\left(\frac{1+\cos(-4\pi fk+4\pi fT+2\pi f)}{2}\right)\\
&\quad+4\lVert\mathbf{B}\rVert^2\sin^2(\pi f)
\sum_{p=0}^{T-2}b'^{p+1}\sum_{r=1}^{T-p-1}a'^r
\left(\cos(-2\pi f(1+p))+\cos(-4\pi fr+4\pi fT-2p\pi f)\right)
\end{aligned} T → ∞ lim sup 4 ∥ B ∥ 2 sin 2 ( π f ) k = 2 ∑ T k ′ = 2 ∑ T a ′ T − ( k ∨ k ′ ) + 1 b ′ ∣ k − k ′ ∣ cos ( π f ( 2 k − 1 ) ) cos ( π f ( 2 k ′ − 1 ) ) = T → ∞ lim sup 4 ∥ B ∥ 2 sin 2 ( π f ) k = 0 ∑ T − 2 a ′ T − k − 1 cos 2 ( π f ( 2 k + 3 ) ) + 8 ∥ B ∥ 2 sin 2 ( π f ) p = 0 ∑ T − 3 b ′ p + 1 k = 1 ∑ T − p − 2 a ′ k cos ( π f ( 2 ( T − k − p ) − 1 ) ) cos ( π f ( 2 ( T − k ) + 1 ) ) = T → ∞ lim sup 4 ∥ B ∥ 2 sin 2 ( π f ) k = 1 ∑ T − 1 a ′ k ( 2 1 + cos ( 2 ( π f ( 2 ( T − k ) + 1 )) ) ) + 8 ∥ B ∥ 2 sin 2 ( π f ) p = 0 ∑ T − 3 b ′ p + 1 r = 1 ∑ T − p − 1 a ′ r ( 2 1 cos ( − 2 π f ( 1 + p )) + 2 1 cos ( 4 π f ( T − r ) − 2 p π f ) ) = T → ∞ lim sup 4 ∥ B ∥ 2 sin 2 ( π f ) k = 1 ∑ T − 1 a ′ k ( 2 1 + cos ( − 4 π f k + 4 π f T + 2 π f ) ) + 4 ∥ B ∥ 2 sin 2 ( π f ) p = 0 ∑ T − 2 b ′ p + 1 r = 1 ∑ T − p − 1 a ′ r ( cos ( − 2 π f ( 1 + p )) + cos ( − 4 π f r + 4 π f T − 2 p π f ) )
= lim sup T → ∞ 2 ∥ B ∥ 2 sin 2 ( π f ) [ ∑ k = 1 T − 1 a ′ k + ∑ k = 1 T − 1 a ′ k ( cos ( − 4 π f k ) cos ( 4 π f T + 2 π f ) − sin ( − 4 π f k ) sin ( 4 π f T + 2 π f ) ) ] + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ∑ p = 0 T − 2 b ′ p + 1 ∑ r = 1 T − p − 1 a ′ r cos ( − 2 π f ( 1 + p ) ) + cos ( 4 π f r ) cos ( 4 π f T − 2 p π f ) + sin ( 4 π f r ) sin ( 4 π f T − 2 p π f ) ] = lim sup T → ∞ 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 1 − a ′ − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ∑ p = 0 T − 2 b ′ p + 1 [ cos ( − 2 π f ( 1 + p ) ) ( 1 1 − a ′ − 1 ) + cos ( 4 π f T − 2 p π f ) ( c 1 − 1 ) + sin ( 4 π f T − 2 p π f ) c 3 ] ] = lim sup T → ∞ 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 1 − a ′ − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ∑ p = 0 T − 2 b ′ p + 1 [ ( 1 1 − a ′ − 1 ) cos ( − 2 π f ( p + 1 ) ) + ( cos ( − 2 ( p + 1 ) π f ) cos ( 4 π f T + 2 π f ) + sin ( 2 ( p + 1 ) π f ) sin ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T − 2 ( p + 1 ) π f + 2 π f ) c 3 ) ] ] = lim sup T → ∞ 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 1 − a ′ − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ( 1 1 − a ′ − 1 ) ( c 2 − 1 ) + ( ( c 2 − 1 ) cos ( 4 π f T + 2 π f ) + c 4 sin ( 4 π f T + 2 π f ) ) ( c 1 − 1 ) + ∑ p = 0 T − 2 b ′ p + 1 [ ( − sin ( 2 ( p + 1 ) π f ) cos ( 4 π f T + 2 π f ) + cos ( 2 ( p + 1 ) π f ) sin ( 4 π f T + 2 π f ) ) c 3 ] ] = lim sup t → ∞ 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 1 − a ′ − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ( 1 1 − a ′ − 1 ) ( c 2 − 1 ) + ( ( c 2 − 1 ) cos ( 4 π f T + 2 π f ) + c 4 sin ( 4 π f T + 2 π f ) ) ( c 1 − 1 ) + ( − c 4 cos ( 4 π f T + 2 π f ) + ( c 2 − 1 ) sin ( 4 π f T + 2 π f ) ) c 3 ] . \begin{aligned}
&= \limsup_{T\to\infty} 2\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left[
\sum_{k=1}^{T-1}a^{\prime k}
+\sum_{k=1}^{T-1}a^{\prime k}
\left(\cos(-4\pi f k)\cos(4\pi fT+2\pi f)-\sin(-4\pi f k)\sin(4\pi fT+2\pi f)\right)
\right]\\
&\quad+4\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left[
\sum_{p=0}^{T-2}b^{\prime p+1}\sum_{r=1}^{T-p-1}a^{\prime r}\cos(-2\pi f(1+p))
+\cos(4\pi fr)\cos(4\pi fT-2p\pi f)+\sin(4\pi fr)\sin(4\pi fT-2p\pi f)
\right]\\
&=\limsup_{T\to\infty}2\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left(
\left(\frac{1}{1-a^{\prime}}-1\right)
+\cos(4\pi fT+2\pi f)(c_{1}-1)
+\sin(4\pi fT+2\pi f)c_{3}
\right)\\
&\quad+4\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left[
\sum_{p=0}^{T-2}b^{\prime p+1}
\left[
\cos(-2\pi f(1+p))\left(\frac{1}{1-a^{\prime}}-1\right)
+\cos(4\pi fT-2p\pi f)(c_{1}-1)
+\sin(4\pi fT-2p\pi f)c_{3}
\right]
\right]\\
&=\limsup_{T\to\infty}2\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left(
\left(\frac{1}{1-a^{\prime}}-1\right)
+\cos(4\pi fT+2\pi f)(c_{1}-1)
+\sin(4\pi fT+2\pi f)c_{3}
\right)\\
&\quad+4\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left[
\sum_{p=0}^{T-2}b^{\prime p+1}
\left[
\left(\frac{1}{1-a^{\prime}}-1\right)\cos(-2\pi f(p+1))
+\left(\cos(-2(p+1)\pi f)\cos(4\pi fT+2\pi f)\right.\right.\right.\\
&\qquad\left.\left.\left.
+\sin(2(p+1)\pi f)\sin(4\pi fT+2\pi f)(c_{1}-1)
+\sin(4\pi fT-2(p+1)\pi f+2\pi f)c_{3}
\right)
\right]
\right]\\
&=\limsup_{T\to\infty}2\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left(
\left(\frac{1}{1-a^{\prime}}-1\right)
+\cos(4\pi fT+2\pi f)(c_{1}-1)
+\sin(4\pi fT+2\pi f)c_{3}
\right)\\
&\quad+4\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left[
\left(\frac{1}{1-a^{\prime}}-1\right)(c_{2}-1)
+\left((c_{2}-1)\cos(4\pi fT+2\pi f)+c_{4}\sin(4\pi fT+2\pi f)\right)(c_{1}-1)
\right.\\
&\qquad\left.
+\sum_{p=0}^{T-2}b^{\prime p+1}
\left[
\left(-\sin(2(p+1)\pi f)\cos(4\pi fT+2\pi f)
+\cos(2(p+1)\pi f)\sin(4\pi fT+2\pi f)\right)c_{3}
\right]
\right]\\
&=\limsup_{t\to\infty}2\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left(
\left(\frac{1}{1-a^{\prime}}-1\right)
+\cos(4\pi fT+2\pi f)(c_{1}-1)
+\sin(4\pi fT+2\pi f)c_{3}
\right)\\
&\quad+4\lVert\mathbf{B}\rVert^{2}\sin^{2}(\pi f)
\left[
\left(\frac{1}{1-a^{\prime}}-1\right)(c_{2}-1)
+\left((c_{2}-1)\cos(4\pi fT+2\pi f)+c_{4}\sin(4\pi fT+2\pi f)\right)(c_{1}-1)
\right.\\
&\qquad\left.
+\left(-c_{4}\cos(4\pi fT+2\pi f)
+(c_{2}-1)\sin(4\pi fT+2\pi f)\right)c_{3}
\right].
\end{aligned} = T → ∞ lim sup 2 ∥ B ∥ 2 sin 2 ( π f ) [ k = 1 ∑ T − 1 a ′ k + k = 1 ∑ T − 1 a ′ k ( cos ( − 4 π f k ) cos ( 4 π f T + 2 π f ) − sin ( − 4 π f k ) sin ( 4 π f T + 2 π f ) ) ] + 4 ∥ B ∥ 2 sin 2 ( π f ) [ p = 0 ∑ T − 2 b ′ p + 1 r = 1 ∑ T − p − 1 a ′ r cos ( − 2 π f ( 1 + p )) + cos ( 4 π f r ) cos ( 4 π f T − 2 p π f ) + sin ( 4 π f r ) sin ( 4 π f T − 2 p π f ) ] = T → ∞ lim sup 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 − a ′ 1 − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ p = 0 ∑ T − 2 b ′ p + 1 [ cos ( − 2 π f ( 1 + p )) ( 1 − a ′ 1 − 1 ) + cos ( 4 π f T − 2 p π f ) ( c 1 − 1 ) + sin ( 4 π f T − 2 p π f ) c 3 ] ] = T → ∞ lim sup 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 − a ′ 1 − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ p = 0 ∑ T − 2 b ′ p + 1 [ ( 1 − a ′ 1 − 1 ) cos ( − 2 π f ( p + 1 )) + ( cos ( − 2 ( p + 1 ) π f ) cos ( 4 π f T + 2 π f ) + sin ( 2 ( p + 1 ) π f ) sin ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T − 2 ( p + 1 ) π f + 2 π f ) c 3 ) ] ] = T → ∞ lim sup 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 − a ′ 1 − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ( 1 − a ′ 1 − 1 ) ( c 2 − 1 ) + ( ( c 2 − 1 ) cos ( 4 π f T + 2 π f ) + c 4 sin ( 4 π f T + 2 π f ) ) ( c 1 − 1 ) + p = 0 ∑ T − 2 b ′ p + 1 [ ( − sin ( 2 ( p + 1 ) π f ) cos ( 4 π f T + 2 π f ) + cos ( 2 ( p + 1 ) π f ) sin ( 4 π f T + 2 π f ) ) c 3 ] ] = t → ∞ lim sup 2 ∥ B ∥ 2 sin 2 ( π f ) ( ( 1 − a ′ 1 − 1 ) + cos ( 4 π f T + 2 π f ) ( c 1 − 1 ) + sin ( 4 π f T + 2 π f ) c 3 ) + 4 ∥ B ∥ 2 sin 2 ( π f ) [ ( 1 − a ′ 1 − 1 ) ( c 2 − 1 ) + ( ( c 2 − 1 ) cos ( 4 π f T + 2 π f ) + c 4 sin ( 4 π f T + 2 π f ) ) ( c 1 − 1 ) + ( − c 4 cos ( 4 π f T + 2 π f ) + ( c 2 − 1 ) sin ( 4 π f T + 2 π f ) ) c 3 ] .
And term 3 in (60) is,
lim sup T → ∞ ∑ k = 2 T b ′ T − k + 1 cos ( π f ( 2 k − 1 ) ) = lim sup T → ∞ ∑ j = 1 T − 1 b ′ j cos ( π f ( 2 ( T − j + 1 ) − 1 ) ) = lim sup T → ∞ ∑ j = 1 T − 1 b ′ j cos ( − 2 π f j + 2 π f T + π f ) = lim sup T → ∞ ∑ j = 1 T − 1 b ′ j cos ( − 2 π f j ) cos ( 2 π f T + π f ) − ∑ j = 1 T − 1 b ′ j sin ( − 2 π f j ) sin ( 2 π f T + π f ) = lim sup T → ∞ cos ( 2 π f T + π f ) ( 1 − b ′ cos ( − 2 π f ) 1 − 2 b ′ cos ( − 2 π f ) + b ′ 2 − 1 ) − sin ( 2 π f T + π f ) ( b ′ sin ( − 2 π f ) 1 − 2 b cos ( − 2 π f ) + b ′ 2 ) . \begin{aligned}
\limsup_{T\to\infty}\sum_{k=2}^{T} b^{\prime T-k+1}\cos\left(\pi f(2k-1)\right)
&=\limsup_{T\to\infty}\sum_{j=1}^{T-1}b^{\prime j}\cos\left(\pi f\left(2(T-j+1)-1\right)\right)\\
&=\limsup_{T\to\infty}\sum_{j=1}^{T-1}b^{\prime j}\cos\left(-2\pi fj+2\pi fT+\pi f\right)\\
&=\limsup_{T\to\infty}\sum_{j=1}^{T-1}b^{\prime j}\cos(-2\pi fj)\cos(2\pi fT+\pi f)\\
&\qquad-\sum_{j=1}^{T-1}b^{\prime j}\sin(-2\pi fj)\sin(2\pi fT+\pi f)\\
&=\limsup_{T\to\infty}\cos(2\pi fT+\pi f)\left(\frac{1-b'\cos(-2\pi f)}{1-2b'\cos(-2\pi f)+b'^2}-1\right)\\
&\qquad-\sin(2\pi fT+\pi f)\left(\frac{b'\sin(-2\pi f)}{1-2b\cos(-2\pi f)+b'^2}\right).
\end{aligned} T → ∞ lim sup k = 2 ∑ T b ′ T − k + 1 cos ( π f ( 2 k − 1 ) ) = T → ∞ lim sup j = 1 ∑ T − 1 b ′ j cos ( π f ( 2 ( T − j + 1 ) − 1 ) ) = T → ∞ lim sup j = 1 ∑ T − 1 b ′ j cos ( − 2 π f j + 2 π f T + π f ) = T → ∞ lim sup j = 1 ∑ T − 1 b ′ j cos ( − 2 π f j ) cos ( 2 π f T + π f ) − j = 1 ∑ T − 1 b ′ j sin ( − 2 π f j ) sin ( 2 π f T + π f ) = T → ∞ lim sup cos ( 2 π f T + π f ) ( 1 − 2 b ′ cos ( − 2 π f ) + b ′2 1 − b ′ cos ( − 2 π f ) − 1 ) − sin ( 2 π f T + π f ) ( 1 − 2 b cos ( − 2 π f ) + b ′2 b ′ sin ( − 2 π f ) ) .
Finally, the expression to lim sup T → ∞ ∥ w T − w i ⋆ ∥ 2 \limsup_{T\to\infty}\|\mathbf{w}_T-\mathbf{w}_i^\star\|^2 lim sup T → ∞ ∥ w T − w i ⋆ ∥ 2 follows by adding the expressions, and noting that,
lim sup T → ∞ a T ∥ w 0 − w 1 ⋆ ∥ 2 = 0 , \limsup_{T\to\infty}a^T\|\mathbf{w}_0-\mathbf{w}_1^\star\|^2=0, T → ∞ lim sup a T ∥ w 0 − w 1 ⋆ ∥ 2 = 0 ,
lim sup T → ∞ v z c ′ − a ′ T 1 − a ′ = 0 , \limsup_{T\to\infty}v_zc'\frac{-a^{\prime T}}{1-a'}=0, T → ∞ lim sup v z c ′ 1 − a ′ − a ′ T = 0 ,
lim sup T → ∞ 2 b ′ T ( w T ⋆ − w i ⋆ ) ⊤ ( w 0 − w 1 ⋆ ) = 0 , \limsup_{T\to\infty}2b^{\prime T}(\mathbf{w}_T^\star-\mathbf{w}_i^\star)^\top(\mathbf{w}_0-\mathbf{w}_1^\star)=0, T → ∞ lim sup 2 b ′ T ( w T ⋆ − w i ⋆ ) ⊤ ( w 0 − w 1 ⋆ ) = 0 ,
∥ w T ⋆ − w i ⋆ ∥ 2 = 4 ∥ B ∥ 2 cos 2 ( π f ( T + i ) ) sin 2 ( π f ( T − i ) ) . \|\mathbf{w}_T^\star-\mathbf{w}_i^\star\|^2=4\|\mathbf{B}\|^2\cos^2(\pi f(T+i))\sin^2(\pi f(T-i)). ∥ w T ⋆ − w i ⋆ ∥ 2 = 4∥ B ∥ 2 cos 2 ( π f ( T + i )) sin 2 ( π f ( T − i )) .
Note that, 1 ∣ A T ∣ ∑ i ∈ A T ∥ w T − w i ⋆ ∥ 2 = ∥ w T − w i ⋆ ∥ 2 \frac{1}{|A_T|}\sum_{i\in A_T}\|\mathbf{w}_T-\mathbf{w}_i^\star\|^2=\|\mathbf{w}_T-\mathbf{w}_i^\star\|^2 ∣ A T ∣ 1 ∑ i ∈ A T ∥ w T − w i ⋆ ∥ 2 = ∥ w T − w i ⋆ ∥ 2 since w i ⋆ = w j ⋆ \mathbf{w}_i^\star=\mathbf{w}_j^\star w i ⋆ = w j ⋆ for all i , j ∈ A T i,j\in A_T i , j ∈ A T .
Therefore, evaluating at the last predictor, we get,
lim sup T → ∞ 1 ∣ A T ∣ ∑ i ∈ A T ∥ w T − w ⋆ ∥ 2 = lim sup T → ∞ C 0 + C 1 cos ( 4 π f T + 2 π f ) + C 2 sin ( 4 π f T + 2 π f ) = lim sup T → ∞ C 0 + C 1 2 + C 2 2 cos ( 4 π f T + 2 π f − arctan 2 ( C 2 , C 1 ) ) , \begin{aligned}
\limsup_{T\to\infty}\frac{1}{|A_T|}\sum_{i\in A_T}\|\mathbf{w}_T-\mathbf{w}^\star\|^2
&=\limsup_{T\to\infty}C_0+C_1\cos(4\pi fT+2\pi f)+C_2\sin(4\pi fT+2\pi f)\\
&=\limsup_{T\to\infty}C_0+\sqrt{C_1^2+C_2^2}\cos\left(4\pi fT+2\pi f-\arctan2(C_2,C_1)\right),
\end{aligned} T → ∞ lim sup ∣ A T ∣ 1 i ∈ A T ∑ ∥ w T − w ⋆ ∥ 2 = T → ∞ lim sup C 0 + C 1 cos ( 4 π f T + 2 π f ) + C 2 sin ( 4 π f T + 2 π f ) = T → ∞ lim sup C 0 + C 1 2 + C 2 2 cos ( 4 π f T + 2 π f − arctan 2 ( C 2 , C 1 ) ) ,
where
C 0 = v z c ′ 1 1 − a ′ + 2 ∥ B ∥ 2 sin 2 ( π f ) ( 1 1 − a ′ − 1 ) ( 2 c 2 − 1 ) , C_0=v_zc'\frac{1}{1-a'}+2\|\mathbf{B}\|^2\sin^2(\pi f)\left(\frac{1}{1-a'}-1\right)(2c_2-1), C 0 = v z c ′ 1 − a ′ 1 + 2∥ B ∥ 2 sin 2 ( π f ) ( 1 − a ′ 1 − 1 ) ( 2 c 2 − 1 ) ,
C 1 = 4 ∥ B ∥ 2 sin 2 ( π f ) ( 1 2 ( c 1 − 1 ) + ( c 2 − 1 ) ( c 1 − 1 ) − c 4 c 3 ) , C_1=4\|\mathbf{B}\|^2\sin^2(\pi f)\left(\frac{1}{2}(c_1-1)+(c_2-1)(c_1-1)-c_4c_3\right), C 1 = 4∥ B ∥ 2 sin 2 ( π f ) ( 2 1 ( c 1 − 1 ) + ( c 2 − 1 ) ( c 1 − 1 ) − c 4 c 3 ) ,
C 2 = 4 ∥ B ∥ 2 sin 2 ( π f ) ( − 1 2 c 3 + c 4 ( c 1 − 1 ) + c 2 c 3 ) . C_2=4\|\mathbf{B}\|^2\sin^2(\pi f)\left(-\frac{1}{2}c_3+c_4(c_1-1)+c_2c_3\right). C 2 = 4∥ B ∥ 2 sin 2 ( π f ) ( − 2 1 c 3 + c 4 ( c 1 − 1 ) + c 2 c 3 ) .