Escaping From Saddle Points --- Online Stochastic Gradient for Tensor Decomposition

Rong Ge, Furong Huang, Chi Jin, Yang Yuan

Introduction

Stochastic gradient descent is one of the basic algorithms in optimization. It is often used to solve the following stochastic optimization problem

When the function f(w)f(w) is convex, convergence of stochastic gradient descent is well-understood (Rakhlin et al.,, 2012; Shalev-Shwartz et al.,, 2009). However, stochastic gradient descent is not only limited to convex functions. Especially, in the context of neural networks, stochastic gradient descent is known as the “backpropagation” algorithm (Rumelhart et al.,, 1988), and has been the main algorithm that underlies the success of deep learning (Bengio,, 2009). However, the guarantees in the convex setting does not transfer to the non-convex settings.

Optimizing a non-convex function is NP-hard in general. The difficulty comes from two aspects. First, a non-convex function may have many local minima, and it might be hard to find the best one (global minimum) among them. Second, even finding a local minimum might be hard as there can be many saddle points which have -gradient but are not local minimaSee Section 3 for definition of saddle points.. In the most general case, there is no known algorithm that guarantees to find a local minimum in polynomial number of steps. The discrete analog (finding local minimum in domains like {0,1}n\{0,1\}^{n}) has been studied in complexity theory and is PLS-complete (Johnson et al.,, 1988).

In many cases, especially in those related to deep neural networks (Dauphin et al.,, 2014) (Choromanska et al.,, 2014), the main bottleneck in optimization is not due to local minima, but the existence of many saddle points. Gradient based algorithms are in particular susceptible to saddle point problems as they only rely on the gradient information. The saddle point problem is alleviated for second-order methods that also rely on the Hessian information (Dauphin et al.,, 2014).

However, using Hessian information usually increases the memory requirement and computation time per iteration. As a result many applications still use stochastic gradient and empirically get reasonable results. In this paper we investigate why stochastic gradient methods can be effective even in presence of saddle point, in particular we answer the following question:

Question: Given a non-convex function ff with many saddle points, what properties of ff will guarantee stochastic gradient descent to converge to a local minimum efficiently?

We identify a property of non-convex functions which we call strict saddle. Intuitively, this property guarantees local progress if we have access to the Hessian information. Surprisingly we show with only first order (gradient) information, stochastic gradient can escape the saddle points efficiently. We give a framework for analyzing stochastic gradient in both unconstrained and equality-constrained case using this property.

We apply our framework to orthogonal tensor decomposition, which is a core problem in learning many latent variable models (see discussion in 2.2). The tensor decomposition problem is inherently susceptible to the saddle point issues, as the problem asks to find dd different components and any permutation of the true components yields a valid solution. Such symmetry creates exponentially many local minima and saddle points in the optimization problem. Using our new analysis of stochastic gradient, we give the first online algorithm for orthogonal tensor decomposition with global convergence guarantee. This is a key step towards making tensor decomposition algorithms more scalable.

Given a function f(w)f(w) that is twice differentiable, we call ww a stationary point if ∇f(w)=0\nabla f(w)=0. A stationary point can either be a local minimum, a local maximum or a saddle point. We identify an interesting class of non-convex functions which we call strict saddle. For these functions the Hessian of every saddle point has a negative eigenvalue. In particular, this means that local second-order algorithms which are similar to the ones in (Dauphin et al.,, 2014) can always make some progress.

It may seem counter-intuitive why stochastic gradient can work in these cases: in particular if we run the basic gradient descent starting from a stationary point then it will not move. However, we show that the saddle points are not stable and that the randomness in stochastic gradient helps the algorithm to escape from the saddle points.

Suppose f(w)f(w) is strict saddle (see Definition 5), Noisy Gradient Descent (Algorithm 1) outputs a point that is close to a local minimum in polynomial number of steps.

Online tensor decomposition

Requiring all saddle points to have a negative eigenvalue may seem strong, but it already allows non-trivial applications to natural non-convex optimization problems. As an example, we consider the orthogonal tensor decomposition problem. This problem is the key step in spectral learning for many latent variable models (see more discussions in Section 2.2).

We design a new objective function for tensor decomposition that is strict saddle.

Combining this new objective with our framework for analyzing stochastic gradient in non-convex setting, we get the first online algorithm for orthogonal tensor decomposition with global convergence guarantee.

2 Related Works

In optimization theory and economics, there are extensive works on understanding functions that behave similarly to convex functions (and in particular can be optimized efficiently). Such notions involve pseudo-convexity (Mangasarian,, 1965), quasi-convexity (Kiwiel,, 2001), invexity(Hanson,, 1999) and their variants. More recently there are also works that consider classes that admit more efficient optimization procedures like RSC (restricted strong convexity) (Agarwal et al.,, 2010). Although these classes involve functions that are non-convex, the function (or at least the function restricted to the region of analysis) still has a unique stationary point that is the desired local/global minimum. Therefore these works cannot be used to prove global convergence for problems like tensor decomposition, where by symmetry of the problem there are multiple local minima and saddle points.

Second-order algorithms

The most popular second-order method is the Newton’s method. Although Newton’s method converges fast near a local minimum, its global convergence properties are less understood in the more general case. For non-convex functions, (Frieze et al.,, 1996) gave a concrete example where second-order method converges to the desired local minimum in polynomial number of steps (interestingly the function of interest is trying to find one component in a 44-th order orthogonal tensor, which is a simpler case of our application). As Newton’s method often converges also to saddle points, to avoid this behavior, different trusted-region algorithms are applied (Dauphin et al.,, 2014).

Stochastic gradient and symmetry

The tensor decomposition problem we consider in this paper has the following symmetry: the solution is a set of dd vectors v1,...,vdv_{1},...,v_{d}. If (v1,v2,...,vd)(v_{1},v_{2},...,v_{d}) is a solution, then for any permutation π\pi and any sign flips κ∈{±1}d\kappa\in\{\pm 1\}^{d}, (..,κivπ(i),...)(..,\kappa_{i}v_{\pi(i)},...) is also a valid solution. In general, symmetry is known to generate saddle points, and variants of gradient descent often perform reasonably in these cases (see (Saad and Solla,, 1995), (Rattray et al.,, 1998), (Inoue et al.,, 2003)). The settings in these work are different from ours, and none of them give bounds on number of steps required for convergence.

There are many other problems that have the same symmetric structure as the tensor decomposition problem, including the sparse coding problem (Olshausen and Field,, 1997) and many deep learning applications (Bengio,, 2009). In these problems the goal is to learn multiple “features” where the solution is invariant under permutation. Note that there are many recent papers on iterative/gradient based algorithms for problems related to matrix factorization (Jain et al.,, 2013; Saxe et al.,, 2013). These problems often have very different symmetry, as if Y=AXY=AX then for any invertible matrix RR we know Y=(AR)(R−1X)Y=(AR)(R^{-1}X). In this case all the equivalent solutions are in a connected low dimensional manifold and there need not be saddle points between them.

Preliminaries

1 Stochastic Gradient Descent

The stochastic gradient aims to solve the stochastic optimization problem (1), which we restate here:

Recall ϕ(w,x)\phi(w,x) denotes the loss function evaluated for sample xx at point ww. The algorithm follows a stochastic gradient

where xtx_{t} is a random sample drawn from distribution D\mathcal{D} and η\eta is the learning rate.

In the more general setting, stochastic gradient descent can be viewed as optimizing an arbitrary function f(w)f(w) given a stochastic gradient oracle.

In this case the update step of the algorithm becomes wt+1=wt−ηSG(wt)w_{t+1}=w_{t}-\eta SG(w_{t}).

Traditional analysis for stochastic gradient often assumes the function is smooth and strongly convex. A function is β\beta-smooth if for any two points w1,w2w_{1},w_{2},

When ff is twice differentiable this is equivalent to assuming that the spectral norm of the Hessian matrix is bounded by β\beta. We say a function is α\alpha-strongly convex if the Hessian at any point has smallest eigenvalue at least α\alpha (λmin(∇2f(w))≥α\lambda_{min}(\nabla^{2}f(w))\geq\alpha).

Using these two properties, previous work (Rakhlin et al.,, 2012) shows that stochastic gradient converges at a rate of 1/t1/t. In this paper we consider non-convex functions, which can still be β\beta-smooth but cannot be strongly convex.

Smoothness of Hessians

We also require the Hessian of the function ff to be smooth. We say a function f(w)f(w) has ρ\rho-Lipschitz Hessian if for any two points w1,w2w_{1},w_{2} we have

This is a third order condition that is true if the third order derivative exists and is bounded.

2 Tensors decomposition

Tensors can be constructed from tensor products. We use (u⊗v)(u\otimes v) to denote a 22nd order tensor where (u⊗v)i,j=uivj(u\otimes v)_{i,j}=u_{i}v_{j}. This generalizes to higher order and we use u⊗4u^{\otimes 4} to denote the 44-th order tensor

