On Performance of Multiscale Sparse Fast Fourier Transform Algorithm

Bin Li, Zhikang Jiang, Jie ChenarXiv 2020 · DOI · arXiv

Abstract

Computing the Sparse Fast Fourier Transform (sFFT) of a K-sparse signal of size N has emerged as a critical topic in signal processing. The sFFT algorithms decrease runtime and sampling complexity by exploiting the inherent sparsity of signals in the frequency domain. This paper provides a comprehensive theoretical discussion and practical implementation of the sFFT4.0 algorithm, which utilizes a multiscale approach. We demonstrate that the algorithm's performance depends on two key parameters: the multiscale parameter and the extension parameter. Experimental results show that sFFT4.0 achieves runtimes and sampling complexities 10 to 100 times better than the industry-standard FFTW library, while maintaining medium robustness.

Introduction: The Bottleneck of Big Data

The Discrete Fourier Transform (DFT) is a cornerstone of modern signal processing. However, as datasets grow, even the classic Fast Fourier Transform (FFT)—with its $O(N \log N)$ complexity—becomes a bottleneck. Many real-world signals, such as those from sensors, medical imaging, or video data, are "sparse," meaning most of their energy is concentrated in just a few frequency components ($K$ significant frequencies out of $N$ total).

The Sparse Fast Fourier Transform (sFFT) aims for sub-linear complexity by ignoring the "empty" parts of the spectrum. While MIT researchers proposed versions sFFT1.0 through 3.0 in 2013, the sFFT4.0—which utilizes a multiscale approach—remained largely a theoretical concept without a robust practical implementation. This paper fills that gap, exploring the trade-offs between speed, sampling, and noise robustness.

Methodology: Multiscale Iterative Reconstruction

The sFFT4.0 algorithm is implemented using an iterative framework consisting of two main stages: Frequency Bucketization and Spectrum Reconstruction.

1. Flat Filter Bucketization

Unlike other filters that might smear signals, sFFT4.0 uses a "flat filter" (a Gaussian function convoluted with a boxcar window). This filter is highly concentrated in both the time and frequency domains, making it much more efficient for "hashing" frequencies into a smaller number of buckets ($B \approx K$).

Basic encoding and spectrum reconstruction process in sFFT.

2. Multiscale Location and Iterative Subtraction

The core innovation of sFFT4.0 is its multiscale approach. Instead of using a simple voting mechanism to find frequencies, the algorithm identifies the position of a frequency component by narrowing it down block-by-block across different scales. Once a frequency is identified and its magnitude estimated, it is subtracted from the signal. This iterative subtraction makes the signal "sparser" for the next iteration, preventing interference and improving the accuracy of subsequent searches.

Full iterative framework of the sFFT4.0 algorithm including the update and subtraction steps.

The algorithm's performance is tuned via two primary parameters:

  • $l$ (Multiscale parameter): Controls the number of blocks used in the search.
  • $q$ (Extension parameter): Controls how much the search region is expanded to account for noise.

Key Results and Insights

The researchers evaluated the algorithm using synthetic test signals (sizes up to $2^{22}$) with Additive White Gaussian Noise (SNR ranging from -20dB to 120dB).

  • Massive Speedups: In practical tests, sFFT4.0 demonstrated runtimes 10x to 100x faster than FFTW. For very large signals, complexity is effectively decoupled from $N$ and driven primarily by the sparsity $K$.
  • The Speed-Robustness Trade-off: The authors prove that runtime and sampling complexity are directly proportional to $l$ and inversely proportional to $q$. Conversely, robustness is directly proportional to $q$ and inversely proportional to $l$. An optimal configuration of $l=16$ and $q=1$ provides a balance for most general cases.
  • Comparative Performance: sFFT4.0 is generally faster than sFFT1.0 and 2.0 for large $N$. Its robustness is rated as "medium"—better than sFFT3.0, but not as resilient as the MPFFT algorithm.

Conclusion

sFFT4.0 provides a powerful tool for high-speed spectral analysis of sparse signals. While its robustness is moderate, its sub-linear complexity offers massive practical speedups for large-scale data. Future work will involve optimizing the multiscale search to improve noise tolerance and extending the implementation to higher dimensions (2D/3D) for video and medical imaging applications.

Summary updated

Abstract

Computing the Sparse Fast Fourier Transform(sFFT) of a K-sparse signal of size N has emerged as a critical topic for a long time. The sFFT algorithms decrease the runtime and sampling complexity by taking advantage of the signal inherent characteristics that a large number of signals are sparse in the frequency domain(e.g., sensors, video data, audio, medical image, etc.). The first stage of sFFT is frequency bucketization through one of these filters: Dirichlet kernel filter, flat filter, aliasing filter, etc. Compared to other sFFT algorithms, the sFFT algorithms using the flat filter is more convenient and efficient because the filtered signal is concentrated both in the time domain and frequency domain. Up to now, three sFFT algorithms sFFT1.0, sFFT2.0, sFFT3.0 algorithm have been proposed by the Massachusetts Institute of Technology(MIT) in 2013. Still, the sFFT4.0 algorithm using the multiscale approach method has not been implemented yet. This paper will discuss this algorithm comprehensively in theory and implement it in practice. It is proved that the performance of the sFFT4.0 algorithm depends on two parameters. The runtime and sampling complexity are in direct ratio to the multiscale parameter and in inverse ratio to the extension parameter. The robustness is in direct ratio to the extension parameter and in inverse ratio to the multiscale parameter. Compared with three similar algorithms or other four types of algorithms, the sFFT4.0 algorithm has excellent runtime and sampling complexity that ten to one hundred times better than the fftw algorithm, although the robustness of the algorithm is medium.
BibTeX
@misc{li2020performance,
  author = {Bin Li and Zhikang Jiang and Jie Chen},
  title = {{On Performance of Multiscale Sparse Fast Fourier Transform Algorithm}},
  year = {2020},
  eprint = {2011.05698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.05698},
}
Figure