arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.17981math.NAcs.NA
收藏

一种用于块 Toeplitz 矩阵-向量乘法的分裂快速傅里叶变换算法

A Split Fast Fourier Transform Algorithm for Block Toeplitz Matrix-Vector Multiplication

Alexandre Siron, Sean Molesky

AI总结:

针对块 Toeplitz 矩阵乘法中多级嵌入带来的内存与计算冗余,提出惰性嵌入与急切投影算法,利用分裂 FFT 显著降低渐近计算量与峰值内存,并支持多设备并行化。

摘要:

电磁学和声学的数值建模经常需要进行具有块 Toeplitz 结构的矩阵-向量乘法。当相应的块 Toeplitz 矩阵不是高度稀疏时,例如在空间基中考虑电磁 Green 函数时,此类计算通常通过执行多级嵌入来赋予矩阵完全循环的形式来执行。虽然这种变换允许通过快速傅里叶变换(FFTs)和对角乘法来计算相关的矩阵-向量乘法,与朴素乘法相比通常带来显著的性能提升,但它也增加了不必要的信息,从而增加了内存消耗并降低了计算效率。作为一种改进,我们提出了一种惰性嵌入、急切投影算法,对于维度 $d$,渐近地将所需计算量减少 $\propto d/ \left(2 - 2^{-d+1}\right)$,峰值内存使用量减少 $\propto 2/\left((d+1)2^{-d} + 1\right)$,通常情况下,对于完全对称或斜对称系统则减少 $\propto\left(2^{d} + 1\right)/\left(d +2\right)$。该算法的结构提出了几种在多个设备上并行化大型块 Toeplitz 矩阵-向量乘积的简单方法,并增加了内存和任务管理的灵活性。

英文摘要:

Numeric modeling of electromagnetics and acoustics frequently entails matrix-vector multiplication with block Toeplitz structure. When the corresponding block Toeplitz matrix is not highly sparse, e.g. when considering the electromagnetic Green function in a spatial basis, such calculations are often carried out by performing a multilevel embedding that gives the matrix a fully circulant form. While this transformation allows the associated matrix-vector multiplication to be computed via Fast Fourier Transforms (FFTs) and diagonal multiplication, generally leading to dramatic performance improvements compared to naive multiplication, it also adds unnecessary information that increases memory consumption and reduces computational efficiency. As an improvement, we propose a lazy embedding, eager projection, algorithm that for dimensionality $d$, asymptotically reduces the number of needed computations $\propto d/ \left(2 - 2^{-d+1}\right)$ and peak memory usage $\propto 2/\left((d+1)2^{-d} + 1\right)$, generally, and $\propto\left(2^{d} + 1\right)/\left(d +2\right)$ for a fully symmetric or skew-symmetric systems. The structure of the algorithm suggests several simple approaches for parallelization of large block Toeplitz matrix-vector products across multiple devices and adds flexibility in memory and task management.

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

↑