












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!













Convex Optimization — Boyd & Vandenberghe
norm approximation
least-norm problems
regularized approximation
robust approximation
6–
minimize
Ax
b
m
×
n
with
m
n
is a norm on
m
interpretations of solution
x
⋆
= argmin
x
Ax
b
geometric
Ax
⋆
is point in
closest to
b
estimation
: linear measurement model
y
Ax
v
y
are measurements,
x
is unknown,
v
is measurement error
given
y
b
, best guess of
x
is
x
⋆
optimal design
x
are design variables (input),
Ax
is result (output)
x
⋆
is design that best approximates desired result
b
Approximation and fitting
6–
minimize
φ
r
1
φ
r
m
subject to
r
Ax
b
m
×
n
φ
is a convex penalty function)
examples
quadratic:
φ
u
u
2
deadzone-linear with width
a
φ
u
) = max
u
a
log-barrier with limit
a
φ
u
a
2
log(
u/a
2
u
< a
otherwise
u
)u(φ
quadratic deadzone-linear
log barrier
−
1
.
5
−
1
−
0
.
5
0
0
.
5
1
1
.
5
0
0
.
1 5
1
.
2 5
Approximation and fitting
6–
example
m
n
): histogram of residuals for penalties
φ
u
u
φ
u
u
2
φ
u
) = max
u
a
φ
u
log(
u
2
= 1 p = 2 p Deadzone Log barrier
r
−
2
−
2
−
2
−
2
−
1
−
1
−
1
−
1
0 0 0 0
1 1 1 1
2 2 2 2
0 40
0 10
0 20
0 10
shape of penalty function has large effect on distribution of residuals Approximation and fitting
6–
docsity.com
minimize
x
subject to
Ax
b
m
×
n
with
m
n
is a norm on
n
interpretations of solution
x
⋆
= argmin
Ax
=
b
x
geometric:
x
⋆
is point in affine set
x
Ax
b
with minimum
distance to
estimation:
b
Ax
are (perfect) measurements of
x
x
⋆
is smallest
(’most plausible’) estimate consistent with measurements
design:
x
are design variables (inputs);
b
are required results (outputs)
x
⋆
is smallest (’most efficient’) design that satisfies requirements
Approximation and fitting
6–
examples
least-squares solution of linear equations (
2
can be solved via optimality conditions
x
T
ν
Ax
b
minimum sum of absolute values (
1
): can be solved as an LP
minimize
T
y
subject to
y
x
y,
Ax
b
tends to produce sparse solution
x
⋆
extension: least-penalty problem
minimize
φ
x
1
φ
x
n
subject to
Ax
b
φ
is convex penalty function
Approximation and fitting
6–
minimize
Ax
b
γ
x
solution for
γ >
traces out optimal trade-off curve
other common method: minimize
Ax
b
2
δ
x
2
with
δ >
Tikhonov regularization
minimize
Ax
b
22
δ
x
22
can be solved as a least-squares problem
minimize
δI
x
b 0
2 2
solution
x
⋆
T
δI
−
1
T
b
Approximation and fitting
6–
linear dynamical system
with impulse response
h
y
t
t
∑ τ
=
h
τ
u
t
τ
t
input design problem:
multicriterion problem with 3 objectives
y
des
track
Nt
=
y
t
y
des
t
2
mag
Nt
=
u
t
2
der
N
−
1
t
=
u
t
u
t
2
track desired output using a small and slowly varying input signal regularized least-squares formulation
minimize
track
δJ
der
ηJ
mag
for fixed
δ, η
, a least-squares problem in
u
u
Approximation and fitting
6–
minimize (w.r.t.
2 +
ˆx
x
cor
2
, φ
x
x
n
is unknown signal
x
cor
x
v
is (known) corrupted version of
x
, with additive noise
v
variable
ˆx
(reconstructed signal) is estimate of
x
φ
n
is regularization function or smoothing objective
examples:
quadratic smoothing, total variation smoothing:
φ
quad
x
n
−
1
∑^ i
=
x
i
ˆx
i
2
φ
tv
x
n
−
1
∑^ i
=
ˆx
i
ˆx
i
Approximation and fitting
6–
quadratic smoothing example
i
x corx
0 0
1000 1000
2000 2000
3000 3000
4000 4000
−
0
.
5
−
0
.
0 5 0
0
.
5
0
.
5
i
ˆx ˆx ˆx
0 0 0
1000 1000 1000
2000 2000 2000
3000 3000 3000
4000 4000 4000
−
0
.
5
−
0
.
5
−
0
.
0 5 0 0
0
.
5
0
.
5
0
.
5
original signal
x
and noisy
signal
x
cor
three solutions on trade-off curve
ˆx
x
cor
2
versus
φ
quad
x
Approximation and fitting
6–
i
x corx
0 0
500 500
1000 1000
1500 1500
2000 2000
−
2
−
2
−
1
−
2 1 0 1 2 1 0
i
ˆx ˆx ˆx
0 0 0
500 500 500
1000 1000 1000
1500 1500 1500
2000 2000 2000
−
2
−
2
−
2 0 2 2 0 2 0
original signal
x
and noisy
signal
x
cor
three solutions on trade-off curve
ˆx
x
cor
2
versus
φ
tv
x
total variation smoothing preserves sharp transitions in signal Approximation and fitting
6–
minimize
Ax
b
with uncertain
two approaches:
stochastic
: assume
is random, minimize
Ax
b
worst-case:
set
of possible values of
, minimize
sup
A
∈A
Ax
b
tractable only in special cases (certain norms
, distributions, sets
example
u
0
uA
1
x
nom
minimizes
0
x
b
22
x
stoch
minimizes
u
x
b
22
with
u
uniform on
x
wc
minimizes
sup
−
1
≤
u
≤
1
u
x
b
22
figure shows
r
u
u
x
b
2
u
)u(r
x
nom
x
stoch
x
wc
−
2
−
1
0
1
2
8 6 4 2 0 12 10
Approximation and fitting
6–
docsity.com
worst-case robust LS
with
u
1
1
u
p
p
u
2
minimize
sup
A
∈A
Ax
b
22
= sup
‖
u
‖
2
≤
1
x
u
q
x
22
where
x
1
x
2
x
p
x
q
x
Ax
b
from page 5–14, strong duality holds between the following problems
maximize
P u
q
22
subject to
u
22
minimize
t
λ
subject to
q
T
λI
q
T
t
hence, robust LS problem is equivalent to SDP
minimize
t
λ
subject to
x
q
x
x
T
λI
q
x
T
t
Approximation and fitting
6–
example:
histogram of residuals
r
u
0
u
1
1
u
2
2
x
b
2
with
u
uniformly distributed on unit disk, for three values of
x
r
(
u
)
x
ls
x
tik
x
rls
frequency
0
1
2
3
4
5
0
0
.
05 0
.
1
0
.
15 0
.
2
0
.
25
x
ls
minimizes
0
x
b
2
x
tik
minimizes
0
x
b
22
δ
x
22
(Tikhonov solution)
x
wc
minimizes
sup
‖
u
‖
2
≤
1
0
x
b
22
x
22
Approximation and fitting
6–