where aia_{i}’s are orthonormal vectors that satisfy ∥ai∥=1\|a_{i}\|=1 and aiTaj=0a_{i}^{T}a_{j}=0 for i≠ji\neq j. We call the vectors aia_{i}’s the components of this decomposition. Such a decomposition is unique up to permutation of aia_{i}’s and sign-flips.

Stochastic gradient descent for strict saddle function

In this section we discuss the properties of saddle points, and show if all the saddle points are well-behaved then stochastic gradient descent finds a local minimum for a non-convex function in polynomial time.

For a twice differentiable function f(w)f(w), we call the points stationary points if their gradients are equal to . Stationary points could be local minima, local maxima or saddle points. By local optimality conditions (Wright and Nocedal,, 1999), in many cases we can tell what type a point ww is by looking at its Hessian: if ∇2f(w)\nabla^{2}f(w) is positive definite then ww is a local minimum; if ∇2f(w)\nabla^{2}f(w) is negative definite then ww is a local maximum; if ∇2f(w)\nabla^{2}f(w) has both positive and negative eigenvalues then ww is a saddle point. These criteria do not cover all the cases as there could be degenerate scenarios: ∇2f(w)\nabla^{2}f(w) can be positive semidefinite with an eigenvalue equal to 0, in which case the point could be a local minimum or a saddle point.

If a function does not have these degenerate cases, then we say the function is strict saddle:

A twice differentiable function f(w)f(w) is strict saddle, if all its local minima have ∇2f(w)≻0\nabla^{2}f(w)\succ 0 and all its other stationary points satisfy λmin(∇2f(w))<0\lambda_{min}(\nabla^{2}f(w))<0.

Intuitively, if we are not at a stationary point, then we can always follow the gradient and reduce the value of the function. If we are at a saddle point, we need to consider a second order Taylor expansion:

Since the strict saddle property guarantees ∇2f(w)\nabla^{2}f(w) to have a negative eigenvalue, there is always a point that is near ww and has strictly smaller function value. It is possible to make local improvements as long as we have access to second order information. However it is not clear whether the more efficient stochastic gradient updates can work in this setting.

To make sure the local improvements are significant, we use a robust version of the strict saddle property:

