Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second...

59
Outline Introductory Problem Uniqueness and the Null Space The Restricted Isometry Property Summary and References Making Do with Less: An Introduction to Compressed Sensing Tanya Leise Amherst College March 5, 2012 Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Transcript of Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second...

Page 1: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Making Do with Less: An Introduction toCompressed Sensing

Tanya Leise

Amherst College

March 5, 2012

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 2: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Ingredients

Given

Seven American Eaglehalf-ounce gold coins, whichweigh 16.966 grams each.But one may be counterfeit...

An electronic balance.

How can we find the bad coin withthe fewest weighings?

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 3: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Ingredients

Given

Seven American Eaglehalf-ounce gold coins, whichweigh 16.966 grams each.But one may be counterfeit...

An electronic balance.

How can we find the bad coin withthe fewest weighings?

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 4: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Pooling Design Approach

Label the coins with numbers1 through 7.

For the first weighing placecoins 1, 3, 5, and 7 on thescale.

For the second weighing usecoins 2, 3, 6, and 7.

For the third weighing usecoins 4, 5, 6, and 7.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 5: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Combinatorial Group Test

Φ =

1 0 1 0 1 0 10 1 1 0 0 1 10 0 0 1 1 1 1

(Binary encoding)

Label the coins with numbers1 through 7.

For the first weighing placecoins 1, 3, 5, and 7 on thescale.

For the second weighing usecoins 2, 3, 6, and 7.

For the third weighing usecoins 4, 5, 6, and 7.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 6: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Combinatorial Group Test

Φ =

1 0 1 0 1 0 10 1 1 0 0 1 10 0 0 1 1 1 1

(Binary encoding)

Pattern of weights thatdeviate from the expectedvalue reveals the bad coin:

If only the 1st weighing is“off,” then coin 1 is thecounterfeit.

If both the 1st and 2ndweighings are “off,” then coin3 is the counterfeit.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 7: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

General strategy

If there are k ≥ 2 bad coins (ofunknown weights) the problemgets a lot harder.

We need a general strategy: howshould we choose the subsets?

Randomly!

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 8: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets

Suppose we now have 100 coins. Number them 1 to 100.

Choose a random subset where each coin is included withprobability 1

2 (flip each coin–if heads, put it in the subset; iftails, leave it out).

Weigh the subset and record.

Repeat the previous two steps a total of n times, say, n = 25.

Claim: If there are only a few bad coins (say k ≤ 3) and we weighn = 25 subsets, we almost certainly have enough information toidentify the bad ones.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 9: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets

Let Xi denote the true DEVIATION of the ith coin’s weightfrom nominal (16.966 grams).

We expect Xi = 0 for most i .

Suppose the coins in the first random subset have indicesi = i1, i2, . . . , im (m ≈ 50), and this subset weighs a1 grams.Then

Xi1 + Xi2 + · · ·+ Xim = a1 − 16.966m.

A similar equation holds for each of the other random subsetsthat we choose.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 10: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets

Let xi be our estimate of the true value Xi .

We end up with n = 25 linear equations and N = 100 unknowns(the mass deviations Xi ), of the form

Φx = b.

Φ is the sensing matrix, a 0− 1 matrix with Φij = 1 if the jth coinwas included in the ith subset, and

bj is the mass of the jth subset minus 16.966 times the number ofcoins in the subset.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 11: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets Example

For example, with N = 10 coins and n = 3 weighings we mighthave

Φ =

1 0 0 1 1 0 1 0 0 00 0 1 1 1 1 0 1 0 00 1 1 1 1 0 0 0 1 1

if the first weighing involves coins 1, 4, 5, 7, the second involvescoins 3, 4, 5, 6, 8, the third involves coins 2, 3, 4, 5, 9, 10.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 12: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets Example

In the coin problem with N = 100, suppose that the true values areX13 = −0.3,X37 = 0.44, and X71 = −0.33, and all other Xi = 0(but we don’t know this – the goal is to deduce this information).

To estimate the coin masses, we choose 25 random subsets, eachof size about 50, and weigh each subset. We obtain a system

Φx = b.

