arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.06459cs.DScs.CC
收藏

基于矩阵非刚性的更快沃尔什-哈达玛变换与离散傅里叶变换

Faster Walsh-Hadamard and Discrete Fourier Transforms From Matrix Non-Rigidity

Josh Alman, Kevin Rao

AI总结:

该研究利用WHT矩阵非刚性分解提出运算次数为$\frac{23}{24}N\log N+O(N)$的新型WHT算法,首次改进经典算法复杂度,并通过归约替换得到首项系数3.75的更快FFT算法。

摘要:

我们针对大小为2的幂$N$的输入,提出了算术运算次数更少的沃尔什-哈达玛变换(Walsh-Hadamard Transform, WHT)与离散傅里叶变换(Discrete Fourier Transform, DFT)算法。\n对于WHT,我们的新算法运算次数为$\frac{23}{24}N \log N + O(N)$。据我们所知,这是对传统经典快速沃尔什-哈达玛变换算法$N \log N$运算次数的首次改进。\n对于DFT,我们的新型FFT算法使用$\frac{15}{4}N \log N + O(N)$次实数算术运算。我们的首项系数$\frac{15}{4}=3.75$,优于1965年Cooley-Tukey算法的首项系数5、1968年Yavne提出的分裂基算法的首项系数4、2004年Van Buskirk对分裂基算法改进后的首项系数$\frac{34}{9}=3.777\ldots$,以及2017年Sergeev对Van Buskirk算法进行理论优化后的首项系数3.76875。\n我们的新型WHT算法利用了近期关于WHT非刚性的一系列研究成果:我们将WHT矩阵分解为一个低秩矩阵与一个稀疏矩阵之和,随后分析这些矩阵的结构以实现更低的运算次数。我们的新型DFT算法源于一种新颖的归约方法,该方法表明以往最优FFT算法的部分环节可替换为对WHT算法的调用。用我们改进后的新算法替代传统WHT算法,便得到了性能提升的FFT。

英文摘要:

We give algorithms with lower arithmetic operation counts for both the Walsh-Hadamard Transform (WHT) and the Discrete Fourier Transform (DFT) on inputs of power-of-2 size $N$. For the WHT, our new algorithm has an operation count of $\frac{23}{24}N \log N + O(N)$. To our knowledge, this gives the first improvement on the $N \log N$ operation count of the simple, folklore Fast Walsh-Hadamard Transform algorithm. For the DFT, our new FFT algorithm uses $\frac{15}{4}N \log N + O(N)$ real arithmetic operations. Our leading constant $\frac{15}{4} = 3.75$ improves on the leading constant of $5$ from the Cooley-Tukey algorithm from 1965, leading constant $4$ from the split-radix algorithm of Yavne from 1968, leading constant $\frac{34}{9}=3.777\ldots$ from a modification of the split-radix algorithm by Van Buskirk from 2004, and leading constant $3.76875$ from a theoretically optimized version of Van Buskirk's algorithm by Sergeev from 2017. Our new WHT algorithm takes advantage of a recent line of work on the non-rigidity of the WHT: we decompose the WHT matrix as the sum of a low-rank matrix and a sparse matrix, and then analyze the structures of these matrices to achieve a lower operation count. Our new DFT algorithm comes from a novel reduction, showing that parts of the previous best FFT algorithms can be replaced by calls to an algorithm for the WHT. Replacing the folklore WHT algorithm with our new improved algorithm leads to our improved FFT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