Docsity

Total Variation Reconstruction and Convex-Cardinality Problems, Slides of Convex Optimization

Partial preview of the text

Download Total Variation Reconstruction and Convex-Cardinality Problems and more Slides Convex Optimization in PDF only on Docsity!

-norm Methods for

Convex-Cardinality Problems

Part II

total variation

iterated weighted

1

heuristic

matrix rank constraints

Prof. S. Boyd, EE364b, Stanford University

docsity.com

Total variation reconstruction

fit

x

cor

with piecewise constant

x

, no more than

k

jumps

convex-cardinality problem: minimize

x

x

cor

2

subject to

card

Dx

k

D

is first order difference matrix)

heuristic: minimize

x

x

cor

2

γ

Dx

1

; vary

γ

to adjust number of

jumps

Dx

1

is

total variation

of signal

x

method is called

total variation reconstruction

unlike

2

based reconstruction, TVR filters high frequency noise out

while preserving sharp jumps

Prof. S. Boyd, EE364b, Stanford University

1

docsity.com

Total variation reconstruction

for three values of

γ

0

500

1000

1500

2000

−

2 0

0

500

1000

1500

2000

−

2 0

0

500

1000

1500

2000

−

2 0

i

ˆx ˆx ˆx

Prof. S. Boyd, EE364b, Stanford University

3

docsity.com

2

reconstruction

for three values of

γ

0

500

1000

1500

2000

−

2 0

0

500

1000

1500

2000

−

2 0

0

500

1000

1500

2000

−

2 0

i

ˆx ˆx ˆx

Prof. S. Boyd, EE364b, Stanford University

4

docsity.com

TV reconstruction

5

10

15

20

25

30

0

5

10

15

20

25

30

35

−0.

0

1

original

5

10

15

20

25

30

0

5

10

15

20

25

30

35

−0.

0

1

TV reconstruction

... not bad for

×

more variables than measurements!

Prof. S. Boyd, EE364b, Stanford University

6

docsity.com

2

reconstruction

5

10

15

20

25

30

0

5

10

15

20

25

30

35

−0.

0

1

original

5

10

15

20

25

30

0

5

10

15

20

25

30

35

−0.

0

1

ℓ

2

reconstruction

... this is what you’d expect with

×

more variables than measurements

Prof. S. Boyd, EE364b, Stanford University

7

docsity.com

Interpretation

wlog we can take

x

(by writing

x

x

x

−

x

, x

−

, and

replacing

card

x

with

card

x

card

x

−

we’ll use approximation

card

z

log(1 +

z/ǫ

, where

ǫ >

z

R

using this approximation, we get (nonconvex) problem

minimize

n i

=

log(1 +

x

i

/ǫ

subject to

x

∈ C

x

we’ll find a local solution by linearizing objective at current point,

n

i

=

log(1 +

x

i

/ǫ

n

i

=

log(1 +

x

(

k

)

i

/ǫ

n

i

=

x

i

x

(

k

)

i

ǫ

x

(

k

)

i

Prof. S. Boyd, EE364b, Stanford University

9

docsity.com

and solving resulting convex problem

minimize

n i

=

w

i

x

i

subject to

x

∈ C

x

with

w

i

ǫ

x

i

, to get next iterate

repeat until convergence to get a local solution

Prof. S. Boyd, EE364b, Stanford University

10 docsity.com

Detecting changes in time series model

AR(2) scalar time-series model

y

t

a

t

y

t

b

t

y

t

v

t

v

t

IID

N

2

assumption:

a

t

and

b

t

are piecewise constant, change infrequently

given

y

t

t

,... , T

, estimate

a

t

b

t

t

,... , T

heuristic: minimize over variables

a

t

b

t

t

,... , T

T

−

2

t

=

y

t

a

t

y

t

b

t

y

t

2

γ

T

−

2

t

=

a

t

a

t

b

t

b

t

vary

γ

to trade off fit versus number of changes in

a

b

Prof. S. Boyd, EE364b, Stanford University

12 docsity.com

Time series and true coefficients

0

50

100

150

200

250

300

−1 −2 −

3 2 1 0

t

)t(y

50

100

150

200

250

300

−

−0.2 −0.4 −0.6 −0.

0

0.8 0.6 0.4 0.

1

t

a

t

b

t

Prof. S. Boyd, EE364b, Stanford University

13 docsity.com

Extension to matrices

Rank

is natural analog of

card

for matrices

convex-rank problem: convex, except for

Rank

in objective or

constraints

rank problem reduces to card problem when matrices are diagonal: Rank

diag

x

card

x

analog of

1

heuristic: use

nuclear norm

X

∗

i

σ

i

X

(sum of singular values; dual of spectral norm)

for

X

, reduces to

Tr

X

(for

x

x

1

reduces to

T

x

Prof. S. Boyd, EE364b, Stanford University

15 docsity.com

Factor modeling

given matrix

S

n +

, find approximation of form

F F

T

D

, where

F

R

n

×

r

D

is diagonal nonnegative

gives underlying factor model (with

r

factors)

x

F z

v,

v

∼ N

, D

z

∼ N

, I

model with fewest factors:

minimize

Rank

X

subject to

X

D

diagonal

X

D

∈ C

with variables

D, X

S

n

C

is convex set of acceptable approximations to

Prof. S. Boyd, EE364b, Stanford University

16 docsity.com

Example

x

F z

v

z

∼ N

, I

v

∼ N

, D

D

diagonal;

F

R

20

×

3

is empirical covariance matrix from

N

samples

set of acceptable approximations

C

−

1

/

2

−

1

/

2

β

trace heuristic

minimize

Tr

X

subject to

X

d

−

1

/

2

X

diag

d

−

1

/

2

β

Prof. S. Boyd, EE364b, Stanford University

18 docsity.com

Trace approximation results

10

−

10

−

10

0

8 6 4 2

16 14 12 10

β

) X( Rank

10

−

10

−

10

0

10

−

10

−

10

0

10

2

β

λ

i ) X(

Prof. S. Boyd, EE364b, Stanford University

19 docsity.com