The matrix Φ is 25 rows by 100 columns—there will be at least 75free variables. Solving for the xi in any meaningful way lookshopeless.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 13: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets Example

In the coin problem with N = 100, suppose that the true values areX13 = −0.3,X37 = 0.44, and X71 = −0.33, and all other Xi = 0(but we don’t know this – the goal is to deduce this information).

To estimate the coin masses, we choose 25 random subsets, eachof size about 50, and weigh each subset. We obtain a system

Φx = b.

The matrix Φ is 25 rows by 100 columns—there will be at least 75free variables. Solving for the xi in any meaningful way lookshopeless.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 14: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Random Subsets Example

In the coin problem with N = 100, suppose that the true values areX13 = −0.3,X37 = 0.44, and X71 = −0.33, and all other Xi = 0(but we don’t know this – the goal is to deduce this information).

To estimate the coin masses, we choose 25 random subsets, eachof size about 50, and weigh each subset. We obtain a system

Φx = b.

The matrix Φ is 25 rows by 100 columns—there will be at least 75free variables. Solving for the xi in any meaningful way lookshopeless.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 15: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `2 Norm Solution

A traditional approach to “solving” a consistent under determinedsystem of equations Mx = b is to choose that (unique) vector x∗

with the properties that

1 Mx∗ = b (x∗ actually satisfies the equations);

2 x∗ has minimum `2 norm, that is, if x∗∗ 6= x∗ satisfiesMx∗∗ = b then ‖x∗‖2 < ‖x∗∗‖2 where

‖x‖2 =

(∑i

|xi |2)1/2

is the usual Euclidean norm.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 16: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `2 Norm Solution

A traditional approach to “solving” a consistent under determinedsystem of equations Mx = b is to choose that (unique) vector x∗

with the properties that

1 Mx∗ = b (x∗ actually satisfies the equations);

2 x∗ has minimum `2 norm, that is, if x∗∗ 6= x∗ satisfiesMx∗∗ = b then ‖x∗‖2 < ‖x∗∗‖2 where

‖x‖2 =

(∑i

|xi |2)1/2

is the usual Euclidean norm.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 17: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `2 Norm Solution

A traditional approach to “solving” a consistent under determinedsystem of equations Mx = b is to choose that (unique) vector x∗

with the properties that

1 Mx∗ = b (x∗ actually satisfies the equations);

2 x∗ has minimum `2 norm, that is, if x∗∗ 6= x∗ satisfiesMx∗∗ = b then ‖x∗‖2 < ‖x∗∗‖2 where

‖x‖2 =

(∑i

|xi |2)1/2

is the usual Euclidean norm.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 18: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `2 Norm Solution

Computing the `2 minimum solution is a standard calculus/matrixalgebra problem.

In the present case we find

20 40 60 80 100−0.4

−0.2

0

0.2

0.4

Coin i

DeviationX

i

20 40 60 80 100−0.4

−0.2

0

0.2

0.4

Coin i

Deviationxi

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 19: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `2 Norm Solution

Computing the `2 minimum solution is a standard calculus/matrixalgebra problem. In the present case we find

20 40 60 80 100−0.4

−0.2

0

0.2

0.4

Coin i

DeviationX

i

20 40 60 80 100−0.4

−0.2

0

0.2

0.4

Coin i

Deviationxi

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 20: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `2 Norm Solution

Geometric intuition:

{x : Φx = b}{x : ‖x‖0 = 1}{x : ‖x‖2 = c}

The point of tangency will usually have many nonzerocomponents, so this approach rarely leads to a sparse solution.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 21: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `0 Norm Solution

Since we suspect the solution X is sparse we really ought to seek avector x such that

Φx = b and

x has as few nonzero components as possible, that is, xminimizes the quantity

‖x‖0 = #{xi : xi 6= 0}

Unfortunately this optimization problem is too difficult to solve inany practical way.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 22: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Brute Force `0 Solution

An expensive strategy for finding a sparse solution to Φx = b (Φdimensions n × N):

Look for a 1-sparse solution (try x = (0, . . . , 0, xi , 0, . . . , 0) foreach i , need N linear solves). If that doesn’t work

Try 2-sparse solutions x = (0, xi1 , 0, xi2 , 0), for each (i1, i2)pair, need N(N − 1)/2 linear solves. If that doesn’t work

Try 3-sparse solutions, 4-sparse, k-sparse, etc.

If N and k are of any significant size, this is completely hopeless!

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 23: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Brute Force `0 Solution

