arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.10837cs.LGmath.COmath.RTstat.ML
收藏

群等变神经网络中提高计算效率的图解方法

A Diagrammatic Approach to Improve Computational Efficiency in Group Equivariant Neural Networks

Imperial College London(帝国理工学院)

Edward Pearce-Crump, William J. Knottenbelt

AI总结:

本文提出一种基于范畴论图解框架的快速矩阵乘法算法,用于四类群的等变权重矩阵,将计算分解为最优步骤,显著(指数级)提升群等变神经网络的计算效率。

摘要:

群等变神经网络因其在数据具有已知底层对称性的应用中具有良好的泛化能力而日益重要。近期对一类以高阶张量幂空间为层的此类网络的特征刻画表明,它们具有显著潜力;然而,由于所涉及的计算成本过高,其实现仍具挑战性。在本工作中,我们针对四类群(对称群、正交群、特殊正交群和辛群)的等变权重矩阵(这些矩阵在这些网络的张量幂层空间之间进行映射)提出了一种快速矩阵乘法算法。我们通过发展一种基于范畴论的图解框架来获得该算法,该框架不仅使我们能够将每个权重矩阵表示为图的线性组合,还使我们能够利用这些图将原始计算分解为一系列最优的步骤。我们证明,与朴素矩阵乘法相比,该算法将大O时间复杂度呈指数级改进。

英文摘要:

Group equivariant neural networks are growing in importance owing to their ability to generalise well in applications where the data has known underlying symmetries. Recent characterisations of a class of these networks that use high-order tensor power spaces as their layers suggest that they have significant potential; however, their implementation remains challenging owing to the prohibitively expensive nature of the computations that are involved. In this work, we present a fast matrix multiplication algorithm for any equivariant weight matrix that maps between tensor power layer spaces in these networks for four groups: the symmetric, orthogonal, special orthogonal, and symplectic groups. We obtain this algorithm by developing a diagrammatic framework based on category theory that enables us to not only express each weight matrix as a linear combination of diagrams but also makes it possible for us to use these diagrams to factor the original computation into a series of steps that are optimal. We show that this algorithm improves the Big-$O$ time complexity exponentially in comparison to a naïve matrix multiplication.

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

↑