A twice differentiable function f(w)f(w) is (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle, if for any point ww at least one of the following is true

λmin(∇2f(w))≤−γ\lambda_{min}(\nabla^{2}f(w))\leq-\gamma.

There is a local minimum w⋆w^{\star} such that ∥w−w⋆∥≤δ\|w-w^{\star}\|\leq\delta, and the function f(w′)f(w^{\prime}) restricted to 2δ2\delta neighborhood of w⋆w^{\star} (∥w′−w⋆∥≤2δ\|w^{\prime}-w^{\star}\|\leq 2\delta) is α\alpha-strongly convex.

Intuitively, this condition says for any point whose gradient is small, it is either close to a robust local minimum, or is a saddle point (or local maximum) with a significant negative eigenvalue.

We purpose a simple variant of stochastic gradient algorithm, where the only difference to the traditional algorithm is we add an extra noise term to the updates. The main benefit of this additional noise is that we can guarantee there is noise in every direction, which allows the algorithm to effectively explore the local neighborhood around saddle points. If the noise from stochastic gradient oracle already has nonnegligible variance in every direction, our analysis also applies without adding additional noise. We show noise can help the algorithm escape from saddle points and optimize strict saddle functions.

Often analysis of stochastic gradient descent uses decreasing learning rates and the algorithm converges to a local (or global) minimum. Since the function is strongly convex in the small region close to local minimum, we can use Theorem 6 to first find a point that is close to a local minimum, and then apply standard analysis of SGD in the strongly convex case (where we decrease the learning rate by 1/t1/t and get 1/t1/\sqrt{t} convergence in ∥w−w⋆∥\|w-w^{\star}\|).

In the next part we sketch the proof of the main theorem. Details are deferred to Appendix A.

2 Proof sketch

In order to prove Theorem 6, we analyze the three cases in Definition 5. When the gradient is large, we show the function value decreases in one step (see Lemma 7); when the point is close to a local minimum, we show with high probability it cannot escape in the next polynomial number of iterations (see Lemma 8).

The proof of this lemma is a simple application of the smoothness property.

The proof of this lemma is similar to the standard analysis (Rakhlin et al.,, 2012) of stochastic gradient descent in the smooth and strongly convex setting, except we only have local strongly convexity. The proof appears in Appendix A.

The hardest case is when the point is “close” to a saddle point: it has gradient smaller than ϵ\epsilon and smallest eigenvalue of the Hessian bounded by −γ-\gamma. In this case we show the noise in our algorithm helps the algorithm to escape:

Intuitively, at point wtw_{t} there is a good direction that is hiding in the Hessian. The hope of the algorithm is that the additional (or inherent) noise in the update step makes a small step towards the correct direction, and then the gradient information will reinforce this small perturbation and the future updates will “slide” down the correct direction.

3 Constrained Problems

In many cases, the problem we are facing are constrained optimization problems. In this part we briefly describe how to adapt the analysis to problems with equality constraints (which suffices for the tensor application). Dealing with general inequality constraint is left as future work.

in general we need to consider the set of points in a low dimensional manifold that is defined by the constraints. In particular, in the algorithm after every step we need to project back to this manifold (see Algorithm 2 where ΠW\Pi_{\mathcal{W}} is the projection to this manifold).

For constrained optimization it is common to consider the Lagrangian:

Under common regularity conditions, it is possible to compute the value of the Lagrangian multipliers:

We can also define the tangent space, which contains all directions that are orthogonal to all the gradients of the constraints: T(w)={v:∇ci(w)Tv=0; i=1,⋯ ,m}\mathcal{T}(w)=\{v:\nabla c_{i}(w)^{T}v=0;~{}i=1,\cdots,m\}. In this case the corresponding gradient and Hessian we consider are the first-order and second-order partial derivative of Lagrangian L\mathcal{L} at point (w,λ∗(w))(w,\lambda^{*}(w)):

We replace the gradient and Hessian with χ(w)\chi(w) and M(w)\mathfrak{M}(w), and when computing eigenvectors of M(w)\mathfrak{M}(w) we focus on its projection on the tangent space. In this way, we can get a similar definition for strict saddle (see Appendix B), and the following theorem.

Detailed discussions and formal version of this theorem are deferred to Appendix B.

Online Tensor Decomposition

In this section we describe how to apply our stochastic gradient descent analysis to tensor decomposition problems. We first give a new formulation of tensor decomposition as an optimization problem, and show that it satisfies the strict saddle property. Then we explain how to compute stochastic gradient in a simple example of Independent Component Analysis (ICA) (Hyvärinen et al.,, 2004).

where the components aia_{i}’s are orthonormal vectors (∥ai∥=1\|a_{i}\|=1, aiTaj=0a_{i}^{T}a_{j}=0 for i≠ji\neq j), the goal of orthogonal tensor decomposition is to find the components aia_{i}’s.

This problem has inherent symmetry: for any permutation π\pi and any set of κi∈{±1},i∈[d]\kappa_{i}\in\{\pm 1\},i\in[d], we know ui=κiaπ(i)u_{i}=\kappa_{i}a_{\pi(i)} is also a valid solution. This symmetry property makes the natural optimization problems non-convex.

In this section we will give a new formulation of orthogonal tensor decomposition as an optimization problem, and show that this new problem satisfies the strict saddle property.

Previously, Frieze et al., (1996) solves the problem of finding one component, with the following objective function

In Appendix C.1, as a warm-up example we show this function is indeed strict saddle, and we can apply Theorem 10 to prove global convergence of stochastic gradient descent algorithm.

It is possible to find all components of a tensor by iteratively finding one component, and do careful deflation, as described in Anandkumar et al., (2014) or Arora et al., (2012). However, in practice the most popular approaches like Alternating Least Squares (Comon et al.,, 2009) or FastICA (Hyvarinen,, 1999) try to use a single optimization problem to find all the components. Empirically these algorithms are often more robust to noise and model misspecification.

The most straight-forward formulation of the problem aims to minimize the reconstruction error

We propose a new objective that aims to minimize the correlation between different components:

To understand this objective intuitively, we first expand vectors uku_{k} in the orthogonal basis formed by {ai}\{a_{i}\}’s. That is, we can write uk=∑i=1dzk(i)aiu_{k}=\sum_{i=1}^{d}z_{k}(i)a_{i}, where zk(i)z_{k}(i) are scalars that correspond to the coordinates in the {ai}\{a_{i}\} basis. In this way we can rewrite T(uk,uk,ul,ul)=∑i=1d(zk(i))2(zl(i))2T(u_{k},u_{k},u_{l},u_{l})=\sum_{i=1}^{d}(z_{k}(i))^{2}(z_{l}(i))^{2}. From this form it is clear that the T(uk,uk,ul,ul)T(u_{k},u_{k},u_{l},u_{l}) is always nonnegative, and is equal to only when the support of zkz_{k} and zlz_{l} do not intersect. For the objective function, we know in order for it to be equal to 0 the zz’s must have disjoint support. Therefore, we claim that {uk},∀k∈[d]\{u_{k}\},\forall k\in[d] is equivalent to {ai},∀i∈[d]\{a_{i}\},\forall i\in[d] up to permutation and sign flips when the global minimum (which is 0) is achieved.

We further show that this optimization program satisfies the strict saddle property and all its local minima in fact achieves global minimum value. The proof is deferred to Appendix C.2.

The optimization problem (13) is (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle, for α=1\alpha=1 and γ,ϵ,δ=1/\mboxpoly(d)\gamma,\epsilon,\delta=1/\mbox{poly}(d). Moreover, all its local minima have the form ui=κiaπ(i)u_{i}=\kappa_{i}a_{\pi(i)} for some κi=±1\kappa_{i}=\pm 1 and permutation π(i)\pi(i).

2 Implementing stochastic gradient oracle

To design an online algorithm based on objective function (13), we need to give an implementation for the stochastic gradient oracle.

where all other entries of ZZ are equal to . The tensor TT can be written as a function of the auxiliary tensor ZZ and multilinear form of the sample yy.

Notice that computing this stochastic gradient does not require constructing the 44-th order tensor T−y⊗4T-y^{\otimes 4}. In particular, this stochastic gradient can be computed very efficiently:

The stochastic gradient (14) can be computed in O(d3)O(d^{3}) time for one sample or O(d3+d2k)O(d^{3}+d^{2}k) for average of kk samples.

The proof is straight forward as the first two terms take O(d3)O(d^{3}) and is shared by all samples. The third term can be efficiently computed once the inner-products between all the yy’s and all the uiu_{i}’s are computed (which takes O(kd2)O(kd^{2}) time). ∎

Experiments

We run simulations for Projected Noisy Gradient Descent (Algorithm 2) applied to orthogonal tensor decomposition. The results show that the algorithm converges from random initial points efficiently (as predicted by the theorems), and our new formulation (13) performs better than reconstruction error (12) based formulation.

Samples and stochastic gradients

In the second case we consider the ICA example introduced in Section 4.2, and use Equation (14) to compute a stochastic gradient. In this case the stochastic gradient has a large variance, so we use mini-batch of size 100 to reduce the variance.

Comparison of objective functions

We use the simple way of generating samples for our new objective function (13) and reconstruction error objective (12). The result is shown in Figure 1. Our new objective function is empirically more stable (always converges within 10000 iterations); the reconstruction error do not always converge within the same number of iterations and often exhibits long periods with small improvement (which is likely to be caused by saddle points that do not have a significant negative eigenvalue).

Simple ICA example

As shown in Figure 2, our new algorithm also works in the ICA setting. When the learning rate is constant the error stays at a fixed small value. When we decrease the learning rate the error converges to 0.

Conclusion

In this paper we identify the strict saddle property and show stochastic gradient descent converges to a local minimum under this assumption. This leads to new online algorithm for orthogonal tensor decomposition. We hope this is a first step towards understanding stochastic gradient for more classes of non-convex functions. We believe strict saddle property can be extended to handle more functions, especially those functions that have similar symmetry properties.

References

Appendix A Detailed Analysis for Section 3 in Unconstrained Case

In this section we give detailed analysis for noisy gradient descent, under the assumption that the unconstrained problem satisfies (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle property.

The algorithm we investigate in Algorithm 1, we can combine the randomness in the stochastic gradient oracle and the artificial noise, and rewrite the update equation in form:

where η\eta is step size, ξ=SG(wt−1)−∇f(wt−1)+n\xi=SG(w_{t-1})-\nabla f(w_{t-1})+n (recall nn is a random vector on unit sphere) is the combination of two source of noise.

We first restate the main theorem in the context of stochastic gradient descent.

As we discussed in the proof sketch in Section 3, we analyze the behavior of the algorithm in three different cases. The first case is when the gradient is large.

Under the assumptions of Theorem 13, for any point with ∥∇f(w0)∥≥2ησ2βd\|\nabla f(w_{0})\|\geq\sqrt{2\eta\sigma^{2}\beta d} where 2ησ2βd<ϵ\sqrt{2\eta\sigma^{2}\beta d}<\epsilon, after one iteration we have:

Choose ηmax⁡<1β\eta_{\max}<\frac{1}{\beta}, then by update equation Eq.(15), we have:

where w⋆w^{\star} is the locally optimal point.

We shall construct a supermartingale and use Azuma’s inequality (Azuma,, 1967) to prove this result.

By Definition 5 of (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle, we know ff is locally α\alpha-strongly convex in the 2δ2\delta-neighborhood of w⋆w^{\star}. Since ∇f(w⋆)=0\nabla f(w^{\star})=0, we have

Furthermore, with ηmax⁡<αβ2\eta_{\max}<\frac{\alpha}{\beta^{2}}, using β\beta-smoothness, we have:

Then, let Gt=(1−ηα)−t(∥wt−w⋆∥2−ηα)G_{t}=(1-\eta\alpha)^{-t}(\|w_{t}-w^{\star}\|^{2}-\frac{\eta}{\alpha}), we have:

which means Gt1Et−1G_{t}1_{\mathfrak{E}_{t-1}} is a supermartingale.

Under the assumptions of Theorem 13, for any initial point w0w_{0} where ∥∇f(w0)∥≤2ησ2βd<ϵ\|\nabla f(w_{0})\|\leq\sqrt{2\eta\sigma^{2}\beta d}<\epsilon, and λmin⁡(H(w0))≤−γ\lambda_{\min}(\mathcal{H}(w_{0}))\leq-\gamma, then there is a number of steps TT that depends on w0w_{0} such that:

The number of steps TT has a fixed upper bound TmaxT_{max} that is independent of w0w_{0} where T≤Tmax=O((log⁡d)/γη)T\leq T_{max}=O((\log d)/\gamma\eta).

As we described in the proof sketch, the main idea is to consider a coupled update sequence that correspond to the local second-order approximation of f(x)f(x) around w0w_{0}. We characterize this sequence of update in the next lemma.

Substitute the update equation of SGD in Eq.(37), we have:

we can choose ηmax⁡<min⁡{(2−1)/L,2d/γ}\eta_{\max}<\min\{(\sqrt{2}-1)/L,2d/\gamma\} so that

then by summing over dimension dd and taking union bound over all t≤Tt\leq T, we directly have:

Combine this fact with Eq.(A) and Eq.(A), we finish the proof.

Next we need to prove that the two sequences of updates are always close.

First, we have update function of gradient by:

Denote H=H(w0)\mathcal{H}=\mathcal{H}(w_{0}), and Ht−1′=H(wt−1)−H(w0)\mathcal{H}^{\prime}_{t-1}=\mathcal{H}(w_{t-1})-\mathcal{H}(w_{0}). By Hessian smoothness, we immediately have:

Substitute the update equation of SGD (Eq.(15)) into Eq.(45), we have:

We first need to carefully bounded all terms in Eq.(50), conditioned on event Kt−1∩Et−1\mathfrak{K}_{t-1}\cap\mathfrak{E}_{t-1}, by Eq.(47), Eq.(48)), and Eq.(51), with probability 1, for all t≤T≤O(log⁡d/γ0η)t\leq T\leq O(\log d/\gamma_{0}\eta), we have:

Since event Kt−1⊂Ft−1,Et−1⊂Ft−1\mathfrak{K}_{t-1}\subset\mathfrak{F}_{t-1},\mathfrak{E}_{t-1}\subset\mathfrak{F}_{t-1} thus independent of ξt−1\xi_{t-1}, we also have:

Then, when ηmax⁡\eta_{\max} is small enough, we have:

Once conditional on filtration Ft−1\mathfrak{F}_{t-1}, the first two terms are deterministic, and only the third and fourth term are random. Therefore, we know, with probability 1:

Where the main contribution comes from the product of the first term and third term. Then, with probability 1, we have:

Therefore, combined with Lemma 17, we have:

Using the two lemmas above we are ready to prove Lemma 16

Let λ1,⋯ ,λd\lambda_{1},\cdots,\lambda_{d} be the eigenvalues of H\mathcal{H}. By the result of lemma 17 and simple linear algebra, we have:

The last inequality is directly implied by the choice of TT as in Eq.(35). Also, by Eq.(35), we also immediately have that T=O(log⁡d/γ0η)≤O(log⁡d/γη)T=O(\log d/\gamma_{0}\eta)\leq O(\log d/\gamma\eta). Therefore, by choose Tmax=O(log⁡d/γη)T_{max}=O(\log d/\gamma\eta) with large enough constant, we have T≤Tmax=O(log⁡d/γη)T\leq T_{max}=O(\log d/\gamma\eta).

For bounding the second term, by definition of Et\mathfrak{E}_{t}, we have:

Finally, substitute Eq.(68), Eq.(69) and Eq.(A) into Eq.(A), we finish the proof. ∎

Finally, we combine three cases to prove the main theorem.

Define stochastic process {τi}\{\tau_{i}\} s.t. τ0=0\tau_{0}=0, and

Therefore, combine above equation, we have:

Define event Ei={∃j≤i, wτj∈L3}\mathfrak{E}_{i}=\{\exists j\leq i,~{}w_{\tau_{j}}\in\mathcal{L}_{3}\}, clearly Ei⊂Ei+1\mathfrak{E}_{i}\subset\mathfrak{E}_{i+1}, thus P(Ei)≤P(Ei+1)P(\mathfrak{E}_{i})\leq P(\mathfrak{E}_{i+1}). Finally, consider f(wτi+1)1Eif(w_{\tau_{i+1}})1_{\mathfrak{E}_{i}}, we have:

Therefore, by summing up over ii, we have:

Appendix B Detailed Analysis for Section 3 in Constrained Case

So far, we have been discussed all about unconstrained problem. In this section we extend our result to equality constraint problems under some mild conditions.

Consider the equality constrained optimization problem:

Define the feasible set as the set of points that satisfy all the constraints W={w ∣ ci(w)=0; i=1,⋯ ,m}\mathcal{W}=\{w~{}|~{}c_{i}(w)=0;~{}i=1,\cdots,m\}.

In this case, the algorithm we are running is Projected Noisy Gradient Descent. Let function ΠW(v)\Pi_{\mathcal{W}}(v) to be the projection to the feasible set, where the projection is defined as the global solution of min⁡w∈W∥v−w∥2\min_{w\in\mathcal{W}}\|v-w\|^{2}.

With same argument as in the unconstrained case, we could slightly simplify and convert it to standard projected stochastic gradient descent (PSGD) with update equation:

Often for constrained optimization problems we want the constraints to satisfy some regularity conditions. LICQ (linear independent constraint quantification) is a common assumption in this context.

In equality-constraint problem Eq.(77), given a point ww, we say that the linear independence constraint qualification (LICQ) holds if the set of constraint gradients {∇ci(x),i=1,⋯ ,m}\{\nabla c_{i}(x),i=1,\cdots,m\} is linearly independent.

In constrained optimization, we can locally transform it to an unconstrained problem by introducing Lagrangian multipliers. The Langrangian L\mathcal{L} can be written as

Then, if LICQ holds for all w∈Ww\in\mathcal{W}, we can properly define function λ∗(⋅)\lambda^{*}(\cdot) to be:

where λ∗(⋅)\lambda^{*}(\cdot) can be calculated analytically: let matrix C(w)=(∇c1(w),⋯ ,∇cm(w))C(w)=(\nabla c_{1}(w),\cdots,\nabla c_{m}(w)), then we have:

where (⋅)†(\cdot)^{\dagger} is Moore-Penrose pseudo-inverse.

In our setting we need a stronger regularity condition which we call robust LICQ (RLICQ).

In equality-constraint problem Eq.(77), given a point ww, we say that αc\alpha_{c}-robust linear independence constraint qualification ( αc\alpha_{c}-RLICQ ) holds if the minimum singular value of matrix C(w)=(∇c1(w),⋯ ,∇cm(w))C(w)=(\nabla c_{1}(w),\cdots,\nabla c_{m}(w)) is greater or equal to αc\alpha_{c}, that is σmin⁡(C(w))≥αc\sigma_{\min}(C(w))\geq\alpha_{c}.

Given a point w∈Ww\in\mathcal{W}, αc\alpha_{c}-RLICQ implies LICQ. While LICQ holds for all w∈Ww\in\mathcal{W} is a necessary condition for λ∗(w)\lambda^{*}(w) to be well-defined; it’s easy to check that αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W} is a necessary condition for λ∗(w)\lambda^{*}(w) to be bounded. Later, we will also see αc\alpha_{c}-RLICQ combined with the smoothness of {ci(w)}i=1m\{c_{i}(w)\}_{i=1}^{m} guarantee the curvature of constraint manifold to be bounded everywhere.

Note that we require this condition in order to provide a quantitative bound, without this assumption there can be cases that are exponentially close to a function that does not satisfy LICQ.

We can also write down the first-order and second-order partial derivative of Lagrangian L\mathcal{L} at point (w,λ∗(w))(w,\lambda^{*}(w)):

Given a feasible point w∈Ww\in\mathcal{W}, define its corresponding Tangent Space to be T(w)={v ∣ ∇ci(w)Tv=0; i=1,⋯ ,m}\mathcal{T}(w)=\{v~{}|~{}\nabla c_{i}(w)^{T}v=0;~{}i=1,\cdots,m\}, and Normal Space to be Tc(w)=span{∇c1(w)⋯ ,∇cm(w)}\mathcal{T}^{c}(w)=\text{span}\{\nabla c_{1}(w)\cdots,\nabla c_{m}(w)\}

If w∈Rdw\in\mathcal{R}^{d}, and we have mm constraint satisfying αc\alpha_{c}-RLICQ , the tangent space would be a linear subspace with dimension d−md-m; and the normal space would be a linear subspace with dimension mm. We also know immediately that χ(w)\chi(w) defined in Eq.(83) has another interpretation: it’s the component of gradient ∇f(w)\nabla f(w) in tangent space.

Also, it’s easy to see the normal space Tc(w)\mathcal{T}^{c}(w) is the orthogonal complement of T\mathcal{T}. We can also define the projection matrix of any vector onto tangent space (or normal space) to be PT(w)P_{\mathcal{T}(w)} (or PTc(w)P_{\mathcal{T}^{c}(w)}). Then, clearly, both PT(w)P_{\mathcal{T}(w)} and PTc(w)P_{\mathcal{T}^{c}(w)} are orthoprojector, thus symmetric. Also by Pythagorean theorem, we have:

Let w,w0∈Ww,w_{0}\in\mathcal{W}, and fix λ∗=λ∗(w0)\lambda^{*}=\lambda^{*}(w_{0}) independent of ww, assume ∇ww2L(w,λ∗)\nabla^{2}_{ww}\mathcal{L}(w,\lambda^{*}) is ρL\rho_{L}-Lipschitz, that is ∥∇ww2L(w1,λ∗)−∇ww2L(w2,λ∗)∥≤ρL∥w1−w2∥\|\nabla^{2}_{ww}\mathcal{L}(w_{1},\lambda^{*})-\nabla^{2}_{ww}\mathcal{L}(w_{2},\lambda^{*})\|\leq\rho_{L}\|w_{1}-w_{2}\| By Taylor expansion, we have:

Since w,w0w,w_{0} are feasible, we know: L(w,λ∗)=f(w)\mathcal{L}(w,\lambda^{*})=f(w) and L(w0,λ∗)=f(w0)\mathcal{L}(w_{0},\lambda^{*})=f(w_{0}), this gives:

Derivative of χ​(w)𝜒𝑤\chi(w)

By taking derative of χ(w)\chi(w) again, we know the change of this tangent gradient can be characterized by:

We immediately know that ∇χ(w)=M(w)+N(w)\nabla\chi(w)=\mathfrak{M}(w)+\mathfrak{N}(w).

Finally, for completeness, we state here the first/second-order necessary (or sufficient) conditions for optimality. Please refer to Wright and Nocedal, (1999) for the proof of those theorems.

In equality constraint problem Eq.(77), suppose that w†w^{\dagger} is a local solution, and that the functions ff and cic_{i} are continuously differentiable, and that the LICQ holds at w†w^{\dagger}. Then there is a Lagrange multiplier vector λ†\lambda^{\dagger}, such that:

These conditions are also usually referred as Karush-Kuhn-Tucker (KKT) conditions.

In equality constraint problem Eq.(77), suppose that w†w^{\dagger} is a local solution, and that the LICQ holds at w†w^{\dagger}. Let λ†\lambda^{\dagger} Lagrange multiplier vector for which the KKT conditions are satisfied. Then:

Then w†w^{\dagger} is a strict local solution.

By definition Eq.(82), we know immediately λ∗(w†)\lambda^{*}(w^{\dagger}) is one of valid Lagrange multipliers λ†\lambda^{\dagger} for which the KKT conditions are satisfied. This means χ(w†)=∇wL(w†,λ†)\chi(w^{\dagger})=\nabla_{w}\mathcal{L}(w^{\dagger},\lambda^{\dagger}) and M(w†)=L(w†,λ†)\mathfrak{M}(w^{\dagger})=\mathcal{L}(w^{\dagger},\lambda^{\dagger}).

Therefore, Theorem 22, 23, 24 gives strong implication that χ(w)\chi(w) and M(w)\mathfrak{M}(w) are the right thing to look at, which are in some sense equivalent to ∇f(w)\nabla f(w) and ∇2f(w)\nabla^{2}f(w) in unconstrained case.

B.2 Geometrical Lemmas Regarding Constraint Manifold

Since in equality constraint problem, at each step of PSGD, we are effectively considering the local manifold around feasible point wt−1w_{t-1}. In this section, we provide some technical lemmas relating to the geometry of constraint manifold in preparsion for the proof of main theorem in equality constraint case.

We first show if two points are close, then the projection in the normal space is much smaller than the projection in the tangent space.

Suppose the constraints {ci}i=1m\{c_{i}\}_{i=1}^{m} are βi\beta_{i}-smooth, and αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W}. Then, let ∑i=1mβi2αc2=1R2\sum_{i=1}^{m}\frac{\beta_{i}^{2}}{\alpha^{2}_{c}}=\frac{1}{R^{2}}, for any w,w0∈Ww,w_{0}\in\mathcal{W}, let T0=T(w0)\mathcal{T}_{0}=\mathcal{T}(w_{0}), then

Furthermore, if ∥w−w0∥<R\|w-w_{0}\|<R holds, we additionally have:

First, since for any vector v^∈T0\hat{v}\in\mathcal{T}_{0}, we have ∥C(w0)Tv^∥=0\|C(w_{0})^{T}\hat{v}\|=0, then by simple linear algebra, it’s easy to show:

On the other hand, by βi\beta_{i}-smooth, we have:

Since w,w0w,w_{0} are feasible points, we have ci(w)=ci(w0)=0c_{i}(w)=c_{i}(w_{0})=0, which gives:

Combining Eq.(B.2) and Eq.(98), and the definition of RR, we have:

Solving this second-order inequality gives two solution

By assumption, we know ∥w−w0∥<R\|w-w_{0}\|<R (so the second case cannot be true), which finishes the proof. ∎

Here, we see the ∑i=1mβi2αc2=1R\sqrt{\sum_{i=1}^{m}\frac{\beta_{i}^{2}}{\alpha^{2}_{c}}}=\frac{1}{R} serves as a upper bound of the curvatures on the constraint manifold, and equivalently, RR serves as a lower bound of the radius of curvature. αc\alpha_{c}-RLICQ and smoothness guarantee that the curvature is bounded.

Next we show the normal/tangent space of nearby points are close.

Suppose the constraints {ci}i=1m\{c_{i}\}_{i=1}^{m} are βi\beta_{i}-smooth, and αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W}. Let ∑i=1mβi2αc2=1R2\sum_{i=1}^{m}\frac{\beta_{i}^{2}}{\alpha^{2}_{c}}=\frac{1}{R^{2}}, for any w,w0∈Ww,w_{0}\in\mathcal{W}, let T0=T(w0)\mathcal{T}_{0}=\mathcal{T}(w_{0}). Then for all v^∈T(w)\hat{v}\in\mathcal{T}(w) so that ∥v^∥=1\|\hat{v}\|=1, we have