An expensive strategy for finding a sparse solution to Φx = b (Φdimensions n × N):

Look for a 1-sparse solution (try x = (0, . . . , 0, xi , 0, . . . , 0) foreach i , need N linear solves). If that doesn’t work

Try 2-sparse solutions x = (0, xi1 , 0, xi2 , 0), for each (i1, i2)pair, need N(N − 1)/2 linear solves. If that doesn’t work

Try 3-sparse solutions, 4-sparse, k-sparse, etc.

If N and k are of any significant size, this is completely hopeless!

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 24: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Brute Force `0 Solution

An expensive strategy for finding a sparse solution to Φx = b (Φdimensions n × N):

Look for a 1-sparse solution (try x = (0, . . . , 0, xi , 0, . . . , 0) foreach i , need N linear solves). If that doesn’t work

Try 2-sparse solutions x = (0, xi1 , 0, xi2 , 0), for each (i1, i2)pair, need N(N − 1)/2 linear solves. If that doesn’t work

Try 3-sparse solutions, 4-sparse, k-sparse, etc.

If N and k are of any significant size, this is completely hopeless!

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 25: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Brute Force `0 Solution

An expensive strategy for finding a sparse solution to Φx = b (Φdimensions n × N):

Look for a 1-sparse solution (try x = (0, . . . , 0, xi , 0, . . . , 0) foreach i , need N linear solves). If that doesn’t work

Try 2-sparse solutions x = (0, xi1 , 0, xi2 , 0), for each (i1, i2)pair, need N(N − 1)/2 linear solves. If that doesn’t work

Try 3-sparse solutions, 4-sparse, k-sparse, etc.

If N and k are of any significant size, this is completely hopeless!

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 26: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `1 Norm Solution

A “compromise”: Seek an x that satisfies Φx = b and minimizesthe `1 norm

‖x‖1 =N∑i=1

|xi |.

This might look hard since |x | isn’t differentiable, but it can beconverted into a standard “easy” linear programming problem.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 27: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `1 Norm Solution

A “compromise”: Seek an x that satisfies Φx = b and minimizesthe `1 norm

‖x‖1 =N∑i=1

|xi |.

This might look hard since |x | isn’t differentiable, but it can beconverted into a standard “easy” linear programming problem.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 28: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `1 Norm Solution

Geometric intuition:

{x : Φx = b}{x : ‖x‖0 = 1}{x : ‖x‖2 = c}

{x : Φx = b}{x : ‖x‖0 = 1}{x : ‖x‖1 = d}

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 29: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Minimum `1 Norm Solution

20 40 60 80 100−0.4

−0.2

0

0.2

0.4

Coin i

DeviationX

i

20 40 60 80 100−0.4

−0.2

0

0.2

0.4

Coin i

Deviationxi

The `1 minimization recovers X exactly!

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 30: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Probability of `1 Success

The more weighings we do (for any fixed number of defectivecoins) the better chance of success `1 minimization has.

5 10 15 20 25 30 35 400

0.2

0.4

0.6

0.8

1

Number of weighings

Pro

ba

bili

ty o

f su

cce

ss

1 bad coin

2 bad coins

3 bad coins

4 bad coins

5 bad coins

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 31: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Main Points of This Talk

If x∗ is a sparse (mostly zero) vector, Φ a random matrix, andΦx∗ = b then x∗ is almost certainly the only sparse solutionto Φx = b, and

With high probability, minimizing ‖x‖1 subject to Φx = b willrecover x = x∗ exactly.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 32: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Bit of History

The idea of recovering sparse signals using `1 minimizationappeared in the mid 1980s, in signal processing and inverseproblems, and were extended by Donoho et al. around 2002.

A more comprehensive framework was developed around 2006with landmark papers by Candes, Romberg, Donoho, Tao.

Compressed sensing is now a very hot area in mathematics,statistics, computer science, and engineering.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 33: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Some Terminology

