Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
Recovery of Compactly Supported Functions fromSpectrogram Measurements via Lifting
Sami [email protected]
Phaseless Imaging in Theory and Practice: Realistic Models, Fast Algorithms,and Recovery GuaranteesFriday, August 18th, 2017
Joint work with...
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 1 / 29
Outline
1 Introduction and OverviewBackgroundProblem Statement and Specifications
2 Signal Recovery from Spectrogram measurementsThe Proposed Numerical ApproachOur Lifted Formulation
3 Numerical ResultsSmooth fPiecewise-Constant fPiecewise-Smooth f
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 2 / 29
Introduction Background
The STFT
DefinitionThe Short-Time Fourier transform of a function f ∈ L2 (R) given awindow g ∈ L2 (R), at frequency ω and time shift ` is defined as
STFT f(`,ω) := F [f (·)g ((·)− `)] (ω) =∫ ∞−∞
f (t)g (t− `)e−2πiωtdt.
One can define an energy density, called the Spectrogram, by
Pf (`,ω) = |STFT f(`,ω)|2 .
The Windowed Fourier Transform was introduced by Gabor in 1946 tomeasure the "frequency variations" of sound [7].
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 3 / 29
Introduction Background
Speech Analysis Example
The Spectrogram of a speech signal consisting of the word "Matlab"
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 4 / 29
Introduction Background
Some Properties
The STFT is linear, energy preserving, and invertible.
Energy preservation implies that STFT f(`,ω) ∈ L2 (R2).Does not satisfy the marginals: not a proper distribution
The STFT suffers from time-frequency resolution trade-off
Gaussian windows achieves the best joint time and frequencylocalization since they meet the lower bound of the uncertaintyprinciple.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 5 / 29
Introduction Background
Resolution Trade-off Example
f(t) =
cos(2π10t) 0s≤ t < 5scos(2π25t) 5s≤ t < 10scos(2π50t) 10s≤ t < 15scos(2π100t) 15s≤ t < 20s
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 6 / 29
Introduction Background
Motivation
Applications: The phase-retrieval problem arises whenever the detectorscan only capture intensity measurements. For example,
X-ray crystallographyDiffraction imagingPtychographic Imaging...
Our goals: Approaching realistic measurement designs compatible with,e.g., ptychography, coupled with computationally efficientand robust recovery algorithms.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 7 / 29
Introduction Background
Motivation
Applications: The phase-retrieval problem arises whenever the detectorscan only capture intensity measurements. For example,
X-ray crystallographyDiffraction imagingPtychographic Imaging...
Our goals: Approaching realistic measurement designs compatible with,e.g., ptychography, coupled with computationally efficientand robust recovery algorithms.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 7 / 29
Introduction Background
Algorithms for Discrete Phase Retrieval
There has been a good deal of work on signal recovery from phaselessSTFT measurements in the discrete setting :
I First f and g are modeled as vectors ab initio,I Then recovered from discrete STFT magnitude measurements.
Recovery techniques includeI Iterative methods (Alt. Proj. for STFT) along the lines of Griffin and
Lim [9, 13],I Alternating Projections [8],I Graph theoretic methods for Gabor frames based on polarization
[12, 10],I Semidefinite relaxation-based methods [5], and others [2, 1, 4, 3].
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 8 / 29
Introduction Problem Statement and Specifications
Signal Recovery from STFT Measurements
In 1-D ptychography [11, 8], a compactly supported specimen f : R→ C,is scanned by a focused beam g : R→ C which translates across thespecimen in fixed overlapping shifts l1, . . . , lK ∈ R.
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10
0.5
1
1.5
2
2.5
3
3.5
x
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 9 / 29
Introduction Problem Statement and Specifications
Signal Recovery from STFT Measurements
At each such shift a phaseless diffraction image is sampled by adetector.
The measurements are modeled as STFT magnitude measurements:
bk,j :=∣∣∣∣∫ ∞−∞f (t)g (t− lk)e−2πiωjtdt
∣∣∣∣2 , 1≤ k ≤K, 1≤ j ≤N. (1)
We aim to approximate f (up to a global phase) using these bk,jmeasurements.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 10 / 29
Introduction Problem Statement and Specifications
Given stacked spectrogram samples from (1),
~b=(b1,1, . . . , b1,N , b2,1, . . . , bK,N
)T∈ [0,∞)NK , (2)
approximately recover a piecewise smooth and compactly supportedfunction f : R→ C up to a global phase.
WLOG assume that the support of f is contained in [−1,1].
Motivated by ptychography, we primarily consider the beam functiong to also be (effectively) compactly supported within [−a,a] ( [−1,1].
Assume also that g is smooth enough that its Fourier transformdecays relatively rapidly in frequency space compared to f . Examplesof such g include both Gaussians, as well as compactly supported C∞bump functions [6].
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 11 / 29
Signal Recovery Method The Proposed Numerical Approach
Using techniques from [4, 3] on discrete PR adapted to continuousPR, recover samples of f at frequencies in Ω = ω1, . . . ,ωN, giving~f ∈ CN with fj = f(ωj):
I First, a truncated lifted linear system is inverted in order to learn aportion of the rank-one matrix ~f ~f∗.
I Then, angular synchronization is used to recover ~f from the portion of~f ~f∗ above.
Reconstruct f via standard sampling theorems.
Invert this approximation in order to learn f .
This linear system is banded and Toeplitz, with band size determinedby the decay of g: if g is effectively bandlimited to [−δ,δ] thecomputational cost is O
(δN(logN + δ2)
)- essentially FFT-time in
N for small δ.S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 12 / 29
Signal Recovery Method Our Lifted Formulation
Lifted Formulation
Lemma (Lifting Lemma)Suppose f : R→ C is piecewise smooth and compactly supported in[−1,1]. Let g ∈ L2 ([−a,a]) be supported in [−a,a]⊂ [−1,1] for somea < 1, with ‖g‖L2 = 1. Then for all ω ∈ R,
|F [f ·Slg] (ω)|= 12
∣∣∣∣∣∣∑m∈Z
e−πilmf
(m
2
)g
(m
2 −ω)∣∣∣∣∣∣
for all shifts l ∈ [a−1,1−a].
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 13 / 29
Signal Recovery Method Our Lifted Formulation
Proof.Plancherel’s Theorem implies that
|F [f ·Slg] (ω)|2 =∣∣∣∣∫ ∞−∞f (ω−η) g (−η)e−2πilηdη
∣∣∣∣2 .Applying Shannon’s Sampling theorem to f and recalling thatF [f ?g] = f g yield
|F [f ·Slg] (ω)|2 =
∣∣∣∣∣∣∑m∈Z
f
(m
2
)[g (·)e−2πil(·) ? sincπ (m+ 2(·))
](−ω)
∣∣∣∣∣∣2
= 14
∣∣∣∣∣∣∑m∈Z
f
(m
2
)e−πil(m−2ω)
∫ −l+1
−l−1g (u)e−2πiu( m
2 −ω)du
∣∣∣∣∣∣2
.
The result follows by noting the support of g and the Fourier typeintegral in the last equality.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 14 / 29
Signal Recovery Method Our Lifted Formulation
Lifted FormWe write our measurements in a lifted form
|F [f ·Slg] (ω)|2 ≈ 14~X∗l~Yω~Y
∗ω~Xl
where ~Xl ∈ C4δ+1 and ~Yω ∈ C4δ+1 are the vectors
~Xl =
eπil(2δ)g (−δ)eπil(2δ−1)g
(12 − δ
)...
eπil·0g (0)...
eπil(1−2δ)g(δ− 1
2
)eπil(−2δ)g (δ)
, ~Yω =
f (ω− δ)f(ω− δ+ 1
2
)...
f (ω)...
f(ω+ δ− 1
2
)f (ω+ δ)
.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 15 / 29
Signal Recovery Method Our Lifted Formulation
Lifted FormWe write our measurements in a lifted form
|F [f ·Slg] (ω)|2 ≈ 14~X∗l~Yω~Y
∗ω~Xl
Here, ~Yω~Y ∗ω is the rank-one matrix
∣∣∣f(ω− δ)∣∣∣2 · · · f(ω− δ)f(ω) · · · f(ω− δ)f(ω+ δ)
... . . . ......
...f(ω)f(ω− δ) · · ·
∣∣∣f(ω)∣∣∣2 · · · f(ω)f(ω+ δ)
......
... . . . ...f(ω+ δ)f(ω− δ) · · · f(ω+ δ)f(ω) · · ·
∣∣∣f(ω+ δ)∣∣∣2
.
Note the occurrence of the magnitudes of f on the diagonal, and therelative phase terms elsewhere.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 16 / 29
Signal Recovery Method Our Lifted Formulation
Let F ∈ CN×N be defined as
Fi,j =
f(i−2n−1
2
)f(j−2n−1
2
), if |i− j| ≤ 2δ,
0, otherwise,, where n= N −1
4 .
F is composed of overlapping segments of matrices ~Yω~Y ∗ω forω ∈ −n, . . . ,n.
Thus, our spectrogram measurements can be written as
~b≈ diag(GFG∗), (3)
where G ∈ CNK×N is a block Toeplitz matrix encoding the ~Xl’s.
We consistently vectorize (3) to obtain a linear system which can beinverted to learn ~F , a vectorized version of F.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 17 / 29
Signal Recovery Method Our Lifted Formulation
In particular, we have~b≈M~F , (4)
where M ∈ CNK×N2 is computed by passing the canonical basis ofCN×N through (3).We solve the linear system (4) as a least squares problem.
Experiments have shown that M is of rank NK.
The process of recovering the Fourier samples of f from ~F is knownas angular synchronization.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 18 / 29
Signal Recovery Method Our Lifted Formulation
Angular Synchronization
Angular synchronization is the process recovering d anglesφ1,φ2, . . . ,φd ∈ [0,2π) given noisy and possibly incomplete differencemeasurements of the form
φij := φi−φj , (i, j) ∈ 1,2, . . . ,d×1,2, . . . ,d.
We are interested in angular synchronization problems that arise whenperforming phase retrieval from local correlation measurements[4, 3].
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 19 / 29
Numerical Results Smooth f
Consider the Oscillatory Gaussian f (x) = 214 e−8πx2 cos(24x)χ[−1,1].
Take as window the Gaussian g (x) = c ·e−16πx2χ[− 1
2 ,12 ].
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10
0.5
1
1.5
2
2.5
3
3.5
x
We use a total of 11 shifts of g, and choose 61 values of ω from[−15,15] sampled in half-steps, and set δ = 7.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 20 / 29
Numerical Results Smooth f
The reconstruction in physical space is shown at selected grid points in thefigure below.
The relative `2 error in physical space is 1.872×10−2.
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−0.5
0
0.5
1
1.5
2
2.5
3
3.5
x
f(x
)TrueApprox.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 21 / 29
Numerical Results Piecewise-Constant f
Consider the Characteristic Function f (x) = χ[− 15 ,
15 ].
Take as window the Gaussian g (x) = c ·e−32πx2χ[− 1
2 ,12 ].
We use a total of 21 shifts of g, and choose 293 values of ω from[−73,73] sampled in half-steps, and set δ = 10.S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 22 / 29
Numerical Results Piecewise-Constant f
The reconstruction in physical space is shown in the figure below.
The relative `2 error in physical space is 1.509×10−1.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 23 / 29
Numerical Results Piecewise-Smooth f
Consider the Peicewise Smooth Functionf (x) = 1
2χ[− 320 ,0] +
(−10
3 x+ 1)χ[0, 3
20 ].
Take as window the Gaussian g (x) = c ·e−32πx2/5χ[− 12 ,
12 ].
We use a total of 41 shifts of g, and choose 281 values of ω from[−70,70] sampled in half-steps, and set δ = 10.S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 24 / 29
Numerical Results Piecewise-Smooth f
The reconstruction in physical space is shown in the figure below.
The relative `2 error in physical space is 1.162×10−1.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 25 / 29
Numerical Results Piecewise-Smooth f
Thank You.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 26 / 29
Numerical Results Piecewise-Smooth f
References I
[1] T. Bendory and Y. C. Eldar. Non-convex phase retrieval from STFTmeasurements. 2016. preprint, arXiv:1607.08218.
[2] Y. C. Eldar, P. Sidorenko, D. G. Mixon, S. Barel, and O. Cohen.Sparse phase retrieval from short-time Fourier measurements. IEEESignal Process. Lett., 22(5):638–642, 2015.
[3] M. A. Iwen, B. Preskitt, R. Saab, and A. Viswanathan. Phase retrievalfrom local measurements: Improved robustness via eigenvector-basedangular synchronization. 2016. preprint, arXiv:1612.01182.
[4] M. A. Iwen, A. Viswanathan, and Y. Wang. Fast phase retrieval fromlocal correlation measurements. SIAM J. Imaging Sci.,9(4):1655–1688, 2016.
[5] K. Jaganathan, Y. C. Eldar, and B. Hassibi. STFT phase retrieval:Uniqueness guarantees and recovery algorithms. IEEE J. Sel. TopicsSignal Process., 10(4):770–781, 2016.S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 27 / 29
Numerical Results Piecewise-Smooth f
References II
[6] S. G. Johnson. Saddle-point integration of C∞ “bump" functions.2015. preprint, arXiv:1508.04376.
[7] S. Mallat. A Wavelet Tour of Signal Processing, The Sparse Way.Academic Press, 3rd. edition, 2008.
[8] S. Marchesini, Y.-C. Tu, and H.-t. Wu. Alternating projection,ptychographic imaging and phase synchronization. Appl. Comput.Harmon. Anal., 41(3):815–851, 2016.
[9] S. Nawab, T. Quatieri, and J. Lim. Signal reconstruction fromshort-time Fourier transform magnitude. IEEE Trans. Acoust.,Speech, Signal Process., 31(4):986–998, 1983.
[10] G. E. Pfander and P. Salanevich. Robust phase retrieval algorithm fortime-frequency structured measurements. 2016. preprint,arXiv:1611.02540.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 28 / 29
Numerical Results Piecewise-Smooth f
References III
[11] J. Rodenburg, A. Hurst, and A. Cullis. Transmission microscopywithout lenses for objects of unlimited size. Ultramicroscopy,107(2):227–231, 2007.
[12] P. Salanevich and G. E. Pfander. Polarization based phase retrievalfor time-frequency structured measurements. In Proc. 2015 Int. Conf.Sampling Theory and Applications (SampTA), pages 187–191, 2015.
[13] N. Sturmel and L. Daudet. Signal reconstruction from STFTmagnitude: A state of the art. In Int. Conf. Digital Audio Effects(DAFx), pages 375–386, 2011.
S.E. Merhi (MSU) Continuous Phase Retrieval IMA 2017 29 / 29