With similar calculation as Eq.(B.2), we immediately have:

Since v^∈T(w)\hat{v}\in\mathcal{T}(w) , we have C(w)Tv^=0C(w)^{T}\hat{v}=0, combined with the fact that v^\hat{v} is a unit vector, we have:

Combining Eq.(102) and Eq.(103), and the definition of RR, we concludes the proof. ∎

Suppose the constraints {ci}i=1m\{c_{i}\}_{i=1}^{m} are βi\beta_{i}-smooth, and αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W}. Let ∑i=1mβi2αc2=1R2\sum_{i=1}^{m}\frac{\beta_{i}^{2}}{\alpha^{2}_{c}}=\frac{1}{R^{2}}, for any w,w0∈Ww,w_{0}\in\mathcal{W}, let T0=T(w0)\mathcal{T}_{0}=\mathcal{T}(w_{0}). Then for all v^∈Tc(w)\hat{v}\in\mathcal{T}^{c}(w) so that ∥v^∥=1\|\hat{v}\|=1, we have

On the other hand, let λ=(λ1,⋯ ,λm)T\lambda=(\lambda_{1},\cdots,\lambda_{m})^{T}, we know C(w)λ=v^C(w)\lambda=\hat{v}, thus:

Therefore, by αc\alpha_{c}-RLICQ and the fact v^\hat{v} is unit vector, we know: ∥λ∥≤1αc\|\lambda\|\leq\frac{1}{\alpha_{c}}. Combined with Eq.(B.2), we finished the proof. ∎