A vector x ∈ RN is k-sparse if it has at most k non-zero entries:1-sparse:

x = (0, xi1 , 0)

2-sparse:x = (0, xi1 , 0, xi2 , 0)

3-sparse:x = (0, xi1 , 0, xi2 , 0, xi3 , 0)

k-sparse:x = (0, xi1 , 0, xi2 , 0, xi3 , . . . , xik , 0)

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 34: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Uniqueness of Sparse Solutions

Let Φ be an n × N matrix and suppose Φx = b has a k-sparsesolution X. We want conditions under which X is unique (x = X isthe ONLY k-sparse solution).

Observation: If there IS another k-sparse solution X thenw = X− X satisfies Φw = 0, so w 6= 0 is in the null space N (Φ)of Φ.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 35: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Uniqueness of Sparse Solutions

Let Φ be an n × N matrix and suppose Φx = b has a k-sparsesolution X. We want conditions under which X is unique (x = X isthe ONLY k-sparse solution).

Observation: If there IS another k-sparse solution X thenw = X− X satisfies Φw = 0, so w 6= 0 is in the null space N (Φ)of Φ.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 36: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Sparse Vector Arithmetic

Fact: If v and w are k-sparse, then v ±w is 2k-sparse, e.g., given3-sparse vectors

v = (0, 0, 0, v4, 0, v6, 0, 0, v8, 0, 0)

andw = (w1, 0,w3, 0, 0, 0, 0, 0, 0,w10)

the sumv + w = (w1, 0,w3, v4, 0, v6, 0, v8, 0,w10)

is 6-sparse (maybe sparser).

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 37: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Sparse Vector Arithmetic

Fact: If v and w are k-sparse, then v ±w is 2k-sparse, e.g., given3-sparse vectors

v = (0, 0, 0, v4, 0, v6, 0, 0, v8, 0, 0)

andw = (w1, 0,w3, 0, 0, 0, 0, 0, 0,w10)

the sumv + w = (w1, 0,w3, v4, 0, v6, 0, v8, 0,w10)

is 6-sparse (maybe sparser).

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 38: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Nullspace of Φ

So if X and X are distinct k-sparse solutions to Φx = b, the vectorw = X− X 6= 0 is in the nullspace N (Φ) and w is 2k-sparse.

Thus if k-sparse solutions to Φx = b are not unique, N (Φ) mustcontain non-zero 2k-sparse vectors. So...

If we construct Φ so N (Φ) does NOT contain 2k-sparse vectors,we can rest assured any k-sparse solution we find is the “rightone.”

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 39: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Nullspace of Φ

So if X and X are distinct k-sparse solutions to Φx = b, the vectorw = X− X 6= 0 is in the nullspace N (Φ) and w is 2k-sparse.

Thus if k-sparse solutions to Φx = b are not unique, N (Φ) mustcontain non-zero 2k-sparse vectors. So...

If we construct Φ so N (Φ) does NOT contain 2k-sparse vectors,we can rest assured any k-sparse solution we find is the “rightone.”

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 40: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Nullspace of Φ

So if X and X are distinct k-sparse solutions to Φx = b, the vectorw = X− X 6= 0 is in the nullspace N (Φ) and w is 2k-sparse.

Thus if k-sparse solutions to Φx = b are not unique, N (Φ) mustcontain non-zero 2k-sparse vectors. So...

If we construct Φ so N (Φ) does NOT contain 2k-sparse vectors,we can rest assured any k-sparse solution we find is the “rightone.”

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 41: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Nullspace Example

Let

Φ =

[1 1/

√2 0 −1/

√2

0 1/√

2 1 1/√

2

].

There are no nonzero 2-sparse vectors in N (Φ). For example, ifx = (x1, x2, 0, 0) then

Φx = x1

[10

]+ x2

[1/√

2

1/√

2

]=

[00

]implies x1 = x2 = 0. The same goes for other possible 2-sparsevectors.

Any 1-sparse solution to Φx = b is thus unique.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 42: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Nullspace Example

Let

Φ =

[1 1/

√2 0 −1/

√2

0 1/√

2 1 1/√

2

].

There are no nonzero 2-sparse vectors in N (Φ). For example, ifx = (x1, x2, 0, 0) then

