Sparse Fourier transform explained
The sparse Fourier transform (SFT) is a kind of discrete Fourier transform (DFT) for handling big data signals. Specifically, it is used in GPS synchronization, spectrum sensing and analog-to-digital converters.:[1]
The fast Fourier transform (FFT) plays an indispensable role on many scientific domains, especially on signal processing. It is one of the top-10 algorithms in the twentieth century.[2] However, with the advent of big data era, the FFT still needs to be improved in order to save more computing power. Recently, the sparse Fourier transform (SFT) has gained a considerable amount of attention, for it performs well on analyzing the long sequence of data with few signal components.
Definition
Consider a sequence xn of complex numbers. By Fourier series, xn can be written as
Similarly,
Xk can be represented as
Hence, from the equations above, the mapping is
.
Single frequency recovery
Assume only a single frequency exists in the sequence. In order to recover this frequency from the sequence, it is reasonable to utilize the relationship between adjacent points of the sequence.
Phase encoding
The phase k can be obtained by dividing the adjacent points of the sequence. In other words,
=\cos\left(
\right)+j\sin\left(
\right).
Notice that
.
An aliasing-based search
Seeking phase k can be done by Chinese remainder theorem (CRT).[3]
Take
for an example. Now, we have three relatively prime integers 100, 101, and 103. Thus, the equation can be described as
k=104{,}134\equiv\left\{\begin{array}{rl}34&\bmod100,\ 3&\bmod101,\ 1&\bmod103.\end{array}\right.
By CRT, we have
k=104{,}134\bmod(100 ⋅ 101 ⋅ 103)=104{,}134\bmod1{,}040{,}300
Randomly binning frequencies
Now, we desire to explore the case of multiple frequencies, instead of a single frequency. The adjacent frequencies can be separated by the scaling c and modulation b properties. Namely, by randomly choosing the parameters of c and b, the distribution of all frequencies can be almost a uniform distribution. The figure Spread all frequencies reveals by randomly binning frequencies, we can utilize the single frequency recovery to seek the main components.
where
c is scaling property and
b is modulation property.
By randomly choosing c and b, the whole spectrum can be looked like uniform distribution. Then, taking them into filter banks can separate all frequencies, including Gaussians,[4] indicator functions,[5] [6] spike trains,[7] [8] [9] [10] and Dolph-Chebyshev filters.[11] Each bank only contains a single frequency.
The prototypical SFT
Generally, all SFT follows the three stages[1]
Identifying frequencies
By randomly bining frequencies, all components can be separated. Then, taking them into filter banks, so each band only contains a single frequency. It is convenient to use the methods we mentioned to recover this signal frequency.
Estimating coefficients
After identifying frequencies, we will have many frequency components. We can use Fourier transform to estimate their coefficients.
Repeating
Finally, repeating these two stages can we extract the most important components from the original signal.
Sparse Fourier transform in the discrete setting
In 2012, Hassanieh, Indyk, Katabi, and Price proposed an algorithm that takes
samples and runs in the same running time.
Sparse Fourier transform in the high dimensional setting
In 2014, Indyk and Kapralov [12] proposed an algorithm that takes
samples and runs in nearly linear time in
. In 2016, Kapralov
[13] proposed an algorithm that uses sublinear samples
and sublinear decoding time
. In 2019, Nakos, Song, and Wang
[14] introduced a new algorithm which uses nearly optimal samples
and requires nearly linear time decoding time. A dimension-incremental algorithm was proposed by Potts, Volkmer
[15] based on sampling along rank-1 lattices.
Sparse Fourier transform in the continuous setting
There are several works about generalizing the discrete setting into the continuous setting.[16] [17]
Implementations
There are several works based on MIT, MSU, ETH and Universtity of Technology Chemnitz [TUC]. Also, they are free online.
Further reading
Book: Hassanieh, Haitham . 2018 . The Sparse Fourier Transform: Theory and Practice . Association for Computing Machinery and Morgan & Claypool . 978-1-94748-707-9.
Book: Price, Eric . 2013 . Sparse Recovery and Fourier Sampling . MIT .
Notes and References
- 10.1109/MSP.2014.2329131. Recent Developments in the Sparse Fourier Transform: A compressed Fourier transform for big data. IEEE Signal Processing Magazine. 31. 5. 91–100. 2014. Gilbert. Anna C.. Indyk. Piotr. Iwen. Mark. Schmidt. Ludwig. 2014ISPM...31...91G. 1721.1/113828. 14585685 . free.
- The best of the 20th century: Editors name top 10 algorithms . Cipra . Barry A. . 2000 . SIAM News . 33 . 4 .
- Iwen . M. A. . Combinatorial Sublinear-Time Fourier Algorithms . Foundations of Computational Mathematics . 2010-01-05 . 10 . 3 . 303–338 . 10.1007/s10208-009-9057-1. 1631513 .
- Book: Haitham Hassanieh . Piotr Indyk . Dina Katabi . Eric Price . Simple and Practical Algorithm for Sparse Fourier Transform . 1183–1194 . 2012 . 10.1137/1.9781611973099.93 . 1721.1/73474 . 978-1-61197-210-8 .
- Book: A. C. Gilbert . S. Guha, P. Indyk, S. Muthukrishnan, M. Strauss . Proceedings of the thiry-fourth annual ACM symposium on Theory of computing . Near-optimal sparse fourier representations via sampling . 2002 . 152–161 . 10.1145/509907.509933. 1581134959 . 14320243 .
- Book: A. C. Gilbert . S. Muthukrishnan. S. Muthukrishnan (computer scientist). M. Strauss . Manos . Andrew F . Michael A . Papadakis . Laine . Unser . Improved time bounds for near-optimal sparse Fourier representations . Wavelets XI . 5914. 59141A. 21 September 2005 . 10.1117/12.615931. Proceedings of SPIE. 2005SPIE.5914..398G. 12622592 .
- Book: 10.1109/Allerton.2013.6736670. Sample-optimal average-case sparse Fourier Transform in two dimensions. 2013 51st Annual Allerton Conference on Communication, Control, and Computing (Allerton). 1258–1265. 2013. Ghazi. Badih. Hassanieh. Haitham. Indyk. Piotr. Katabi. Dina. Price. Eric. Lixin Shi. 978-1-4799-3410-2. 1303.1209. 6151728 .
- Iwen . M. A. . Combinatorial Sublinear-Time Fourier Algorithms . Foundations of Computational Mathematics . 2010-01-05 . 10 . 3 . 303–338 . 10.1007/s10208-009-9057-1. 1631513 .
- Mark A.Iwen . Improved approximation guarantees for sublinear-time Fourier algorithms . Applied and Computational Harmonic Analysis . 2013-01-01 . 34 . 1 . 57–82 . 10.1016/j.acha.2012.03.007 . en . 1063-5203. 1010.0014 . 16808450 .
- Book: 10.1109/ISIT.2013.6620269. Computing a k-sparse n-length Discrete Fourier Transform using at most 4k samples and O(k log k) complexity. 2013 IEEE International Symposium on Information Theory. 464–468. 2013. Pawar. Sameer. Ramchandran. Kannan. 978-1-4799-0446-4. 601496 .
- Book: Hassanieh . Haitham . Indyk . Piotr . Katabi . Dina . Price . Eric . Proceedings of the forty-fourth annual ACM symposium on Theory of computing . Nearly optimal sparse fourier transform . 2012 . 563–578 . 10.1145/2213977.2214029 . https://dl.acm.org/citation.cfm?id=2214029 . ACM . 1201.2501 . STOC'12 . 9781450312455 . 3760962 .
- Indyk . Piotr . Kapralov . Michael . Sample-optimal Fourier sampling in any constant dimension . Annual Symposium on Foundations of Computer Science . 2014 . 514–523 . 1403.5804 . FOCS'14 .
- Book: Kapralov . Michael . Proceedings of the forty-eighth annual ACM symposium on Theory of Computing . Sparse fourier transform in any constant dimension with nearly-optimal sample complexity in sublinear time . 2016 . 1604.00845 . STOC'16 . 264–277 . 10.1145/2897518.2897650 . 9781450341325 . 11847086 .
- Nakos . Vasileios . Song . Zhao . Wang . Zhengyu . (Nearly) Sample-Optimal Sparse Fourier Transform in Any Dimension; RIPless and Filterless . Annual Symposium on Foundations of Computer Science . 2019 . 1909.11123 . FOCS'19 .
- Potts . Daniel . Volkmer . Toni . Sparse high-dimensional FFT based on rank-1 lattice sampling . Applied and Computational Harmonic Analysis. 2016. 41 . 3 . 713–748 . 10.1016/j.acha.2015.05.002.
- Price . Eric . Song . Zhao . A Robust Sparse Fourier Transform in the Continuous Setting . Annual Symposium on Foundations of Computer Science . 2015 . 583–600 . 1609.00896 . FOCS'15 .
- Chen . Xue . Kane . Daniel M.. Price . Eric . Song . Zhao . Fourier-Sparse Interpolation without a Frequency Gap . Annual Symposium on Foundations of Computer Science . 2016 . 741–750 . 1609.01361 . FOCS'16 .