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

使用图模块化理解DNN的动态性

Understanding the Dynamics of DNNs Using Graph Modularity

Zhejiang University of Technology(浙江工业大学);Northwestern Polytechnical University(西北工业大学);Science and Technology on Communication Information Security Control Laboratory(通信信息安全控制科学技术实验室)

Yao Lu, Wen Yang, Yunzhe Zhang, Zuohui Chen, Jinyin Chen, Qi Xuan, Zhen Wang, Xiaoniu Yang

摘要:

有很好的论据支持这样一种说法,即深度神经网络(DNN)比以前的手工特征工程捕获更好的特征表示,这导致了显着的性能改进。在本文中,我们朝着理解层上特征表示的动态迈出了一小步。具体来说,我们将预训练DNN中中间表示的类分离过程建模为动态图中社区的演化。然后,我们引入模块化,图论中的一个通用度量,量化社区的演化。在初步实验中,我们发现模块性大致倾向于随着层的深入而增加,并且当模型复杂度相对于数据集较大时,会出现退化和平台。通过渐近分析,我们证明了模块性可以广泛地用于不同的应用。例如,模块化提供了新的见解来量化特征表示之间的差异。更重要的是,我们证明了模块化曲线中的退化和平台表示DNN中的冗余层,并且可以在对性能影响最小的情况下进行修剪,这为层修剪提供了理论指导。我们的代码可在https://github.com/yaolu-zjut/Dynamic-Graphs-Construction上获得。

英文摘要:

There are good arguments to support the claim that deep neural networks (DNNs) capture better feature representations than the previous hand-crafted feature engineering, which leads to a significant performance improvement. In this paper, we move a tiny step towards understanding the dynamics of feature representations over layers. Specifically, we model the process of class separation of intermediate representations in pre-trained DNNs as the evolution of communities in dynamic graphs. Then, we introduce modularity, a generic metric in graph theory, to quantify the evolution of communities. In the preliminary experiment, we find that modularity roughly tends to increase as the layer goes deeper and the degradation and plateau arise when the model complexity is great relative to the dataset. Through an asymptotic analysis, we prove that modularity can be broadly used for different applications. For example, modularity provides new insights to quantify the difference between feature representations. More crucially, we demonstrate that the degradation and plateau in modularity curves represent redundant layers in DNNs and can be pruned with minimal impact on performance, which provides theoretical guidance for layer pruning. Our code is available at https://github.com/yaolu-zjut/Dynamic-Graphs-Construction.

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

↑