Using the previous lemmas, we can then prove that: starting from any point w0w_{0} on constraint manifold, the result of adding any small vector vv and then projected back to feasible set, is not very different from the result of adding PT(w0)vP_{\mathcal{T}(w_{0})}v.

Where projection ΠW(w)\Pi_{\mathcal{W}}(w) is defined as the closet point to ww on feasible set W\mathcal{W}.

Denote u1=ΠW(w1)u_{1}=\Pi_{\mathcal{W}}(w_{1}), and clearly u1∈Wu_{1}\in\mathcal{W}. we can formulate u1u_{1} as the solution to following constrained optimization problems:

Since function f(u)=∥w1−u∥2f(u)=\|w_{1}-u\|^{2} and ci(u)c_{i}(u) are continuously differentiable by assumption, and the condition αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W} implies that LICQ holds for u1u_{1}. Therefore, by Karush-Kuhn-Tucker necessary conditions, we immediately know (w1−u1)∈Tc(u1)(w_{1}-u_{1})\in\mathcal{T}^{c}(u_{1}).

Let v1=w0+PT0(u1−w0)v_{1}=w_{0}+P_{\mathcal{T}_{0}}(u_{1}-w_{0}), we have:

Combining Eq.(B.2) and Eq.(111), we finished the proof.

B.3 Main Theorem

Now we are ready to prove the main theorems. First we revise the definition of strict saddle in the constrained case.

A twice differentiable function f(w)f(w) with constraints ci(w)c_{i}(w) is (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle, if for any point ww one of the following is true

v^TM(w)v^≤−γ\hat{v}^{T}\mathfrak{M}(w)\hat{v}\leq-\gamma for some v^∈T(w)\hat{v}\in\mathcal{T}(w), ∥v^∥=1\|\hat{v}\|=1

There is a local minimum w⋆w^{\star} such that ∥w−w⋆∥≤δ\|w-w^{\star}\|\leq\delta, and for all w′w^{\prime} in the 2δ2\delta neighborhood of w⋆w^{\star}, we have v^TM(w′)v^≥α\hat{v}^{T}\mathfrak{M}(w^{\prime})\hat{v}\geq\alpha for all v^∈T(w′)\hat{v}\in\mathcal{T}(w^{\prime}), ∥v^∥=1\|\hat{v}\|=1

Next, we prove a equivalent formulation for PSGD.

Suppose the constraints {ci}i=1m\{c_{i}\}_{i=1}^{m} are βi\beta_{i}-smooth, and αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W}. Furthermore, if function ff is LL-Lipschitz, and the noise ξ\xi is bounded, then running PSGD as in Eq.(78) is equivalent to running:

Lemma 30 is a direct corollary of Lemma 28. ∎

The intuition behind this lemma is that: when {ci}i=1m\{c_{i}\}_{i=1}^{m} are smooth and αc\alpha_{c}-RLICQ holds for all w∈Ww\in\mathcal{W}, then the constraint manifold has bounded curvature every where. Then, if we only care about first order behavior, it’s well-approximated by the local dynamic in tangent plane, up to some second-order correction.

Therefore, by Eq.(112), we see locally it’s not much different from the unconstrainted case Eq.(15) up to some negeligable correction. In the following analysis, we will always use formula Eq.(112) as the update equation for PSGD.

Since most of following proof bears a lot similarity as in unconstrained case, we only pointed out the essential steps in our following proof.

First, we proof the assumptions in main theorem implies the smoothness conditions for M(w)\mathfrak{M}(w), N(w)\mathfrak{N}(w) and ∇ww2L(w,λ∗(w′))\nabla^{2}_{ww}\mathcal{L}(w,\lambda^{*}(w^{\prime})).

Under the assumptions of Theorem 31, there exists βM,βN,ρM,ρN,ρL\beta_{M},\beta_{N},\rho_{M},\rho_{N},\rho_{L} polynomial related to B,L,β,ρ,1αcB,L,\beta,\rho,\frac{1}{\alpha_{c}} and {Li,βi,ρi}i=1m\{L_{i},\beta_{i},\rho_{i}\}_{i=1}^{m} so that:

∥M(w)∥≤βM\|\mathfrak{M}(w)\|\leq\beta_{M} and ∥N(w)∥≤βN\|\mathfrak{N}(w)\|\leq\beta_{N} for all w∈Ww\in\mathcal{W}.

M(w)\mathfrak{M}(w) is ρM\rho_{M}-Lipschitz, and N(w)\mathfrak{N}(w) is ρN\rho_{N}-Lipschitz, and ∇ww2L(w,λ∗(w′))\nabla^{2}_{ww}\mathcal{L}(w,\lambda^{*}(w^{\prime})) is ρL\rho_{L}-Lipschitz for all w′∈Ww^{\prime}\in\mathcal{W}.

Since αc\alpha_{c}-RLICQ holds for all feasible points, we immediately have: ∥C(w)†∥≤1αc\|C(w)^{\dagger}\|\leq\frac{1}{\alpha_{c}}, thus bounded. For simplicity, in the following context we use C†C^{\dagger} to represent C†(w)C^{\dagger}(w) without ambiguity. By some calculation of linear algebra, we have the derivative of pseudo-inverse:

Define the transpose of a 3rd order tensor Ei,j,kT=Ek,j,iE^{T}_{i,j,k}=E_{k,j,i}, then we have

