



















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!




















approximate Newton methods
truncated Newton methods
truncated Newton interior-point methods
Prof. S. Boyd, EE364b, Stanford University
docsity.com
minimize convex
f
n
Newton step
x
nt
found from (SPD) Newton system
2
f
x
x
nt
f
x
using Cholesky factorization
backtracking line search on function value
f
x
or norm of gradient
f
x
stopping criterion based on Newton decrement
λ
2
f
x
T
x
nt
or norm of gradient
f
x
1 docsity.com
approximately solve Newton system using CG or PCG, terminating(sometimes way) early
also called
Newton-iterative methods
; related to limited memory
Newton (or BFGS)
total effort is measured by cumulative sum of CG steps done
for good performance, need to tune CG stopping criterion, to use justenough steps to get a good enough search direction
less reliable than Newton’s method, but (with good tuning, goodpreconditioner, fast
z
2
f
x
z
method, and some luck) can handle
very large problems
3 docsity.com
backtracking line search on
f
x
typical CG termination rule: stop after
max
steps or
η
2
f
x
x
f
x
f
x
ǫ
pcg
with simple rules,
max
ǫ
pcg
are constant
more sophisticated rules adapt
max
or
ǫ
pcg
as algorithm proceeds
(based on,
e.g.
, value of
f
x
, or progress in reducing
f
x
η
= min(
f
x
1
/
2
guarantees (with large
max
) superlinear
convergence
4 docsity.com
simple scheme: if
x
prev
is a descent direction (
x
T prev
f
x
start CG from
x
x
T prev
f
x
x
T prev
2
f
x
x
prev
x
prev
otherwise start CG from
x
6 docsity.com
2
-regularized logistic regression
minimize
f
w
/m
mi
=
log
1 + exp(
b
i
x
Ti
w
n i
=
λ
i
w
2 i
variable is
w
n
problem data are
x
i
n
b
i
i
,... , m
, and
regularization parameter
λ
n +
n
is number of features;
m
is number of samples/observations
Prof. S. Boyd, EE364b, Stanford University
7 docsity.com
n
features,
m
samples (
each with
b
i
x
i
have random sparsity pattern, with around
nonzero entries
nonzero entries in
x
i
drawn from
b
i
λ
i
−
8
around
nonzeros in
2
f
, and
M nonzeros in Cholesky factor
9 docsity.com
Newton (using Cholesky factorization of
2
f
w
truncated Newton with
ǫ
cg
−
4
max
truncated Newton with
ǫ
cg
−
4
max
truncated Newton with
ǫ
cg
−
4
max
10 docsity.com
0
200
400
600
800
1000
1200
1400
1600
1800
10
−
10
−
10
−
10
−
10
−
10
−
10
−
10
−
cg
10
cg
50
cg
250
‖ f ‖∇
cumulative CG iterations
12 docsity.com
convergence of exact Newton, and truncated Newton methods with N
max
and
essentially the same, in terms of iterations
in terms elapsed time (and memory!), truncated Newton methods farbetter than Newton
truncated Newton with
max
seems to jam near
f
w
−
6
times (on AMD270 2GHz, 12GB, Linux) in sec:
method
f
w
−
5
f
w
−
8
Newton
cg 10
cg 50
cg 250
13 docsity.com
diagonal preconditioning allows
max
to achieve high accuracy;
speeds up other truncated Newton methods
times:
method
f
w
−
5
f
w
−
8
Newton
cg 10
cg 50
cg 250
pcg 10
pcg 50
pcg 250
speedups of
are not bad
(and we really didn’t do much tuning... )
15 docsity.com
can extend to (infeasible start) Newton’s method with equalityconstraints
since we don’t use exact Newton step, equality constraints notguaranteed to hold after finite number of steps (but
r
p
can use for barrier, primal-dual methods
16 docsity.com
rate control problem
minimize
f
n j
=
log
f
j
subject to
Rf
c
with variable
f
f
n ++
is vector of flow rates
f
n j
=
log
f
j
is flow utility
m
×
n
is route matrix (
ij
c
m
is vector of link capacities
Prof. S. Boyd, EE364b, Stanford University
18 docsity.com
dual problem
maximize
g
λ
n
c
T
λ
mi
=
log(
r
Ti
λ
subject to
λ
with variable
λ
m
duality gap
η
f
g
λ
n
∑^ j
=
log
f
j
n
c
T
λ
m ∑^ i
=
log(
r
Ti
λ
Prof. S. Boyd, EE364b, Stanford University
19 docsity.com