基于代数拓扑的神经网络嵌入空间演化特征刻画研究
On Characterizing the Evolution of Embedding Space of Neural Networks using Algebraic Topology
AI总结:
该研究采用立方同调与贝蒂数分析深度神经网络嵌入空间的拓扑演化规律,发现拓扑复杂度衰减速率可量化架构对泛化能力的影响,还揭示了多项拓扑不变性,且该度量在预训练模型排序任务中与微调后精度的相关性优于现有方法。
摘要:
我们通过贝蒂数(Betti numbers)研究训练良好的深度神经网络(DNN)的特征嵌入空间拓扑结构随网络层传递的变化规律。受现有针对浅层全连接网络(FCN)使用单纯复形开展的研究启发,我们采用立方同调(Cubical homology)方法开展拓展分析,覆盖多种主流深度架构与真实图像数据集。研究表明,随着网络深度增加,拓扑结构复杂的数据集会被转化为简单结构,最终贝蒂数降至其可能的最低值。拓扑复杂度的衰减速率(作为一项度量指标)可用于量化架构选择对模型泛化能力的影响。从表示学习的视角来看,我们还发现了若干不变性,包括:(1)同一架构在相似数据集上的拓扑不变性;(2)同一数据集的嵌入空间在不同深度架构下的不变性;(3)嵌入空间对输入分辨率/尺寸的不变性;(4)嵌入空间对数据子采样的不变性。为进一步验证网络表达能力与泛化能力之间的关联,我们针对下游分类任务(迁移学习)开展了预训练模型排序任务实验。与现有方法相比,本文提出的度量指标与预训练模型经微调后实际可达到的精度具有更高的相关性。
英文摘要:
We study how the topology of feature embedding space changes as it passes through the layers of a well-trained deep neural network (DNN) through Betti numbers. Motivated by existing studies using simplicial complexes on shallow fully connected networks (FCN), we present an extended analysis using Cubical homology instead, with a variety of popular deep architectures and real image datasets. We demonstrate that as depth increases, a topologically complicated dataset is transformed into a simple one, resulting in Betti numbers attaining their lowest possible value. The rate of decay in topological complexity (as a metric) helps quantify the impact of architectural choices on the generalization ability. Interestingly from a representation learning perspective, we highlight several invariances such as topological invariance of (1) an architecture on similar datasets; (2) embedding space of a dataset for architectures of variable depth; (3) embedding space to input resolution/size, and (4) data sub-sampling. In order to further demonstrate the link between expressivity \& the generalization capability of a network, we consider the task of ranking pre-trained models for downstream classification task (transfer learning). Compared to existing approaches, the proposed metric has a better correlation to the actually achievable accuracy via fine-tuning the pre-trained model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。