where by calculation [E(w)](I,I,ei)=∇2ci(w)[E(w)](I,I,e_{i})=\nabla^{2}c_{i}(w).

From now on, we can use the same proof strategy as unconstraint case. Below we list the corresponding lemmas and the essential steps that require modifications.

Under the assumptions of Theorem 31, with notations in Lemma 32, for any point with ∥χ(w0)∥≥2ησ2βM(d−m)\|\chi(w_{0})\|\geq\sqrt{2\eta\sigma^{2}\beta_{M}(d-m)} where 2ησ2βM(d−m)<ϵ\sqrt{2\eta\sigma^{2}\beta_{M}(d-m)}<\epsilon, after one iteration we have:

Choose ηmax⁡<1βM\eta_{\max}<\frac{1}{\beta_{M}}, and also small enough, then by update equation Eq.(112), we have:

where w⋆w^{\star} is the locally optimal point.

Let filtration Ft=σ{ξ0,⋯ξt−1}\mathfrak{F}_{t}=\sigma\{\xi_{0},\cdots\xi_{t-1}\}, and note σ{Δ0,⋯ ,Δt}⊂Ft\sigma\{\Delta_{0},\cdots,\Delta_{t}\}\subset\mathfrak{F}_{t}, where σ{⋅}\sigma\{\cdot\} denotes the sigma field. Let event Et={∀τ≤t,∥wτ−w⋆∥≤μηlog⁡1ηζ<δ}\mathfrak{E}_{t}=\{\forall\tau\leq t,\|w_{\tau}-w^{\star}\|\leq\mu\sqrt{\eta\log\frac{1}{\eta\zeta}}<\delta\}, where μ\mu is independent of (η,ζ)(\eta,\zeta), and will be specified later.

