Introduction
In this paper we study nonconvex–strongly convex (NC–SC) stochastic bilevel optimization (SBO) :
min w ∈ R d w F ( w ) : = f ( w , y ∗ ( w ) ) , y ∗ ( w ) : = arg min y ∈ R d y g ( w , y ) , (1) \min_{w\in\mathbb{R}^{d_w}} F(w) := f(w,y^*(w)), \qquad y^*(w) := \arg\min_{y\in\mathbb{R}^{d_y}} g(w,y), \tag*{(1)} w ∈ R d w min F ( w ) := f ( w , y ∗ ( w )) , y ∗ ( w ) := arg y ∈ R d y min g ( w , y ) , (1)
where the lower level (LL) function g ( w , y ) : = E ξ g ∼ D g g ( w , y , ξ g ) g(w,\mathbf{y}) := \mathbb{E}_{\xi_g\sim\mathcal{D}_g}g(w,\mathbf{y},\xi_g) g ( w , y ) := E ξ g ∼ D g g ( w , y , ξ g ) is jointly smooth and strongly convex in y \mathbf{y} y for every w \mathbf{w} w , while the upper level (UL) function f ( w , y ) : = E ξ f ∼ D f f ( w , y , ξ f ) f(\mathbf{w},\mathbf{y}) := \mathbb{E}_{\xi_f\sim\mathcal{D}_f} f(\mathbf{w},\mathbf{y},\xi_f) f ( w , y ) := E ξ f ∼ D f f ( w , y , ξ f ) is smooth but potentially nonconvex. Both f f f and g g g are accessed through stochastic gradients. This formulation captures learning problems in which one optimization task depends on the solution of another, including hyperparameter optimization [5 , 1 ] , data hyper-cleaning and reweighting [6 ] , and meta-learning with strongly convex inner problems [12 , 14 ] .
A substantial body of work has developed algorithms and convergence guarantees for this problem class. Representative contributions include early approximation methods [7 ] , two-timescale stochastic approximation [11 ] , improved hypergradient estimation and alternating stochastic updates [12 , 4 ] , momentum-based single-loop methods [10 ] , and variance-reduced algorithms [22 , 13 , 9 ] . These approaches estimate the hypergradient ∇ F ( w ) \nabla F(\mathbf{w}) ∇ F ( w ) by differentiating through the lower-level solution map. This typically requires second-order information, accessed through Hessian- or Jacobian-vector products (HVPs/JVPs) or approximate inverse-Hessian computations.
To reduce the computational and memory costs associated with second-order derivative computations, recent work has developed fully first-order methods, which use only ordinary stochastic gradients of f f f and g g g and avoid second-order oracle access altogether. A prominent approach is to construct a penalty-based reformulation of the bilevel problem that can be optimized using only first-order information [17 , 14 , 19 ] . In particular, problem (1) admits the equivalent constraint reformulation:
min w , y f ( w , y ) subject to g ( w , y ) − min z g ( w , z ) ≤ 0. (2) \min_{w,y} f(w,y) \quad\text{subject to} \quad g(w,y)-\min_z g(w,z)\leq0. \tag*{(2)} w , y min f ( w , y ) subject to g ( w , y ) − z min g ( w , z ) ≤ 0. (2)
Penalizing the constraint violation yields a surrogate problem:
min w L λ ∗ ( w ) , L λ ∗ ( w ) : = min y { f ( w , y ) + λ [ g ( w , y ) − min z g ( w , z ) ] } , λ > 0. (3) \min_w \mathcal{L}^{*}_{\lambda}(w), \qquad\mathcal{L}^{*}_{\lambda}(w):=\min_y\left\{f(w,y)+\lambda\left[g(w,y)-\min_z g(w,z)\right]\right\}, \qquad\lambda>0. \tag*{(3)} w min L λ ∗ ( w ) , L λ ∗ ( w ) := y min { f ( w , y ) + λ [ g ( w , y ) − z min g ( w , z ) ] } , λ > 0. (3)
Under standard regularity conditions and for sufficiently large λ \lambda λ , the gradient of the surrogate objective approximates the bilevel hypergradient with error ∥ ∇ L λ ∗ ( w ) − ∇ F ( w ) ∥ 2 = O ( λ − 1 ) \lVert\nabla\mathcal{L}^{*}_{\lambda}(w)-\nabla F(w)\rVert_{2}=O(\lambda^{-1}) ∥ ∇ L λ ∗ ( w ) − ∇ F ( w ) ∥ 2 = O ( λ − 1 ) [14 ] . Consequently, choosing λ = Θ ( ϵ − 1 ) \lambda=\Theta(\epsilon^{-1}) λ = Θ ( ϵ − 1 ) ensures that an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of L λ ∗ \mathcal{L}^{*}_{\lambda} L λ ∗ is also an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of F F F .
Despite this first-order representation, attaining sharp sample complexity with simple updates remains challenging. Existing fully first-order methods achieve O ( ϵ − 6 ) O(\epsilon^{-6}) O ( ϵ − 6 ) sample complexity under bounded-variance stochastic gradients and O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) under additional mean-square smoothness. However, the methods attaining these rates rely on nested lower-level solvers [15 , 3 , 19 ] , ϵ \epsilon ϵ -dependent large batch sizes [15 , 3 , 8 , 19 ] , or both. Meanwhile, existing methods that combine a single loop with constant-size batches have weaker sample complexity guarantees [14 , 23 ] . This gap motivates the following open question [20 , 23 ] :
Can we design a fully first-order method for NC-SC SBO that uses a single loop and constant-size batches while matching the best-known sample complexity under standard stochastic assumptions?
We answer this question affirmatively with a simple algorithmic design supported by refined convergence analyses. Our method maintains y t y_t y t and z t z_t z t to track the minimizers of the penalized problem over y y y and original lower-level problem over z z z in (3), respectively, taking one stochastic-gradient step for each at every iteration given w t w_t w t . Inspired by the projected-coupling idea of Kwon et al. [15 ] , we project the provisional z z z -iterate onto a ball of radius O ( λ − 1 ) O(\lambda^{-1}) O ( λ − 1 ) centered at the updated y y y -iterate. This projection constrains the separation between the two iterates rather than their individual locations. We combine it with a standard exponential moving average of the stochastic gradient estimator for the upper-level variable w w w . The projection controls the relative lower-level tracking error, while the moving average controls the upper-level gradient estimation error with a constant batch size. We refer to the proposed algorithm as SICO.
By establishing refined contraction and sensitivity bounds for coupled lower-level tracking, we prove that SICO achieves O ( ϵ − 6 ) O(\epsilon^{-6}) O ( ϵ − 6 ) sample complexity under unbiased, bounded-variance stochastic gradients and O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) under the additional mean-square smoothness assumption on the lower-level stochastic gradients, using only O ( 1 ) O(1) O ( 1 ) stochastic-gradient samples per iteration in both settings. In addition, our results also achieve the best known dependence on the condition number (cf. Table 1 ).
Table 1: Comparison of fully first-order methods for bilevel optimization. The second column indicates the mean-square smoothness (MSS) of the stochastic gradients (cf. Assumption 3).
Table 1.
We evaluate the proposed method on bilevel problems arising in data hyper-cleaning and regularization selection, demonstrating its effectiveness compared with existing fully first-order baselines.
Related Work
Penalty methods for bilevel optimization build on classical value-function reformulations and associated exact-penalty analyses [24 ] . These formulations express lower-level optimality through a constraint on the lower-level optimality gap. More recent developments include [17 , 19 , 18 ] . Building on this broader literature, recent research on NC–SC SBO has focused on controlling the approximation error and stochastic noise introduced by penalization.
Kwon et al. [14 ] introduced F2SA, a fully first-order penalty method that avoids Jacobian and Hessian evaluations. It uses simple stochastic gradient updates for all variables. Its established sample complexity is O ( ϵ − 7 ) O(\epsilon^{-7}) O ( ϵ − 7 ) in the fully stochastic setting. Their F3SA variant incorporates STORM-style gradient estimators for both the upper- and lower-level variables, improving the complexity to O ( ϵ − 5 ) O(\epsilon^{-5}) O ( ϵ − 5 ) under additional mean-square smoothness for both the upper and lower level stochastic gradients while using a single loop and constant-size batches.
Kwon et al. [15 ] established two improved complexity bounds: O ( ϵ − 6 ) O(\epsilon^{-6}) O ( ϵ − 6 ) under bounded-variance stochastic gradients and O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) under additional mean-square smoothness. Their method uses a double-loop structure with batch sizes of order ϵ − 4 \epsilon^{-4} ϵ − 4 and ϵ − 2 \epsilon^{-2} ϵ − 2 in the two settings, respectively. The analysis exploits the proximity of the original and penalized lower-level solutions through projection and, under mean-square smoothness. These ideas motivate our algorithm, while our refined tracking analysis enables single-loop updates with constant-size batches.
Chen et al. [3 ] showed that the smoothness constant of the reduced penalty objective L λ ∗ \mathcal{L}_{\lambda}^{*} L λ ∗ can be bounded independently of λ \lambda λ . Their F2BSA method combines inner solvers with large batch sizes to attain O ~ ( κ 12 ϵ − 6 ) \widetilde{O}(\kappa^{12}\epsilon^{-6}) O ( κ 12 ϵ − 6 ) sample complexity in the fully stochastic setting. Their F3BSA variant uses multilevel Monte Carlo and single-sample stochastic updates to attain O ~ ( κ 11 ϵ − 6 ) \widetilde{O}(\kappa^{11}\epsilon^{-6}) O ( κ 11 ϵ − 6 ) complexity. However, constructing its gradient estimator still requires nested stochastic solvers and a batch size in the order of O ( κ ) O(\kappa) O ( κ ) .
Using an equivalent min–max reformulation of the penalty problem (3), Yang [23 ] developed a single-loop stochastic momentum gradient descent–ascent method with constant-size batches. Its established sample complexity under bounded variance is O ( ϵ − 7 ) O(\epsilon^{-7}) O ( ϵ − 7 ) , leaving a gap relative to the O ( ϵ − 6 ) O(\epsilon^{-6}) O ( ϵ − 6 ) dependence achieved by nested-loop methods.
In concurrent work, Gu et al. [8 ] proposed SGHA and its stochastic counterpart, Stoc-SGHA, based on a regularized Lagrangian formulation of the lower-level stationarity constraints. These methods approximate Hessian–vector products using finite differences of first-order gradients. Stoc-SGHA achieves expected oracle complexities of O ( κ 17 ϵ − 6 ) O(\kappa^{17}\epsilon^{-6}) O ( κ 17 ϵ − 6 ) under bounded variance and O ( κ 11 ϵ − 4 ) O(\kappa^{11}\epsilon^{-4}) O ( κ 11 ϵ − 4 ) under lower-level mean-square smoothness. However, its stated in-expectation guarantees additionally assume that the iterates are almost surely bounded and use batch sizes of order ϵ − 4 \epsilon^{-4} ϵ − 4 and ϵ − 2 \epsilon^{-2} ϵ − 2 , respectively. Thus, its single-loop structure still entails an ϵ \epsilon ϵ -dependent per-iteration sampling cost. In contrast, SICO operates directly on stochastic gradients and does not require finite-difference approximations or an additional almost-sure bounded-iterate assumption and has sharper dependence on the condition number. Table 1 summarizes these comparisons.
Preliminaries
Notation. We use ∇ 1 f ( w , y ) \nabla_1 f(\mathbf{w},\mathbf{y}) ∇ 1 f ( w , y ) and ∇ 2 f ( w , y ) \nabla_2 f(\mathbf{w},\mathbf{y}) ∇ 2 f ( w , y ) to denote gradients with respect to the first and second arguments, respectively, and ∥ ⋅ ∥ \|\cdot\| ∥ ⋅ ∥ to denote the Euclidean norm. Let Π B ( c , r ) ( u ) \Pi_{\mathbb{B}(\mathbf{c},r)}(\mathbf{u}) Π B ( c , r ) ( u ) denote the Euclidean projection of u \mathbf{u} u onto a closed Euclidean ball B ( c , r ) = { u : ∥ u − c ∥ ≤ r } \mathbb{B}(\mathbf{c},r)=\{\mathbf{u}:\|\mathbf{u}-\mathbf{c}\|\le r\} B ( c , r ) = { u : ∥ u − c ∥ ≤ r } . We write E t [ ⋅ ] \mathbb{E}_t[\cdot] E t [ ⋅ ] for the conditional expectation given the history prior to the drawing of random samples at iteration t t t . A possibly random point w \mathbf{w} w is called ϵ \epsilon ϵ -stationary if E [ ∥ ∇ F ( w ) ∥ 2 ] ≤ ϵ 2 \mathbb{E}[\|\nabla F(\mathbf{w})\|^2]\le\epsilon^2 E [ ∥∇ F ( w ) ∥ 2 ] ≤ ϵ 2 . A function f f f is C C C Lipschitz continuous if ∣ f ( x ) − f ( y ) ∣ ≤ C ∥ x − y ∥ |f(x)-f(y)| \le C\lVert x-y\rVert ∣ f ( x ) − f ( y ) ∣ ≤ C ∥ x − y ∥ for all x , y x,y x , y . It is L L L -smooth if it is differentiable and ∥ ∇ f ( x ) − ∇ f ( y ) ∥ ≤ L ∥ x − y ∥ \lVert\nabla f(x)-\nabla f(y)\rVert\le L\lVert x-y\rVert ∥ ∇ f ( x ) − ∇ f ( y )∥ ≤ L ∥ x − y ∥ for all x , y x,y x , y . A differentiable function g g g is μ g \mu_g μ g -strongly convex if g ( y ) ≥ g ( x ) + ∇ g ( x ) T ( y − x ) + μ g 2 ∥ y − x ∥ 2 g(y) \ge g(x) + \nabla g(x)^{\mathsf{T}}(y-x) + \frac{\mu_g}{2}\lVert y-x\rVert^2 g ( y ) ≥ g ( x ) + ∇ g ( x ) T ( y − x ) + 2 μ g ∥ y − x ∥ 2 for all x , y x,y x , y . A mapping H ( s ) : R d → R d H(s):\mathbb{R}^d \to\mathbb{R}^d H ( s ) : R d → R d is μ \mu μ -strongly monotone if ( H ( s ) − H ( s ′ ) ) T ( s − s ′ ) ≥ μ ∥ s − s ′ ∥ 2 (H(s)-H(s'))^{\mathsf{T}}(s-s') \ge\mu\lVert s-s'\rVert^2 ( H ( s ) − H ( s ′ ) ) T ( s − s ′ ) ≥ μ ∥ s − s ′ ∥ 2 .
Assumption
We make the following standard assumptions regarding the problem (1).
Assumption 1. Regarding f f f , g g g and F F F , we assume:
f ( w , y ) f(\mathbf{w},y) f ( w , y ) is C f C_f C f -Lipschitz in y y y and jointly L f L_f L f -smooth in terms of ( w , y ) (\mathbf{w},y) ( w , y )
g ( w , y ) g(\mathbf{w},y) g ( w , y ) is jointly L g L_g L g -smooth and μ g \mu_g μ g -strongly convex in terms of y y y for any w \mathbf{w} w
f f f is twice continuously differentiable, and ∇ 2 g ( w , y ) \nabla^2 g(\mathbf{w},y) ∇ 2 g ( w , y ) is jointly Q g Q_g Q g -Lipschitz continuous.
F ( w ) F(\mathbf{w}) F ( w ) is lower bounded, i.e., inf w ∈ R d F ( w ) > − ∞ \inf_{\mathbf{w}\in\mathbb{R}^d} F(\mathbf{w})>-\infty inf w ∈ R d F ( w ) > − ∞
Assumption 2. There exist stochastic gradients of f f f and g g g that are unbiased and have bounded variance σ f 2 , σ g 2 \sigma_f^2,\sigma_g^2 σ f 2 , σ g 2 , respectively, i.e.
E ξ f [ ∇ f ( w , y , ξ f ) ] = ∇ f ( w , y ) , E ξ g [ ∇ g ( w , y , ξ g ) ] = ∇ g ( w , y ) \mathbb{E}_{\xi_f}[\nabla f(\mathbf{w},y,\xi_f)] = \nabla f(\mathbf{w},y), \qquad\mathbb{E}_{\xi_g}[\nabla g(\mathbf{w},y,\xi_g)] = \nabla g(\mathbf{w},y) E ξ f [ ∇ f ( w , y , ξ f )] = ∇ f ( w , y ) , E ξ g [ ∇ g ( w , y , ξ g )] = ∇ g ( w , y ) E ξ f ∥ ∇ f ( w , y , ξ f ) − ∇ f ( w , y ) ∥ 2 ≤ σ f 2 , E ξ g ∥ ∇ g ( w , y , ξ g ) − ∇ g ( w , y ) ∥ 2 ≤ σ g 2 . (4) \mathbb{E}_{\xi_f}\lVert\nabla f(\mathbf{w},y,\xi_f)-\nabla f(\mathbf{w},y)\rVert^2 \le\sigma_f^2, \qquad\mathbb{E}_{\xi_g}\lVert\nabla g(\mathbf{w},y,\xi_g)-\nabla g(\mathbf{w},y)\rVert^2 \le\sigma_g^2. \tag*{(4)} E ξ f ∥ ∇ f ( w , y , ξ f ) − ∇ f ( w , y ) ∥ 2 ≤ σ f 2 , E ξ g ∥ ∇ g ( w , y , ξ g ) − ∇ g ( w , y ) ∥ 2 ≤ σ g 2 . (4)
For deriving improved convergence rate, we additionally consider the following mean-square smoothness (MSS) assumption regarding stochastic gradient of g g g .
Assumption 3. g g g is mean-square smooth in y y y , i.e.
E ξ g ∥ ∇ g ( w , y 1 , ξ g ) − ∇ g ( w , y 2 , ξ g ) ∥ 2 ≤ L ~ g 2 ∥ y 1 − y 2 ∥ 2 . (5) \mathbb{E}_{\xi_g}\lVert\nabla g(\mathbf{w},y_1,\xi_g)-\nabla g(\mathbf{w},y_2,\xi_g)\rVert^2 \le\widetilde{L}_g^2\lVert y_1-y_2\rVert^2. \tag*{(5)} E ξ g ∥ ∇ g ( w , y 1 , ξ g ) − ∇ g ( w , y 2 , ξ g ) ∥ 2 ≤ L g 2 ∥ y 1 − y 2 ∥ 2 . (5)
We follow the tradition from Chen et al., [3 ] and define κ : = ℓ ˉ / μ g \kappa:= \bar{\ell}/\mu_g κ := ℓ ˉ / μ g where ℓ ˉ : = max { C f , L f , L g , Q g } \bar{\ell}:=\max\{C_f,L_f,L_g,Q_g\} ℓ ˉ := max { C f , L f , L g , Q g } . When lower-level objective is also L ~ g \widetilde{L}_g L g -MSS, we slightly abuse the notation and define ℓ ˉ : = max { C f , L f , L g , L ~ g , Q g } \bar{\ell}:=\max\{C_f,L_f,L_g,\widetilde{L}_g,Q_g\} ℓ ˉ := max { C f , L f , L g , L g , Q g } .
Penalty Surrogate
Recall the penalized problem in (3). For any w \mathbf{w} w , we denote the unique minimizer of the strongly convex lower-level problem by
y ∗ ( w ) : = arg min z g ( w , z ) . (6) y^*(\mathbf{w}) := \underset{z}{\arg\min}\ g(\mathbf{w},z). \tag*{(6)} y ∗ ( w ) := z arg min g ( w , z ) . (6)
For a penalty parameter λ > 0 \lambda>0 λ > 0 , define
L λ ( w , y ) : = f ( w , y ) + λ ( g ( w , y ) − min z g ( w , z ) ) . (7) \mathcal{L}_{\lambda}(\mathbf{w},y) := f(\mathbf{w},y)+\lambda\left(g(\mathbf{w},y)-\min_z g(\mathbf{w},z)\right). \tag*{(7)} L λ ( w , y ) := f ( w , y ) + λ ( g ( w , y ) − z min g ( w , z ) ) . (7)
When λ ≥ 2 L f / μ g \lambda\ge2L_f/\mu_g λ ≥ 2 L f / μ g , λ − 1 f ( w , ⋅ ) + g ( w , ⋅ ) \lambda^{-1}f(\mathbf{w},\cdot)+g(\mathbf{w},\cdot) λ − 1 f ( w , ⋅ ) + g ( w , ⋅ ) is ( μ g − L f / λ ) (\mu_g-L_f/\lambda) ( μ g − L f / λ ) -strongly convex and we define y λ ∗ ( w ) y^*_{\lambda}(\mathbf{w}) y λ ∗ ( w ) as the unique minimizer of the penalized function L λ ( w , y ) \mathcal{L}_{\lambda}(\mathbf{w},y) L λ ( w , y ) with respect to the lower-level variable given w \mathbf{w} w , i.e.,
y λ ∗ ( w ) : = arg min y L λ ( w , y ) = arg min y { λ − 1 f ( w , y ) + g ( w , y ) } . (8) y^*_{\lambda}(\mathbf{w}) := \underset{y}{\arg\min}\ \mathcal{L}_{\lambda}(\mathbf{w},y)=\underset{y}{\arg\min}\{\lambda^{-1}f(\mathbf{w},y)+g(\mathbf{w},y)\}. \tag*{(8)} y λ ∗ ( w ) := y arg min L λ ( w , y ) = y arg min { λ − 1 f ( w , y ) + g ( w , y )} . (8)
The penalized objective introduced in (3) can then be written as
L λ ∗ ( w ) : = L λ ( w , y λ ∗ ( w ) ) = f ( w , y λ ∗ ( w ) ) + λ ( g ( w , y λ ∗ ( w ) ) − g ( w , y ∗ ( w ) ) ) . (9) \mathcal{L}^*_{\lambda}(\mathbf{w}) := \mathcal{L}_{\lambda}(\mathbf{w},y^*_{\lambda}(\mathbf{w}))=f(\mathbf{w},y^*_{\lambda}(\mathbf{w}))+\lambda\left(g(\mathbf{w},y^*_{\lambda}(\mathbf{w}))-g(\mathbf{w},y^*(\mathbf{w}))\right). \tag*{(9)} L λ ∗ ( w ) := L λ ( w , y λ ∗ ( w )) = f ( w , y λ ∗ ( w )) + λ ( g ( w , y λ ∗ ( w )) − g ( w , y ∗ ( w )) ) . (9)
Moreover,
∇ L λ ∗ ( w ) = ∇ 1 L λ ( w , y λ ∗ ( w ) ) + ∇ y λ ∗ ( w ) ∇ 2 L λ ( w , y λ ∗ ( w ) ) ⏟ = 0 = ∇ 1 f ( w , y λ ∗ ( w ) ) + λ [ ∇ 1 g ( w , y λ ∗ ( w ) ) − ∇ 1 g ( w , y ∗ ( w ) ) ] . (10) \begin{aligned}
\nabla\mathcal{L}^*_{\lambda}(\mathbf{w})=\nabla_1\mathcal{L}_{\lambda}(\mathbf{w},y^*_{\lambda}(\mathbf{w}))+\nabla y^*_{\lambda}(\mathbf{w})\underbrace{\nabla_2\mathcal{L}_{\lambda}(\mathbf{w},y^*_{\lambda}(\mathbf{w}))}_{=0} \\
&=\nabla_1 f(\mathbf{w},y^*_{\lambda}(\mathbf{w}))+\lambda\left[\nabla_1 g(\mathbf{w},y^*_{\lambda}(\mathbf{w}))-\nabla_1 g(\mathbf{w},y^*(\mathbf{w}))\right]. \tag*{(10)}
\end{aligned} ∇ L λ ∗ ( w ) = ∇ 1 L λ ( w , y λ ∗ ( w )) + ∇ y λ ∗ ( w ) = 0 ∇ 2 L λ ( w , y λ ∗ ( w )) = ∇ 1 f ( w , y λ ∗ ( w )) + λ [ ∇ 1 g ( w , y λ ∗ ( w )) − ∇ 1 g ( w , y ∗ ( w )) ] . (10)
which involves only first-order derivatives once y λ ∗ ( w ) y^*_{\lambda}(\mathbf{w}) y λ ∗ ( w ) and y ∗ ( w ) y^*(\mathbf{w}) y ∗ ( w ) are available as described in the previous section.
We next present the approximation and smoothness properties of the penalty surrogate as established in previous work.
Lemma 1 (Lemma 4.1 of Chen et al. [3 ] ). Under Assumption 1 , for λ ≥ 2 L f / μ g \lambda\ge2L_f/\mu_g λ ≥ 2 L f / μ g , it holds for ∀ w ∈ R d w \forall\mathbf{w} \in\mathbb{R}^{d_w} ∀ w ∈ R d w that
∣ L λ ∗ ( w ) − F ( w ) ∣ = O ( ℓ ˉ κ 2 λ ) , ∥ ∇ L λ ∗ ( w ) − ∇ F ( w ) ∥ = O ( ℓ ˉ κ 3 λ ) , (11) \left|L_\lambda^\ast(\mathbf{w})-F(\mathbf{w})\right|=O\left(\frac{\bar{\ell}\kappa^2}{\lambda}\right),\qquad\left\|\nabla L_\lambda^\ast(\mathbf{w})-\nabla F(\mathbf{w})\right\|=O\left(\frac{\bar{\ell}\kappa^3}{\lambda}\right), \tag*{(11)} ∣ L λ ∗ ( w ) − F ( w ) ∣ = O ( λ ℓ ˉ κ 2 ) , ∥ ∇ L λ ∗ ( w ) − ∇ F ( w ) ∥ = O ( λ ℓ ˉ κ 3 ) , (11) ∥ ∇ L λ ∗ ( w 1 ) − ∇ L λ ∗ ( w 2 ) ∥ ≤ L ∗ ∥ w 1 − w 2 ∥ , where L ∗ = O ( ℓ ˉ κ 3 ) . (12) \left\|\nabla L_\lambda^\ast(\mathbf{w}_1)-\nabla L_\lambda^\ast(\mathbf{w}_2)\right\|\le L_\ast\left\|\mathbf{w}_1-\mathbf{w}_2\right\|,\qquad\text{where }L_\ast=O(\bar{\ell}\kappa^3). \tag*{(12)} ∥ ∇ L λ ∗ ( w 1 ) − ∇ L λ ∗ ( w 2 ) ∥ ≤ L ∗ ∥ w 1 − w 2 ∥ , where L ∗ = O ( ℓ ˉ κ 3 ) . (12)
We make two remarks regarding this lemma. First, choosing λ = Ω ( ℓ ˉ κ 3 / ϵ ) \lambda=\Omega(\bar{\ell}\kappa^3/\epsilon) λ = Ω ( ℓ ˉ κ 3 / ϵ ) ensures that the gradient of the penalty objective approximates the true hypergradient to within O ( ϵ ) O(\epsilon) O ( ϵ ) . Consequently, any O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of L λ ∗ L_\lambda^\ast L λ ∗ is also an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of F F F . Second, although λ \lambda λ must increase as ϵ \epsilon ϵ decreases, the smoothness constant L ∗ L_\ast L ∗ of the reduced penalty objective does not grow with λ \lambda λ . Thus, increasing the penalty parameter does not, by itself, require a smaller outer step size on smoothness grounds. The main challenge posed by a large λ \lambda λ lies in stochastic gradient estimation, where the penalty factor can amplify the estimation error.
A penalty-based first-order single loop method
In this section, we present our stochastic single-loop constant-batch first-order method. We denote by B f w t B_{fw}^t B f w t , B f y t B_{fy}^t B f y t independent batches for evaluating stochastic gradients of f ( w , y ) f(\mathbf{w},\mathbf{y}) f ( w , y ) at the t t t -th iteration. Similarly, denote by B g w t B_{gw}^t B g w t , B g y t B_{gy}^t B g y t independent batches for evaluating stochastic gradients of g ( w , y ) g(\mathbf{w},\mathbf{y}) g ( w , y ) at the t t t -th iteration. We assume ∣ B f w t ∣ = ∣ B f y t ∣ = ∣ B g w t ∣ = ∣ B g y t ∣ = B = O ( 1 ) \lvert B_{fw}^t\rvert=\lvert B_{fy}^t\rvert=\lvert B_{gw}^t\rvert=\lvert B_{gy}^t\rvert=B=O(1) ∣ B f w t ∣ = ∣ B f y t ∣ = ∣ B g w t ∣ = ∣ B g y t ∣ = B = O ( 1 ) .
The Algorithm
We begin by motivating the proposed algorithm. By equation (10) , the gradient of L λ ∗ ( w ) L_\lambda^\ast(\mathbf{w}) L λ ∗ ( w ) has the compositional form M ( w , y λ ∗ ( w ) , y ∗ ( w ) ) \mathcal{M}(\mathbf{w},\mathbf{y}_\lambda^\ast(\mathbf{w}),\mathbf{y}^\ast(\mathbf{w})) M ( w , y λ ∗ ( w ) , y ∗ ( w )) , where M \mathcal{M} M is Lipschitz continuous and y λ ∗ ( w ) \mathbf{y}_\lambda^\ast(\mathbf{w}) y λ ∗ ( w ) and y ∗ ( w ) \mathbf{y}^\ast(\mathbf{w}) y ∗ ( w ) are solutions to strongly convex optimization problems. This structure fits the compositional gradient framework discussed in [23 Section 4.5] , which provides a general scheme for estimating such gradients.
To estimate the gradient in equation (10) , we maintain two sequences, y t + 1 \mathbf{y}_{t+1} y t + 1 and z t + 1 \mathbf{z}_{t+1} z t + 1 , to track y λ ∗ ( w t ) \mathbf{y}_\lambda^\ast(\mathbf{w}_t) y λ ∗ ( w t ) and y ∗ ( w t ) \mathbf{y}^\ast(\mathbf{w}_t) y ∗ ( w t ) , respectively. Substituting these iterates for the corresponding optimal solutions and replacing the full gradients with stochastic estimates yields
G ^ t w : = ∇ 1 f ( w t , y t + 1 , B f w t ) + λ ( ∇ 1 g ( w t , y t + 1 , B g w t ) − ∇ 1 g ( w t , z t + 1 , B g w t ) ) . (13) \widehat{G}_t^w:=\nabla_1f(\mathbf{w}_t,\mathbf{y}_{t+1},B_{fw}^t)+\lambda\left(\nabla_1g(\mathbf{w}_t,\mathbf{y}_{t+1},B_{gw}^t)-\nabla_1g(\mathbf{w}_t,\mathbf{z}_{t+1},B_{gw}^t)\right). \tag*{(13)} G t w := ∇ 1 f ( w t , y t + 1 , B f w t ) + λ ( ∇ 1 g ( w t , y t + 1 , B g w t ) − ∇ 1 g ( w t , z t + 1 , B g w t ) ) . (13)
Because the iterates y t + 1 , z t + 1 \mathbf{y}_{t+1},\mathbf{z}_{t+1} y t + 1 , z t + 1 only approximate their respective targets, this estimator is generally biased: G t w : = E B f w t , B g w t [ G ^ t w ] ≠ ∇ L λ ∗ ( w t ) G_t^w:=\mathbb{E}_{B_{fw}^t,B_{gw}^t}[\widehat{G}_t^w]\ne\nabla L_\lambda^\ast(\mathbf{w}_t) G t w := E B f w t , B g w t [ G t w ] = ∇ L λ ∗ ( w t ) . To reduce stochastic fluctuations, we use an exponential moving average with β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) ,
v t + 1 : = ( 1 − β ) v t + β G ^ t w , (14) \mathbf{v}_{t+1}:=(1-\beta)\mathbf{v}_t+\beta\widehat{G}_t^w, \tag*{(14)} v t + 1 := ( 1 − β ) v t + β G t w , (14)
and update the primal variable by
w t + 1 : = w t − η v t + 1 . (15) \mathbf{w}_{t+1}:=\mathbf{w}_t-\eta\mathbf{v}_{t+1}. \tag*{(15)} w t + 1 := w t − η v t + 1 . (15)
Controlling the tracking-induced squared bias ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 \left\|G_t^w-\nabla L_\lambda^\ast(\mathbf{w}_t)\right\|^2 ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 , however, requires suitable updates for the inner iterates. A natural choice, following Yang [23 ] , is to perform a single SGD step for each inner problem at every iteration. However, when λ \lambda λ scales as 1 / ϵ 1/\epsilon 1/ ϵ , this approach yields a complexity of O ( ϵ − 7 ) O(\epsilon^{-7}) O ( ϵ − 7 ) . The bottleneck is controlling the squared bias ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 \left\|G_t^w-\nabla L_\lambda^\ast(\mathbf{w}_t)\right\|^2 ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 despite the large penalty parameter. Specifically, for λ ≥ 1 \lambda\ge1 λ ≥ 1 , a direct Lipschitz bound gives
∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 ≤ O ( λ 2 ) ( ∥ y t + 1 − y λ ∗ ( w t ) ∥ 2 + ∥ z t + 1 − y ∗ ( w t ) ∥ 2 ) . \left\|G_t^w-\nabla L_\lambda^\ast(\mathbf{w}_t)\right\|^2\le O(\lambda^2)\left(\left\|\mathbf{y}_{t+1}-\mathbf{y}_\lambda^\ast(\mathbf{w}_t)\right\|^2+\left\|\mathbf{z}_{t+1}-\mathbf{y}^\ast(\mathbf{w}_t)\right\|^2\right). ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 ≤ O ( λ 2 ) ( ∥ y t + 1 − y λ ∗ ( w t ) ∥ 2 + ∥ z t + 1 − y ∗ ( w t ) ∥ 2 ) .
This bound amplifies both tracking errors by a factor of O ( λ 2 ) O(\lambda^2) O ( λ 2 ) , requiring increasingly accurate inner solutions as ϵ \epsilon ϵ decreases and thereby worsening the overall complexity.
Projected lower-level tracking. Inspired by Kwon et al. [15 ] , our algorithm exploits the proximity of y λ ∗ ( w ) \mathbf{y}_\lambda^\ast(\mathbf{w}) y λ ∗ ( w ) and y ∗ ( w ) \mathbf{y}^\ast(\mathbf{w}) y ∗ ( w ) . Specifically, for every w \mathbf{w} w , we have (see Appendix A)
∥ y λ ∗ ( w ) − y ∗ ( w ) ∥ ≤ r λ : = C f μ g λ . (16) \left\|\mathbf{y}_\lambda^\ast(\mathbf{w})-\mathbf{y}^\ast(\mathbf{w})\right\|\le r_\lambda:=\frac{C_f}{\mu_g\lambda}. \tag*{(16)} ∥ y λ ∗ ( w ) − y ∗ ( w ) ∥ ≤ r λ := μ g λ C f . (16)
Algorithm 1 Stochastic Single-loop Fully First-order Penalty Method (SICO) for SBO
Input: T T T , λ \lambda λ , w 0 = w − 1 \mathbf{w}_0=\mathbf{w}_{-1} w 0 = w − 1 , y 0 = y − 1 \mathbf{y}_0=\mathbf{y}_{-1} y 0 = y − 1 , z 0 = Π B ( y 0 , r λ ) ( z − 1 ) \mathbf{z}_0=\Pi_{\mathcal{B}(\mathbf{y}_0,r_\lambda)}(\mathbf{z}_{-1}) z 0 = Π B ( y 0 , r λ ) ( z − 1 ) , v 0 = 0 \mathbf{v}_0=0 v 0 = 0 , η \eta η , γ \gamma γ , β \beta β , r λ = C f / ( μ g λ ) r_\lambda=C_f/(\mu_g\lambda) r λ = C f / ( μ g λ ) .
for t = 0 , 1 , ⋯ , T − 1 t=0,1,\cdots,T-1 t = 0 , 1 , ⋯ , T − 1 do
Sample independent constant-size batches B f y t , B g y t , B f w t , B g w t B_{fy}^t,B_{gy}^t,B_{fw}^t,B_{gw}^t B f y t , B g y t , B f w t , B g w t
Compute G ^ t y = λ − 1 ∇ 2 f ( w t , y t , B f y t ) + ∇ 2 g ( w t , y t , B g y t ) \widehat{G}_t^y=\lambda^{-1}\nabla_2 f(\mathbf{w}_t,\mathbf{y}_t,B_{fy}^t)+\nabla_2 g(\mathbf{w}_t,\mathbf{y}_t,B_{gy}^t) G t y = λ − 1 ∇ 2 f ( w t , y t , B f y t ) + ∇ 2 g ( w t , y t , B g y t ) and G ^ t z = ∇ 2 g ( w t , z t , B g y t ) \widehat{G}_t^z=\nabla_2 g(\mathbf{w}_t,\mathbf{z}_t,B_{gy}^t) G t z = ∇ 2 g ( w t , z t , B g y t ) .
Update y t + 1 = y t − γ G ^ t y \mathbf{y}_{t+1}=\mathbf{y}_t-\gamma\widehat{G}_t^y y t + 1 = y t − γ G t y and z ˉ t = z t − γ G ^ t z \bar{\mathbf{z}}_t=\mathbf{z}_t-\gamma\widehat{G}_t^z z ˉ t = z t − γ G t z .
Project z t + 1 = Π B ( y t + 1 , r λ ) ( z ˉ t ) \mathbf{z}_{t+1}=\Pi_{\mathcal{B}(\mathbf{y}_{t+1},r_\lambda)}(\bar{\mathbf{z}}_t) z t + 1 = Π B ( y t + 1 , r λ ) ( z ˉ t ) .
Compute G ^ t w = ∇ 1 f ( w t , y t + 1 , B f w t ) + λ ( ∇ 1 g ( w t , y t + 1 , B g w t ) − ∇ 1 g ( w t , z t + 1 , B g w t ) ) \widehat{G}_t^w=\nabla_1 f(\mathbf{w}_t,\mathbf{y}_{t+1},B_{fw}^t)+\lambda\left(\nabla_1 g(\mathbf{w}_t,\mathbf{y}_{t+1},B_{gw}^t)-\nabla_1 g(\mathbf{w}_t,\mathbf{z}_{t+1},B_{gw}^t)\right) G t w = ∇ 1 f ( w t , y t + 1 , B f w t ) + λ ( ∇ 1 g ( w t , y t + 1 , B g w t ) − ∇ 1 g ( w t , z t + 1 , B g w t ) ) .
Update v t + 1 = ( 1 − β ) v t + β G ^ t w \mathbf{v}_{t+1}=(1-\beta)\mathbf{v}_t+\beta\widehat{G}_t^w v t + 1 = ( 1 − β ) v t + β G t w and w t + 1 = w t − η v t + 1 \mathbf{w}_{t+1}=\mathbf{w}_t-\eta\mathbf{v}_{t+1} w t + 1 = w t − η v t + 1 .
end for
Output: w τ \mathbf{w}_\tau w τ with τ \tau τ uniformly sampled from { 0 , 1 , ⋯ , T − 1 } \{0,1,\cdots,T-1\} { 0 , 1 , ⋯ , T − 1 } .
We use this bound to couple the updates of y \mathbf{y} y and z \mathbf{z} z . After taking an SGD step for each variable, we project the updated z \mathbf{z} z onto the ball of radius r λ r_\lambda r λ centered at the updated y \mathbf{y} y . The resulting updates are
G ^ t y = λ − 1 ∇ 2 f ( w t , y t , B f y t ) + ∇ 2 g ( w t , y t , B g y t ) , G ^ t z = ∇ 2 g ( w t , z t , B g y t ) , (17) \widehat{G}_t^y=\lambda^{-1}\nabla_2 f(\mathbf{w}_t,\mathbf{y}_t,B_{fy}^t)+\nabla_2 g(\mathbf{w}_t,\mathbf{y}_t,B_{gy}^t),\qquad\widehat{G}_t^z=\nabla_2 g(\mathbf{w}_t,\mathbf{z}_t,B_{gy}^t), \tag*{(17)} G t y = λ − 1 ∇ 2 f ( w t , y t , B f y t ) + ∇ 2 g ( w t , y t , B g y t ) , G t z = ∇ 2 g ( w t , z t , B g y t ) , (17)
y t + 1 = y t − γ G ^ t y , z ˉ t = z t − γ G ^ t z , (18) \mathbf{y}_{t+1}=\mathbf{y}_t-\gamma\widehat{G}_t^y,\qquad\bar{\mathbf{z}}_t=\mathbf{z}_t-\gamma\widehat{G}_t^z, \tag*{(18)} y t + 1 = y t − γ G t y , z ˉ t = z t − γ G t z , (18)
z t + 1 = Π B ( y t + 1 , r λ ) ( z ˉ t ) . (19) \mathbf{z}_{t+1}=\Pi_{\mathcal{B}(\mathbf{y}_{t+1},r_\lambda)}(\bar{\mathbf{z}}_t). \tag*{(19)} z t + 1 = Π B ( y t + 1 , r λ ) ( z ˉ t ) . (19)
Combining these projected lower-level updates with the momentum update of w \mathbf{w} w yields our algorithm, SICO, presented in Algorithm 1. Compared with [15 ] , our main algorithmic modification is to apply this projection at every iteration and combine it with momentum-based gradient estimation. This yields a single-loop method that requires neither inner loops nor large batches supported by our novel analysis.
We next present convergence guarantees for SICO with and without the mean-square smoothness assumption on g g g , and then highlight the novelty of our analysis.
Convergence under standard bounded variance
We first consider Assumptions 1 and 2, without imposing mean-square smoothness on the stochastic gradient of g g g . The following theorem shows that Algorithm 1 matches the O ( ϵ − 6 ) O(\epsilon^{-6}) O ( ϵ − 6 ) dependence of the best known first order methods while using a single loop and only a constant batch size.
Theorem 1. Under Assumptions 1 and 2, let the batch size be B = O ( 1 ) B=O(1) B = O ( 1 ) . With a warm-up stage for y \mathbf{y} y such that the initialization satisfies the condition that E [ ∥ y 0 − y λ ∗ ( w 0 ) ∥ 2 ] ≤ O ( 1 / κ ) \mathbb{E}[\lVert\mathbf{y}_0-\mathbf{y}_\lambda^*(\mathbf{w}_0)\rVert^2]\leq O(1/\kappa) E [∥ y 0 − y λ ∗ ( w 0 ) ∥ 2 ] ≤ O ( 1/ κ ) , by setting
λ = Θ ( κ 3 ϵ ) , β = Θ ( ϵ 4 κ 6 ) , γ = Θ ( ϵ 4 κ 7 ) , η = Θ ( ϵ 4 κ 11 ) , \lambda=\Theta\left(\frac{\kappa^3}{\epsilon}\right),\qquad
\beta=\Theta\left(\frac{\epsilon^4}{\kappa^6}\right),\qquad
\gamma=\Theta\left(\frac{\epsilon^4}{\kappa^7}\right),\qquad
\eta=\Theta\left(\frac{\epsilon^4}{\kappa^{11}}\right), λ = Θ ( ϵ κ 3 ) , β = Θ ( κ 6 ϵ 4 ) , γ = Θ ( κ 7 ϵ 4 ) , η = Θ ( κ 11 ϵ 4 ) , Algorithm 1 returns w τ \mathbf{w}_\tau w τ satisfying
E [ ∥ ∇ F ( w τ ) ∥ 2 ] ≤ ϵ 2 \mathbb{E}\left[\lVert\nabla F(\mathbf{w}_\tau)\rVert^2\right]\leq\epsilon^2 E [ ∥ ∇ F ( w τ ) ∥ 2 ] ≤ ϵ 2 within T = O ( κ 11 ϵ − 6 ) T=O(\kappa^{11}\epsilon^{-6}) T = O ( κ 11 ϵ − 6 ) stochastic first-order oracle calls, where τ \tau τ is uniformly sampled from { 0 , 1 , ⋯ , T − 1 } \{0,1,\cdots,T-1\} { 0 , 1 , ⋯ , T − 1 } .
Remark: Note that the involved optimization problem in (8) that define y λ ∗ ( w 0 ) \mathbf{y}_\lambda^*(\mathbf{w}_0) y λ ∗ ( w 0 ) is strongly convex, hence the warm-up stage is cheap. For example, running a simple SGD for T 0 = O ( κ 3 ) T_0=O(\kappa^3) T 0 = O ( κ 3 ) -iterations for solving min y L λ ( w 0 , y ) \min_{\mathbf{y}}\mathcal{L}_\lambda(\mathbf{w}_0,\mathbf{y}) min y L λ ( w 0 , y ) will find a solution y 0 \mathbf{y}_0 y 0 such that E [ ∥ y 0 − y λ ∗ ( w 0 ) ∥ 2 ] ≤ O ( 1 / ( μ g 2 T 0 ) ) = O ( 1 / κ ) \mathbb{E}[\lVert\mathbf{y}_0-\mathbf{y}_\lambda^*(\mathbf{w}_0)\rVert^2]\leq O(1/(\mu_g^2T_0))=O(1/\kappa) E [∥ y 0 − y λ ∗ ( w 0 ) ∥ 2 ] ≤ O ( 1/ ( μ g 2 T 0 )) = O ( 1/ κ ) .
Improved rate under mean-square smoothness
We next establish an improved rate assuming the mean-square smoothness of g g g as in Assumption 3. The intuition behind the improvement is that under mean-square smoothness of g g g , the variance of the estimator G ^ t w \widehat{G}_t^w G t w will become independent of λ \lambda λ . As a result, the same algorithm therefore provides a stronger benefit under Assumption 3, leading to the improved rate below.
Theorem 2. Under Assumptions 1, 2 and 3, let the batch size be B = O ( 1 ) B = O(1) B = O ( 1 ) . With the same warm-up initialization and by setting
λ = Θ ( κ 3 ϵ ) , β = Θ ( ϵ 2 κ 2 ) , γ = Θ ( ϵ 2 κ 5 ) , η = Θ ( ϵ 2 κ 9 ) , \lambda= \Theta\left(\frac{\kappa^3}{\epsilon}\right), \qquad\beta= \Theta\left(\frac{\epsilon^2}{\kappa^2}\right), \qquad\gamma= \Theta\left(\frac{\epsilon^2}{\kappa^5}\right), \qquad\eta= \Theta\left(\frac{\epsilon^2}{\kappa^9}\right), λ = Θ ( ϵ κ 3 ) , β = Θ ( κ 2 ϵ 2 ) , γ = Θ ( κ 5 ϵ 2 ) , η = Θ ( κ 9 ϵ 2 ) , Algorithm 1 returns w τ w_\tau w τ satisfying
E ∥ ∇ F ( w τ ) ∥ 2 ≤ ϵ 2 \mathbb{E}\left\|\nabla F(w_\tau)\right\|^2 \leq\epsilon^2 E ∥ ∇ F ( w τ ) ∥ 2 ≤ ϵ 2 within T = O ( κ 9 ϵ − 4 ) T = O(\kappa^9\epsilon^{-4}) T = O ( κ 9 ϵ − 4 ) stochastic first-order oracle calls, where τ \tau τ is uniformly sampled from { 0 , 1 , ⋯ , T − 1 } \{0,1,\cdots,T-1\} { 0 , 1 , ⋯ , T − 1 } .
Remark: To the best of our knowledge, this rate also has the best dependence on κ \kappa κ compared with that of other fully first-order methods.
Sketch of Analysis
We outline the convergence analysis and highlight its novel elements. Let E t \mathbb{E}_t E t denote expectation over the randomness at iteration t t t , conditional on w t , y t , z t w_t,y_t,z_t w t , y t , z t . Define
s t : = y t − z t , s ∗ ( w t ) : = y λ ∗ ( w t ) − y ∗ ( w t ) , s_t := y_t-z_t,\quad s^*(w_t):=y_\lambda^*(w_t)-y^*(w_t), s t := y t − z t , s ∗ ( w t ) := y λ ∗ ( w t ) − y ∗ ( w t ) ,
Y t : = ∥ y t + 1 − y λ ∗ ( w t ) ∥ 2 , S t : = ∥ s t + 1 − s ∗ ( w t ) ∥ 2 , V t : = ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 . Y_t:=\left\|y_{t+1}-y_\lambda^*(w_t)\right\|^2,\quad S_t:=\left\|s_{t+1}-s^*(w_t)\right\|^2,\quad V_t:=\left\|v_{t+1}-\nabla L_\lambda^*(w_t)\right\|^2. Y t := ∥ y t + 1 − y λ ∗ ( w t ) ∥ 2 , S t := ∥ s t + 1 − s ∗ ( w t ) ∥ 2 , V t := ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 .
The smoothness of L λ ∗ L_\lambda^* L λ ∗ in (12) yields the following descent inequality for η ≤ 1 / ( 2 L ∗ ) \eta\leq1/(2L_*) η ≤ 1/ ( 2 L ∗ ) (see Lemma 5 ):
E t L λ ∗ ( w t + 1 ) ≤ L λ ∗ ( w t ) + η 2 E t V t − η 4 E t ∥ v t + 1 ∥ 2 − η 2 ∥ ∇ L λ ∗ ( w t ) ∥ 2 . (20) \mathbb{E}_tL_\lambda^*(w_{t+1})\leq L_\lambda^*(w_t)+\frac{\eta}{2}\mathbb{E}_tV_t-\frac{\eta}{4}\mathbb{E}_t\left\|v_{t+1}\right\|^2-\frac{\eta}{2}\left\|\nabla L_\lambda^*(w_t)\right\|^2. \tag*{(20)} E t L λ ∗ ( w t + 1 ) ≤ L λ ∗ ( w t ) + 2 η E t V t − 4 η E t ∥ v t + 1 ∥ 2 − 2 η ∥ ∇ L λ ∗ ( w t ) ∥ 2 . (20)
The moving-average update further gives the following recursion for the gradient estimation error (see Lemma 8 ):
E t + 1 V t + 1 ≤ ( 1 − β ) V t + 2 L ∗ 2 η 2 β ∥ v t + 1 ∥ 2 + 4 β ∥ G ^ t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + β 2 E t + 1 ∥ G ^ t + 1 w − G t + 1 w ∥ 2 . \mathbb{E}_{t+1}V_{t+1}\leq(1-\beta)V_t+\frac{2L_*^2\eta^2}{\beta}\left\|v_{t+1}\right\|^2+4\beta\left\|\widehat{G}_{t+1}^w-\nabla L_\lambda^*(w_{t+1})\right\|^2+\beta^2\mathbb{E}_{t+1}\left\|\widehat{G}_{t+1}^w-G_{t+1}^w\right\|^2. E t + 1 V t + 1 ≤ ( 1 − β ) V t + β 2 L ∗ 2 η 2 ∥ v t + 1 ∥ 2 + 4 β G t + 1 w − ∇ L λ ∗ ( w t + 1 ) 2 + β 2 E t + 1 G t + 1 w − G t + 1 w 2 .
The next step is to control the squared bias ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 \left\|G_{t+1}^w-\nabla L_\lambda^*(w_{t+1})\right\|^2 G t + 1 w − ∇ L λ ∗ ( w t + 1 ) 2 and the variance E t + 1 ∥ G ^ t + 1 w − G t + 1 w ∥ 2 \mathbb{E}_{t+1}\left\|\widehat{G}_{t+1}^w-G_{t+1}^w\right\|^2 E t + 1 G t + 1 w − G t + 1 w 2 . These terms are weighted by β \beta β and β 2 \beta^2 β 2 , respectively. Thus, the moving average suppresses the variance more strongly than the squared bias, making tight control of the bias particularly important. For the variance, we leverage the following bounds (see Lemma 6 ):
Under Assumption 2:
E t + 1 ∥ G ^ t + 1 w − G t + 1 w ∥ 2 ≤ 1 B ( 2 σ f 2 + 8 λ 2 σ g 2 ) . (21) \mathbb{E}_{t+1}\left\|\widehat{G}_{t+1}^w-G_{t+1}^w\right\|^2\leq\frac{1}{B}\left(2\sigma_f^2+8\lambda^2\sigma_g^2\right). \tag*{(21)} E t + 1 G t + 1 w − G t + 1 w 2 ≤ B 1 ( 2 σ f 2 + 8 λ 2 σ g 2 ) . (21)
Under Assumptions 2 and 3:
E t + 1 ∥ G ^ t + 1 w − G t + 1 w ∥ 2 ≤ 1 B ( 2 σ f 2 + 8 L ~ 2 C ~ f 2 μ g 2 ) . (22) \mathbb{E}_{t+1}\left\|\widehat{G}_{t+1}^w-G_{t+1}^w\right\|^2\leq\frac{1}{B}\left(2\sigma_f^2+\frac{8\widetilde{L}^2\widetilde{C}_f^2}{\mu_g^2}\right). \tag*{(22)} E t + 1 G t + 1 w − G t + 1 w 2 ≤ B 1 ( 2 σ f 2 + μ g 2 8 L 2 C f 2 ) . (22)
In particular, mean-square smoothness removes the dependence on λ \lambda λ from the variance bound.
For the squared bias, our analysis relies on the following decomposition (see Lemma 7 ):
∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 ≤ O ( 1 ) Y t + O ( λ 2 ) S t + O ( κ 4 ) λ 2 . (23) \left\|G_t^w-\nabla L_\lambda^*(w_t)\right\|^2\leq O(1)Y_t+O(\lambda^2)S_t+\frac{O(\kappa^4)}{\lambda^2}. \tag*{(23)} ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 ≤ O ( 1 ) Y t + O ( λ 2 ) S t + λ 2 O ( κ 4 ) . (23)
The arguments up to this point largely follow those developed in prior work [23 , 15 ] .
It remains to establish recursions for the tracking errors Y t Y_t Y t and S t S_t S t . The recursion for Y t Y_t Y t follows standard SGD analysis for strongly convex objectives. The main departure from prior analyses lies in controlling S t S_t S t . Let G t s : = E t [ G ^ t y − G ^ t z ] G_t^s:=\mathbb{E}_t[\widehat{G}_t^y-\widehat{G}_t^z] G t s := E t [ G t y − G t z ] and s t ∗ : = s ∗ ( w t ) s_t^*:=s^*(w_t) s t ∗ := s ∗ ( w t ) . The analysis of Kwon et al. [15 ] relies on an inequality of the form
⟨ G t s , s t − s t ∗ ⟩ ≥ c ∥ s t − s t ∗ ∥ 2 (24) \langle G_t^s,s_t-s_t^*\rangle\geq c\left\|s_t-s_t^*\right\|^2 \tag*{(24)} ⟨ G t s , s t − s t ∗ ⟩ ≥ c ∥ s t − s t ∗ ∥ 2 (24)
for some c > 0 c>0 c > 0 . However, this inequality does not hold in general, as demonstrated by the counterexample in Appendix § 11 .
To establish a valid contraction bound, we introduce the mapping
H ( w , y , s ) : = λ − 1 ∇ 2 f ( w , y ) + ∇ 2 g ( w , y ) − ∇ 2 g ( w , y − s ) . (25) H(\mathbf{w},\mathbf{y},\mathbf{s}) := \lambda^{-1}\nabla^2 f(\mathbf{w},\mathbf{y})+\nabla^2 g(\mathbf{w},\mathbf{y})-\nabla^2 g(\mathbf{w},\mathbf{y}-\mathbf{s}). \tag*{(25)} H ( w , y , s ) := λ − 1 ∇ 2 f ( w , y ) + ∇ 2 g ( w , y ) − ∇ 2 g ( w , y − s ) . (25)
For fixed ( w , y ) (\mathbf{w},\mathbf{y}) ( w , y ) , the mapping H ( w , y , ⋅ ) H(\mathbf{w},\mathbf{y},\cdot) H ( w , y , ⋅ ) is μ g \mu_g μ g -strongly monotone. Using this property, we establish the following lower bound (see Lemma 10):
⟨ G t s , s t − s t ∗ ⟩ ≥ μ g 2 ∥ s t − s t ∗ ∥ 2 − 1 μ g ( L f 2 λ 2 + Q g 2 r λ 2 ) ∥ y t − y ∗ ( w t ) ∥ 2 . (26) \langle G_t^{s},\mathbf{s}_t-\mathbf{s}_t^{\ast}\rangle\geq\frac{\mu_g}{2}\|\mathbf{s}_t-\mathbf{s}_t^{\ast}\|^2-\frac{1}{\mu_g}\left(\frac{L_f^2}{\lambda^2}+Q_g^2r_\lambda^2\right)\|\mathbf{y}_t-\mathbf{y}^{\ast}(\mathbf{w}_t)\|^2. \tag*{(26)} ⟨ G t s , s t − s t ∗ ⟩ ≥ 2 μ g ∥ s t − s t ∗ ∥ 2 − μ g 1 ( λ 2 L f 2 + Q g 2 r λ 2 ) ∥ y t − y ∗ ( w t ) ∥ 2 . (26)
This bound accounts explicitly for the y \mathbf{y} y -tracking error . Since r λ = C f / ( μ g λ ) r_\lambda=C_f/(\mu_g\lambda) r λ = C f / ( μ g λ ) , the coefficient of this additional error term is O ( λ − 2 ) O(\lambda^{-2}) O ( λ − 2 ) . This bound is central to deriving the one-step recursion for the s \mathbf{s} s -tracking error in Lemma 11.
Combining these bounds yields Theorems 1 and 2. The complete proofs are provided in Appendices B and C.
Numerical experiments
We evaluate SICO on two stochastic bilevel learning tasks: data hyper-cleaning and feature-wise regularization selection. We compare against F2SA and F3SA {(citep)}(Kwon et al., 2023), PMLLC2 {(citep)}(Kwon et al., 2024), F2BSA {(citep)}(Chen et al., 2025), and Stoc-SGHA {(citep)}(Gu et al., 2026). We also add a uniformly small weight baseline as advised by reviewer 9hen.
Implementation and hyperparameter tuning. All methods use logistic regression with an intercept, mini-batches of size 64, and a budget of 10,000 inner iterations, with evaluation every 100 iterations. We run each experiments with 3 fixed seeds and report the average performance with standard deviation. Training and validation batches are sampled independently. Double loop method F2BSA and PMLLC perform five inner updates per outer update. We tune upper level learning rate η \eta η in { 1 , 2 , 3 , 5 } ∗ 10 { − 2 , − 1 , 0 , 1 , 2 , 3 , 4 , 5 } \{1,2,3,5\}*10^{\{-2,-1,0,1,2,3,4,5\}} { 1 , 2 , 3 , 5 } ∗ 1 0 { − 2 , − 1 , 0 , 1 , 2 , 3 , 4 , 5 } and lower level learning rate γ \gamma γ in { 1 , 2 , 3 , 5 } ∗ 10 { − 5 , − 4 , − 3 , − 2 , − 1 } \{1,2,3,5\}*10^{\{-5,-4,-3,-2,-1\}} { 1 , 2 , 3 , 5 } ∗ 1 0 { − 5 , − 4 , − 3 , − 2 , − 1 } ; r λ r_\lambda r λ in { 1 , 2 , 3 , 5 } ∗ 10 { − 3 , − 2 , − 1 } \{1,2,3,5\}*10^{\{-3,-2,-1\}} { 1 , 2 , 3 , 5 } ∗ 1 0 { − 3 , − 2 , − 1 } ; λ \lambda λ in { 10 , 20 , 30 , 100 , 300 , 1000 , 10000 } \{10,20,30,100,300,1000,10000\} { 10 , 20 , 30 , 100 , 300 , 1000 , 10000 } . For more tuning detail please refer to Appendix E. Experiments are conducted on an NVIDIA A30 GPU.
Data Hyper-Cleaning. In data hyper-cleaning, the training set contains corrupted labels, while a small clean validation set is available. An upper-level variable w i \mathbf{w}_i w i is introduced to control the importance of each training example. Let D t r = { ( a i , b i ) } i = 1 m , D v a l = { ( a j v a l , b j v a l ) } j = 1 m D_{\mathrm{tr}}=\{(a_i,b_i)\}_{i=1}^{m},D_{\mathrm{val}}=\{(a_j^{\mathrm{val}},b_j^{\mathrm{val}})\}_{j=1}^{m} D tr = {( a i , b i ) } i = 1 m , D val = {( a j val , b j val ) } j = 1 m . We consider
min w ∈ R n 1 m ∑ j = 1 m ℓ ( y ∗ ( w ) ; a j v a l , b j v a l ) \min_{\mathbf{w}\in\mathbb{R}^n}\frac{1}{m}\sum_{j=1}^{m}\ell\left(\mathbf{y}^{\ast}(\mathbf{w});a_j^{\mathrm{val}},b_j^{\mathrm{val}}\right) w ∈ R n min m 1 j = 1 ∑ m ℓ ( y ∗ ( w ) ; a j val , b j val )
y ∗ ( w ) = arg min y 1 n ∑ i = 1 n σ ( w i ) ℓ ( y ; a i , b i ) + μ 2 ∥ y ∥ 2 , \mathbf{y}^{\ast}(\mathbf{w})=\arg\min_{\mathbf{y}}\frac{1}{n}\sum_{i=1}^{n}\sigma(w_i)\ell(\mathbf{y};a_i,b_i)+\frac{\mu}{2}\|\mathbf{y}\|^2, y ∗ ( w ) = arg y min n 1 i = 1 ∑ n σ ( w i ) ℓ ( y ; a i , b i ) + 2 μ ∥ y ∥ 2 ,
where σ ( ⋅ ) \sigma(\cdot) σ ( ⋅ ) is the sigmoid function and ℓ \ell ℓ is the cross-entropy loss. We use a multiclass logistic regression classifier, and the quadratic regularizer guarantees strong convexity of the lower-level problem. Stochastic upper- and lower-level gradients are computed using independently sampled validation and training mini-batches.
We use MNIST and FASHION-MNIST to verify our algorithm on this task. MNIST and Fashion-MNIST {(citep)}(LeCun et al., 1998; Xiao et al., 2017) contain 28 × \times × 28 grayscale images of handwritten digits and clothing items, respectively, with ten classes each. For each dataset, we randomly partition the official 60,000 training images into 50,000 training and 10,000 validation examples and retain the original 10,000 test images. Each training label is independently replaced by a uniformly sampled incorrect class with probability p ∈ { 0.5 , 0.9 , 0.99 } p\in\{0.5,0.9,0.99\} p ∈ { 0.5 , 0.9 , 0.99 } ; validation and test labels remain clean. We fix μ = 0.1 \mu=0.1 μ = 0.1 . Different from previous studies Chen et al. [3 ] ; Gu et al. [8 ] 3 , we report the average weight separation on the partially corrupted training set which is defined as
Δ = ∣ G + ∣ − 1 ∑ i ∈ G + σ ( w i ) − ∣ G − ∣ − 1 ∑ i ∈ G − σ ( w i ) \Delta= \lvert G_{+}\rvert^{-1}\sum_{i\in G_{+}}\sigma(\mathbf{w}_{i})-\lvert G_{-}\rvert^{-1}\sum_{i\in G_{-}}\sigma(\mathbf{w}_{i}) Δ = ∣ G + ∣ − 1 ∑ i ∈ G + σ ( w i ) − ∣ G − ∣ − 1 ∑ i ∈ G − σ ( w i ) , where G + , G − G_{+},G_{-} G + , G − are the clean set and the corrupted set. Figure 1 shows that our algorithm learns a largest weight separation for and the convergence is the fastest.
Figure 1. Comparison of first order method of NC-SC SBO problem for data hyper-cleaning task. Upper row: MNIST dataset; Lower row: Fashion-MNIST dataset.
Regularization Selection. We next consider learning feature-wise regularization parameters for logistic regression. Let y \mathbf{y} y denote the classifier parameters and let w k w_{k} w k control the regularization strength of the k k k -th feature. We solve
min w ∈ R d 1 m ∑ j = 1 m ℓ ( y ∗ ( w ) ; a j v a l , b j v a l ) \min_{\mathbf{w}\in\mathbb{R}^{d}} \frac{1}{m}\sum_{j=1}^{m}\ell\left(\mathbf{y}^{*}(\mathbf{w});a_{j}^{\mathrm{val}},b_{j}^{\mathrm{val}}\right) w ∈ R d min m 1 j = 1 ∑ m ℓ ( y ∗ ( w ) ; a j val , b j val )
y ∗ ( w ) = arg min y 1 n ∑ i = 1 n ℓ ( y ; a i , b i ) + 1 2 d ∑ k = 1 d exp ( w k ) ∥ y : , k ∥ 2 + μ 0 2 d ∥ y ∥ F 2 . \mathbf{y}^{*}(\mathbf{w})=\mathop{\arg\min}_{\mathbf{y}}\frac{1}{n}\sum_{i=1}^{n}\ell(\mathbf{y};a_{i},b_{i})+\frac{1}{2d}\sum_{k=1}^{d}\exp(w_{k})\lVert\mathbf{y}_{:,k}\rVert^{2}+\frac{\mu_{0}}{2d}\lVert\mathbf{y}\rVert_{F}^{2}. y ∗ ( w ) = arg min y n 1 i = 1 ∑ n ℓ ( y ; a i , b i ) + 2 d 1 k = 1 ∑ d exp ( w k ) ∥ y : , k ∥ 2 + 2 d μ 0 ∥ y ∥ F 2 .
We use the LIBSVM version of Mushroom dataset ([2 ] ), which contains 8124 examples from two classes and 112 binary features encoding categorical attributes. A seeded random partition yields 5802/1161/1161 training/validation/test examples. Features are standardized using training-set means and standard deviations, with unit scale for constant features; labels are mapped to { 0 , 1 } \{0,1\} { 0 , 1 } . We fix μ 0 = 0.1 \mu_{0}=0.1 μ 0 = 0.1 and divide both quadratic penalties by the number of feature weights (d = 112 d=112 d = 112 ). The intercept receives only the fixed penalty. Figure 2 (left two) reports validation cross-entropy and test accuracy and shows that our method reach the lowest validation error.
Figure 2. Left two: Comparison of first order method of NC-SC SBO problem for regularization selection task on the Mushroom dataset. Right: Projection-by-momentum ablation study on the Mushroom dataset.
Finally, we conduct an ablation study on the regularization selection task comparing SICO with the variant without the projection step on z z z . The result shown in Figure 2 shows that projection improves the convergence of SICO.
Conclusions
We have proposed a fully first-order method for non-convex-strongly-convex stochastic bilevel optimization. Building on the penalty framework and projected lower-level coupling, we combine projected tracking of lower level variables with a momentum update of the upper level variable to obtain a single-loop algorithm using only O ( 1 ) O(1) O ( 1 ) batch size. Our refined analysis establishes O ( κ 11 ϵ − 6 ) O(\kappa^{11}\epsilon^{-6}) O ( κ 11 ϵ − 6 ) complexity under standard bounded variance and O ( κ 9 ϵ − 4 ) O(\kappa^{9}\epsilon^{-4}) O ( κ 9 ϵ − 4 ) complexity under the additional mean-square smoothness assumption, matching the best-known rates of existing fully first-order methods without requiring large batches or nested loops.
Statements
AI Use Statement
In this work, we used generative AI tools to polish the main paper writing. We also use them to help build the codebase for numerical experiments presented in § 5 . We have reviewed all the AI-assisted work. Specifically, 2 of the authors reviewed and verified the training and evaluation pipeline and algorithms implementation(including our method and baseline methods) to make sure they are correct. Besides, we use AI tools to help construct the counter example in appendix § 11 . All the remaining required disclosure tasks are either inapplicable to this work or are done by ourselves. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
Reproducibility Statement
For theoretical results, we provide formal assumption and theorem and necessary explanation in the main paper, and technical lemma with their proof in appendix § 8 , and proof of theorems in appendix § 9 and C.
For experiment results, we manually select 3 random seeds for each experiment and provide the detail information about experiment setting in § 5 . All the datasets used in our experiment are open source. All the aforementioned efforts help make sure that all of presented result are reproducible.
Technical Lemma
Preliminary
Notation Recall that
s t : = y t − z t , s ∗ ( w t ) : = y λ ∗ ( w t ) − y ∗ ( w t ) , s_t := y_t-z_t,\quad s^*(w_t):=y^*_{\lambda}(w_t)-y^*(w_t), s t := y t − z t , s ∗ ( w t ) := y λ ∗ ( w t ) − y ∗ ( w t ) ,
Y t : = ∥ y t + 1 − y λ ∗ ( w t ) ∥ 2 , S t : = ∥ s t + 1 − s ∗ ( w t ) ∥ 2 , V t : = ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 . Y_t:=\lVert y_{t+1}-y^*_{\lambda}(w_t)\rVert^2,\quad S_t:=\lVert s_{t+1}-s^*(w_t)\rVert^2,\quad V_t:=\lVert v_{t+1}-\nabla L^*_{\lambda}(w_t)\rVert^2. Y t := ∥ y t + 1 − y λ ∗ ( w t ) ∥ 2 , S t := ∥ s t + 1 − s ∗ ( w t ) ∥ 2 , V t := ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 .
For convenience, we further introduce the following notations:
y λ , t ∗ : = y λ ∗ ( w t ) , s t ∗ : = s ∗ ( w t ) , y^*_{\lambda,t}:=y^*_{\lambda}(w_t),\quad s^*_t:=s^*(w_t), y λ , t ∗ := y λ ∗ ( w t ) , s t ∗ := s ∗ ( w t ) ,
and denote I \mathbf{I} I as identity matrix. Besides, let us denote expectation given the history before the t t t -th iteration (resp. given the history before the t t t -th iteration together with B f y t \mathcal{B}^t_{fy} B f y t and B g y t \mathcal{B}^t_{gy} B g y t ) as E t \mathbb{E}_t E t (resp. E t + \mathbb{E}_{t+} E t + ).
Below we will introduce several useful lemma.
Lemma 2. Under Assumption 1, for λ ≥ 2 L f μ g \lambda\ge\frac{2L_f}{\mu_g} λ ≥ μ g 2 L f , it holds that
∥ y ∗ ( w ) − y λ ∗ ( w ) ∥ ≤ C f μ g λ (27) \lVert y^*(w)-y^*_{\lambda}(w)\rVert\le\frac{C_f}{\mu_g\lambda} \tag*{(27)} ∥ y ∗ ( w ) − y λ ∗ ( w )∥ ≤ μ g λ C f (27)
Proof. It holds from definition of y λ ∗ ( w ) y^*_{\lambda}(w) y λ ∗ ( w ) that ∇ 2 f ( w , y λ ∗ ( w ) ) + λ ∇ 2 g ( w , y λ ∗ ( w ) ) = 0 \nabla_2 f(w,y^*_{\lambda}(w))+\lambda\nabla_2 g(w,y^*_{\lambda}(w))=0 ∇ 2 f ( w , y λ ∗ ( w )) + λ ∇ 2 g ( w , y λ ∗ ( w )) = 0 . Then we have
∥ y ∗ ( w ) − y λ ∗ ( w ) ∥ ≤ 1 μ g ∥ ∇ 2 g ( w , y λ ∗ ( w ) ) ∥ = 1 μ g λ ∥ ∇ 2 f ( w , y λ ∗ ( w ) ) ∥ ≤ C f μ g λ \lVert y^*(w)-y^*_{\lambda}(w)\rVert\le\frac{1}{\mu_g}\lVert\nabla_2g(w,y^*_{\lambda}(w))\rVert=\frac{1}{\mu_g\lambda}\lVert\nabla_2f(w,y^*_{\lambda}(w))\rVert\le\frac{C_f}{\mu_g\lambda} ∥ y ∗ ( w ) − y λ ∗ ( w )∥ ≤ μ g 1 ∥ ∇ 2 g ( w , y λ ∗ ( w ))∥ = μ g λ 1 ∥ ∇ 2 f ( w , y λ ∗ ( w ))∥ ≤ μ g λ C f
where the first inequality holds from strongly convexity of g ( w , ⋅ ) g(w,\cdot) g ( w , ⋅ ) .
Lemma 3. Under Assumption 1, for λ ≥ 2 L f μ g \lambda\ge\frac{2L_f}{\mu_g} λ ≥ μ g 2 L f , y λ ∗ ( ⋅ ) y^*_{\lambda}(\cdot) y λ ∗ ( ⋅ ) is C y ∗ = 2 ( L f + λ L g ) λ μ g = O ( κ ) C_{y^*}=\frac{2(L_f+\lambda L_g)}{\lambda\mu_g}=O(\kappa) C y ∗ = λ μ g 2 ( L f + λ L g ) = O ( κ ) -lipschitz.
Proof. It holds from the definition of y λ ∗ ( w ) y^*_{\lambda}(w) y λ ∗ ( w ) that ∇ 2 L λ ( w , y λ ∗ ( w ) ) = 0 \nabla_2L_{\lambda}(w,y^*_{\lambda}(w))=0 ∇ 2 L λ ( w , y λ ∗ ( w )) = 0 . Differentiate LHS w.r.t. w w w , we have
∇ 21 2 L λ ( w , y λ ∗ ( w ) ) + ∇ y λ ∗ ( w ) ∇ 22 2 L λ ( w , y λ ∗ ( w ) ) = 0. \nabla^2_{21}L_{\lambda}(w,y^*_{\lambda}(w))+\nabla y^*_{\lambda}(w)\nabla^2_{22}L_{\lambda}(w,y^*_{\lambda}(w))=0. ∇ 21 2 L λ ( w , y λ ∗ ( w )) + ∇ y λ ∗ ( w ) ∇ 22 2 L λ ( w , y λ ∗ ( w )) = 0.
Rearranging the term and multiplying both side by ∇ 22 2 L λ ∗ ( w , y λ ∗ ( w ) ) − 1 \nabla^2_{22}L^*_{\lambda}(w,y^*_{\lambda}(w))^{-1} ∇ 22 2 L λ ∗ ( w , y λ ∗ ( w ) ) − 1 yields
∇ y λ ∗ ( w ) = − ( 1 λ ∇ 21 2 f ( w , y λ ∗ ( w ) ) + ∇ 21 2 g ( w , y λ ∗ ( w ) ) ) ( 1 λ ∇ 22 2 f ( w , y λ ∗ ( w ) ) + ∇ 22 2 g ( w , y λ ∗ ( w ) ) ) − 1 (28) \nabla y^*_{\lambda}(w)=-\left(\frac{1}{\lambda}\nabla^2_{21}f(w,y^*_{\lambda}(w))+\nabla^2_{21}g(w,y^*_{\lambda}(w))\right)\left(\frac{1}{\lambda}\nabla^2_{22}f(w,y^*_{\lambda}(w))+\nabla^2_{22}g(w,y^*_{\lambda}(w))\right)^{-1} \tag*{(28)} ∇ y λ ∗ ( w ) = − ( λ 1 ∇ 21 2 f ( w , y λ ∗ ( w )) + ∇ 21 2 g ( w , y λ ∗ ( w )) ) ( λ 1 ∇ 22 2 f ( w , y λ ∗ ( w )) + ∇ 22 2 g ( w , y λ ∗ ( w )) ) − 1 (28)
It finishes the proof by noting that ∇ 22 2 f ( w , y λ ∗ ( w ) ) ⪰ − L f I \nabla^2_{22}f(w,y^*_{\lambda}(w))\succeq-L_f\mathbf{I} ∇ 22 2 f ( w , y λ ∗ ( w )) ⪰ − L f I , ∇ 21 2 f ( w , y λ ∗ ( w ) ) ⪯ L f I \nabla^2_{21}f(w,y^*_{\lambda}(w))\preceq L_f\mathbf{I} ∇ 21 2 f ( w , y λ ∗ ( w )) ⪯ L f I and ∇ 22 2 g ( w , y λ ∗ ( w ) ) ⪰ μ g I \nabla^2_{22}g(w,y^*_{\lambda}(w))\succeq\mu_g\mathbf{I} ∇ 22 2 g ( w , y λ ∗ ( w )) ⪰ μ g I , ∇ 21 2 g ( w , y λ ∗ ( w ) ) ⪯ L g I \nabla^2_{21}g(w,y^*_{\lambda}(w))\preceq L_g\mathbf{I} ∇ 21 2 g ( w , y λ ∗ ( w )) ⪯ L g I
Lemma 4 (Lemma B.5 of Chen et al. [3 ] ). Under Assumption 1, if λ ≥ 2 L f μ g \lambda\ge\frac{2L_f}{\mu_g} λ ≥ μ g 2 L f , we have that for any t t t :
∥ s t ∗ − s t − 1 ∗ ∥ 2 = ∥ s ∗ ( w t ) − s ∗ ( w t − 1 ) ∥ 2 ≤ C s 2 λ 2 ∥ w t − w t − 1 ∥ 2 (29) \lVert s^*_t-s^*_{t-1}\rVert^2=\lVert s^*(w_t)-s^*(w_{t-1})\rVert^2\le\frac{C_s^2}{\lambda^2}\lVert w_t-w_{t-1}\rVert^2 \tag*{(29)} ∥ s t ∗ − s t − 1 ∗ ∥ 2 = ∥ s ∗ ( w t ) − s ∗ ( w t − 1 ) ∥ 2 ≤ λ 2 C s 2 ∥ w t − w t − 1 ∥ 2 (29) where C s = ( 1 μ g + 2 L g μ g 2 ) ( L f + C f Q g μ g ) = O ( κ 3 ) C_s=\left(\frac{1}{\mu_g}+\frac{2L_g}{\mu_g^2}\right)\left(L_f+\frac{C_fQ_g}{\mu_g}\right)=O(\kappa^3) C s = ( μ g 1 + μ g 2 2 L g ) ( L f + μ g C f Q g ) = O ( κ 3 ) .
Lemma for Theorem 1
In this section we introduce several important technical lemma for Theorem 1.
The following lemma is a standard descent lemma for smooth function L λ ∗ L^*_{\lambda} L λ ∗ .
Lemma 5. Under Assumption 1, 2, for η ≤ 1 2 L λ ∗ \eta\le\frac{1}{2L^*_{\lambda}} η ≤ 2 L λ ∗ 1 it holds that
E L λ ∗ ( w t + 1 ) ≤ E L λ ∗ ( w t ) + η 2 E ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 − η 4 E ∥ v t + 1 ∥ 2 − η 2 E ∥ ∇ L λ ∗ ( w t ) ∥ 2 . (30) \mathbb{E}L^*_{\lambda}(w_{t+1})\le\mathbb{E}L^*_{\lambda}(w_t)+\frac{\eta}{2}\mathbb{E}\lVert v_{t+1}-\nabla L^*_{\lambda}(w_t)\rVert^2-\frac{\eta}{4}\mathbb{E}\lVert v_{t+1}\rVert^2-\frac{\eta}{2}\mathbb{E}\lVert\nabla L^*_{\lambda}(w_t)\rVert^2 . \tag*{(30)} E L λ ∗ ( w t + 1 ) ≤ E L λ ∗ ( w t ) + 2 η E ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 − 4 η E ∥ v t + 1 ∥ 2 − 2 η E ∥ ∇ L λ ∗ ( w t ) ∥ 2 . (30)
Proof. The proof is quite standard. We present for completeness.
E t + L λ ∗ ( w t + 1 ) ≤ L λ ∗ ( w t ) + E t + ⟨ ∇ L λ ∗ ( w t ) , w t + 1 − w t ⟩ + L ∗ 2 E t + ∥ w t + 1 − w t ∥ 2 ≤ L λ ∗ ( w t ) − η E t + ⟨ ∇ L λ ∗ ( w t ) , v t + 1 ⟩ + η 2 L ∗ 2 E t + ∥ v t + 1 ∥ 2 ≤ L λ ∗ ( w t ) + η 2 ( E t + ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 − E t + ∥ v t + 1 ∥ 2 − ∥ ∇ L λ ∗ ( w t ) ∥ 2 ) + η 2 L ∗ 2 E t + ∥ v t + 1 ∥ 2 ≤ L λ ∗ ( w t ) + η 2 E t + ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 − η 4 E t + ∥ v t + 1 ∥ 2 − η 2 ∥ ∇ L λ ∗ ( w t ) ∥ 2 (31) \begin{aligned}
\mathbb{E}_{t+}\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_{t+1}) &\le\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t) + \mathbb{E}_{t+}\langle\nabla\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t),\mathbf{w}_{t+1}-\mathbf{w}_t\rangle+ \frac{L_{\ast}}{2}\mathbb{E}_{t+}\|\mathbf{w}_{t+1}-\mathbf{w}_t\|^2 \\
&\le\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)-\eta\mathbb{E}_{t+}\langle\nabla\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t),\mathbf{v}_{t+1}\rangle+ \frac{\eta^2L_{\ast}}{2}\mathbb{E}_{t+}\|\mathbf{v}_{t+1}\|^2 \\
&\le\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)+\frac{\eta}{2}\left(\mathbb{E}_{t+}\|\mathbf{v}_{t+1}-\nabla\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)\|^2-\mathbb{E}_{t+}\|\mathbf{v}_{t+1}\|^2-\|\nabla\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)\|^2\right) \\
&\quad+\frac{\eta^2L_{\ast}}{2}\mathbb{E}_{t+}\|\mathbf{v}_{t+1}\|^2 \\
&\le\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)+\frac{\eta}{2}\mathbb{E}_{t+}\|\mathbf{v}_{t+1}-\nabla\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)\|^2-\frac{\eta}{4}\mathbb{E}_{t+}\|\mathbf{v}_{t+1}\|^2-\frac{\eta}{2}\|\nabla\mathcal{L}^{\ast}_{\lambda}(\mathbf{w}_t)\|^2 \tag*{(31)}
\end{aligned} E t + L λ ∗ ( w t + 1 ) ≤ L λ ∗ ( w t ) + E t + ⟨ ∇ L λ ∗ ( w t ) , w t + 1 − w t ⟩ + 2 L ∗ E t + ∥ w t + 1 − w t ∥ 2 ≤ L λ ∗ ( w t ) − η E t + ⟨ ∇ L λ ∗ ( w t ) , v t + 1 ⟩ + 2 η 2 L ∗ E t + ∥ v t + 1 ∥ 2 ≤ L λ ∗ ( w t ) + 2 η ( E t + ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 − E t + ∥ v t + 1 ∥ 2 − ∥∇ L λ ∗ ( w t ) ∥ 2 ) + 2 η 2 L ∗ E t + ∥ v t + 1 ∥ 2 ≤ L λ ∗ ( w t ) + 2 η E t + ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 − 4 η E t + ∥ v t + 1 ∥ 2 − 2 η ∥∇ L λ ∗ ( w t ) ∥ 2 (31)
where the first inequality holds from the L ∗ L_{\ast} L ∗ -smoothness of L λ ∗ ( ⋅ ) \mathcal{L}^{\ast}_{\lambda}(\cdot) L λ ∗ ( ⋅ ) and the last inequality holds from η ≤ 1 2 L ∗ \eta\le\frac{1}{2L_{\ast}} η ≤ 2 L ∗ 1 . Finally, taking expectation w.r.t. all the randomness before t t t -th iteration, B f y t \mathcal{B}^{t}_{fy} B f y t and B g y t \mathcal{B}^{t}_{gy} B g y t finishes the proof by the law of total expectation. □
We then provide a recursive bound for the error of the momentum estimator.
Lemma 6 (Lemma A.2 of Kwon et al. [15 ] ). Under Assumption 1, 2, it holds that:
var ( G ^ t + 1 w ) : = E ( t + 1 ) + ∥ G ^ t + 1 w − G t + 1 w ∥ 2 ≤ 1 B ( 2 σ f 2 + 8 λ 2 σ g 2 ) . (32) \operatorname{var}(\widehat{G}^{w}_{t+1}) := \mathbb{E}_{(t+1)+}\left\|\widehat{G}^{w}_{t+1}-G^{w}_{t+1}\right\|^2 \le\frac{1}{B}\left(2\sigma_f^2+8\lambda^2\sigma_g^2\right). \tag*{(32)} var ( G t + 1 w ) := E ( t + 1 ) + G t + 1 w − G t + 1 w 2 ≤ B 1 ( 2 σ f 2 + 8 λ 2 σ g 2 ) . (32) If we further assume that Assumption 3 holds and let r λ = C f μ g r_{\lambda}=\frac{C_f}{\mu_g} r λ = μ g C f , we have that
var ( G ^ t + 1 w ) : = E ( t + 1 ) + ∥ G ^ t + 1 w − G t + 1 w ∥ 2 ≤ 1 B ( 2 σ f 2 + 8 L ~ g 2 C f 2 μ g 2 ) . (33) \operatorname{var}(\widehat{G}^{w}_{t+1}) := \mathbb{E}_{(t+1)+}\left\|\widehat{G}^{w}_{t+1}-G^{w}_{t+1}\right\|^2 \le\frac{1}{B}\left(2\sigma_f^2+8\frac{\widetilde{L}_g^2C_f^2}{\mu_g^2}\right). \tag*{(33)} var ( G t + 1 w ) := E ( t + 1 ) + G t + 1 w − G t + 1 w 2 ≤ B 1 ( 2 σ f 2 + 8 μ g 2 L g 2 C f 2 ) . (33)
The following lemma decomposes the error of the (expected) hypergradient estimator.
Lemma 7 (lemma A.1(ii) of Kwon et al. [15 ] ). Under Assumption 1, let r λ = C f μ g r_{\lambda}=\frac{C_f}{\mu_g} r λ = μ g C f , it holds that
∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 ≤ 3 L y ∗ 2 ∥ y t + 1 − y ∗ ( w t ) ∥ 2 + 3 λ 2 L g 2 ∥ s t + 1 − s ∗ ( w t ) ∥ 2 + 3 C f 2 L y ∗ 2 μ g 2 λ 2 (34) \|G_t^w-\nabla\mathcal{L}_{\lambda}^{\ast}(\mathbf{w}_t)\|^2 \le3L_{y^{\ast}}^2\|\mathbf{y}_{t+1}-\mathbf{y}^{\ast}(\mathbf{w}_t)\|^2+3\lambda^2L_g^2\|\mathbf{s}_{t+1}-\mathbf{s}^{\ast}(\mathbf{w}_t)\|^2+\frac{3C_f^2L_{y^{\ast}}^2}{\mu_g^2\lambda^2} \tag*{(34)} ∥ G t w − ∇ L λ ∗ ( w t ) ∥ 2 ≤ 3 L y ∗ 2 ∥ y t + 1 − y ∗ ( w t ) ∥ 2 + 3 λ 2 L g 2 ∥ s t + 1 − s ∗ ( w t ) ∥ 2 + μ g 2 λ 2 3 C f 2 L y ∗ 2 (34) where L y ∗ = L f + C f Q g μ g = O ( ℓ ˉ κ ) L_{y^{\ast}}=L_f+\frac{C_fQ_g}{\mu_g}=O(\bar{\ell}\kappa) L y ∗ = L f + μ g C f Q g = O ( ℓ ˉ κ ) .
Remark: The original lemma in Kwon et al. [15 ] requires (MSS) Assumption 3. However, note that LHS doesn’t involve any randomness/stochastic gradient (when w t \mathbf{w}_t w t is fixed), we point out that this assumption is not needed. In fact, L ~ g \widetilde{L}_g L g doesn’t appear in the RHS.
Lemma 8. Under Assumption 1, 2, for β ≤ 1 \beta\le1 β ≤ 1 it holds that
E V t + 1 ≤ ( 1 − β ) E V t + 2 L ∗ 2 η 2 β E ∥ v t + 1 ∥ 2 + 4 β E ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + β 2 λ 2 σ 2 B (35) \mathbb{E}V_{t+1}\le(1-\beta)\mathbb{E}V_t+\frac{2L_{\ast}^2\eta^2}{\beta}\mathbb{E}\|\mathbf{v}_{t+1}\|^2+4\beta\mathbb{E}\|G^w_{t+1}-\nabla\mathcal{L}_{\lambda}^{\ast}(\mathbf{w}_{t+1})\|^2+\frac{\beta^2\lambda^2\sigma^2}{B} \tag*{(35)} E V t + 1 ≤ ( 1 − β ) E V t + β 2 L ∗ 2 η 2 E ∥ v t + 1 ∥ 2 + 4 β E ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + B β 2 λ 2 σ 2 (35) where G t + 1 w = E ( t + 1 ) + + G ^ t + 1 w G^w_{t+1}=\mathbb{E}_{(t+1)+}+\widehat{G}^w_{t+1} G t + 1 w = E ( t + 1 ) + + G t + 1 w and λ 2 σ 2 = 2 σ f 2 + 8 λ 2 σ g 2 \lambda^2\sigma^2=2\sigma_f^2+8\lambda^2\sigma_g^2 λ 2 σ 2 = 2 σ f 2 + 8 λ 2 σ g 2 .
Proof. The proof is quite standard and we present for completeness.
E ( t + 1 ) + V t + 1 = E ( t + 1 ) + ∥ β G ^ t + 1 w + ( 1 − β ) v t + 1 − ∇ L λ ∗ ( w t + 1 ) ∥ 2 = E ( t + 1 ) + ∥ β ( G ^ t + 1 w − G t + 1 w ) + β ( G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ) + ( 1 − β ) ( v t + 1 − ∇ L λ ∗ ( w t ) + ∇ L λ ∗ ( w t ) − ∇ L λ ∗ ( w t + 1 ) ) ∥ 2 ≤ β 2 λ 2 σ 2 B + ( 1 − β ) 2 ( 1 + β ) ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 + ( 1 + 1 β ) ( 2 β 2 ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + 2 ( 1 − β ) 2 ∥ ∇ L λ ∗ ( w t ) − ∇ L λ ∗ ( w t + 1 ) ∥ 2 ) ≤ β 2 λ 2 σ 2 B + ( 1 − β ) ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 + 4 β ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + 2 β ∥ ∇ L λ ∗ ( w t ) − ∇ L λ ∗ ( w t + 1 ) ∥ 2 ≤ β 2 λ 2 σ 2 B + ( 1 − β ) ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 + 4 β ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + 2 L λ 2 η 2 β ∥ v t + 1 ∥ 2 (36) \begin{aligned}
\mathbf{E}_{(t+1)}+V_{t+1}
&=\mathbf{E}_{(t+1)}+\left\|\beta\widehat{G}^{w}_{t+1}+(1-\beta)v_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1})\right\|^{2}\\
&=\mathbf{E}_{(t+1)}+\left\|\beta(\widehat{G}^{w}_{t+1}-G^{w}_{t+1})+\beta(G^{w}_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1}))\right.\\
&\qquad\left.+(1-\beta)(v_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_t)+\nabla\mathcal{L}^{*}_{\lambda}(w_t)-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1}))\right\|^{2}\\
&\leq\frac{\beta^{2}\lambda^{2}\sigma^{2}}{B}+(1-\beta)^{2}(1+\beta)\left\|v_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_t)\right\|^{2}\\
&\qquad+\left(1+\frac{1}{\beta}\right)\left(2\beta^{2}\left\|G^{w}_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1})\right\|^{2}+2(1-\beta)^{2}\left\|\nabla\mathcal{L}^{*}_{\lambda}(w_t)-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1})\right\|^{2}\right)\\
&\leq\frac{\beta^{2}\lambda^{2}\sigma^{2}}{B}+(1-\beta)\left\|v_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_t)\right\|^{2}\\
&\qquad+4\beta\left\|G^{w}_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1})\right\|^{2}+\frac{2}{\beta}\left\|\nabla\mathcal{L}^{*}_{\lambda}(w_t)-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1})\right\|^{2}\\
&\leq\frac{\beta^{2}\lambda^{2}\sigma^{2}}{B}+(1-\beta)\left\|v_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_t)\right\|^{2}+4\beta\left\|G^{w}_{t+1}-\nabla\mathcal{L}^{*}_{\lambda}(w_{t+1})\right\|^{2}\\
&\qquad+\frac{2L_{\lambda}^{2}\eta^{2}}{\beta}\left\|v_{t+1}\right\|^{2} \tag*{(36)}
\end{aligned} E ( t + 1 ) + V t + 1 = E ( t + 1 ) + β G t + 1 w + ( 1 − β ) v t + 1 − ∇ L λ ∗ ( w t + 1 ) 2 = E ( t + 1 ) + β ( G t + 1 w − G t + 1 w ) + β ( G t + 1 w − ∇ L λ ∗ ( w t + 1 )) + ( 1 − β ) ( v t + 1 − ∇ L λ ∗ ( w t ) + ∇ L λ ∗ ( w t ) − ∇ L λ ∗ ( w t + 1 )) ∥ 2 ≤ B β 2 λ 2 σ 2 + ( 1 − β ) 2 ( 1 + β ) ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 + ( 1 + β 1 ) ( 2 β 2 G t + 1 w − ∇ L λ ∗ ( w t + 1 ) 2 + 2 ( 1 − β ) 2 ∥ ∇ L λ ∗ ( w t ) − ∇ L λ ∗ ( w t + 1 ) ∥ 2 ) ≤ B β 2 λ 2 σ 2 + ( 1 − β ) ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 + 4 β G t + 1 w − ∇ L λ ∗ ( w t + 1 ) 2 + β 2 ∥ ∇ L λ ∗ ( w t ) − ∇ L λ ∗ ( w t + 1 ) ∥ 2 ≤ B β 2 λ 2 σ 2 + ( 1 − β ) ∥ v t + 1 − ∇ L λ ∗ ( w t ) ∥ 2 + 4 β G t + 1 w − ∇ L λ ∗ ( w t + 1 ) 2 + β 2 L λ 2 η 2 ∥ v t + 1 ∥ 2 (36)
where the first inequality holds from 32 and young’s inequality, the second inequality holds from β ≤ 1 \beta\leq1 β ≤ 1 . Finally, taking expectation w.r.t. all the randomness before t + 1 t+1 t + 1 -th iteration, B f y t + 1 B^{t+1}_{fy} B f y t + 1 and B g y t + 1 B^{t+1}_{gy} B g y t + 1 finishes the proof by the law of total expectation.
Lemma 9 (Descent lemma for y). Under Assumption 1, 2, for γ ≤ μ y L y 2 \gamma\leq\frac{\mu_y}{L_y^2} γ ≤ L y 2 μ y , we have
E Y t ≤ ( 1 − γ μ y 2 ) E Y t − 1 + 2 C y ∗ 2 η 2 μ y E ∥ v t ∥ 2 + γ 2 σ y 2 B (37) \mathbf{E}Y_t\leq\left(1-\frac{\gamma\mu_y}{2}\right)\mathbf{E}Y_{t-1}+\frac{2C_{y*}^{2}\eta^{2}}{\mu_y}\mathbf{E}\left\|v_t\right\|^{2}+\frac{\gamma^{2}\sigma_y^{2}}{B} \tag*{(37)} E Y t ≤ ( 1 − 2 γ μ y ) E Y t − 1 + μ y 2 C y ∗ 2 η 2 E ∥ v t ∥ 2 + B γ 2 σ y 2 (37) where σ y 2 = 2 σ f 2 λ 2 + 2 σ g 2 = O ( 1 ) \sigma_y^2=\frac{2\sigma_f^2}{\lambda^2}+2\sigma_g^2=O(1) σ y 2 = λ 2 2 σ f 2 + 2 σ g 2 = O ( 1 ) and C y ∗ = 2 ( L f + λ L g ) λ μ g = O ( κ ) C_{y*}=\frac{2(L_f+\lambda L_g)}{\lambda\mu_g}=O(\kappa) C y ∗ = λ μ g 2 ( L f + λ L g ) = O ( κ ) .
Proof.
E t Y t = E t ∥ y t − γ G ^ t y − y λ , t ∗ ∥ 2 = ∥ y t − y λ , t ∗ ∥ 2 − 2 γ E t ⟨ G ^ t y , y t − y λ , t ∗ ⟩ + γ 2 E t ∥ G ^ t y ∥ 2 ≤ ∥ y t − y λ , t ∗ ∥ 2 − 2 γ μ y ∥ y t − y λ , t ∗ ∥ 2 + γ 2 ( L y 2 ∥ y t − y λ , t ∗ ∥ 2 + σ y 2 B ) ≤ ( 1 − γ μ y ) ∥ y t − y λ , t ∗ ∥ 2 + γ 2 σ y 2 B ≤ ( 1 − γ μ y ) ( 1 + γ μ y 2 ) ∥ y t − y λ , t − 1 ∗ ∥ 2 + ( 1 − γ μ y ) ( 1 + 2 μ y ) ∥ y λ , t − 1 ∗ − y λ , t ∗ ∥ 2 + γ 2 σ y 2 B ≤ ( 1 − γ μ y 2 ) ∥ y t − y λ , t − 1 ∗ ∥ 2 + 2 C y ∗ 2 η 2 μ y ∥ v t ∥ 2 + γ 2 σ y 2 B (38) \begin{aligned}
\mathbf{E}_tY_t
&=\mathbf{E}_t\left\|y_t-\gamma\widehat{G}^{y}_t-y^{*}_{\lambda,t}\right\|^{2}\\
&=\left\|y_t-y^{*}_{\lambda,t}\right\|^{2}-2\gamma\mathbf{E}_t\langle\widehat{G}^{y}_t,y_t-y^{*}_{\lambda,t}\rangle+\gamma^{2}\mathbf{E}_t\left\|\widehat{G}^{y}_t\right\|^{2}\\
&\leq\left\|y_t-y^{*}_{\lambda,t}\right\|^{2}-2\gamma\mu_y\left\|y_t-y^{*}_{\lambda,t}\right\|^{2}+\gamma^{2}\left(L_y^{2}\left\|y_t-y^{*}_{\lambda,t}\right\|^{2}+\frac{\sigma_y^{2}}{B}\right)\\
&\leq\left(1-\gamma\mu_y\right)\left\|y_t-y^{*}_{\lambda,t}\right\|^{2}+\frac{\gamma^{2}\sigma_y^{2}}{B}\\
&\leq(1-\gamma\mu_y)\left(1+\frac{\gamma\mu_y}{2}\right)\left\|y_t-y^{*}_{\lambda,t-1}\right\|^{2}+(1-\gamma\mu_y)\left(1+\frac{2}{\mu_y}\right)\left\|y^{*}_{\lambda,t-1}-y^{*}_{\lambda,t}\right\|^{2}+\frac{\gamma^{2}\sigma_y^{2}}{B}\\
&\leq\left(1-\frac{\gamma\mu_y}{2}\right)\left\|y_t-y^{*}_{\lambda,t-1}\right\|^{2}+\frac{2C_{y*}^{2}\eta^{2}}{\mu_y}\left\|v_t\right\|^{2}+\frac{\gamma^{2}\sigma_y^{2}}{B} \tag*{(38)}
\end{aligned} E t Y t = E t y t − γ G t y − y λ , t ∗ 2 = y t − y λ , t ∗ 2 − 2 γ E t ⟨ G t y , y t − y λ , t ∗ ⟩ + γ 2 E t G t y 2 ≤ y t − y λ , t ∗ 2 − 2 γ μ y y t − y λ , t ∗ 2 + γ 2 ( L y 2 y t − y λ , t ∗ 2 + B σ y 2 ) ≤ ( 1 − γ μ y ) y t − y λ , t ∗ 2 + B γ 2 σ y 2 ≤ ( 1 − γ μ y ) ( 1 + 2 γ μ y ) y t − y λ , t − 1 ∗ 2 + ( 1 − γ μ y ) ( 1 + μ y 2 ) y λ , t − 1 ∗ − y λ , t ∗ 2 + B γ 2 σ y 2 ≤ ( 1 − 2 γ μ y ) y t − y λ , t − 1 ∗ 2 + μ y 2 C y ∗ 2 η 2 ∥ v t ∥ 2 + B γ 2 σ y 2 (38)
where μ y = μ g − L f λ \mu_y=\mu_g-\frac{L_f}{\lambda} μ y = μ g − λ L f and L y = L f λ + L g L_y=\frac{L_f}{\lambda}+L_g L y = λ L f + L g are the strongly convexity coefficient and the smoothness coefficient of L y λ ( w t , ⋅ ) = 1 λ f ( w t , ⋅ ) + g ( w t , ⋅ ) \mathcal{L}^{\lambda}_y(w_t,\cdot)=\frac{1}{\lambda}f(w_t,\cdot)+g(w_t,\cdot) L y λ ( w t , ⋅ ) = λ 1 f ( w t , ⋅ ) + g ( w t , ⋅ ) . The last equality holds from G λ y ∗ ( w t , y λ , t ∗ ) = ∇ 2 L y λ ( w t , y λ , t ∗ ) = 0 G^{y*}_{\lambda}(w_t,y^{*}_{\lambda,t})=\nabla_2\mathcal{L}^{\lambda}_y(w_t,y^{*}_{\lambda,t})=\mathbf{0} G λ y ∗ ( w t , y λ , t ∗ ) = ∇ 2 L y λ ( w t , y λ , t ∗ ) = 0 , Lemma 3 and the inequality that ( 1 − γ μ y ) ( 2 + γ μ y ) ≤ 2 (1-\gamma\mu_y)(2+\gamma\mu_y)\leq2 ( 1 − γ μ y ) ( 2 + γ μ y ) ≤ 2 when 0 ≤ γ ≤ μ y L y 2 0\leq\gamma\leq\frac{\mu_y}{L_y^2} 0 ≤ γ ≤ L y 2 μ y . The first inequality holds from the strongly convexity and smoothness of L y λ ( w t , ⋅ ) \mathcal{L}^{\lambda}_y(w_t,\cdot) L y λ ( w t , ⋅ ) and the second inequality holds from γ ≤ μ y L y 2 \gamma\leq\frac{\mu_y}{L_y^2} γ ≤ L y 2 μ y . Finally, taking expectation w.r.t. all the randomness before t t t -th iteration, B f y t B^t_{fy} B f y t and B g y t B^t_{gy} B g y t finishes the proof by the law of total expectation.
Lemma 10. Under Assumption 1, we have that the following two inequality hold:
⟨ G t s , s t − s t ∗ ⟩ ≥ μ g 2 ∥ s t − s t ∗ ∥ 2 − 1 μ g ( 1 λ 2 L f 2 + Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . (39) \left\langle G_t^s, s_t-s_t^* \right\rangle\ge\frac{\mu_g}{2}\left\|s_t-s_t^*\right\|^2-\frac{1}{\mu_g}\left(\frac{1}{\lambda^2}L_f^2+Q_g^2r_\lambda^2\right)\left\|y_t-y_\lambda^*(w_t)\right\|^2 . \tag*{(39)} ⟨ G t s , s t − s t ∗ ⟩ ≥ 2 μ g ∥ s t − s t ∗ ∥ 2 − μ g 1 ( λ 2 1 L f 2 + Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . (39) ∥ G t s ∥ 2 ≤ 2 L g 2 ∥ s t − s t ∗ ∥ 2 + 2 ( 2 λ 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . (40) \left\|G_t^s\right\|^2 \le2L_g^2\left\|s_t-s_t^*\right\|^2+2\left(\frac{2}{\lambda^2}L_f^2+2Q_g^2r_\lambda^2\right)\left\|y_t-y_\lambda^*(w_t)\right\|^2 . \tag*{(40)} ∥ G t s ∥ 2 ≤ 2 L g 2 ∥ s t − s t ∗ ∥ 2 + 2 ( λ 2 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . (40)
Proof. We first show that the mapping H ( w , y , s ) : = 1 λ ∇ 2 f ( w , y ) + ∇ 2 g ( w , y ) − ∇ 2 g ( w , y − s ) H(\mathbf{w},\mathbf{y},\mathbf{s}):=\frac{1}{\lambda}\nabla_2 f(\mathbf{w},\mathbf{y})+\nabla_2g(\mathbf{w},\mathbf{y})-\nabla_2g(\mathbf{w},\mathbf{y}-\mathbf{s}) H ( w , y , s ) := λ 1 ∇ 2 f ( w , y ) + ∇ 2 g ( w , y ) − ∇ 2 g ( w , y − s ) is μ g \mu_g μ g -strongly monotone and L g L_g L g lipschitz in s \mathbf{s} s , i.e.
⟨ H ( w , y , s 1 ) − H ( w , y , s 2 ) , s 1 − s 2 ⟩ ≥ μ g ∥ s 1 − s 2 ∥ 2 , (41) \left\langle H(\mathbf{w},\mathbf{y},\mathbf{s}_1)-H(\mathbf{w},\mathbf{y},\mathbf{s}_2),\mathbf{s}_1-\mathbf{s}_2\right\rangle\ge\mu_g\left\|\mathbf{s}_1-\mathbf{s}_2\right\|^2, \tag*{(41)} ⟨ H ( w , y , s 1 ) − H ( w , y , s 2 ) , s 1 − s 2 ⟩ ≥ μ g ∥ s 1 − s 2 ∥ 2 , (41)
μ g 2 ∥ s 1 − s 2 ∥ 2 ≤ ∥ H ( w , y , s 1 ) − H ( w , y , s 2 ) ∥ 2 ≤ L g 2 ∥ s 1 − s 2 ∥ 2 . (42) \mu_g^2\left\|\mathbf{s}_1-\mathbf{s}_2\right\|^2\le\left\|H(\mathbf{w},\mathbf{y},\mathbf{s}_1)-H(\mathbf{w},\mathbf{y},\mathbf{s}_2)\right\|^2\le L_g^2\left\|\mathbf{s}_1-\mathbf{s}_2\right\|^2 . \tag*{(42)} μ g 2 ∥ s 1 − s 2 ∥ 2 ≤ ∥ H ( w , y , s 1 ) − H ( w , y , s 2 ) ∥ 2 ≤ L g 2 ∥ s 1 − s 2 ∥ 2 . (42)
The proof is straightforward, we directly plug the definition of H H H in the LHS of (41):
L H S = ⟨ ∇ 2 g ( w , y − s 2 ) − ∇ 2 g ( w , y − s 1 ) , s 1 − s 2 ⟩ = ⟨ ∇ 2 g ( w , y − s 2 ) − ∇ 2 g ( w , y − s 1 ) , ( y − s 2 ) − ( y − s 1 ) ⟩ ≥ μ g ∥ s 1 − s 2 ∥ 2 (43) \begin{aligned}
\mathrm{LHS}&=\left\langle\nabla_2g(\mathbf{w},\mathbf{y}-\mathbf{s}_2)-\nabla_2g(\mathbf{w},\mathbf{y}-\mathbf{s}_1),\mathbf{s}_1-\mathbf{s}_2\right\rangle\\
&=\left\langle\nabla_2g(\mathbf{w},\mathbf{y}-\mathbf{s}_2)-\nabla_2g(\mathbf{w},\mathbf{y}-\mathbf{s}_1),(\mathbf{y}-\mathbf{s}_2)-(\mathbf{y}-\mathbf{s}_1)\right\rangle\\
&\ge\mu_g\left\|\mathbf{s}_1-\mathbf{s}_2\right\|^2 \tag*{(43)}
\end{aligned} LHS = ⟨ ∇ 2 g ( w , y − s 2 ) − ∇ 2 g ( w , y − s 1 ) , s 1 − s 2 ⟩ = ⟨ ∇ 2 g ( w , y − s 2 ) − ∇ 2 g ( w , y − s 1 ) , ( y − s 2 ) − ( y − s 1 ) ⟩ ≥ μ g ∥ s 1 − s 2 ∥ 2 (43)
where the inequality holds from the strongly convexity of g g g . Then the first inequality of (42) holds obviously by combining the fact that
∥ H ( w , y , s 1 ) − H ( w , y , s 2 ) ∥ ∥ s 1 − s 2 ∥ ≥ ⟨ H ( w , y , s 1 ) − H ( w , y , s 2 ) , s 1 − s 2 ⟩ \left\|H(\mathbf{w},\mathbf{y},\mathbf{s}_1)-H(\mathbf{w},\mathbf{y},\mathbf{s}_2)\right\|\left\|\mathbf{s}_1-\mathbf{s}_2\right\|\ge\left\langle H(\mathbf{w},\mathbf{y},\mathbf{s}_1)-H(\mathbf{w},\mathbf{y},\mathbf{s}_2),\mathbf{s}_1-\mathbf{s}_2\right\rangle ∥ H ( w , y , s 1 ) − H ( w , y , s 2 ) ∥ ∥ s 1 − s 2 ∥ ≥ ⟨ H ( w , y , s 1 ) − H ( w , y , s 2 ) , s 1 − s 2 ⟩
with (41) while the second inequality holds from smoothness of g g g .
We note that G t s = H ( w t , y t , s t ) G_t^s=H(\mathbf{w}_t,\mathbf{y}_t,\mathbf{s}_t) G t s = H ( w t , y t , s t ) and that
H ( w t , y λ ∗ ( w t ) , s t ∗ ) = H ( w t , y λ ∗ ( w t ) , y λ ∗ ( w t ) − y ∗ ( w t ) ) = 1 λ ∇ 2 f ( w t , y λ ∗ ( w t ) ) + ∇ 2 g ( w t , y λ ∗ ( w t ) ) − ∇ 2 g ( w t , y ∗ ( w t ) ) = 0 − 0 = 0 , \begin{aligned}
H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),\mathbf{s}_t^*)&=H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),\mathbf{y}_\lambda^*(\mathbf{w}_t)-\mathbf{y}^*(\mathbf{w}_t))\\
&=\frac{1}{\lambda}\nabla_2f(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t))+\nabla_2g(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t))-\nabla_2g(\mathbf{w}_t,\mathbf{y}^*(\mathbf{w}_t))\\
&=0-0=0,
\end{aligned} H ( w t , y λ ∗ ( w t ) , s t ∗ ) = H ( w t , y λ ∗ ( w t ) , y λ ∗ ( w t ) − y ∗ ( w t )) = λ 1 ∇ 2 f ( w t , y λ ∗ ( w t )) + ∇ 2 g ( w t , y λ ∗ ( w t )) − ∇ 2 g ( w t , y ∗ ( w t )) = 0 − 0 = 0 ,
then the cross term becomes:
⟨ G t s , s t − s t ∗ ⟩ = ⟨ H ( w t , y t , s t ) − H ( w t , y t , s t ∗ ) , s t − s t ∗ ⟩ + ⟨ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) , s t − s t ∗ ⟩ ≥ μ g ∥ s t − s t ∗ ∥ 2 + ⟨ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) , s t − s t ∗ ⟩ ≥ μ g ∥ s t − s t ∗ ∥ 2 − 1 2 μ g ∥ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) ∥ 2 − μ g 2 ∥ s t − s t ∗ ∥ 2 ≥ μ g 2 ∥ s t − s t ∗ ∥ 2 − 1 2 μ g ∥ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) ∥ 2 . (44) \begin{aligned}
\left\langle G_t^s,s_t-s_t^*\right\rangle
&=\left\langle H(\mathbf{w}_t,\mathbf{y}_t,s_t)-H(\mathbf{w}_t,\mathbf{y}_t,s_t^*),s_t-s_t^*\right\rangle\\
&\quad+\left\langle H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)-H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),s_t^*),s_t-s_t^*\right\rangle\\
&\ge\mu_g\left\|s_t-s_t^*\right\|^2+\left\langle H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)-H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),s_t^*),s_t-s_t^*\right\rangle\\
&\ge\mu_g\left\|s_t-s_t^*\right\|^2-\frac{1}{2\mu_g}\left\|H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)-H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),s_t^*)\right\|^2-\frac{\mu_g}{2}\left\|s_t-s_t^*\right\|^2\\
&\ge\frac{\mu_g}{2}\left\|s_t-s_t^*\right\|^2-\frac{1}{2\mu_g}\left\|H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)-H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),s_t^*)\right\|^2 . \tag*{(44)}
\end{aligned} ⟨ G t s , s t − s t ∗ ⟩ = ⟨ H ( w t , y t , s t ) − H ( w t , y t , s t ∗ ) , s t − s t ∗ ⟩ + ⟨ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) , s t − s t ∗ ⟩ ≥ μ g ∥ s t − s t ∗ ∥ 2 + ⟨ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) , s t − s t ∗ ⟩ ≥ μ g ∥ s t − s t ∗ ∥ 2 − 2 μ g 1 ∥ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) ∥ 2 − 2 μ g ∥ s t − s t ∗ ∥ 2 ≥ 2 μ g ∥ s t − s t ∗ ∥ 2 − 2 μ g 1 ∥ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) ∥ 2 . (44)
For the second term in RHS, we note that H ( w , y , s ) = 1 λ ∇ 2 f ( w , y ) + ∫ 0 1 ∇ 22 2 g ( w , y − τ s ) s d τ , H(\mathbf{w},\mathbf{y},\mathbf{s})=\frac{1}{\lambda}\nabla_2f(\mathbf{w},\mathbf{y})+\int_0^1\nabla_{22}^2g(\mathbf{w},\mathbf{y}-\tau\mathbf{s})\mathbf{s}\,\mathrm{d}\tau, H ( w , y , s ) = λ 1 ∇ 2 f ( w , y ) + ∫ 0 1 ∇ 22 2 g ( w , y − τ s ) s d τ , then
∥ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) ∥ 2 ≤ 2 λ 2 L f 2 ∥ y t − y λ ∗ ( w t ) ∥ 2 + 2 ∥ s t ∗ ∥ 2 ∥ ∫ 0 1 ( ∇ 22 2 g ( w , y t − τ s t ) − ∇ 22 2 g ( w , y λ ∗ ( w t ) − τ s t ) ) d τ ∥ 2 ≤ 2 λ 2 L f 2 ∥ y t − y λ ∗ ( w t ) ∥ 2 + 2 Q g 2 ∥ s t ∗ ∥ 2 ∥ y t − y λ ∗ ( w t ) ∥ 2 ≤ ( 2 λ 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . (45) \begin{aligned}
\left\|H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)-H(\mathbf{w}_t,\mathbf{y}_\lambda^*(\mathbf{w}_t),s_t^*)\right\|^2
&\le\frac{2}{\lambda^2}L_f^2\left\|\mathbf{y}_t-\mathbf{y}_\lambda^*(\mathbf{w}_t)\right\|^2\\
&\quad+2\left\|s_t^*\right\|^2\left\|\int_0^1\left(\nabla_{22}^2g(\mathbf{w},\mathbf{y}_t-\tau s_t)-\nabla_{22}^2g(\mathbf{w},\mathbf{y}_\lambda^*(\mathbf{w}_t)-\tau s_t)\right)\mathrm{d}\tau\right\|^2\\
&\le\frac{2}{\lambda^2}L_f^2\left\|\mathbf{y}_t-\mathbf{y}_\lambda^*(\mathbf{w}_t)\right\|^2+2Q_g^2\left\|s_t^*\right\|^2\left\|\mathbf{y}_t-\mathbf{y}_\lambda^*(\mathbf{w}_t)\right\|^2\\
&\le\left(\frac{2}{\lambda^2}L_f^2+2Q_g^2r_\lambda^2\right)\left\|\mathbf{y}_t-\mathbf{y}_\lambda^*(\mathbf{w}_t)\right\|^2 . \tag*{(45)}
\end{aligned} ∥ H ( w t , y t , s t ∗ ) − H ( w t , y λ ∗ ( w t ) , s t ∗ ) ∥ 2 ≤ λ 2 2 L f 2 ∥ y t − y λ ∗ ( w t ) ∥ 2 + 2 ∥ s t ∗ ∥ 2 ∫ 0 1 ( ∇ 22 2 g ( w , y t − τ s t ) − ∇ 22 2 g ( w , y λ ∗ ( w t ) − τ s t ) ) d τ 2 ≤ λ 2 2 L f 2 ∥ y t − y λ ∗ ( w t ) ∥ 2 + 2 Q g 2 ∥ s t ∗ ∥ 2 ∥ y t − y λ ∗ ( w t ) ∥ 2 ≤ ( λ 2 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . (45)
Plugging (45) into (44) leads to (39). The (40) can be proved in a similar way:
∥ G t s ∥ 2 ≤ 2 ∥ H ( w t , y t , s t ) − H ( w t , y t , s t ∗ ) ∥ 2 + 2 ∥ H ( w t , y t , s t ∗ ) ∥ 2 ≤ 2 L g 2 ∥ s t − s t ∗ ∥ 2 + 2 ( 2 λ 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 . \begin{aligned}
\left\|G_t^s\right\|^2
&\le2\left\|H(\mathbf{w}_t,\mathbf{y}_t,s_t)-H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)\right\|^2+2\left\|H(\mathbf{w}_t,\mathbf{y}_t,s_t^*)\right\|^2\\
&\le2L_g^2\left\|s_t-s_t^*\right\|^2+2\left(\frac{2}{\lambda^2}L_f^2+2Q_g^2r_\lambda^2\right)\left\|\mathbf{y}_t-\mathbf{y}_\lambda^*(\mathbf{w}_t)\right\|^2 .
\end{aligned} ∥ G t s ∥ 2 ≤ 2 ∥ H ( w t , y t , s t ) − H ( w t , y t , s t ∗ ) ∥ 2 + 2 ∥ H ( w t , y t , s t ∗ ) ∥ 2 ≤ 2 L g 2 ∥ s t − s t ∗ ∥ 2 + 2 ( λ 2 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y λ ∗ ( w t ) ∥ 2 .
The second inequality holds from (42) and (45).
Proposition 1 (Proposition 3.4 from Kwon et al. [15 ] ). Denote s ˉ t = y t + 1 − z ˉ t \bar{s}_t = y_{t+1} - \bar{z}_t s ˉ t = y t + 1 − z ˉ t . Under Assumption 1, for any t t t , with r λ = C f λ μ g r_\lambda= \frac{C_f}{\lambda\mu_g} r λ = λ μ g C f ,
∥ s t + 1 − s t ∗ ∥ ≤ ∥ s ˉ t − s t ∗ ∥ . (46) \lVert s_{t+1} - s_t^* \rVert\le\lVert\bar{s}_t - s_t^* \rVert. \tag*{(46)} ∥ s t + 1 − s t ∗ ∥ ≤ ∥ s ˉ t − s t ∗ ∥ . (46)
Lemma 11 (Descent lemma for s s s ). Under Assumption 1, 2, let γ ≤ min { μ g 4 L g 2 , 1 2 μ g } \gamma\le\min\left\{\frac{\mu_g}{4L_g^2},\frac{1}{2\mu_g}\right\} γ ≤ min { 4 L g 2 μ g , 2 μ g 1 } , then it holds that
E S t ≤ E ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − γ μ g 4 ) E S t − 1 + 4 γ μ g E ∥ s t ∗ − s t − 1 ∗ ∥ 2 + 8 γ μ g ( L f 2 λ 2 + Q g 2 r λ 2 ) ( E Y t − 1 + η 2 C y ∗ 2 E ∥ v t ∥ 2 ) + 2 γ 2 B ( σ y 2 + σ g 2 ) . (47) \begin{aligned}
\mathbb{E}S_t &\le\mathbb{E}\lVert\bar{s}_t-s_t^*\rVert^2 \\
&\le\left(1-\frac{\gamma\mu_g}{4}\right)\mathbb{E}S_{t-1}
+\frac{4}{\gamma\mu_g}\mathbb{E}\lVert s_t^*-s_{t-1}^*\rVert^2
+\frac{8\gamma}{\mu_g}\left(\frac{L_f^2}{\lambda^2}+Q_g^2r_\lambda^2\right)
\left(\mathbb{E}Y_{t-1}+\eta^2C_{y^*}^2\mathbb{E}\lVert v_t\rVert^2\right) \\
&\qquad+\frac{2\gamma^2}{B}\left(\sigma_y^2+\sigma_g^2\right). \tag*{(47)}
\end{aligned} E S t ≤ E ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − 4 γ μ g ) E S t − 1 + γ μ g 4 E ∥ s t ∗ − s t − 1 ∗ ∥ 2 + μ g 8 γ ( λ 2 L f 2 + Q g 2 r λ 2 ) ( E Y t − 1 + η 2 C y ∗ 2 E ∥ v t ∥ 2 ) + B 2 γ 2 ( σ y 2 + σ g 2 ) . (47)
Proof. The first inequality holds from proposition 1. We now prove the second inequality.
E t ∥ s ˉ t − s t ∗ ∥ 2 = E t ∥ s t − γ G ^ t s − s t ∗ ∥ 2 = E t ∥ s t − s t ∗ ∥ 2 + γ 2 ( var ( G ^ t s ) + E t ∥ G t s ∥ 2 ) − 2 γ ⟨ G t s , s t − s t ∗ ⟩ ≤ E t ∥ s t − s t ∗ ∥ 2 + γ 2 ( 2 σ y 2 + 2 σ g 2 B + 2 L g 2 ∥ s t − s t ∗ ∥ 2 ) + 2 γ 2 ( 2 λ 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y ∗ ( w t ) ∥ 2 − γ μ g ∥ s t − s t ∗ ∥ 2 + 2 γ μ g ( 1 λ 2 L f 2 + Q g 2 r λ 2 ) ∥ y t − y ∗ ( w t ) ∥ 2 ≤ ( 1 − γ μ g 2 ) E t ∥ s t − s t ∗ ∥ 2 + 2 γ 2 B ( σ y 2 + σ g 2 ) + 4 γ ( 1 + 2 γ μ g ) μ g ( 1 λ 2 L f 2 + Q g 2 r λ 2 ) ( ∥ y t − y ∗ ( w t − 1 ) ∥ 2 + ∥ y ∗ ( w t − 1 ) − y ∗ ( w t ) ∥ 2 ) ≤ ( 1 − γ μ g 4 ) E t ∥ s t − s t ∗ ∥ 2 + 4 γ μ g ∥ s t ∗ − s t − 1 ∗ ∥ 2 + 2 γ 2 B ( σ y 2 + σ g 2 ) + 8 γ μ g ( 1 λ 2 L f 2 + Q g 2 r λ 2 ) ( Y t − 1 + η 2 C y ∗ 2 ∥ v t ∥ 2 ) . (48) \begin{aligned}
\mathbb{E}_t\lVert\bar{s}_t-s_t^*\rVert^2
&=\mathbb{E}_t\lVert s_t-\gamma\widehat{G}_t^s-s_t^*\rVert^2 \\
&=\mathbb{E}_t\lVert s_t-s_t^*\rVert^2+\gamma^2\left(\operatorname{var}(\widehat{G}_t^s)+\mathbb{E}_t\lVert G_t^s\rVert^2\right)-2\gamma\langle G_t^s,s_t-s_t^*\rangle\\
&\le\mathbb{E}_t\lVert s_t-s_t^*\rVert^2+\gamma^2\left(\frac{2\sigma_y^2+2\sigma_g^2}{B}+2L_g^2\lVert s_t-s_t^*\rVert^2\right) \\
&\qquad+2\gamma^2\left(\frac{2}{\lambda^2}L_f^2+2Q_g^2r_\lambda^2\right)\lVert y_t-y^*(w_t)\rVert^2 \\
&\qquad-\gamma\mu_g\lVert s_t-s_t^*\rVert^2+\frac{2\gamma}{\mu_g}\left(\frac{1}{\lambda^2}L_f^2+Q_g^2r_\lambda^2\right)\lVert y_t-y^*(w_t)\rVert^2 \\
&\le\left(1-\frac{\gamma\mu_g}{2}\right)\mathbb{E}_t\lVert s_t-s_t^*\rVert^2+\frac{2\gamma^2}{B}\left(\sigma_y^2+\sigma_g^2\right) \\
&\qquad+\frac{4\gamma(1+2\gamma\mu_g)}{\mu_g}\left(\frac{1}{\lambda^2}L_f^2+Q_g^2r_\lambda^2\right)
\left(\lVert y_t-y^*(w_{t-1})\rVert^2+\lVert y^*(w_{t-1})-y^*(w_t)\rVert^2\right) \\
&\le\left(1-\frac{\gamma\mu_g}{4}\right)\mathbb{E}_t\lVert s_t-s_t^*\rVert^2+\frac{4}{\gamma\mu_g}\lVert s_t^*-s_{t-1}^*\rVert^2+\frac{2\gamma^2}{B}\left(\sigma_y^2+\sigma_g^2\right) \\
&\qquad+\frac{8\gamma}{\mu_g}\left(\frac{1}{\lambda^2}L_f^2+Q_g^2r_\lambda^2\right)
\left(Y_{t-1}+\eta^2C_{y^*}^2\lVert v_t\rVert^2\right). \tag*{(48)}
\end{aligned} E t ∥ s ˉ t − s t ∗ ∥ 2 = E t ∥ s t − γ G t s − s t ∗ ∥ 2 = E t ∥ s t − s t ∗ ∥ 2 + γ 2 ( var ( G t s ) + E t ∥ G t s ∥ 2 ) − 2 γ ⟨ G t s , s t − s t ∗ ⟩ ≤ E t ∥ s t − s t ∗ ∥ 2 + γ 2 ( B 2 σ y 2 + 2 σ g 2 + 2 L g 2 ∥ s t − s t ∗ ∥ 2 ) + 2 γ 2 ( λ 2 2 L f 2 + 2 Q g 2 r λ 2 ) ∥ y t − y ∗ ( w t ) ∥ 2 − γ μ g ∥ s t − s t ∗ ∥ 2 + μ g 2 γ ( λ 2 1 L f 2 + Q g 2 r λ 2 ) ∥ y t − y ∗ ( w t ) ∥ 2 ≤ ( 1 − 2 γ μ g ) E t ∥ s t − s t ∗ ∥ 2 + B 2 γ 2 ( σ y 2 + σ g 2 ) + μ g 4 γ ( 1 + 2 γ μ g ) ( λ 2 1 L f 2 + Q g 2 r λ 2 ) ( ∥ y t − y ∗ ( w t − 1 ) ∥ 2 + ∥ y ∗ ( w t − 1 ) − y ∗ ( w t ) ∥ 2 ) ≤ ( 1 − 4 γ μ g ) E t ∥ s t − s t ∗ ∥ 2 + γ μ g 4 ∥ s t ∗ − s t − 1 ∗ ∥ 2 + B 2 γ 2 ( σ y 2 + σ g 2 ) + μ g 8 γ ( λ 2 1 L f 2 + Q g 2 r λ 2 ) ( Y t − 1 + η 2 C y ∗ 2 ∥ v t ∥ 2 ) . (48)
where G ^ t s = G ^ t y − G ^ t z \widehat{G}_t^s=\widehat{G}_t^y-\widehat{G}_t^z G t s = G t y − G t z , the last inequality holds from Young’s inequality. And the blue part is the newly introduced term according to the corrected analysis of cross term presented in Lemma 10. Finally, taking expectation w.r.t. all the randomness before t t t -th iteration, B f y t B_{fy}^t B f y t and B g y t B_{gy}^t B g y t finishes the proof by the law of total expectation.
Lemma for Theorem 2
Below we provide better bound with the extra Assumption 3 for recursion of V t V_t V t and S t S_t S t . Note that the proof given the extra mean-square smoothness assumption is quite similar to the corresponding lemma in the previous section, we only highlight the difference instead of provide the complete proof.
Lemma 12 (Recursive bound for momentum with MSS). Under Assumption 1, 2 and 3, for β ≤ 1 \beta\le1 β ≤ 1 it holds that
E V t + 1 ≤ ( 1 − β ) E V t + 2 L ∗ 2 η 2 β E ∥ v t + 1 ∥ 2 + 4 β E ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + β 2 σ ~ 2 B (49) \mathbb{E}V_{t+1}\le(1-\beta)\mathbb{E}V_t+\frac{2L_*^2\eta^2}{\beta}\mathbb{E}\lVert v_{t+1}\rVert^2+4\beta\mathbb{E}\lVert G_{t+1}^w-\nabla L_\lambda^*(w_{t+1})\rVert^2+\frac{\beta^2\widetilde{\sigma}^2}{B} \tag*{(49)} E V t + 1 ≤ ( 1 − β ) E V t + β 2 L ∗ 2 η 2 E ∥ v t + 1 ∥ 2 + 4 β E ∥ G t + 1 w − ∇ L λ ∗ ( w t + 1 ) ∥ 2 + B β 2 σ 2 (49)
where G t + 1 w = E ( t + 1 ) + G ^ t + 1 w G_{t+1}^w=\mathbb{E}_{(t+1)}+\widehat{G}_{t+1}^w G t + 1 w = E ( t + 1 ) + G t + 1 w and σ ~ 2 = 2 σ f 2 + 8 L ~ g 2 C f 2 μ g 2 = O ( L ~ g 2 κ 2 ) \widetilde{\sigma}^2=2\sigma_f^2+8\frac{\widetilde{L}_g^2C_f^2}{\mu_g^2}=O(\widetilde{L}_g^2\kappa^2) σ 2 = 2 σ f 2 + 8 μ g 2 L g 2 C f 2 = O ( L g 2 κ 2 ) .
Proof. The proof is almost the same as that of Lemma 8 except using (33) instead of (32) to bound the variance term of G ^ t w \widehat{G}^{w}_{t} G t w .
Lemma 13 (Descent lemma for s s s with MSS). Suppose that Assumption 1, 2 and 3 hold. Let γ ≤ min { μ g 4 L g 2 , 1 2 μ g } \gamma\le\min\left\{\frac{\mu_g}{4L_g^2},\frac{1}{2\mu_g}\right\} γ ≤ min { 4 L g 2 μ g , 2 μ g 1 } , it holds that
E S t ≤ E ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − γ μ g 4 ) E S t − 1 + 4 γ μ g E ∥ s t ∗ − s t − 1 ∗ ∥ 2 + 8 γ μ g ( L f 2 λ 2 + Q g 2 r 2 ) ( E Y t − 1 + η 2 C y ∗ 2 E ∥ v t ∥ 2 ) + 2 γ 2 B λ 2 ( σ f 2 + 4 C f 2 L ~ g 2 μ g 2 ) . (50) \begin{aligned}
\mathbb{E}S_t &\le\mathbb{E}\left\|\bar{s}_t-s_t^*\right\|^2 \\
&\le\left(1-\frac{\gamma\mu_g}{4}\right)\mathbb{E}S_{t-1}
+\frac{4}{\gamma\mu_g}\mathbb{E}\left\|s_{t}^*-s_{t-1}^*\right\|^2
+\frac{8\gamma}{\mu_g}\left(\frac{L_f^2}{\lambda^2}+Q_g^2r^2\right)
\left(\mathbb{E}Y_{t-1}+\eta^2C_{y^*}^2\mathbb{E}\left\|v_t\right\|^2\right) \\
&\quad+\frac{2\gamma^2}{B\lambda^2}\left(\sigma_f^2+\frac{4C_f^2\widetilde{L}_g^2}{\mu_g^2}\right). \tag*{(50)}
\end{aligned} E S t ≤ E ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − 4 γ μ g ) E S t − 1 + γ μ g 4 E s t ∗ − s t − 1 ∗ 2 + μ g 8 γ ( λ 2 L f 2 + Q g 2 r 2 ) ( E Y t − 1 + η 2 C y ∗ 2 E ∥ v t ∥ 2 ) + B λ 2 2 γ 2 ( σ f 2 + μ g 2 4 C f 2 L g 2 ) . (50)
Proof. The main difference to the proof of Lemma 11 is that we leverage a better bound for the variance term of G ^ t s \widehat{G}^{s}_{t} G t s given the MSS assumption:
var ( G ^ t s ) = E t ∥ G ^ t s − G t s ∥ 2 ≤ 1 B ( 2 λ 2 E t ∥ ∇ 2 f ( w t , y t , ξ f y t ) − ∇ 2 f ( w t , y t ) ∥ 2 + 4 E t ∥ ∇ 2 g ( w t , y t , ξ g y t ) − ∇ 2 g ( w t , z t , ξ g y t ) ∥ 2 + 4 ∥ ∇ 2 g ( w t , y t ) − ∇ 2 g ( w t , z t ) ∥ 2 ) ≤ 1 B ( 2 σ f 2 λ 2 + 8 L ~ g 2 ∥ y t − z t ∥ 2 ) ≤ 1 B ( 2 σ f 2 λ 2 + 8 C f 2 L ~ g 2 μ g 2 λ 2 ) . (51) \begin{aligned}
\operatorname{var}(\widehat{G}^{s}_{t})
&=\mathbb{E}_t\left\|\widehat{G}^{s}_{t}-G^{s}_{t}\right\|^2 \\
&\le\frac{1}{B}\left(\frac{2}{\lambda^2}\mathbb{E}_t\left\|\nabla_2f(w_t,y_t,\xi^{t}_{f_y})-\nabla_2f(w_t,y_t)\right\|^2 \right.\\
&\qquad\left.+4\mathbb{E}_t\left\|\nabla_2g(w_t,y_t,\xi^{t}_{g_y})-\nabla_2g(w_t,z_t,\xi^{t}_{g_y})\right\|^2\right.\\
&\qquad\left.+4\left\|\nabla_2g(w_t,y_t)-\nabla_2g(w_t,z_t)\right\|^2\right)\\
&\le\frac{1}{B}\left(\frac{2\sigma_f^2}{\lambda^2}+8\widetilde{L}_g^2\left\|y_t-z_t\right\|^2\right)\\
&\le\frac{1}{B}\left(\frac{2\sigma_f^2}{\lambda^2}+\frac{8C_f^2\widetilde{L}_g^2}{\mu_g^2\lambda^2}\right). \tag*{(51)}
\end{aligned} var ( G t s ) = E t G t s − G t s 2 ≤ B 1 ( λ 2 2 E t ∇ 2 f ( w t , y t , ξ f y t ) − ∇ 2 f ( w t , y t ) 2 + 4 E t ∇ 2 g ( w t , y t , ξ g y t ) − ∇ 2 g ( w t , z t , ξ g y t ) 2 + 4 ∥ ∇ 2 g ( w t , y t ) − ∇ 2 g ( w t , z t ) ∥ 2 ) ≤ B 1 ( λ 2 2 σ f 2 + 8 L g 2 ∥ y t − z t ∥ 2 ) ≤ B 1 ( λ 2 2 σ f 2 + μ g 2 λ 2 8 C f 2 L g 2 ) . (51)
where ξ f y t , ξ g y t \xi^{t}_{f_y},\xi^{t}_{g_y} ξ f y t , ξ g y t are randomly sample from B f y t , B g y t B^{t}_{f_y},B^{t}_{g_y} B f y t , B g y t . For the following derivation, we just need to follow inequality (48) but replace with the above bound for the variance term.
Proof of Theorem 1
Proof of Theorem 1. By plugging (34) into (35) and plugging (29) into (47) we have:
E V t + 1 ≤ ( 1 − β ) E V t + 2 L ∗ 2 η 2 β E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E ∥ y t + 2 − y ∗ ( w t + 1 ) ∥ 2 + 12 β λ 2 L g 2 E ∥ s t + 2 − s ∗ ( w t + 1 ) ∥ 2 + 12 β C f 2 L y ∗ 2 μ g 2 λ 2 + β 2 λ 2 σ 2 B = ( 1 − β ) E V t + 2 L ∗ 2 η 2 β E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E Y t + 1 + 12 β λ 2 L g 2 E S t + 1 + 12 β C f 2 L y ∗ 2 μ g 2 λ 2 + β 2 λ 2 σ 2 B . (52) \begin{aligned}
\mathbb{E}V_{t+1}
&\le(1-\beta)\mathbb{E}V_t+\frac{2L_*^2\eta^2}{\beta}\mathbb{E}\left\|v_{t+1}\right\|^2
+12\beta L_{y^*}^2\mathbb{E}\left\|y_{t+2}-y^*(w_{t+1})\right\|^2\\
&\quad+12\beta\lambda^2L_g^2\mathbb{E}\left\|s_{t+2}-s^*(w_{t+1})\right\|^2
+\frac{12\beta C_f^2L_{y^*}^2}{\mu_g^2\lambda^2}
+\frac{\beta^2\lambda^2\sigma^2}{B}\\
&=(1-\beta)\mathbb{E}V_t+\frac{2L_*^2\eta^2}{\beta}\mathbb{E}\left\|v_{t+1}\right\|^2
+12\beta L_{y^*}^2\mathbb{E}Y_{t+1}
+12\beta\lambda^2L_g^2\mathbb{E}S_{t+1}\\
&\quad+\frac{12\beta C_f^2L_{y^*}^2}{\mu_g^2\lambda^2}
+\frac{\beta^2\lambda^2\sigma^2}{B}. \tag*{(52)}
\end{aligned} E V t + 1 ≤ ( 1 − β ) E V t + β 2 L ∗ 2 η 2 E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E ∥ y t + 2 − y ∗ ( w t + 1 ) ∥ 2 + 12 β λ 2 L g 2 E ∥ s t + 2 − s ∗ ( w t + 1 ) ∥ 2 + μ g 2 λ 2 12 β C f 2 L y ∗ 2 + B β 2 λ 2 σ 2 = ( 1 − β ) E V t + β 2 L ∗ 2 η 2 E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E Y t + 1 + 12 β λ 2 L g 2 E S t + 1 + μ g 2 λ 2 12 β C f 2 L y ∗ 2 + B β 2 λ 2 σ 2 . (52)
E S t ≤ E ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − γ μ g 4 ) E S t − 1 + 4 C g 2 η 2 λ 2 μ g E ∥ v t ∥ 2 + 8 γ μ g ( L f 2 λ 2 + Q g 2 r 2 ) ( E Y t − 1 + η 2 C y ∗ 2 E ∥ v t ∥ 2 ) + 2 γ 2 B ( σ y 2 + σ g 2 ) . (53) \begin{aligned}
\mathbb{E}S_t
&\le\mathbb{E}\left\|\bar{s}_t-s_t^*\right\|^2\\
&\le\left(1-\frac{\gamma\mu_g}{4}\right)\mathbb{E}S_{t-1}
+\frac{4C_g^2\eta^2}{\lambda^2\mu_g}\mathbb{E}\left\|v_t\right\|^2
+\frac{8\gamma}{\mu_g}\left(\frac{L_f^2}{\lambda^2}+Q_g^2r^2\right)
\left(\mathbb{E}Y_{t-1}+\eta^2C_{y^*}^2\mathbb{E}\left\|v_t\right\|^2\right)\\
&\quad+\frac{2\gamma^2}{B}\left(\sigma_y^2+\sigma_g^2\right). \tag*{(53)}
\end{aligned} E S t ≤ E ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − 4 γ μ g ) E S t − 1 + λ 2 μ g 4 C g 2 η 2 E ∥ v t ∥ 2 + μ g 8 γ ( λ 2 L f 2 + Q g 2 r 2 ) ( E Y t − 1 + η 2 C y ∗ 2 E ∥ v t ∥ 2 ) + B 2 γ 2 ( σ y 2 + σ g 2 ) . (53)
Combining (30), (52), (37) and (53), then summing over t = 0 , 1 , ⋯ , T − 1 t=0,1,\cdots,T-1 t = 0 , 1 , ⋯ , T − 1 , we have
1 T ∑ t = 0 T − 1 E ∥ ∇ L λ ∗ ( w t ) ∥ 2 ≤ 2 ( L λ ∗ ( w 0 ) − inf w L λ ∗ ( w ) ) η T + E V 0 β T + 24 ( ( L y ∗ 2 + 32 κ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) E Y 1 + 2 λ 2 L g 2 E S 1 ) γ μ g T − ( 1 2 − 2 L ∗ 2 η 2 β 2 − 48 η 2 ( C y ∗ 2 ( L y ∗ 2 + 32 κ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) + 4 L g 2 C s 2 ) γ 2 μ g 2 − 384 η 2 κ 2 C y ∗ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) 1 T ∑ t = 0 T − 1 E ∥ v t + 1 ∥ 2 + β λ 2 σ 2 B + 24 γ σ y 2 μ g B ( L y ∗ 2 + 32 κ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) + 12 C f 2 L y ∗ 2 μ g 2 λ 2 + 96 γ λ 2 L g 2 μ g B ( σ y 2 + σ g 2 ) . (54) \begin{aligned}
\frac{1}{T}\sum_{t=0}^{T-1}\mathbb{E}\left\|\nabla\mathcal{L}_{\lambda}^{*}(\mathbf{w}_{t})\right\|^{2}
&\le\frac{2(\mathcal{L}_{\lambda}^{*}(\mathbf{w}_{0})-\inf_{\mathbf{w}}\mathcal{L}_{\lambda}^{*}(\mathbf{w}))}{\eta T}+\frac{\mathbb{E}V_{0}}{\beta T}\\
&\quad+\frac{24\left(\left(L_{y^{*}}^{2}+32\kappa^{2}\left(L_{f}^{2}+\frac{Q_{g}^{2}C_{f}^{2}}{\mu_{g}^{2}}\right)\right)\mathbb{E}Y_{1}+2\lambda^{2}L_{g}^{2}\mathbb{E}S_{1}\right)}{\gamma\mu_{g}T}\\
&\quad-\left(\frac{1}{2}-\frac{2L_{*}^{2}\eta^{2}}{\beta^{2}}-\frac{48\eta^{2}\left(C_{y^{*}}^{2}\left(L_{y^{*}}^{2}+32\kappa^{2}\left(L_{f}^{2}+\frac{Q_{g}^{2}C_{f}^{2}}{\mu_{g}^{2}}\right)\right)+4L_{g}^{2}C_{s}^{2}\right)}{\gamma^{2}\mu_{g}^{2}}\right.\\
&\qquad\left.-384\eta^{2}\kappa^{2}C_{y^{*}}^{2}\left(L_{f}^{2}+\frac{Q_{g}^{2}C_{f}^{2}}{\mu_{g}^{2}}\right)\right)\frac{1}{T}\sum_{t=0}^{T-1}\mathbb{E}\left\|\mathbf{v}_{t+1}\right\|^{2}\\
&\quad+\frac{\beta\lambda^{2}\sigma^{2}}{B}+\frac{24\gamma\sigma_{y}^{2}}{\mu_{g}B}\left(L_{y^{*}}^{2}+32\kappa^{2}\left(L_{f}^{2}+\frac{Q_{g}^{2}C_{f}^{2}}{\mu_{g}^{2}}\right)\right)+\frac{12C_{f}^{2}L_{y^{*}}^{2}}{\mu_{g}^{2}\lambda^{2}}\\
&\quad+\frac{96\gamma\lambda^{2}L_{g}^{2}}{\mu_{g}B}(\sigma_{y}^{2}+\sigma_{g}^{2}). \tag*{(54)}
\end{aligned} T 1 t = 0 ∑ T − 1 E ∥ ∇ L λ ∗ ( w t ) ∥ 2 ≤ η T 2 ( L λ ∗ ( w 0 ) − inf w L λ ∗ ( w )) + β T E V 0 + γ μ g T 24 ( ( L y ∗ 2 + 32 κ 2 ( L f 2 + μ g 2 Q g 2 C f 2 ) ) E Y 1 + 2 λ 2 L g 2 E S 1 ) − 2 1 − β 2 2 L ∗ 2 η 2 − γ 2 μ g 2 48 η 2 ( C y ∗ 2 ( L y ∗ 2 + 32 κ 2 ( L f 2 + μ g 2 Q g 2 C f 2 ) ) + 4 L g 2 C s 2 ) − 384 η 2 κ 2 C y ∗ 2 ( L f 2 + μ g 2 Q g 2 C f 2 ) ) T 1 t = 0 ∑ T − 1 E ∥ v t + 1 ∥ 2 + B β λ 2 σ 2 + μ g B 24 γ σ y 2 ( L y ∗ 2 + 32 κ 2 ( L f 2 + μ g 2 Q g 2 C f 2 ) ) + μ g 2 λ 2 12 C f 2 L y ∗ 2 + μ g B 96 γ λ 2 L g 2 ( σ y 2 + σ g 2 ) . (54)
Denote Δ = L λ ∗ ( w 0 ) − inf w L λ ∗ ( w ) \Delta=\mathcal{L}_{\lambda}^{*}(\mathbf{w}_{0})-\inf_{\mathbf{w}}\mathcal{L}_{\lambda}^{*}(\mathbf{w}) Δ = L λ ∗ ( w 0 ) − inf w L λ ∗ ( w ) . With Lemma 1 we have that
Δ ≤ F ( w 0 ) − inf w F ( w ) + O ( ℓ ˉ κ 2 λ ) ≤ O ( 1 ) \Delta\le F(\mathbf{w}_{0})-\inf_{\mathbf{w}}F(\mathbf{w})+O\left(\frac{\bar{\ell}\kappa^{2}}{\lambda}\right)\le O(1) Δ ≤ F ( w 0 ) − w inf F ( w ) + O ( λ ℓ ˉ κ 2 ) ≤ O ( 1 )
Note that E ∥ v 1 ∥ 2 = β 2 E ∥ G ^ 0 w ∥ 2 = O ( β 2 λ 2 ) \mathbb{E}\left\|\mathbf{v}_{1}\right\|^{2}=\beta^{2}\mathbb{E}\left\|\widehat{G}_{0}^{w}\right\|^{2}=O(\beta^{2}\lambda^{2}) E ∥ v 1 ∥ 2 = β 2 E G 0 w 2 = O ( β 2 λ 2 ) , we have:
E V 0 ≤ 2 E ∥ v 1 ∥ 2 + 2 ∥ ∇ L λ ∗ ( w 0 ) ∥ 2 ≤ O ( β 2 λ 2 ) + 4 L ∗ Δ ≤ O ( β 2 λ 2 + κ 3 ) . \mathbb{E}V_{0}\le2\mathbb{E}\left\|\mathbf{v}_{1}\right\|^{2}+2\left\|\nabla\mathcal{L}_{\lambda}^{*}(\mathbf{w}_{0})\right\|^{2}\le O(\beta^{2}\lambda^{2})+4L_{*}\Delta\le O(\beta^{2}\lambda^{2}+\kappa^{3}). E V 0 ≤ 2 E ∥ v 1 ∥ 2 + 2 ∥ ∇ L λ ∗ ( w 0 ) ∥ 2 ≤ O ( β 2 λ 2 ) + 4 L ∗ Δ ≤ O ( β 2 λ 2 + κ 3 ) .
With eqn. (37) we have that
E Y 1 ≤ ( 1 − γ μ y 2 ) Y 0 + 2 C y ∗ 2 η 2 γ μ y ∥ v 1 ∥ 2 + γ 2 σ y 2 B . \mathbb{E}Y_{1}\le\left(1-\frac{\gamma\mu_{y}}{2}\right)Y_{0}+\frac{2C_{y^{*}}^{2}\eta^{2}}{\gamma\mu_{y}}\left\|\mathbf{v}_{1}\right\|^{2}+\frac{\gamma^{2}\sigma_{y}^{2}}{B}. E Y 1 ≤ ( 1 − 2 γ μ y ) Y 0 + γ μ y 2 C y ∗ 2 η 2 ∥ v 1 ∥ 2 + B γ 2 σ y 2 .
According the setting of β \beta β , γ \gamma γ and λ \lambda λ that we show later, the second and the last term will be dominated by the first term. Therefore, we have E Y 1 = O ( Y 0 ) \mathbb{E}Y_{1}=O(Y_{0}) E Y 1 = O ( Y 0 ) . Besides,
Y 0 = ∥ y 1 − y ∗ ( w 0 ) ∥ 2 = ∥ y 0 − γ G ^ 0 y − y ∗ ( w 0 ) ∥ 2 ≤ 2 ∥ y 0 − y ∗ ( w 0 ) ∥ 2 + 2 γ 2 ∥ G ^ 0 y ∥ 2 ≤ O ( 1 κ ) , Y_{0}=\left\|\mathbf{y}_{1}-\mathbf{y}^{*}(\mathbf{w}_{0})\right\|^{2}=\left\|\mathbf{y}_{0}-\gamma\widehat{G}_{0}^{y}-\mathbf{y}^{*}(\mathbf{w}_{0})\right\|^{2}\le2\left\|\mathbf{y}_{0}-\mathbf{y}^{*}(\mathbf{w}_{0})\right\|^{2}+2\gamma^{2}\left\|\widehat{G}_{0}^{y}\right\|^{2}\le O\left(\frac{1}{\kappa}\right), Y 0 = ∥ y 1 − y ∗ ( w 0 ) ∥ 2 = y 0 − γ G 0 y − y ∗ ( w 0 ) 2 ≤ 2 ∥ y 0 − y ∗ ( w 0 ) ∥ 2 + 2 γ 2 G 0 y 2 ≤ O ( κ 1 ) ,
where the last inequality holds from the warm up stage for y \mathbf{y} y . Combining the 2 inequalities above yields that E Y 1 ≤ O ( 1 κ ) \mathbb{E}Y_{1}\le O\left(\frac{1}{\kappa}\right) E Y 1 ≤ O ( κ 1 ) . In addition, E S 1 ≤ 2 E ∥ s 2 ∥ 2 + 2 E ∥ s ∗ ( w 1 ) ∥ 2 ≤ O ( r λ 2 ) = O ( κ 2 λ 2 ) \mathbb{E}S_{1}\le2\mathbb{E}\left\|\mathbf{s}_{2}\right\|^{2}+2\mathbb{E}\left\|\mathbf{s}^{*}(\mathbf{w}_{1})\right\|^{2}\le O(r_{\lambda}^{2})=O\left(\frac{\kappa^{2}}{\lambda^{2}}\right) E S 1 ≤ 2 E ∥ s 2 ∥ 2 + 2 E ∥ s ∗ ( w 1 ) ∥ 2 ≤ O ( r λ 2 ) = O ( λ 2 κ 2 ) .
To make RHS of eqn. (54) ≤ ϵ 2 \le\epsilon^{2} ≤ ϵ 2 with constant level batchsize B = O ( 1 ) B=O(1) B = O ( 1 ) , we require the following condition holds:
β λ 2 σ 2 ≤ O ( ϵ 2 ) , γ σ y 2 ℓ ˉ κ 5 ≤ O ( ϵ 2 ) , ℓ ˉ 2 κ 4 λ 2 ≤ O ( ϵ 2 ) , ℓ ˉ κ γ λ 2 ( σ y 2 + σ g 2 ) ≤ O ( ϵ 2 ) , (55) \beta\lambda^{2}\sigma^{2}\le O(\epsilon^{2}),\quad\gamma\sigma_{y}^{2}\bar{\ell}\kappa^{5}\le O(\epsilon^{2}),\quad\frac{\bar{\ell}^{2}\kappa^{4}}{\lambda^{2}}\le O(\epsilon^{2}),\quad\bar{\ell}\kappa\gamma\lambda^{2}(\sigma_{y}^{2}+\sigma_{g}^{2})\le O(\epsilon^{2}), \tag*{(55)} β λ 2 σ 2 ≤ O ( ϵ 2 ) , γ σ y 2 ℓ ˉ κ 5 ≤ O ( ϵ 2 ) , λ 2 ℓ ˉ 2 κ 4 ≤ O ( ϵ 2 ) , ℓ ˉ κγ λ 2 ( σ y 2 + σ g 2 ) ≤ O ( ϵ 2 ) , (55)
max { L ∗ 2 η 2 β 2 , η 2 O ( κ 8 ) γ 2 , η 2 ℓ ˉ 2 κ 6 } ≤ O ( 1 ) , (56) \max\left\{\frac{L_{*}^{2}\eta^{2}}{\beta^{2}},\frac{\eta^{2}O(\kappa^{8})}{\gamma^{2}},\eta^{2}\bar{\ell}^{2}\kappa^{6}\right\}\le O(1), \tag*{(56)} max { β 2 L ∗ 2 η 2 , γ 2 η 2 O ( κ 8 ) , η 2 ℓ ˉ 2 κ 6 } ≤ O ( 1 ) , (56)
Δ η T ≤ O ( ϵ 2 ) , V 0 β T ≤ O ( ϵ 2 ) , O ( ℓ ˉ κ 5 Y 1 + λ 2 ℓ ˉ κ S 1 ) γ T ≤ O ( ϵ 2 ) . (57) \frac{\Delta}{\eta T}\le O(\epsilon^{2}),\quad\frac{V_{0}}{\beta T}\le O(\epsilon^{2}),\quad\frac{O(\bar{\ell}\kappa^{5}Y_{1}+\lambda^{2}\bar{\ell}\kappa S_{1})}{\gamma T}\le O(\epsilon^{2}). \tag*{(57)} η T Δ ≤ O ( ϵ 2 ) , β T V 0 ≤ O ( ϵ 2 ) , γ T O ( ℓ ˉ κ 5 Y 1 + λ 2 ℓ ˉ κ S 1 ) ≤ O ( ϵ 2 ) . (57)
Therefore, by setting λ = Θ ( κ 3 ϵ ) \lambda=\Theta\left(\frac{\kappa^{3}}{\epsilon}\right) λ = Θ ( ϵ κ 3 ) , β = Θ ( ϵ 4 κ 6 ) \beta=\Theta\left(\frac{\epsilon^{4}}{\kappa^{6}}\right) β = Θ ( κ 6 ϵ 4 ) , γ = Θ ( ϵ 4 κ 7 ) \gamma=\Theta\left(\frac{\epsilon^{4}}{\kappa^{7}}\right) γ = Θ ( κ 7 ϵ 4 ) , η = Θ ( ϵ 4 κ 11 ) \eta=\Theta\left(\frac{\epsilon^{4}}{\kappa^{11}}\right) η = Θ ( κ 11 ϵ 4 ) , it’s sufficient for Algorithm 1 to return an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of L λ ∗ ( w ) \mathcal{L}_{\lambda}^{*}(\mathbf{w}) L λ ∗ ( w ) within T = O ( κ 6 ϵ 6 ) T=O\left(\frac{\kappa^{6}}{\epsilon^{6}}\right) T = O ( ϵ 6 κ 6 ) iterations. Then according to Lemma 1, it is also an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of F ( w ) F(\mathbf{w}) F ( w ) .
Proof of Theorem 2
The proof of Theorem 2 is quite similar to that of Theorem 1 except that we need to leverage better recursion lemma of v \mathbf{v} v and s \mathbf{s} s .
Proof of Theorem 2. By plugging (34) into (49) and plugging (29) into (50), we have
E V t + 1 ≤ ( 1 − β ) E V t + 2 L ∗ 2 η 2 β E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E ∥ y t + 2 − y ∗ ( w t + 1 ) ∥ 2 + 12 β λ 2 L g 2 E ∥ s t + 2 − s ∗ ( w t + 1 ) ∥ 2 + 12 β C f 2 L y ∗ 2 μ g 2 λ 2 + β 2 σ ~ 2 B = ( 1 − β ) E V t + 2 L ∗ 2 η 2 β E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E Y t + 1 + 12 β λ 2 L g 2 E S t + 1 + 12 β C f 2 L y ∗ 2 μ g 2 λ 2 + β 2 σ ~ 2 B , (58) \begin{aligned}
\mathbb{E}V_{t+1} \leq{}&(1-\beta)\mathbb{E}V_t+\frac{2L_*^2\eta^2}{\beta}\mathbb{E}\lVert v_{t+1}\rVert^2+12\beta L_{y^*}^2\mathbb{E}\lVert y_{t+2}-y^*(w_{t+1})\rVert^2\\
&+12\beta\lambda^2L_g^2\mathbb{E}\lVert s_{t+2}-s^*(w_{t+1})\rVert^2+\frac{12\beta C_f^2L_{y^*}^2}{\mu_g^2\lambda^2}+\frac{\beta^2\widetilde{\sigma}^2}{B}\\
={}&(1-\beta)\mathbb{E}V_t+\frac{2L_*^2\eta^2}{\beta}\mathbb{E}\lVert v_{t+1}\rVert^2+12\beta L_{y^*}^2\mathbb{E}Y_{t+1}+12\beta\lambda^2L_g^2\mathbb{E}S_{t+1}\\
&+\frac{12\beta C_f^2L_{y^*}^2}{\mu_g^2\lambda^2}+\frac{\beta^2\widetilde{\sigma}^2}{B}, \tag*{(58)}
\end{aligned} E V t + 1 ≤ = ( 1 − β ) E V t + β 2 L ∗ 2 η 2 E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E ∥ y t + 2 − y ∗ ( w t + 1 ) ∥ 2 + 12 β λ 2 L g 2 E ∥ s t + 2 − s ∗ ( w t + 1 ) ∥ 2 + μ g 2 λ 2 12 β C f 2 L y ∗ 2 + B β 2 σ 2 ( 1 − β ) E V t + β 2 L ∗ 2 η 2 E ∥ v t + 1 ∥ 2 + 12 β L y ∗ 2 E Y t + 1 + 12 β λ 2 L g 2 E S t + 1 + μ g 2 λ 2 12 β C f 2 L y ∗ 2 + B β 2 σ 2 , (58)
E t S t ≤ E t ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − γ μ g 4 ) S t − 1 + 4 C s 2 η 2 λ 2 μ g ∥ v t ∥ 2 + 8 γ μ g ( L f 2 λ 2 + Q g 2 r λ 2 ) ( Y t − 1 + η 2 C y ∗ 2 ∥ v t ∥ 2 ) + 2 γ 2 B λ 2 ( σ f 2 + 4 C f ~ 2 L g 2 μ g 2 ) . (59) \begin{aligned}
\mathbb{E}_tS_t &\leq\mathbb{E}_t\lVert\bar{s}_t-s_t^*\rVert^2\\
&\leq\left(1-\frac{\gamma\mu_g}{4}\right)S_{t-1}+\frac{4C_s^2\eta^2}{\lambda^2\mu_g}\lVert v_t\rVert^2+\frac{8\gamma}{\mu_g}\left(\frac{L_f^2}{\lambda^2}+Q_g^2r_\lambda^2\right)\left(Y_{t-1}+\eta^2C_{y^*}^2\lVert v_t\rVert^2\right)\\
&\quad+\frac{2\gamma^2}{B\lambda^2}\left(\sigma_f^2+\frac{4C_{\widetilde{f}}^2L_g^2}{\mu_g^2}\right). \tag*{(59)}
\end{aligned} E t S t ≤ E t ∥ s ˉ t − s t ∗ ∥ 2 ≤ ( 1 − 4 γ μ g ) S t − 1 + λ 2 μ g 4 C s 2 η 2 ∥ v t ∥ 2 + μ g 8 γ ( λ 2 L f 2 + Q g 2 r λ 2 ) ( Y t − 1 + η 2 C y ∗ 2 ∥ v t ∥ 2 ) + B λ 2 2 γ 2 ( σ f 2 + μ g 2 4 C f 2 L g 2 ) . (59)
Combine (30), (58), (37) and (59), then sum over t = 0 , 1 , ⋯ , T − 1 t=0,1,\cdots,T-1 t = 0 , 1 , ⋯ , T − 1 , we have
1 T ∑ t = 0 T − 1 E ∥ ∇ L λ ∗ ( w t ) ∥ 2 ≤ 2 ( L λ ∗ ( w 0 ) − inf w L λ ∗ ( w ) ) η T + E V 0 β T + 24 ( ( L y ∗ 2 + 32 κ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) E Y 1 + 2 λ 2 L g 2 E S 1 ) γ μ g T − ( 1 2 − 2 L ∗ 2 η 2 β 2 − 48 η 2 γ 2 μ g 2 ( C y ∗ 2 ( L y ∗ 2 + 32 κ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) + 4 L g 2 C s 2 ) − 384 η 2 κ 2 C y ∗ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) 1 T ∑ t = 0 T − 1 E ∥ v t + 1 ∥ 2 + β σ ~ 2 B + 24 γ σ y 2 μ g B ( L y ∗ 2 + 32 κ 2 ( L f 2 + Q g 2 C f 2 μ g 2 ) ) + 12 C f 2 L y ∗ 2 μ g 2 λ 2 + 96 γ L g 2 μ g B ( σ f 2 + 4 C f ~ 2 L g 2 μ g 2 ) . (60) \begin{aligned}
\frac{1}{T}\sum_{t=0}^{T-1}\mathbb{E}\lVert\nabla L_\lambda^*(w_t)\rVert^2
\leq{}&\frac{2(L_\lambda^*(w_0)-\inf_wL_\lambda^*(w))}{\eta T}+\frac{\mathbb{E}V_0}{\beta T}\\
&+\frac{24\left((L_{y^*}^2+32\kappa^2(L_f^2+\frac{Q_g^2C_f^2}{\mu_g^2}))\mathbb{E}Y_1+2\lambda^2L_g^2\mathbb{E}S_1\right)}{\gamma\mu_gT}\\
&-\left(\frac{1}{2}-\frac{2L_*^2\eta^2}{\beta^2}-\frac{48\eta^2}{\gamma^2\mu_g^2}\left(C_{y^*}^2(L_{y^*}^2+32\kappa^2(L_f^2+\frac{Q_g^2C_f^2}{\mu_g^2}))+4L_g^2C_s^2\right)\right.\\
&\left.\quad-384\eta^2\kappa^2C_{y^*}^2\left(L_f^2+\frac{Q_g^2C_f^2}{\mu_g^2}\right)\right)\frac{1}{T}\sum_{t=0}^{T-1}\mathbb{E}\lVert v_{t+1}\rVert^2\\
&+\frac{\beta\widetilde{\sigma}^2}{B}+\frac{24\gamma\sigma_y^2}{\mu_gB}\left(L_{y^*}^2+32\kappa^2\left(L_f^2+\frac{Q_g^2C_f^2}{\mu_g^2}\right)\right)+\frac{12C_f^2L_{y^*}^2}{\mu_g^2\lambda^2}\\
&+\frac{96\gamma L_g^2}{\mu_gB}\left(\sigma_f^2+\frac{4C_{\widetilde{f}}^2L_g^2}{\mu_g^2}\right). \tag*{(60)}
\end{aligned} T 1 t = 0 ∑ T − 1 E ∥ ∇ L λ ∗ ( w t ) ∥ 2 ≤ η T 2 ( L λ ∗ ( w 0 ) − inf w L λ ∗ ( w )) + β T E V 0 + γ μ g T 24 ( ( L y ∗ 2 + 32 κ 2 ( L f 2 + μ g 2 Q g 2 C f 2 )) E Y 1 + 2 λ 2 L g 2 E S 1 ) − ( 2 1 − β 2 2 L ∗ 2 η 2 − γ 2 μ g 2 48 η 2 ( C y ∗ 2 ( L y ∗ 2 + 32 κ 2 ( L f 2 + μ g 2 Q g 2 C f 2 )) + 4 L g 2 C s 2 ) − 384 η 2 κ 2 C y ∗ 2 ( L f 2 + μ g 2 Q g 2 C f 2 ) ) T 1 t = 0 ∑ T − 1 E ∥ v t + 1 ∥ 2 + B β σ 2 + μ g B 24 γ σ y 2 ( L y ∗ 2 + 32 κ 2 ( L f 2 + μ g 2 Q g 2 C f 2 ) ) + μ g 2 λ 2 12 C f 2 L y ∗ 2 + μ g B 96 γ L g 2 ( σ f 2 + μ g 2 4 C f 2 L g 2 ) . (60)
As shown in proof of Theorem 1, we have that:
L λ ∗ ( w 0 ) − inf w L λ ∗ ( w ) ≤ O ( 1 ) , E V 0 ≤ O ( κ 3 ) , E Y 1 ≤ O ( 1 κ ) , E S 1 ≤ κ 2 λ 2 . L_\lambda^*(w_0)-\inf_wL_\lambda^*(w)\leq O(1),\quad\mathbb{E}V_0\leq O(\kappa^3),\quad\mathbb{E}Y_1\leq O\left(\frac{1}{\kappa}\right),\quad\mathbb{E}S_1\leq\frac{\kappa^2}{\lambda^2}. L λ ∗ ( w 0 ) − w inf L λ ∗ ( w ) ≤ O ( 1 ) , E V 0 ≤ O ( κ 3 ) , E Y 1 ≤ O ( κ 1 ) , E S 1 ≤ λ 2 κ 2 .
Therefore, to make RHS of eqn. (60)≤ ϵ 2 \leq\epsilon^2 ≤ ϵ 2 with constant level batchsize B = O ( 1 ) B=O(1) B = O ( 1 ) , and note that σ ~ 2 = O ( ℓ ˉ 2 κ 2 ) \widetilde{\sigma}^2=O(\bar{\ell}^2\kappa^2) σ 2 = O ( ℓ ˉ 2 κ 2 ) , we require the following condition holds:
β ℓ ˉ 2 κ 2 ≤ O ( ϵ 2 ) , γ ℓ ˉ κ 5 ≤ O ( ϵ 2 ) , ℓ ˉ 2 κ 4 λ 2 ≤ O ( ϵ 2 ) , ℓ ˉ 3 κ 3 γ ≤ O ( ϵ 2 ) , (61) \beta\bar{\ell}^2\kappa^2\leq O(\epsilon^2),\quad\gamma\bar{\ell}\kappa^5\leq O(\epsilon^2),\quad\frac{\bar{\ell}^2\kappa^4}{\lambda^2}\leq O(\epsilon^2),\quad\bar{\ell}^3\kappa^3\gamma\leq O(\epsilon^2), \tag*{(61)} β ℓ ˉ 2 κ 2 ≤ O ( ϵ 2 ) , γ ℓ ˉ κ 5 ≤ O ( ϵ 2 ) , λ 2 ℓ ˉ 2 κ 4 ≤ O ( ϵ 2 ) , ℓ ˉ 3 κ 3 γ ≤ O ( ϵ 2 ) , (61)
max { L ∗ 2 η 2 β 2 , η 2 O ( κ 8 ) γ 2 , η 2 ℓ ˉ 2 κ 6 } ≤ O ( 1 ) , (62) \max\left\{\frac{L_*^2\eta^2}{\beta^2},\frac{\eta^2O(\kappa^8)}{\gamma^2},\eta^2\bar{\ell}^2\kappa^6\right\}\leq O(1), \tag*{(62)} max { β 2 L ∗ 2 η 2 , γ 2 η 2 O ( κ 8 ) , η 2 ℓ ˉ 2 κ 6 } ≤ O ( 1 ) , (62)
Δ η T ≤ O ( ϵ 2 ) , V 0 β T ≤ O ( ϵ 2 ) , O ( ℓ ˉ κ 5 Y 1 + λ 2 ℓ ˉ κ S 1 ) γ T ≤ O ( ϵ 2 ) . (63) \frac{\Delta}{\eta T}\leq O(\epsilon^2),\quad\frac{V_0}{\beta T}\leq O(\epsilon^2),\quad\frac{O(\bar{\ell}\kappa^5Y_1+\lambda^2\bar{\ell}\kappa S_1)}{\gamma T}\leq O(\epsilon^2). \tag*{(63)} η T Δ ≤ O ( ϵ 2 ) , β T V 0 ≤ O ( ϵ 2 ) , γ T O ( ℓ ˉ κ 5 Y 1 + λ 2 ℓ ˉ κ S 1 ) ≤ O ( ϵ 2 ) . (63)
Therefore, by setting λ = Θ ( κ 3 ϵ ) \lambda=\Theta\left(\frac{\kappa^3}{\epsilon}\right) λ = Θ ( ϵ κ 3 ) , β = Θ ( ϵ 2 κ 2 ) \beta=\Theta\left(\frac{\epsilon^2}{\kappa^2}\right) β = Θ ( κ 2 ϵ 2 ) , γ = Θ ( ϵ 2 κ 5 ) \gamma=\Theta\left(\frac{\epsilon^2}{\kappa^5}\right) γ = Θ ( κ 5 ϵ 2 ) , η = Θ ( ϵ 2 κ 9 ) \eta=\Theta\left(\frac{\epsilon^2}{\kappa^9}\right) η = Θ ( κ 9 ϵ 2 ) , it’s sufficient for Algorithm 1 to return an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of L λ ∗ ( w ) L_\lambda^*(w) L λ ∗ ( w ) within T = O ( κ 9 ϵ 4 ) T=O\left(\frac{\kappa^9}{\epsilon^4}\right) T = O ( ϵ 4 κ 9 ) iterations. Then according to Lemma 1, it is also an O ( ϵ ) O(\epsilon) O ( ϵ ) -stationary point of F ( w ) F(w) F ( w ) .
Counter example of inequality 24
We provide a counterexample showing that even under Assumptions 1–3, the inequality
⟨ G t s , s t − s t ∗ ⟩ ≥ c ∥ s t − s t ∗ ∥ 2 \langle G_t^s, s_t-s_t^*\rangle\ge c\lVert s_t-s_t^*\rVert^2 ⟨ G t s , s t − s t ∗ ⟩ ≥ c ∥ s t − s t ∗ ∥ 2
does not necessarily hold for any positive constant c c c . Consider a scalar lower-level variable y ∈ R y\in\mathbb{R} y ∈ R and define
f ( w , y ) = cos y − 1 , g ( w , y ) = 1 2 y 2 . f(w,y)=\cos y-1,\qquad g(w,y)=\frac{1}{2}y^2. f ( w , y ) = cos y − 1 , g ( w , y ) = 2 1 y 2 .
where both functions are independent of w w w . These functions are infinitely differentiable, f f f is globally 1-Lipschitz and 1-smooth, and g g g is 1-smooth and 1-strongly convex in y y y , with a constant Hessian. For any λ ≥ 2 \lambda\ge2 λ ≥ 2 , the penalized lower-level objective satisfies
∂ 2 ∂ y 2 ( λ − 1 f ( w , y ) + g ( w , y ) ) = 1 − λ − 1 cos y ≥ 1 2 . \frac{\partial^2}{\partial y^2}\left(\lambda^{-1}f(w,y)+g(w,y)\right)=1-\lambda^{-1}\cos y\ge\frac{1}{2}. ∂ y 2 ∂ 2 ( λ − 1 f ( w , y ) + g ( w , y ) ) = 1 − λ − 1 cos y ≥ 2 1 .
Since its first derivative vanishes at y = 0 y=0 y = 0 , we have
y λ ∗ ( w ) = y ∗ ( w ) = 0 , s ∗ ( w ) = 0 , F ( w ) = 0. y_\lambda^*(w)=y^*(w)=0,\qquad s^*(w)=0,\qquad F(w)=0. y λ ∗ ( w ) = y ∗ ( w ) = 0 , s ∗ ( w ) = 0 , F ( w ) = 0.
Thus, Assumption 1 holds. Moreover, taking exact gradients as the stochastic oracles satisfies Assumption 2 with zero variance and Assumption 3 with L ~ g = 1 \widetilde{L}_g=1 L g = 1 .
Now choose any y t ∈ ( 0 , 1 ] y_t\in(0,1] y t ∈ ( 0 , 1 ] and set
z t = y t − sin y t λ . z_t=y_t-\frac{\sin y_t}{\lambda}. z t = y t − λ sin y t .
Then
s t = y t − z t = sin y t λ > 0 , ∣ s t ∣ ≤ 1 λ = C f μ g λ = r λ , s_t=y_t-z_t=\frac{\sin y_t}{\lambda}>0,\qquad|s_t|\le\frac{1}{\lambda}=\frac{C_f}{\mu_g\lambda}=r_\lambda, s t = y t − z t = λ sin y t > 0 , ∣ s t ∣ ≤ λ 1 = μ g λ C f = r λ ,
so these iterates satisfy the projected-coupling constraint. Nevertheless, the corresponding gap-update direction is
G t s = λ − 1 ∇ 2 f ( w t , y t ) + ∇ 2 g ( w t , y t ) − ∇ 2 g ( w t , z t ) = − sin y t λ + y t − z t = 0. \begin{aligned}
G_t^s=\lambda^{-1}\nabla_2f(w_t,y_t)+\nabla_2g(w_t,y_t)-\nabla_2g(w_t,z_t) \\
&=-\frac{\sin y_t}{\lambda}+y_t-z_t=0.
\end{aligned} G t s = λ − 1 ∇ 2 f ( w t , y t ) + ∇ 2 g ( w t , y t ) − ∇ 2 g ( w t , z t ) = − λ sin y t + y t − z t = 0.
Consequently, for every c > 0 c>0 c > 0 ,
⟨ G t s , s t − s t ∗ ⟩ = 0 < c sin 2 y t λ 2 = c ∥ s t − s t ∗ ∥ 2 , \langle G_t^s,s_t-s_t^*\rangle=0<c\frac{\sin^2y_t}{\lambda^2}=c\lVert s_t-s_t^*\rVert^2, ⟨ G t s , s t − s t ∗ ⟩ = 0 < c λ 2 sin 2 y t = c ∥ s t − s t ∗ ∥ 2 ,
which contradicts the proposed inequality.
More experiment detail
Hyper-parameter Tuning
We use linear schedule for λ \lambda λ of F2SA/F3SA which start from λ 0 \lambda_0 λ 0 and tune the final λ \lambda λ ; We further tune β \beta β for our method SICO in { 0.01 , 0.1 , 0.3 , 0.5 , 1 } \{0.01,0.1,0.3,0.5,1\} { 0.01 , 0.1 , 0.3 , 0.5 , 1 } . For stoc-SGHA we further tune τ \tau τ in { 10 − 4 , 10 − 3 } \{10^{-4},10^{-3}\} { 1 0 − 4 , 1 0 − 3 } ; p w p_w p w in { 0.005 , 0.01 , 0.02 } \{0.005,0.01,0.02\} { 0.005 , 0.01 , 0.02 } ; p λ p_\lambda p λ in { 0.00001 , 0.0001 } \{0.00001,0.0001\} { 0.00001 , 0.0001 } and β \beta β in { 0.16 , 0.24 , 0.32 } \{0.16,0.24,0.32\} { 0.16 , 0.24 , 0.32 } ; we fix C λ = 10 C_\lambda=10 C λ = 10 .
Additional experiment result
In this subsection, we report in Figure 3 -Figure 6 for garbage weight, clean weight, validation loss and test accuracy for the data hyper-cleaning task on MNIST and fashion-MNIST dataset.
Figure 3. Clean weight comparison of first order method of NC-SC SBO problem for data hyper-cleaning task. Upper row: MNIST dataset; Lower row: Fashion-MNIST dataset.
Figure 6. Test accuracy comparison of first order method of NC-SC SBO problem for data hyper-cleaning task. Upper row: MNIST dataset; Lower row: Fashion-MNIST dataset.
Figure 4. Garbage weight comparison of first order method of NC-SC SBO problem for data hyper-cleaning task. Upper row: MNIST dataset; Lower row: Fashion-MNIST dataset.
Figure 5. Validation loss comparison of first order method of NC-SC SBO problem for data hyper-cleaning task. Upper row: MNIST dataset; Lower row: Fashion-MNIST dataset.