



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















subgradient method and stepsize rules
convergence results and proof
optimal step size and alternating projections
speeding up subgradient methods
EE364b, Stanford University
subgradient method
is simple algorithm to minimize nondifferentiable
convex function
f
x
(
k
+1)
x
(
k
)
α
k
g
(
k
)
x
(
k
)
is the
k
th iterate
g
(
k
)
is
any
subgradient of
f
at
x
(
k
)
α
k
is the
k
th step size
not a descent method, so we keep track of best point so far
f
(
k
)
best
min
i
=
,...,k
f
x
(
i
)
EE364b, Stanford University
f
⋆
= inf
x
f
x
, with
f
x
⋆
f
⋆
g
2
for all
g
∂f
(equivalent to Lipschitz condition on
f
x
(1)
x
⋆
2
these assumptions are stronger than needed, just to simplify proofs EE364b, Stanford University
define
f
= lim
k
→∞
f
(
k
)
best
constant step size:
f
f
⋆
2
α/
i.e.
converges to
2
α/
-suboptimal
(converges to
f
⋆
if
f
differentiable,
α
small enough)
constant step length:
f
f
⋆
Gγ/
i.e.
converges to
Gγ/
-suboptimal
diminishing step size rule:
f
f
⋆
i.e.
converges
EE364b, Stanford University
apply recursively to get ‖
x
(
k
+1)
x
⋆
22
x
(1)
x
⋆
22
k
i
=
α
i
f
x
(
i
)
f
⋆
k
∑^ i
=
α
2 i
g
(
i
)
22
2
k
i
=
α
i
f
x
(
i
)
f
⋆
2
k
∑^ i
=
α
2 i
now we use
k
∑^ i
=
α
i
f
x
(
i
)
f
⋆
f
(
k
)
best
f
⋆
k
i
=
α
i
to get
f
(
k
)
best
f
⋆
2
2
k i
=
α
2 i
k i
=
α
i
EE364b, Stanford University
constant step size:
for
α
k
α
we get
f
(
k
)
best
f
⋆
2
2
kα
2
kα
righthand side converges to
2
α/
as
k
constant step length:
for
α
k
γ/
g
(
k
)
2
we get
f
(
k
)
best
f
⋆
2
k i
=
α
2 i
g
(
i
)
22
k i
=
α
i
2
γ
2
k
γk/G
righthand side converges to
Gγ/
as
k
EE364b, Stanford University
terminating when
2
2
k i
=
α
2 i
k i
=
α
i
ǫ
is really, really, slow
optimal choice of
α
i
to achieve
2
2
k i
=
α
2 i
k i
=
α
i
ǫ
for smallest
k
α
i
k,
i
,... , k
number of steps required:
k
RG/ǫ
2
the truth: there really isn’t a good stopping criterion for the subgradientmethod...
EE364b, Stanford University
minimize
f
x
) = max
i
=
,...,m
a
Ti
x
b
i
to find a subgradient of
f
: find index
j
for which
a
Tj
x
b
j
max
i
=
,...,m
a
Ti
x
b
i
and take
g
a
j
subgradient method:
x
(
k
+1)
x
(
k
)
α
k
a
j
EE364b, Stanford University
diminishing step rules
α
k
k
and
α
k
k
, square summable
step size rules
α
k
/k
and
α
k
/k
0
500
1000
1500
2000
2500
3000
10
−
10
−
10
−
10
0
10
1
0.1/sqrt(k) value 1/sqrt(k) value 1/k value 10/k value
k
f
)k(
best
f −
⋆
EE364b, Stanford University
⋆
choice due to Polyak:
α
k
f
x
(
k
)
f
⋆
g
(
k
)
22
(can also use when optimal value is estimated)
motivation: start with basic inequality
x
(
k
+1)
x
⋆
22
x
(
k
)
x
⋆
22
α
k
f
x
(
k
)
f
⋆
α
(^2) k
g
(
k
)
22
and choose
α
k
to minimize righthand side
EE364b, Stanford University
PWL example with Polyak’s step size,
α
k
k
α
k
/k
0
500
1000
1500
2000
2500
3000
10
−
10
−
10
−
10
0
10
1
k
f
)k(
best
f −
⋆
Polyak α
k
= 0
.
1
/
√
k
α
k
= 1
/k
EE364b, Stanford University
1
m
is nonempty,
1
m
n
closed and convex
find a point in
by minimizing
f
x
) = max
dist
x, C
1
dist
x, C
m
with
dist
x, C
j
f
x
, a subgradient of
f
is
g
dist
x, C
j
x
C
j
x
x
C
j
x
2
EE364b, Stanford University
first few iterations:
x
(1)
x
(2)
x
(3)
x
(4)
x
⋆
1
2
x
(
k
)
eventually converges to a point
x
⋆
1
2
EE364b, Stanford University
some entries of matrix in
n
fixed; find values for others so completed
matrix is PSD
1
n +
2
is (affine) set in
n
with specified fixed entries
projection onto
1
by eigenvalue decomposition, truncation: for
n i
=
λ
i
q
i
q
Ti
C
1
n
i
=
max
, λ
i
q
i
q
Ti
projection of
onto
2
by re-setting specified entries to fixed values
EE364b, Stanford University