new applications of sparse methods in physicsraata/conference_files/inta_aip... · 12/8/2012  ·...

39
New Applications of Sparse Methods in Physics Ra Inta, Centre for Gravitational Physics, The Australian National University

Upload: others

Post on 07-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

New Applications of Sparse Methods in

Physics

Ra Inta,

Centre for Gravitational Physics,

The Australian National University

Page 2: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

2

Sparse methods

Wide application:

• Syphilis in WWII

• Image/file compression

A vector is S-sparse if it has at

most S non-zero coefficients.

(‘Compressible’ if you can

ignore many components)

Page 3: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

The twelve ball problem

3

Here, the ball mass representation has a sparsity of S=1

Page 4: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Success stories

• JPEG-2000 format.

Only need about 10%

coefficients

• The internet would be a

beautiful but empty

landscape without

sparse-based

compression

4

Page 5: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Modern sparse methods

• Advances in image processing

• Funny andecdote (Nyquist, Nyquist

Nyquist)

• Terry Tao (2006)

5

Page 6: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Compressive sampling (CS)

• Also known as ‘compressed sensing’

• Main result: quantitative circumvention of

Shannon-Nyquist sampling theorem

6

Page 7: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Compressive sampling in a nutshell

• Unified framework for

encoding/reconstruction of sparse signals

• Applications from radar, Herschel space

observatory, to a single pixel camera

7

Image: M. F. Duarte et al., Rice University

E. Candès, J. Romberg and T.

Tao: IEEE Trans. on Information

Theory 52(2):489–509 (2006)

Page 8: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Linear measurement system

8

Determined system: M = N

CS (‘under-determined’): M << N

Page 9: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

9

Solve for 𝑥 by explicitly imposing sparsity constraint:

min 𝑥 0 subject to 𝑦 − Θ𝑥 2 = 0

But it’s a combinatorial problem!

(guess NCM combinations for large N, moderate M)

CS: Almost as good (especially for large N):

min 𝑥 1 subject to 𝑦 − Θ𝑥 2 = 0

( 𝑥 𝑝 = 𝑥𝑖𝑝𝑝

is the p-norm)

Page 10: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Problems with noise? Relax!

10

min 𝑥 1 subject to 𝑦 − Θ𝑥 2 ≤ 𝜖

For some total noise/compressibility residual 𝜖

Page 11: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Linear program

• Optimisation reconstruction methods

• E.g. Simplex method (linear constraints

give convex polytope)

11

Page 12: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Orthogonal matching pursuit (OMP)

12

Recursive greedy algorithm

• Similar to CLEAN

algorithm (radio

astronomy)

• ‘Easy’ to implement

noise-based stopping

criteria

Page 13: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Headline CS results

13

Can determine minimum number of samples required for

perfect reconstruction:

𝑀 > 𝐶 𝑆 𝜇2 log(𝑁)

Where C is small (~0.5) , and the mutual coherence:

Measures how ‘spread out’ the signal is in the sampling domain

𝜇 ≝ 𝑁 max𝑖,𝑗<𝑁| < 𝜑𝑖 , 𝜓𝑗 > |

Page 14: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Mutual coherence

14

Guarantees sampled low dimensional subspace sufficiently

covers sparse basis (Restricted Isometry)

e.g. Delta functions in Fourier domain are minimally

coherent with time domain:

E. Candès and J. Romberg, Inverse Problems 23:969–985 (2007)

𝜇 = 𝑁max𝑘 𝛿 𝑓 − 𝑓𝑘 𝑒

𝑖2𝜋𝑓𝑡𝑑𝑡 = 𝑁1

𝑁= 1

Page 15: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

CS applications

15

Basic ingredients:

1. Sparse/compressible

representation

2. Low mutual coherence between

sensing and sparsity bases

Page 16: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Sparse fast Fourier transform (sFFT)

16

• Implements non-recursive OMP

• Computational complexity for known sparsity S:

O(S log(N))

Hassanieh, H., Indyk, P., Katabi, D., and Price, E.: “Nearly Optimal

Sparse Fourier Transform,” arXiv 1201.2501v1 (12 Jan 2012)

Compare to FFT [O(N log(N))]:

Speed-up is O(N/S), so e.g., for N=106 , S=100 :

Here sFFT is (theoretically) 10,000 times as fast

as FFT!

Page 17: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

How the sFFT works

17

Recall:

FFT: output proportional to N: O( N log(N) )

sFFT: output proportional to S: O( S log(N) )

sFFT: very wide bins, permuted so each only contain (at most) single large coefficient

Leakage-free bin filter:

Page 18: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

18

• Very wide, tuned, bin size ( B ~ √(NS) initially, decreasing as coefficients

identified)

