用代数拓扑方法揭示神经网络的内在几何结构
A Quotient Homology Theory of Representation in Neural Networks
- 基于分段线性性质构建输入数据的等价关系
- 证明神经网络表示的贝蒂数等于商同调群
- 无需外部度量即可捕捉纯拓扑特征,适合理论研究
已有研究表明,使用ReLU激活函数的神经网络实现的映射集合与分段线性连续映射集合完全一致。这类网络在输入空间中通过超平面划分生成凸多面体区域 $G_J$,在每个区域内网络 $Φ$ 以仿射方式运行。本文利用这一性质,定义了输入数据集上的等价关系 $ ilde{Φ}$,构建商空间并将其划分为与局部秩 $Φ_J$ 及各区域像集交集 $igcap ext{Im}Φ_{J_i}$ 相关的两部分。后者称为 extit{重叠分解} $\mathcal{O}_Φ$。我们证明:若每个多面体与输入流形的交为凸集,则神经网络表示的同调群与商同调群同构,即 $H_k(Φ(\mathcal{M})) \simeq H_k(\mathcal{M}/\mathcal{O}_Φ)$。这使得我们能够不依赖外部度量,直接计算神经表示的贝蒂数。本文提出通过线性规划和并查集算法数值求解重叠分解。在玩具数据集上的实验表明,相比标准持久同调,本文方法能更准确地追踪纯拓扑而非几何特征。最后,我们在多个分类任务上分析训练过程中重叠分解的演化,并讨论方法局限性。
原文摘要 · Abstract (English)
Previous research has proven that the set of maps implemented by neural networks with a ReLU activation function is identical to the set of piecewise linear continuous maps. Furthermore, such networks induce a hyperplane arrangement splitting the input domain of the network into convex polyhedra $G_J$ over which a network $Φ$ operates in an affine manner. In this work, we leverage these properties to define an equivalence relation $\sim_Φ$ on top of an input dataset, which defines a quotient space that can be split into two sets related to the local rank of $Φ_J$ and the intersections $\cap \text{Im}Φ_{J_i}$. We refer to the latter as the \textit{overlap decomposition} $\mathcal{O}_Φ$ and prove that if the intersections between each polyhedron and an input manifold are convex, the homology groups of neural representations are isomorphic to quotient homology groups $H_k(Φ(\mathcal{M})) \simeq H_k(\mathcal{M}/\mathcal{O}_Φ)$. This lets us intrinsically calculate the Betti numbers of neural representations without the choice of an external metric. We develop methods to numerically compute the overlap decomposition through linear programming and a union-find algorithm. Using this framework, we perform several experiments on toy datasets showing that, compared to standard persistent homology, our overlap homology-based computation of Betti numbers tracks purely topological rather than geometric features. Finally, we study the evolution of the overlap decomposition during training on several classification problems and discuss some shortcomings of our method.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。