Dimension-independent Sparse Fourier Transform

Michael Kapralov, Ameya Velingker, Amir Zandieh

Abstract

This paper introduces the first Sparse Fourier Transform (SFFT) algorithm that avoids the "curse of dimensionality," achieving a runtime polynomial in the signal's sparsity ($k$) and the total number of points ($N$) regardless of the dimension $d$. By utilizing a new class of adaptive aliasing filters, the authors demonstrate that $k$-sparse signals can be recovered in any dimension without the exponential performance hit that has historically plagued sublinear-time techniques.

Introduction

The Discrete Fourier Transform (DFT) is a cornerstone of modern computing. While the classic Fast Fourier Transform (FFT) is highly efficient—running in $O(N \log N)$ time—it requires processing the entire signal. In many real-world applications, such as medical imaging or data compression, signals are "sparse," meaning most of their Fourier coefficients are zero or negligible. Sparse FFT (SFFT) algorithms aim to compute the DFT in sublinear time—specifically, time proportional to the sparsity $k$ rather than the total size $N$.

However, SFFT has historically faced a major hurdle: the curse of dimensionality. While standard FFT complexity depends only on $N$, previous SFFT algorithms often scaled exponentially with the dimension $d$ (e.g., $O(k \log^d N)$). This paper addresses this gap by designing an SFFT that is as dimension-independent as the original FFT.

Methodology

Adaptive Aliasing Filters

The authors achieve this breakthrough using novel adaptive aliasing filters. Traditional SFFT algorithms often use hashing to map frequencies into "buckets." In high dimensions, the filters used to create these buckets (like the sinc function) degrade in quality, leading to exponential efficiency loss.

The proposed filters are instead adaptive to the signal's support. These filters allow the algorithm to isolate specific frequencies from a set of potential candidates and access the time-domain representation of a restricted part of the signal using only $O(k)$ samples. Crucially, these filters can be evaluated in $O(\log N)$ time per frequency.

The Splitting Tree

The algorithm explores the frequency space using a splitting tree, which is a binary tree of height $\log_2 n$. Instead of computing the entire FFT, the algorithm "prunes" the tree. It starts at the root and uses the adaptive filters to test which branches (congruence classes of frequencies) contain non-zero energy.

Figure 1: (a) A full binary tree $T_8^{full}$ with binary labeling. (b) A corresponding splitting tree $T$ of depth 3 with three leaves, representing the recovered sparse support $S = \{2, 4, 5\}$.

By iteratively "peeling off" recovered frequencies, the algorithm focuses only on the $k$ non-zero components of the signal. This approach effectively bypasses the $O(N \log N)$ bottleneck by only visiting nodes in the splitting tree that contain signal energy.

Key Results and Insights

The paper provides several complexity guarantees depending on the signal model:

  • Worst-Case Signals: Recovers the signal in $O(k^3 \log^2 k \log^2 N)$ time.
  • Random Phase Signals: If the signal has random phases, the runtime improves to $O(k^2 \log^4 N)$.
  • Random Support Signals: For signals with uniformly random non-zero locations, the authors achieve a near-optimal $O(k)$ runtime using a "batched peeling" process.
  • Sample Complexity: The algorithm is highly efficient in terms of data access, requiring only $O(k^3 \log^2 k \log^2 N)$ samples in the worst case and $O(k)$ samples for random support.

A significant insight is that the main challenge in high dimensions isn't just finding the frequencies, but efficiently subtracting the influence of already-recovered frequencies from the residual signal (the non-uniform FFT problem). The authors prove that for certain adversarial support sets, the peeling process is forced to be slow, showing that their $O(k^2)$ or $O(k^3)$ analysis is essentially tight for worst-case scenarios.

Conclusion

This research proves that sublinear-time Fourier recovery does not inherently require an exponential dependence on dimension. While the algorithm avoids the curse of dimensionality, the polynomial dependence on $k$ remains higher than the $O(k \log N)$ achieved by the best 1D SFFT algorithms. Reducing this polynomial degree and developing practical implementations competitive with libraries like FFTW for low-dimensional cases remain important areas for future work.

Summary updated

BibTeX
@inproceedings{kapralov2019dimension,
  author = {Michael Kapralov and Ameya Velingker and Amir Zandieh},
  title = {{Dimension-independent Sparse Fourier Transform}},
  booktitle = {SODA},
  year = {2019},
  url = {https://openreview.net/forum?id=HtE_c7M_IX},
}
Figure