By Definition 29 of (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle, we know M(w)\mathfrak{M}(w) is locally α\alpha-strongly convex restricted to its tangent space T(w)\mathcal{T}(w). in the 2δ2\delta-neighborhood of w⋆w^{\star}. If ηmax⁡\eta_{\max} is chosen small enough, by Remark Remark and Lemma 25, we have in addition:

Then, everything else follows almost the same as the proof of Lemma 15. ∎

The number of steps TT has a fixed upper bound TmaxT_{max} that is independent of w0w_{0} where T≤Tmax=O((log⁡(d−m))/γη)T\leq T_{max}=O((\log(d-m))/\gamma\eta).

Similar to the unconstrained case, we show this by a coupling sequence. Here the sequence we construct will only walk on the tangent space, by Lemmas in previous subsection, we know this is not very far from the actual sequence. We first define and characterize the coupled sequence in the following lemma:

This lemma is then proved by a direct application of Lemma 17. ∎

Then we show the sequence constructed is very close to the actual sequence.

First, we have update function of tangent gradient by:

Project it to tangent space T0=T(w0)\mathcal{T}_{0}=\mathcal{T}(w_{0}). Denote M~=PT0TM(w0)PT0\widetilde{\mathfrak{M}}=P_{\mathcal{T}_{0}}^{T}\mathfrak{M}(w_{0})P_{\mathcal{T}_{0}}, and M~t−1′=PT0T[ M(wt1)−M(w0) ]PT0\widetilde{\mathfrak{M}}^{\prime}_{t-1}=P_{\mathcal{T}_{0}}^{T}[~{}\mathfrak{M}(w_{t_{1}})-\mathfrak{M}(w_{0})~{}]P_{\mathcal{T}_{0}}. Then, we have:

By Hessian smoothness, we immediately have:

Substitute the update equation of PSGD (Eq.(112)) into Eq.(133), we have:

By Lemma 25, we know if ∑i=1mβi2αc2=1R2\sum_{i=1}^{m}\frac{\beta_{i}^{2}}{\alpha_{c}^{2}}=\frac{1}{R^{2}}, then we have:

Therefore, abstractly, conditioned on event Kt−1∩Et−1\mathfrak{K}_{t-1}\cap\mathfrak{E}_{t-1}, we could write down the recursive equation as:

On the other hand, for Γt=η∑τ=0t−1PT0⋅PTc(wτ)ξτ\Gamma_{t}=\eta\sum_{\tau=0}^{t-1}P_{\mathcal{T}_{0}}\cdot P_{\mathcal{T}^{c}(w_{\tau})}\xi_{\tau}, we have:

We also know by Lemma 27, with probability 1:

Therefore, combined with Lemma 36, we have:

Finally, conditioned on event Kt−1∩Et−1\mathfrak{K}_{t-1}\cap\mathfrak{E}_{t-1}, if we have ∥Γt∥≤μ2ηlog⁡21η\|\Gamma_{t}\|\leq\mu_{2}\eta\log^{2}\frac{1}{\eta}, then by Eq.(139):

These two lemmas allow us to prove the result when the initial point is very close to a saddle point.

Combine Talyor expansion Eq.87 with Lemma 36, Lemma 37, we prove this Lemma by the same argument as in the proof of Lemma 16. ∎

By Lemma 33, Lemma 35, and Lemma 34, with the same argument as in the proof Theorem 13, we easily concludes this proof. ∎

Appendix C Detailed Proofs for Section 4

In this section we show two optimization problems (11) and (13) satisfy the (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle propery.

Recall that we are trying to solve the optimization (11), which we restate here.

This is a constrained optimization, so we apply the framework developed in Section 3.3.

Let c(x)=∥x∥22−1c(x)=\|x\|_{2}^{2}-1. We first compute the Lagrangian

Since there is only one constraint, and the gradient when ∥x∥=1\|x\|=1 always have norm 22, we know the set of constraints satisfy 22-RLICQ. In particular, we can compute the correct value of Lagrangian multiplier λ\lambda,

Therefore, the gradient in the tangent space is equal to

The second-order partial derivative of Lagrangian is equal to

Since the variable xx has bounded norm, and the function is a polynomial, it’s clear that the function itself is bounded and all its derivatives are bounded. Moreover, all the derivatives of the constraint are bounded. We summarize this in the following lemma.

The objective function (11) is bounded by 11, its pp-th order derivative is bounded by O(d)O(\sqrt{d}) for p=1,2,3p=1,2,3. The constraint’s pp-th order derivative is bounded by 22, for p=1,2,3p=1,2,3.

Therefore the function satisfy all the smoothness condition we need. Finally we show the gradient and Hessian of Lagrangian satisfy the (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle property. Note that we did not try to optimize the dependency with respect to dd.

The only local minima of optimization problem (11) are ±ai (i∈[d])\pm a_{i}~{}(i\in[d]). Further it satisfy (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle for γ=7/d\gamma=7/d, α=3\alpha=3 and ϵ,δ=1/\mboxpoly(d)\epsilon,\delta=1/\mbox{poly}(d).

In order to prove this theorem, we consider the transformed version Eq.155. We first need following two lemma for points around saddle point and local minimum respectively. We choose

Where by intuition, S(x)\mathfrak{S}(x) is the set of coordinates whose value is relative large.

Under the choice of parameters in Eq.(160), suppose ∥χ(x)∥≤ϵ\|\chi(x)\|\leq\epsilon, and ∣S(x)∣≥2|\mathfrak{S}(x)|\geq 2. Then, there exists v^∈T(x)\hat{v}\in\mathcal{T}(x) and ∥v^∥=1\|\hat{v}\|=1, so that v^TM(x)v^≤−7/d\hat{v}^{T}\mathfrak{M}(x)\hat{v}\leq-7/d.

Suppose ∣S(x)∣=p|\mathfrak{S}(x)|=p, and 2≤p≤d2\leq p\leq d. Since ∥χ(x)∥≤ϵ=4ϵ02\|\chi(x)\|\leq\epsilon=4\epsilon_{0}^{2}, by Eq.(C.1), we have for each i∈[d]i\in[d], ∣[χ(x)]i∣=4∣(xi2−∥x∥44)xi∣≤4ϵ02|[\chi(x)]_{i}|=4|(x_{i}^{2}-\|x\|_{4}^{4})x_{i}|\leq 4\epsilon_{0}^{2}. Therefore, we have:

Because of symmetry, WLOG we assume S(x)={1,⋯ ,p}\mathfrak{S}(x)=\{1,\cdots,p\}. Since ∣S(x)∣≥2|\mathfrak{S}(x)|\geq 2, we can pick v^=(a,b,0,⋯ ,0)\hat{v}=(a,b,0,\cdots,0). Here a>0,b<0a>0,b<0, and a2+b2=1a^{2}+b^{2}=1. We pick aa such that ax1+bx2=0ax_{1}+bx_{2}=0. The solution is the intersection of a radius 11 circle and a line which passes (0,0)(0,0), which always exists. For this v^\hat{v}, we know ∥v^∥=1\|\hat{v}\|=1, and v^Tx=0\hat{v}^{T}x=0 thus v^∈T(x)\hat{v}\in\mathcal{T}(x). We have:

Under the choice of parameters in Eq.(160), suppose ∥χ(x)∥≤ϵ\|\chi(x)\|\leq\epsilon, and ∣S(x)∣=1|\mathfrak{S}(x)|=1. Then, there is a local minimum x⋆x^{\star} such that ∥x−x⋆∥≤δ\|x-x^{\star}\|\leq\delta, and for all x′x^{\prime} in the 2δ2\delta neighborhood of x⋆x^{\star}, we have v^TM(x′)v^≥3\hat{v}^{T}\mathfrak{M}(x^{\prime})\hat{v}\geq 3 for all v^∈T(x′)\hat{v}\in\mathcal{T}(x^{\prime}), ∥v^∥=1\|\hat{v}\|=1

WLOG, we assume S(x)={1}\mathfrak{S}(x)=\{1\}. Then, we immediately have for all i>1i>1, ∣xi∣≤ϵ0|x_{i}|\leq\epsilon_{0}, and thus:

Therefore x1≥1−dϵ02x_{1}\geq\sqrt{1-d\epsilon_{0}^{2}} or x1≤−1−dϵ02x_{1}\leq-\sqrt{1-d\epsilon_{0}^{2}}. Which means x1x_{1} is either close to 11 or close to −1-1. By symmetry, we know WLOG, we can assume the case x1≥1−dϵ02x_{1}\geq\sqrt{1-d\epsilon_{0}^{2}}. Let e1=(1,0,⋯ ,0)e_{1}=(1,0,\cdots,0), then we know:

Next, we show e1e_{1} is a local minimum. According to Eq.C.1, we know M(e1)\mathfrak{M}(e_{1}) is a diagonal matrix with 44 on the diagonals except for the first diagonal entry (which is equal to −8-8), since T(e1)=span{e2,⋯ ,ed}\mathcal{T}(e_{1})=\text{span}\{e_{2},\cdots,e_{d}\}, we have:

Which by Theorem 24 means e1e_{1} is a local minimum.

Finally, denote T1=T(e1)\mathcal{T}_{1}=\mathcal{T}(e_{1}) be the tangent space of constraint manifold at e1e_{1}. We know for all x′x^{\prime} in the 2δ2\delta neighborhood of e1e_{1}, and for all v^∈T(x′)\hat{v}\in\mathcal{T}(x^{\prime}), ∥v^∥=1\|\hat{v}\|=1:

By lemma 26, we know ∥PT1cv^∥2≤∥x′−e1∥2≤4δ2\|P_{\mathcal{T}^{c}_{1}}\hat{v}\|^{2}\leq\|x^{\prime}-e_{1}\|^{2}\leq 4\delta^{2}. By Eq.(C.1), we have:

In conclusion, we have v^TM(x′)v^≥4−48δ2−64dδ≥3\hat{v}^{T}\mathfrak{M}(x^{\prime})\hat{v}\geq 4-48\delta^{2}-64d\delta\geq 3 which finishs the proof. ∎

Finally, we are ready to prove Theorem 39.

According to Lemma 40 and Lemma 41, we immediately know the optimization problem satisfies (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle.

The only thing remains to show is that the only local minima of optimization problem (11) are ±ai (i∈[d])\pm a_{i}~{}(i\in[d]). Which is equivalent to show that the only local minima of the transformed problem is ±ei (i∈[d])\pm e_{i}~{}(i\in[d]), where ei=(0,⋯ ,0,1,0,⋯ ,0)e_{i}=(0,\cdots,0,1,0,\cdots,0), where 11 is on ii-th coordinate.

By investigating the proof of Lemma 40 and Lemma 41, we know these two lemmas actually hold for any small enough choice of ϵ0\epsilon_{0} satisfying ϵ0≤(10d)−4\epsilon_{0}\leq(10d)^{-4}, by pushing ϵ0→0\epsilon_{0}\rightarrow 0, we know for any point satisfying ∣χ(x)∣≤ϵ→0|\chi(x)|\leq\epsilon\rightarrow 0, if it is close to some local minimum, it must satisfy 1=∣S(x)∣→supp⁡(x)1=|\mathfrak{S}(x)|\rightarrow\operatorname{supp}(x). Therefore, we know the only possible local minima are ±ei (i∈[d])\pm e_{i}~{}(i\in[d]). In Lemma 41, we proved e1e_{1} is local minimum, by symmetry, we finishes the proof. ∎

C.2 New formulation

In this section we consider our new formulation (13). We first restate the optimization problem here:

Note that we changed the notation for the variables from uiu_{i} to u(i)u^{(i)}, because in later proofs we will often refer to the particular coordinates of these vectors.

Similar to the previous section, we perform a change of basis. The effect is equivalent to making aia_{i}’s equal to basis vectors eie_{i} (and hence the tensor is equal to T=∑i=1dei⊗4T=\sum_{i=1}^{d}e_{i}^{\otimes 4}. After the transformation the equations become

Here h(u(i),u(j))=∑k=1d(uk(i)uk(j))2h(u^{(i)},u^{(j)})=\sum_{k=1}^{d}(u^{(i)}_{k}u^{(j)}_{k})^{2}, (i,j)∈[d]2(i,j)\in[d]^{2}. We divided the objective function by 22 to simplify the calculation.

The gradients of ci(U)c_{i}(U)’s are equal to (0,⋯ ,0,2u(i),0,⋯ ,0)T(0,\cdots,0,2u^{(i)},0,\cdots,0)^{T}, all of these vectors are orthogonal to each other (because they have disjoint supports) and have norm 22. Therefore the set of constraints satisfy 22-RLICQ. We can then compute the Lagrangian multipiers λ∗\lambda^{*} as follows

Therefore, gradient in the tangent space is equal to

The gradient is a d2d^{2} dimensional vector (which can be viewed as a d×dd\times d matrix corresponding to entries of UU), and we express this in a coordinate-by-coordinate way. For simplicity of later proof, denote:

Similarly we can compute the second-order partial derivative of Lagrangian as

The Hessian is a d2×d2d^{2}\times d^{2} matrix, we index it by 44 indices in [d][d]. The entries are summarized below:

Similar to the previous case, it is easy to bound the function value and derivatives of the function and the constraints.

The objective function (13) and pp-th order derivative are all bounded by \mboxpoly(d)\mbox{poly}(d) for p=1,2,3p=1,2,3. Each constraint’s pp-th order derivative is bounded by 22, for p=1,2,3p=1,2,3.

Therefore the function satisfy all the smoothness condition we need. Finally we show the gradient and Hessian of Lagrangian satisfy the (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle property. Again we did not try to optimize the dependency with respect to dd.

Optimization problem (13) has exactly 2d⋅d!2^{d}\cdot d! local minimum that corresponds to permutation and sign flips of aia_{i}’s. Further, it satisfy (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddle for α=1\alpha=1 and γ,ϵ,δ=1/\mboxpoly(d)\gamma,\epsilon,\delta=1/\mbox{poly}(d).

Again, in order to prove this theorem, we follow the same strategy: we consider the transformed version Eq.171. and first prove the following lemmas for points around saddle point and local minimum respectively. We choose

Where by intuition, S(u)\mathfrak{S}(u) is the set of coordinates whose value is relative large.

Under the choice of parameters in Eq.(180), suppose ∥χ(U)∥≤ϵ\|\chi(U)\|\leq\epsilon, and there exists (i,j)∈[d]2(i,j)\in[d]^{2} so that S(u(i))∩S(u(j))≠∅\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)})\neq\emptyset. Then, there exists v^∈T(U)\hat{v}\in\mathcal{T}(U) and ∥v^∥=1\|\hat{v}\|=1, so that v^TM(U)v^≤−γ\hat{v}^{T}\mathfrak{M}(U)\hat{v}\leq-\gamma.

Again, since ∥χ(x)∥≤ϵ=2ϵ06\|\chi(x)\|\leq\epsilon=2\epsilon_{0}^{6}, by Eq.(177), we have for each i∈[d]i\in[d], ∣[χ(x)]ik∣=2∣Uikψik(U)∣≤2ϵ06|[\chi(x)]_{ik}|=2|U_{ik}\psi_{ik}(U)|\leq 2\epsilon_{0}^{6}. Therefore, have:

Then, we prove this lemma by dividing it into three cases. Note in order to prove that there exists v^∈T(U)\hat{v}\in\mathcal{T}(U) and ∥v^∥=1\|\hat{v}\|=1, so that v^TM(U)v^≤−γ\hat{v}^{T}\mathfrak{M}(U)\hat{v}\leq-\gamma; it suffices to find a vector v∈T(U)v\in\mathcal{T}(U) and ∥v∥≤1\|v\|\leq 1, so that vTM(U)v≤−γv^{T}\mathfrak{M}(U)v\leq-\gamma.

: ∣S(u(i))∣≥2|\mathfrak{S}(u^{(i)})|\geq 2, ∣S(u(j))∣≥2|\mathfrak{S}(u^{(j)})|\geq 2, and ∣S(u(i))∩S(u(j))∣≥2|\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)})|\geq 2.

WLOG, assume {1,2}∈S(u(i))∩S(u(j))\{1,2\}\in\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)}), choose vv to be vi1=Ui24v_{i1}=\frac{U_{i2}}{4}, vi2=−Ui14v_{i2}=-\frac{U_{i1}}{4}, vj1=Uj24v_{j1}=\frac{U_{j2}}{4} and vj2=−Uj14v_{j2}=-\frac{U_{j1}}{4}. All other entries of vv are zero. Clearly v∈T(U)v\in\mathcal{T}(U), and ∥v∥≤1\|v\|\leq 1. On the other hand, we know M(U)\mathfrak{M}(U) restricted to these 4 coordinates (i1,i2,j1,j2)(i1,i2,j1,j2) is

