Hybrid Dealiasing of Complex Convolutions
Noel Murasko, John C. Bowman
TL;DR
This work introduces hybrid dealiasing, a versatile framework for computing dealiased convolutions with arbitrary padding ratios by blending explicit zero padding and implicit handling of zeros. The method leverages a residue-at-a-time decomposition and a recursive multidimensional strategy to optimize memory usage and data locality, enabling efficient FFT-based convolutions for complex, centered, and Hermitian data. Empirical results across 1D, 2D, and 3D cases show substantial speedups over traditional explicit padding and prior implicit approaches, particularly when exploiting smaller, FFT-friendly sizes and parallelism. The framework is implemented in FFTW++, demonstrates practical applicability to pseudospectral PDE solvers, and lays out a path toward real-data specialization and broader toolkit support.
Abstract
Efficient algorithms for computing linear convolutions based on the fast Fourier transform are developed. A hybrid approach is described that combines the conventional practice of explicit dealiasing (explicitly padding the input data with zeros) and implicit dealiasing (mathematically accounting for these zero values). The new approach generalizes implicit dealiasing to arbitrary padding ratios and includes explicit dealiasing as a special case. Unlike existing implementations of implicit dealiasing, hybrid dealiasing tailors its subtransform sizes to the convolution geometry. Multidimensional convolutions are implemented with hybrid dealiasing by decomposing them into lower-dimensional convolutions. Convolutions of complex-valued and Hermitian inputs of equal length are illustrated with pseudocode and implemented in the open-source FFTW++ library. Hybrid dealiasing is shown to outperform explicit dealiasing in one, two, and three dimensions.
