A superfast direct inversion method for the nonuniform discrete Fourier transform

Heather Wilber, Ethan N. Epperly, Alex H. Barnett · DOI

Introduction

The Discrete Fourier Transform (DFT) is a fundamental tool in signal processing, typically assuming data is sampled on a uniform, equispaced grid. However, in many practical applications—such as MRI reconstruction, radio astronomy, and geophysics—data is naturally nonuniform. While efficient algorithms like the Fast Image Nonuniform Fourier Transform (FINUFFT) exist for the forward transform, the inverse problem remains a significant challenge.

Traditionally, researchers rely on iterative solvers like the Conjugate Gradient (CG) method. These approaches have two primary drawbacks: they are highly sensitive to the geometry of sampling points (becoming extremely slow for "ill-conditioned" grids with large gaps) and they lack efficiency when processing multiple signals sampled at the same locations. This paper presents a "superfast" direct solver that achieves nearly linear complexity while remaining robust against sampling irregularities.

Methodology

The proposed method bypasses the limitations of iterative solvers by exploiting the hidden algebraic structure of the NUDFT matrix. The algorithm follows a multi-step pipeline to achieve high performance.

Cauchy Transformation and Hierarchical Structure

The core innovation is the transformation of the nonuniform Vandermonde-like NUDFT matrix into a Cauchy-like matrix. The authors prove that this transformed matrix possesses a Hierarchically Semi-Separable (HSS) structure. In this format, while the matrix itself is dense, its off-diagonal blocks have a low numerical rank that grows only logarithmically with the size of the matrix.

Hierarchical partitioning of nonuniform sampling points on the complex unit circle and the corresponding matrix structure.

As illustrated in the figure above, the sampling points on the complex unit circle are partitioned into segments (denoted as $\mathscr{I}_k$). This geometric partitioning corresponds to the hierarchical block structure of the matrix shown on the right. By organizing the data this way, the algorithm can compress the matrix into its HSS form in nearly linear time using the factored Alternating Direction Implicit (fADI) method.

The URV Solver

Once compressed, the resulting overdetermined least-squares system is solved using a specialized URV factorization. This is a direct method tailored for hierarchical matrices, enabling a "factor once, solve many times" workflow. This is particularly powerful for applications with multiple right-hand sides (RHS), as the expensive factorization step is performed only once.

Experimental Evaluation

The solver was benchmarked using four representative sampling grids designed to test numerical limits:

  1. Jittered: Nearly regular points with slight random perturbations.
  2. Chebyshev: Points clustered at the boundaries, common in polynomial interpolation.
  3. iid Random: Points chosen uniformly at random, leading to stochastic gaps.
  4. Random + Gap: Random points with a forced large gap, creating a highly ill-conditioned system.

The benchmarks included problem sizes up to 4 million by 2 million points, comparing the proposed method against standard iterative methods (CG, PCG) and other state-of-the-art direct solvers.

Key Results and Insights

  • Computational Efficiency: For a problem size of approximately $5 \times 10^5$, the solver executes in about 22 seconds on a standard laptop. It maintains a nearly linear scaling law, $O(N \text{ poly} \log N)$, as $N$ increases.
  • Robustness to Geometry: Unlike iterative methods, the runtime of this direct solver is entirely independent of the sampling geometry. Whether points are perfectly spread or pathologically clustered, the execution time remains constant.
  • Performance for Multiple RHS: In scenarios with 1,000 right-hand sides, the method is roughly 100x faster than iterative solvers because it avoids redundant computations for each signal.
  • Numerical Precision: On the highly ill-conditioned "Random + Gap" grid, iterative solvers required over 7,000 iterations to reach a modest residual. The direct solver reached machine-precision accuracy in a single pass.

Conclusion

This research provides a robust, superfast alternative to iterative NUDFT inversion. By bridging the gap between classical displacement structures and modern hierarchical matrix compression, the authors have created a tool that is both mathematically elegant and practically superior for large-scale, messy data. Future work aims to extend this 1D framework to 2D and 3D transforms using nested dissection techniques, which would further expand its utility in multidimensional imaging and physics simulations.

Summary updated

BibTeX
@misc{wilber2024superfast,
  author = {Heather Wilber and Ethan N. Epperly and Alex H. Barnett},
  title = {{A superfast direct inversion method for the nonuniform discrete Fourier transform}},
  year = {2024},
  eprint = {2404.13223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.13223},
}
Figure