Traversing the FFT Computation Tree for Dimension-Independent Sparse Fourier Transforms

Karl Bringmann, Michael Kapralov, Mikhail Makarov, Vasileios Nakos, Amir Yagudin, Amir Zandieh

TL;DR

This paper introduces a new algorithm for the Sparse Fourier Transform (SFT) that breaks the "curse of dimensionality" by achieving a runtime nearly quadratic in the sparsity $k$, regardless of the number of dimensions. By treating the FFT as a tree exploration task and using a novel hierarchical error-correction mechanism, the authors provide both a faster robust algorithm and a theoretical lower bound explaining why further speedups are unlikely.

What Problem Does This Paper Address?

The Discrete Fourier Transform (DFT) is a cornerstone of modern computing, but for massive datasets, even the classical $O(N \log N)$ Fast Fourier Transform (FFT) is too slow. If a signal is "sparse"—meaning most of its Fourier coefficients are zero or negligible—we can use a Sparse Fourier Transform (SFT) to recover the signal in sublinear time (faster than reading the whole input).

However, existing SFT algorithms face two major hurdles:

  1. The Curse of Dimensionality: Most algorithms have runtimes that grow exponentially with the number of dimensions $d$. While the classical Cooley-Tukey FFT is dimension-independent, sparse versions usually are not.
  2. Noise Sensitivity: Many dimension-independent approaches only work for perfectly sparse signals and fail when even a tiny amount of noise is introduced.

The authors aim to create an SFT algorithm that is both dimension-independent and robust to noise, while pushing the computational complexity from cubic ($k^3$) down toward quadratic ($k^2$).

Methods

The authors build on the concept of Adaptive Aliasing Filters. These filters allow them to "isolate" specific frequencies by pruning the computation tree of a classical FFT.

1. Tree Exploration and Backtracking

The core of the paper is a reduction of the SFT problem to a binary tree exploration task. In this model, the algorithm searches for $k$ "heavy" leaves (significant frequencies) in a tree of depth $\log N$.

  • The Innovation: Previous methods used a fixed, large "budget" to test if a subtree contained any signal, leading to $O(k^3)$ complexity. This paper introduces FFT Backtracking. The algorithm "optimistically" explores subtrees with a small budget. If it makes a mistake (a false negative), it detects the error at a higher level of the tree and backtracks to re-explore with a larger budget.

2. Robustification

To handle noise, the authors prove new structural properties of adaptive aliasing filters, showing they act as near-isometries. This allows them to use "Lazy Estimation" and "Multi-scale Estimation," where they postpone the precise calculation of a frequency's value until they have a batch of frequencies that can be estimated together cheaply.

The authors consider several related computational tasks, ranging from exact SFT to the Orthogonal Vectors problem used for their lower bound.

Datasets

The authors evaluated their algorithm using synthetic $k$-sparse signals designed to challenge SFT routines:

  • Random support with overtones: Frequencies are chosen at random, but "overtones" are added to ensure they collide during simple projection methods.
  • Randomly shifted Dirac Combs: A structured signal that is notoriously difficult for tree-pruning algorithms because it can "hide" from simple zero-tests.
  • Mixtures: Combinations of the above to test robustness and general performance.

They compared their implementation against FFTW (the industry standard for dense FFTs) and SFFT 2.0 (a leading 1D sparse FFT).

Key Insights and Ideas

  • Optimism Pays Off: By allowing the algorithm to fail and correct itself via backtracking, the authors shave a full factor of $k$ off the runtime. This is a classic algorithmic trade-off: doing more work occasionally (backtracking) to do much less work on average.
  • The Quadratic Barrier: The authors prove a conditional lower bound based on the Orthogonal Vectors Hypothesis. They show that any algorithm following this "peeling" or "explorative" approach likely cannot run faster than $O(k^2)$. This provides a rare "complete understanding" of a specific algorithmic strategy.
  • Filter Orthonormality: A major theoretical contribution is proving that adaptive aliasing filters are nearly orthogonal. This math is what allows the algorithm to remain stable even when the signal is buried in $\ell_2$ noise.

Key Results

  • Complexity: The algorithm achieves a deterministic runtime of $\tilde{O}(k^2)$ for the exact case and a robust runtime of $\tilde{O}(k^3)$ for noisy signals.
  • Dimension Independence: The runtime remains efficient even as $d$ increases, unlike previous methods that scaled as $2^d$ or $\log^d N$.
  • Empirical Performance: In 3D experiments, the Backtracked SFT outperformed FFTW by orders of magnitude once the signal size $N$ exceeded $2^{18}$. It also showed scaling superior to the previous state-of-the-art "vanilla" tree pruning.

Limitations and Future Work

  • High SNR Requirement: The robust version currently requires a "High SNR" model, where the magnitude of each "head" frequency is significantly larger than the total energy of the noise (the "tail"). Achieving the standard $\ell_2/\ell_2$ guarantee (where the head only needs to be larger than the average noise) remains an open challenge for dimension-independent sublinear algorithms.
  • The $k^2$ Wall: While the authors proved $k^2$ is a barrier for explorative algorithms, it remains to be seen if a completely different paradigm (perhaps non-explorative) could reach linear $O(k)$ time in high dimensions.

Summary updated

BibTeX
@inproceedings{bringmann2021traversing,
  author = {Karl Bringmann and Michael Kapralov and Mikhail Makarov and Vasileios Nakos and Amir Yagudin and Amir Zandieh},
  title = {{Traversing the FFT Computation Tree for Dimension-Independent Sparse Fourier Transforms}},
  booktitle = {SODA},
  year = {2021},
}
Figure