By Eq.(181), we know all diagonal entries are ≤2ϵ05\leq 2\epsilon_{0}^{5}.

If Ui1Uj1Ui2Uj2U_{i1}U_{j1}U_{i2}U_{j2} is negative, we have the quadratic form:

If Ui1Uj1Ui2Uj2U_{i1}U_{j1}U_{i2}U_{j2} is positive we just swap the sign of the first two coordinates vi1=−Ui22v_{i1}=-\frac{U_{i2}}{2}, vi2=Ui12v_{i2}=\frac{U_{i1}}{2} and the above argument would still holds.

Case 2

: ∣S(u(i))∣≥2|\mathfrak{S}(u^{(i)})|\geq 2, ∣S(u(j))∣≥2|\mathfrak{S}(u^{(j)})|\geq 2, and ∣S(u(i))∩S(u(j))∣=1|\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)})|=1.

WLOG, assume {1,2}∈S(u(i))\{1,2\}\in\mathfrak{S}(u^{(i)}) and {1,3}∈S(u(j))\{1,3\}\in\mathfrak{S}(u^{(j)}), choose vv to be vi1=Ui24v_{i1}=\frac{U_{i2}}{4}, vi2=−Ui14v_{i2}=-\frac{U_{i1}}{4}, vj1=Uj34v_{j1}=\frac{U_{j3}}{4} and vj3=−Uj14v_{j3}=-\frac{U_{j1}}{4}. All other entries of vv are zero. Clearly v∈T(U)v\in\mathcal{T}(U) and ∥v∥≤1\|v\|\leq 1. On the other hand, we know M(U)\mathfrak{M}(U) restricted to these 4 coordinates (i1,i2,j1,j3)(i1,i2,j1,j3) is

By Eq.(181), we know all diagonal entries are ≤2ϵ05\leq 2\epsilon_{0}^{5}. If Ui1Uj1Ui2Uj3U_{i1}U_{j1}U_{i2}U_{j3} is negative, we have the quadratic form:

If Ui1Uj1Ui2Uj3U_{i1}U_{j1}U_{i2}U_{j3} is positive we just swap the sign of the first two coordinates vi1=−Ui22v_{i1}=-\frac{U_{i2}}{2}, vi2=Ui12v_{i2}=\frac{U_{i1}}{2} and the above argument would still holds.

Case 3

: Either ∣S(u(i))∣=1|\mathfrak{S}(u^{(i)})|=1 or ∣S(u(j))∣=1|\mathfrak{S}(u^{(j)})|=1.

WLOG, suppose ∣S(u(i))∣=1|\mathfrak{S}(u^{(i)})|=1, and {1}=S(u(i))\{1\}=\mathfrak{S}(u^{(i)}), we know:

On the other hand, since S(u(i))∩S(u(j))≠∅\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)})\neq\emptyset, we have S(u(i))∩S(u(j))={1}\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)})=\{1\}, and thus:

Thus, we know, there must exist some k′∈[d]k^{\prime}\in[d], so that ψjk′(U)≤−1d+dϵ02\psi_{jk^{\prime}}(U)\leq-\frac{1}{d}+d\epsilon_{0}^{2}. This means we have “large” negative entry on the diagonal of M\mathfrak{M}. Since ∣ψj1(U)∣≤ϵ05|\psi_{j1}(U)|\leq\epsilon_{0}^{5}, we know k′≠1k^{\prime}\neq 1. WLOG, suppose k′=2k^{\prime}=2, we have ∣ψj2(U)∣>ϵ05|\psi_{j2}(U)|>\epsilon_{0}^{5}, thus ∣Uj2∣≤ϵ0|U_{j2}|\leq\epsilon_{0}.

Choose vv to be vj1=Uj22v_{j1}=\frac{U_{j2}}{2}, vj2=−Uj12v_{j2}=-\frac{U_{j1}}{2}. All other entries of vv are zero. Clearly v∈T(U)v\in\mathcal{T}(U) and ∥v∥≤1\|v\|\leq 1. On the other hand, we know M(U)\mathfrak{M}(U) restricted to these 2 coordinates (j1,j2)(j1,j2) is

We know ∣Uj1∣>ϵ0|U_{j1}|>\epsilon_{0}, ∣Uj2∣≤ϵ0|U_{j2}|\leq\epsilon_{0}, ∣ψj1(U)∣≤ϵ05|\psi_{j1}(U)|\leq\epsilon_{0}^{5}, and ψj2(U)≤−1d+dϵ02\psi_{j2}(U)\leq-\frac{1}{d}+d\epsilon_{0}^{2}. Thus:

Since by our choice of vv, we have ∥v∥≤1\|v\|\leq 1, we can choose v^=v/∥v∥\hat{v}=v/\|v\|, and immediately have v^∈T(U)\hat{v}\in\mathcal{T}(U) and ∥v^∥=1\|\hat{v}\|=1, and v^TM(U)v^≤−γ\hat{v}^{T}\mathfrak{M}(U)\hat{v}\leq-\gamma. ∎

Under the choice of parameters in Eq.(180), suppose ∥χ(U)∥≤ϵ\|\chi(U)\|\leq\epsilon, and for any (i,j)∈[d]2(i,j)\in[d]^{2} we have S(u(i))∩S(u(j))=∅\mathfrak{S}(u^{(i)})\cap\mathfrak{S}(u^{(j)})=\emptyset. Then, there is a local minimum U⋆U^{\star} such that ∥U−U⋆∥≤δ\|U-U^{\star}\|\leq\delta, and for all U′U^{\prime} in the 2δ2\delta neighborhood of U⋆U^{\star}, we have v^TM(U′)v^≥1\hat{v}^{T}\mathfrak{M}(U^{\prime})\hat{v}\geq 1 for all v^∈T(U′)\hat{v}\in\mathcal{T}(U^{\prime}), ∥v^∥=1\|\hat{v}\|=1

WLOG, we assume S(u(i))={i}\mathfrak{S}(u^{(i)})=\{i\} for i=1,⋯ ,di=1,\cdots,d. Then, we immediately have:

Then ui(i)≥1−dϵ02u^{(i)}_{i}\geq\sqrt{1-d\epsilon_{0}^{2}} or ui(i)≤−1−dϵ02u^{(i)}_{i}\leq-\sqrt{1-d\epsilon_{0}^{2}}. Which means ui(i)u^{(i)}_{i} is either close to 11 or close to −1-1. By symmetry, we know WLOG, we can assume the case ui(i)≥1−dϵ02u^{(i)}_{i}\geq\sqrt{1-d\epsilon_{0}^{2}} for all i∈[d]i\in[d].

Next, we show VV is a local minimum. According to Eq.179, we know M(V)\mathfrak{M}(V) is a diagonal matrix with d2d^{2} entries:

We know the unit vector in the direction that corresponds to [M(V)]ii,ii[\mathfrak{M}(V)]_{ii,ii} is not in the tangent space T(V)\mathcal{T}(V) for all i∈[d]i\in[d]. Therefore, for any v∈T(V)v\in\mathcal{T}(V), we have

Which by Theorem 24 means VV is a local minimum.

Finally, denote TV=T(V)\mathcal{T}_{V}=\mathcal{T}(V) be the tangent space of constraint manifold at VV. We know for all U′U^{\prime} in the 2δ2\delta neighborhood of VV, and for all v^∈T(x′)\hat{v}\in\mathcal{T}(x^{\prime}), ∥v^∥=1\|\hat{v}\|=1:

By lemma 26, we know ∥PTVcv^∥2≤∥U′−V∥2≤4δ2\|P_{\mathcal{T}^{c}_{V}}\hat{v}\|^{2}\leq\|U^{\prime}-V\|^{2}\leq 4\delta^{2}. By Eq.(179), we have:

In conclusion, we have v^TM(U′)v^≥2−8δ2−100d3δ≥1\hat{v}^{T}\mathfrak{M}(U^{\prime})\hat{v}\geq 2-8\delta^{2}-100d^{3}\delta\geq 1 which finishs the proof. ∎

Finally, we are ready to prove Theorem 43.

Similarly, (α,γ,ϵ,δ)(\alpha,\gamma,\epsilon,\delta)-strict saddleimmediately follows from Lemma 44 and Lemma 45.

The only thing remains to show is that Optimization problem (13) has exactly 2d⋅d!2^{d}\cdot d! local minimum that corresponds to permutation and sign flips of aia_{i}’s. This can be easily proved by the same argument as in the proof of Theorem 39. ∎