arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07176cs.LG
收藏

MatrixKAN:并行化的Kolmogorov-Arnold网络

MatrixKAN: Parallelized Kolmogorov-Arnold Network

School of Electrical Engineering and Computer Science, Oregon State University(俄勒冈州立大学电气工程与计算机科学学院)

Cale Coffman, Lizhong Chen

AI总结:

针对KAN因B-spline递归计算导致训练和推理慢的问题,提出MatrixKAN,利用矩阵表示和操作并行化B-spline计算,实现约40倍加速并展现优异的缩放性。

摘要:

Kolmogorov-Arnold Networks (KAN) 是一类新型神经网络架构,是 Multilayer Perceptron (MLP) 的有力替代方案,展现出更好的表达能力和可解释性。然而,由于底层 B-spline 计算的递归特性,KANs 的训练和推理速度相对 MLPs 较慢。对于使用高次 B-splines 的 KANs,此问题尤为明显,因为所需的不可并行递归次数与 B-spline 次数成正比。我们提出 MatrixKAN 解决此问题,这是一种通过矩阵表示和操作将 B-spline 计算并行化的新颖优化方法,显著提升了使用高次 B-splines 模型的有效计算时间。本文证明了 MatrixKAN 计算时间相对于 B-spline 次数具有优越的缩放性。实验表明,相对于 KAN 加速约 40 倍,且对于更大数据集或更高样条次数还有显著额外加速潜力。

英文摘要:

Kolmogorov-Arnold Networks (KAN) are a new class of neural network architecture representing a promising alternative to the Multilayer Perceptron (MLP), demonstrating improved expressiveness and interpretability. However, KANs suffer from slow training and inference speeds relative to MLPs due in part to the recursive nature of the underlying B-spline calculations. This issue is particularly apparent with respect to KANs utilizing high-degree B-splines, as the number of required non-parallelizable recursions is proportional to B-spline degree. We solve this issue by proposing MatrixKAN, a novel optimization that parallelizes B-spline calculations with matrix representation and operations, thus significantly improving effective computation time for models utilizing high-degree B-splines. In this paper, we demonstrate the superior scaling of MatrixKAN's computation time relative to B-spline degree. Further, our experiments demonstrate speedups of approximately 40x relative to KAN, with significant additional speedup potential for larger datasets or higher spline degrees.

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

↑