28
Solving SDPs for synchronization and MaxCut problems via the Grothendieck inequality Song Mei Stanford University July 8, 2017 Joint work with Theodor Misiakiewicz, Andrea Montanari, and Roberto I. Oliveira Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 1 / 13

SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Solving SDPs for synchronization and MaxCutproblems via the Grothendieck inequality

Song Mei

Stanford University

July 8, 2017

Joint work with Theodor Misiakiewicz, Andrea Montanari,and Roberto I. Oliveira

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 1 / 13

Page 2: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

The MaxCut SDP problem

I A 2 Rn�n symmetric.

I MaxCut SDP:maximizeX2Rn�n

hA;Xisubject to Xii = 1; i 2 [n];

X � 0:

(SDP)

I Applications: MaxCut problem, Z2 synchronization, Stochasticblock model...

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 2 / 13

Page 3: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

The MaxCut SDP problem

I A 2 Rn�n symmetric.

I MaxCut SDP:maximizeX2Rn�n

hA;Xisubject to Xii = 1; i 2 [n];

X � 0:

(SDP)

I Applications: MaxCut problem, Z2 synchronization, Stochasticblock model...

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 2 / 13

Page 4: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

The MaxCut SDP problem

I A 2 Rn�n symmetric.

I MaxCut SDP:maximizeX2Rn�n

hA;Xisubject to Xii = 1; i 2 [n];

X � 0:

(SDP)

I Applications: MaxCut problem, Z2 synchronization, Stochasticblock model...

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 2 / 13

Page 5: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

MaxCut Problem

I G: a positively weighted graph. AG: its adjacency matrix.I MaxCut of G: known to be NP-hard

maximizex2f�1gn

1

4

nXi;j=1

AG;ij(1� xixj): (MaxCut)

I SDP relaxation: 0:878-approximate guarantee [Goemanns andWilliamson, 1995]

maximizeX2Rn�n

1

4

nXi;j=1

AG;ij(1�Xij);

subject to Xii = 1;

X � 0:

(SDPCut)

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 3 / 13

Page 6: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

MaxCut Problem

I G: a positively weighted graph. AG: its adjacency matrix.I MaxCut of G: known to be NP-hard

maximizex2f�1gn

1

4

nXi;j=1

AG;ij(1� xixj): (MaxCut)

I SDP relaxation: 0:878-approximate guarantee [Goemanns andWilliamson, 1995]

maximizeX2Rn�n

1

4

nXi;j=1

AG;ij(1�Xij);

subject to Xii = 1;

X � 0:

(SDPCut)

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 3 / 13

Page 7: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

MaxCut Problem

I G: a positively weighted graph. AG: its adjacency matrix.I MaxCut of G: known to be NP-hard

maximizex2f�1gn

1

4

nXi;j=1

AG;ij(1� xixj): (MaxCut)

I SDP relaxation: 0:878-approximate guarantee [Goemanns andWilliamson, 1995]

maximizeX2Rn�n

1

4

nXi;j=1

AG;ij(1�Xij);

subject to Xii = 1;

X � 0:

(SDPCut)

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 3 / 13

Page 8: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Burer-Monteiro approach

I Convex formulation: n up to 103 using interior point method

maximizeX2Rn�n

hA;Xisubject to Xii = 1; i 2 [n];

X � 0:

(SDP)

I Change variable X = � � �T, � 2 Rn�k, k� n.

I Non-convex formulation: n up to 105

maximize�2Rn�k

h�;A�i

subject to � = [�1; : : : ; �n]T;

k�ik2 = 1; i 2 [n]:

(k-Ncvx-SDP)

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 4 / 13

Page 9: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Burer-Monteiro approach

I Convex formulation: n up to 103 using interior point method

maximizeX2Rn�n

hA;Xisubject to Xii = 1; i 2 [n];

X � 0:

(SDP)

I Change variable X = � � �T, � 2 Rn�k, k� n.

I Non-convex formulation: n up to 105

maximize�2Rn�k

h�;A�i

subject to � = [�1; : : : ; �n]T;

k�ik2 = 1; i 2 [n]:

(k-Ncvx-SDP)

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 4 / 13

Page 10: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Burer-Monteiro approach

I Convex formulation: n up to 103 using interior point method

maximizeX2Rn�n