Φx = x1

[10

]+ x2

[1/√

2

1/√

2

]=

[00

]implies x1 = x2 = 0. The same goes for other possible 2-sparsevectors.

Any 1-sparse solution to Φx = b is thus unique.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 43: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Nullspace Example

Let

Φ =

[1 1/

√2 0 −1/

√2

0 1/√

2 1 1/√

2

].

There are no nonzero 2-sparse vectors in N (Φ). For example, ifx = (x1, x2, 0, 0) then

Φx = x1

[10

]+ x2

[1/√

2

1/√

2

]=

[00

]implies x1 = x2 = 0. The same goes for other possible 2-sparsevectors.

Any 1-sparse solution to Φx = b is thus unique.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 44: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property

Instead of requiring that Φx 6= 0 for all 2k-sparse vectors x (analgebraic condition), require that:

For some c1 > 0 and all 2k-sparse vectors we have

c1‖x‖2 ≤ ‖Φx‖2.

This inequality is more analytic in nature.

Equivalently, we can state this as

c1 ≤ ‖Φu‖2.

for all 2k-sparse unit vectors.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 45: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property

Instead of requiring that Φx 6= 0 for all 2k-sparse vectors x (analgebraic condition), require that:

For some c1 > 0 and all 2k-sparse vectors we have

c1‖x‖2 ≤ ‖Φx‖2.

This inequality is more analytic in nature.

Equivalently, we can state this as

c1 ≤ ‖Φu‖2.

for all 2k-sparse unit vectors.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 46: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property

Instead of requiring that Φx 6= 0 for all 2k-sparse vectors x (analgebraic condition), require that:

For some c1 > 0 and all 2k-sparse vectors we have

c1‖x‖2 ≤ ‖Φx‖2.

This inequality is more analytic in nature.

Equivalently, we can state this as

c1 ≤ ‖Φu‖2.

for all 2k-sparse unit vectors.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 47: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property

Instead of requiring that Φx 6= 0 for all 2k-sparse vectors x (analgebraic condition), require that:

For some c1 > 0 and all 2k-sparse vectors we have

c1‖x‖2 ≤ ‖Φx‖2.

This inequality is more analytic in nature.

Equivalently, we can state this as

c1 ≤ ‖Φu‖2.

for all 2k-sparse unit vectors.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 48: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property II

The inequality ‖Φu‖2 ≤ c2 for some c2 is automatic (becauseu→ ‖Φu‖2 is continuous and the unit ball is compact).

We’ll throw it in anyway and require Φ to have the property that

c1 ≤ ‖Φu‖2 ≤ c2.

for all 2k-sparse unit vectors. This is one version of the restrictedisometry property (RIP).

If RIP of order 2k holds, any k-sparse solution to Φx = b isunique, and so (in principle) can be found.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 49: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property II

The inequality ‖Φu‖2 ≤ c2 for some c2 is automatic (becauseu→ ‖Φu‖2 is continuous and the unit ball is compact).

We’ll throw it in anyway and require Φ to have the property that

c1 ≤ ‖Φu‖2 ≤ c2.

for all 2k-sparse unit vectors. This is one version of the restrictedisometry property (RIP).

If RIP of order 2k holds, any k-sparse solution to Φx = b isunique, and so (in principle) can be found.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 50: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property II

The inequality ‖Φu‖2 ≤ c2 for some c2 is automatic (becauseu→ ‖Φu‖2 is continuous and the unit ball is compact).

We’ll throw it in anyway and require Φ to have the property that

c1 ≤ ‖Φu‖2 ≤ c2.

for all 2k-sparse unit vectors. This is one version of the restrictedisometry property (RIP).

If RIP of order 2k holds, any k-sparse solution to Φx = b isunique, and so (in principle) can be found.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 51: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property III

Observation: Multiplying Φ by a constant doesn’t changesolvability of Φx = b, so

multiply

c1 ≤ ‖Φu‖2 ≤ c2.

through by 2/(c1 + c2), and redefine Φ = 2Φ/(c1 + c2).

RIP becomes(1− δ) ≤ ‖Φu‖2 ≤ (1 + δ).