• Leakage-free bin filters

• Use block recovery (i.e. not individual

coefficients)

• Iteratively remove identified coefficients

from bins, not the signal

Page 19: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

19

Code available from http://groups.csail.mit.edu/netmit/sFFT/code.html

Threshold and identify non-zero bins

Page 20: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Application 1: localisation of signals in

the time-frequency plane

20

• Gravitational waves (GWs) produced by

binary compact objects (neutron stars and

black holes)

• Sparse in ‘chirp’ domain

• Position information from GW signals

depends on timing

• Nyquist limited

Page 21: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Detection pipelines

• Omega, continuous wave-burst

• Look for excess energy in Gabor (time-

frequency) plane

• Omega: Sine-Gaussian wavelets:

21

ψ τ = 𝐴 exp−(2𝜋𝑓)2

𝑄2(τ − 𝑡)2 exp 2𝜋𝑖 𝑓(τ − 𝑡)

𝐴 = 8𝜋𝑓2

𝑄2

14

Page 22: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

An improvement: chirplets

• Chirplet approach: add chirp rate parameter, d:

• Covers 10 times more parameter space than Omega

• SNR enhancement of 45% (range increase of ~40%)

• High SNR signal is sparse in the Chirplet domain

22

É Chassande-Mottin et al., CQG 27:194017 (2010)

ψ τ = 𝐴 exp−(2𝜋𝑓)2

𝑄2(τ − 𝑡)2 exp 2𝜋𝑖 𝑓 τ − 𝑡 +

𝑑

2τ − 𝑡 2

Page 23: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

23

Page 24: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Nyquist limitations

• Nyquist limit in time-frequency plane (aliasing of chirplet

templates), so reduced timing precision

• Nyquist limit: equivalent to saying that for a linear system

with N unknown coefficients, require N equations to

determine system.

24

Page 25: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

25

OMP: Perfect reconstruction at 10% of Nyquist frequency

Page 26: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

26

How to deal with noise

Assuming Gaussian noise, Chi-squared with 4 d.f.

𝑦 = 𝜙𝑥 + 𝑛 𝑥2 ~ χ42(𝜆)

𝑁

𝑘=1

χ42 𝑥; 𝜙, 𝑦 =

𝑛𝑘2

𝜎𝑘2 ≤ 𝜖

2

4

𝑘=1

noting that p(χ42 ≤ 9.49) = 0.95, can get 95% C.I. from 𝜖2 = 9.49

Page 27: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

27

Page 28: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Issues

• Pure delta functions in time give maximum

𝜇… Can’t use CS

• LIGO/Virgo GW detectors most sensitive

~O(100) Hz---confined to compact region

of Gabor plane

• Increased SNR---improve localisation of

transient events in Gabor plane

28

Page 29: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

localisation of signals in the time-

frequency plane

• Superior reconstruction of signals over

Wigner-Ville

• Applies very generally to signals in the

time-frequency plane that are not purely

impulses in time

• Noise is an issue

29

Page 30: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Application 2: Reducing computational

bounds with the sFFT

30

• Many tasks relying on spectral methods

searching for signal sparse in Fourier

domain (metrology, pulsar discovery,

radar, gravitational waves, imaging)

• Interesting problems have a serious

computational bound

Page 31: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Scenario: continuous gravitational

waves

• Also applies to pulsar discovery

31

Page 32: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

32

Page 33: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

33

Page 34: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Performance

34

• For a single 30 minute data stretch, searching between 100-300 Hz, gives N=720,000 (> 2^19)

• Randomised trails, for S=20, give run-times:

sFFT: 14.8 ms

FFTW3: 40.2 ms

Speed-up of over 250% !!!

• For N~106, this becomes > 467%

Page 35: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Reducing computational bounds with

the sFFT

35

Potentially make many (~ 1 dozen) currently

borderline targets feasible; many more for

aLIGO

E.g.

• G350.1-0.3

• DA 495 (G65.7+1.2)

• Some estimates for Vela Jr. (G266.2-1.2)

Page 36: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Future work

• Extend OMP code to 4D

• Produce a receiver operating

characteristic (ROC) curve for the sFFT

36

Page 37: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Conclusion

• Sparse methods are very powerful

• Two applications to illustrate the methods

• Widely applicable to many problems in

physics

• Care needed with noise

37

Page 38: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

Thanks for listening!

38

[email protected]

Page 39: New Applications of Sparse Methods in Physicsraata/Conference_files/Inta_AIP... · 12/8/2012  · Compressive sampling in a nutshell • Unified framework for encoding/reconstruction

39

http://www.primepuzzle.com/leeslatest/12_ball_solution.html (2006)

Solution to the

twelve-ball

problem (non-

adaptive)