hA;Xisubject to Xii = 1; i 2 [n];

X � 0:

(SDP)

I Change variable X = � � �T, � 2 Rn�k, k� n.

I Non-convex formulation: n up to 105

maximize�2Rn�k

h�;A�i

subject to � = [�1; : : : ; �n]T;

k�ik2 = 1; i 2 [n]:

(k-Ncvx-SDP)

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 4 / 13

Page 11: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Related literatures

I As k � p2n, the global maxima of the Non Convex formulationcoincide with the global maximizer of the Convex formulation[Pataki, 1998], [Barviok, 2001], [Burer and Monteiro, 2003].

I As k � p2n, Non Convex formulation has no spurious localmaxima [Boumal, et al., 2016].

I What if k remains of order 1, as n!1? Is there spurious localmaxima? Sadly, yes.

I How is these local maxima? Empirically, they are good!

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 5 / 13

Page 12: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Related literatures

I As k � p2n, the global maxima of the Non Convex formulationcoincide with the global maximizer of the Convex formulation[Pataki, 1998], [Barviok, 2001], [Burer and Monteiro, 2003].

I As k � p2n, Non Convex formulation has no spurious localmaxima [Boumal, et al., 2016].

I What if k remains of order 1, as n!1? Is there spurious localmaxima? Sadly, yes.

I How is these local maxima? Empirically, they are good!

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 5 / 13

Page 13: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Related literatures

I As k � p2n, the global maxima of the Non Convex formulationcoincide with the global maximizer of the Convex formulation[Pataki, 1998], [Barviok, 2001], [Burer and Monteiro, 2003].

I As k � p2n, Non Convex formulation has no spurious localmaxima [Boumal, et al., 2016].

I What if k remains of order 1, as n!1? Is there spurious localmaxima? Sadly, yes.

I How is these local maxima? Empirically, they are good!

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 5 / 13

Page 14: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Related literatures

I As k � p2n, the global maxima of the Non Convex formulationcoincide with the global maximizer of the Convex formulation[Pataki, 1998], [Barviok, 2001], [Burer and Monteiro, 2003].

I As k � p2n, Non Convex formulation has no spurious localmaxima [Boumal, et al., 2016].

I What if k remains of order 1, as n!1? Is there spurious localmaxima? Sadly, yes.

I How is these local maxima? Empirically, they are good!

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 5 / 13

Page 15: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Related literatures

I As k � p2n, the global maxima of the Non Convex formulationcoincide with the global maximizer of the Convex formulation[Pataki, 1998], [Barviok, 2001], [Burer and Monteiro, 2003].

I As k � p2n, Non Convex formulation has no spurious localmaxima [Boumal, et al., 2016].

I What if k remains of order 1, as n!1? Is there spurious localmaxima? Sadly, yes.

I How is these local maxima? Empirically, they are good!

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 5 / 13

Page 16: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Related literatures

I As k � p2n, the global maxima of the Non Convex formulationcoincide with the global maximizer of the Convex formulation[Pataki, 1998], [Barviok, 2001], [Burer and Monteiro, 2003].

I As k � p2n, Non Convex formulation has no spurious localmaxima [Boumal, et al., 2016].

I What if k remains of order 1, as n!1? Is there spurious localmaxima? Sadly, yes.

I How is these local maxima? Empirically, they are good!

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 5 / 13

Page 17: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Geometry

maximize�2Rn�k

h�;A�i := f(�)

subject to k�ik2 = 1:oMk = f� 2 Rn�k : k�ik2 = 1g:

Definition ("-approximate concave point)We call � 2Mk an "-approximate concave point of f on Mk, if for anytangent vector u 2 T�Mk, we have

hu;Hessf(�)[u]i � "hu; ui: (1)

RemarkA local maximizer is 0-approximate concave. An "-approximateconcave point is nearly locally optimal.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 6 / 13

Page 18: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Geometry

maximize�2Rn�k

h�;A�i := f(�)

subject to k�ik2 = 1:oMk = f� 2 Rn�k : k�ik2 = 1g:

Definition ("-approximate concave point)We call � 2Mk an "-approximate concave point of f on Mk, if for anytangent vector u 2 T�Mk, we have

hu;Hessf(�)[u]i � "hu; ui: (1)

RemarkA local maximizer is 0-approximate concave. An "-approximateconcave point is nearly locally optimal.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 6 / 13

Page 19: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Geometry

maximize�2Rn�k

h�;A�i := f(�)

subject to k�ik2 = 1:oMk = f� 2 Rn�k : k�ik2 = 1g:

Definition ("-approximate concave point)We call � 2Mk an "-approximate concave point of f on Mk, if for anytangent vector u 2 T�Mk, we have

hu;Hessf(�)[u]i � "hu; ui: (1)

RemarkA local maximizer is 0-approximate concave. An "-approximateconcave point is nearly locally optimal.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 6 / 13

Page 20: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Landscape Theorem

Theorem (A Grothendieck-type inequality)

For any "-approximate concave point � 2Mk of the rank-knon-convex problem, we have

f(�) � SDP(A)� 1

k � 1(SDP(A) + SDP(�A))� n

2": (2)

SDP(A): the maximum value of SDP with input matrix A.

Geometric iterpretation: the function value for all local maxima arewithin a gap of order O(1=k) within the global maximum.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 7 / 13

Page 21: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Landscape of non-convex SDP

I f(�) � SDP(A)� 1

k�1(SDP(A) + SDP(�A))� n2".

Gap = 1k�1

⇣SDP(A) + SDP(�A)

kSDP(A)

SDP(A) + SDP(�A)

n"/2

a saddle point with" curvature

global optimizer a local optimizerSDP(A)

�SDP(�A)

Gap

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 8 / 13

Page 22: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Efficient Algorithm

I Guaranteed converge rate using Riemannian trust region method.

I Getting absolute error n"+ (SDP(A) + SDP(�A))=(k � 1) withinc � nkAk2

1="2 trust region steps.

I Empirically, gradient descent converges faster than what isguaranteed.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 9 / 13

Page 23: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Approximate MaxCut Guarantee

Theorem (Approximate MaxCut Guarantee)For any k � 3, if �? is a local maximizer of corresponding rank-knon-convex problem, then we can use �? to find a0:878� (1� 1=(k � 1))-approximate MaxCut.

The global maximizer: 0:878-approximate MaxCut.

Any Local maximizers: 0:878� (1� 1=(k � 1))-approximate MaxCut.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 10 / 13

Page 24: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Approximate MaxCut Guarantee

Theorem (Approximate MaxCut Guarantee)For any k � 3, if �? is a local maximizer of corresponding rank-knon-convex problem, then we can use �? to find a0:878� (1� 1=(k � 1))-approximate MaxCut.

The global maximizer: 0:878-approximate MaxCut.

Any Local maximizers: 0:878� (1� 1=(k � 1))-approximate MaxCut.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 10 / 13

Page 25: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Group Synchronization

I SO(d) synchronization, Orthogonal Cut SDP

maximizeX2Rnk�nk

hA;Xisubject to Xii = Ik;

X � 0:

(3)

I Similar guarantee.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 11 / 13

Page 26: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Conclusion

I Non-convex MaxCut SDP: all local maxima are near globalmaxima.

I An alternate algorithm for approximating MaxCut.

I Conclusion generalizable to general SDP problem.

What I did not go into detailI Z2 synchronization and SO(d) synchronization.

I The one page proof for the Grothendieck-type inequality.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 12 / 13

Page 27: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Questions?

f(�) � SDP(A)� 1

k � 1(SDP(A) + SDP(�A))� n

2":

I SDP(�A)? Typically has no relationship with SDP(A). You canthink of it has the same order as SDP(A). Fit well in the MaxCutproblem.

I 1=k tight? We believe Yes.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 13 / 13

Page 28: SolvingSDPsforsynchronizationandMaxCut …songmei/Presentation/SDP... · 2018. 5. 5. · SolvingSDPsforsynchronizationandMaxCut problemsviatheGrothendieckinequality SongMei Stanford

Questions?

f(�) � SDP(A)� 1

k � 1(SDP(A) + SDP(�A))� n

2":

I SDP(�A)? Typically has no relationship with SDP(A). You canthink of it has the same order as SDP(A). Fit well in the MaxCutproblem.

I 1=k tight? We believe Yes.

Song Mei (Stanford University) The landscape of non-convex SDP July 8, 2017 13 / 13