with δ = (c2 − c1)/(c2 + c1). Note 0 ≤ δ < 1. The closer δ is tozero, the better (to be explained...)

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 52: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property III

Observation: Multiplying Φ by a constant doesn’t changesolvability of Φx = b, so multiply

c1 ≤ ‖Φu‖2 ≤ c2.

through by 2/(c1 + c2), and redefine Φ = 2Φ/(c1 + c2).

RIP becomes(1− δ) ≤ ‖Φu‖2 ≤ (1 + δ).

with δ = (c2 − c1)/(c2 + c1). Note 0 ≤ δ < 1. The closer δ is tozero, the better (to be explained...)

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 53: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

The Restricted Isometry Property III

Observation: Multiplying Φ by a constant doesn’t changesolvability of Φx = b, so multiply

c1 ≤ ‖Φu‖2 ≤ c2.

through by 2/(c1 + c2), and redefine Φ = 2Φ/(c1 + c2).

RIP becomes(1− δ) ≤ ‖Φu‖2 ≤ (1 + δ).

with δ = (c2 − c1)/(c2 + c1). Note 0 ≤ δ < 1. The closer δ is tozero, the better (to be explained...)

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 54: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

When Does RIP Hold?

Verifying that RIP of any order holds for a specific Φ isdifficult, but...

Showing (1− δ) ≤ ‖Φu‖2 ≤ (1 + δ) holds with highprobability for many types of randomly generated Φ is fairlyeasy.

If Φ is n× N with entries φij = N(0, 1/n) then RIP of order kholds with probability 1− ε if

n ≥ C (δ, ε)k ln(N/k).

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 55: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

When Does RIP Hold?

Verifying that RIP of any order holds for a specific Φ isdifficult, but...

Showing (1− δ) ≤ ‖Φu‖2 ≤ (1 + δ) holds with highprobability for many types of randomly generated Φ is fairlyeasy.

If Φ is n× N with entries φij = N(0, 1/n) then RIP of order kholds with probability 1− ε if

n ≥ C (δ, ε)k ln(N/k).

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 56: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

When Does RIP Hold?

Verifying that RIP of any order holds for a specific Φ isdifficult, but...

Showing (1− δ) ≤ ‖Φu‖2 ≤ (1 + δ) holds with highprobability for many types of randomly generated Φ is fairlyeasy.

If Φ is n× N with entries φij = N(0, 1/n) then RIP of order kholds with probability 1− ε if

n ≥ C (δ, ε)k ln(N/k).

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 57: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Tools in the Proof

The proof is elementary and involves only

Sum of normals is normal, mean of sum is sum of means,ditto variances.

Elementary probability, e.g., the “union” boundP(E1 ∪ E2) ≤ P(E1) + P(E2).

Simple analysis, e.g., estimates for elementary integrals.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 58: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Summary

If Φ is an n × N random matrix (n << N), any k-sparsesolution to

Φx = b

is almost certainly unique, if k , n, and N stand in the rightrelation.

The RIP condition also guarantees that `1 minimization willfind the desired sparse solution.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing

Page 59: Amherst College - Making Do with Less: An …...coins 1, 3, 5, and 7 on the scale. For the second weighing use coins 2, 3, 6, and 7. For the third weighing use coins 4, 5, 6, and 7.

OutlineIntroductory Problem

Uniqueness and the Null SpaceThe Restricted Isometry Property

Summary and References

Some References

K. Bryan and T. Leise, Making do with less: an introductionto compressed sensing, SIAM Review, 55 (2013), 547-566.

R. Baranuik, M. Davenport, R. DeVore, and M. Wakin, Asimple proof of the restricted isometry property for randommatrices, Constructive Approximation 28 (2008), 253-263.

E. Candes and J. Romberg, `1-MAGIC,http://www.acm.caltech.edu/l1magic/ (accessed 5/21/11).

E. Candes and T. Tao, Decoding by linear programming, IEEETrans. Inf. Theory 51 (2005), 4203-4215.

E. J. Candes and M.B. Wakin, An introduction to compressivesampling, IEEE Signal Processing Magazine 25 (2008), 21-30.

Tanya Leise Making Do with Less: An Introduction to Compressed Sensing