arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.14855cs.LGcs.CG
收藏

等价线性神经网络集合的几何

The Geometry of the Set of Equivalent Linear Neural Networks

University of California at Berkeley(加州大学伯克利分校)

Jonathan Richard Shewchuk, Sagnik Bhattacharya

AI总结:

本文研究计算相同线性变换的线性神经网络权重向量集合(纤维)的几何与拓扑,提出秩分层方法将其划分为满足边界条件的流形,推导各层维度与邻接关系,并证明线性神经网络基本定理以揭示信息流经网络的不同模式。

摘要:

我们刻画了所有使线性神经网络计算相同线性变换 $W$ 的权重向量集合的几何与拓扑性质。该权重向量集合被称为 $W$(在矩阵乘法映射下)的纤维,它被嵌入到由所有可能权重向量构成的欧几里得权重空间中。该纤维是一个代数簇,但不一定是流形。我们描述了一种对流形进行分层的自然方法——即将该代数簇划分为一组由不同维度的流形组成的有限集合,称为层。我们将这组层称为秩分层。我们推导了这些层的维度以及它们相互邻接的关系。尽管这些层是互不相交的,但它们的闭包并非如此。我们的层满足边界条件:如果一个层与另一个层的闭包相交,那么前者是后者闭包的子集。每个层都是嵌入在权重空间中的 $C^\infty$ 类流形,因此它在每个点(权重向量)处都有明确定义的切空间和法空间。我们展示了如何确定指定层上指定点处与该层相切和正交的子空间,并为这些子空间构造了优雅的基。为了帮助实现这些目标,我们首先推导了所谓的线性神经网络基本定理,类似于 Strang 所称的线性代数基本定理。我们展示了如何将线性神经网络的每一层分解为一组子空间,以揭示信息如何流经神经网络。纤维的每个层代表了信息流经神经网络(或未能流经)的一种不同模式。层的拓扑结构完全取决于这种分解。其几何结构也是如此,仅差权重空间中的一个线性变换。

英文摘要:

We characterize the geometry of the set of all weight vectors for which a fully-connected linear neural network computes the same linear transformation $W$. Said another way, the set of all sequences of matrices (of predetermined sizes) whose product is $W$. This set of weight vectors is an algebraic variety in the Euclidean weight space, called the fiber of $W$ under the matrix multiplication map. Sometimes this variety is a manifold, but usually not. The rank stratification of a fiber is a natural partition of the fiber into smooth manifolds of various dimensions called strata. We derive the dimensions of these strata and characterize how they are connected to each other. They satisfy the frontier condition: if a stratum intersects the closure of another stratum, then the former stratum is a subset of the closure of the latter stratum. This subset relationship can be expressed as a partial order with a single minimal element, a stratum that is included in the closure of every other stratum. Hence the strata can be arranged in a hierarchy represented by a directed acyclic graph that represents that partial order; we give an algorithm that computes that graph. A key result describes the relationship between this partial order and the ranks of certain matrices in the network. We derive the tangent and normal subspaces of the strata, and we construct elegant bases for those subspaces. Each stratum represents a different pattern of information flow through the network, expressed as a barcode, borrowed from the study of persistent homology. The topology of a stratum depends solely on its barcode. So does its geometry, up to a linear transformation in weight space. Connections among the strata are best understood through "barcode moves," which can be expressed as simple modifications of the barcodes.

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

↑