arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.16366cs.LGcs.SC
收藏

使用图曲率的训练后神经网络剪枝

Post-Training Neural Network Pruning using Graph Curvature

Rensselaer Polytechnic Institute(新罕布什尔理工学院);University of Southern California(南加州大学)

Shuhang Tan, Jayson Sia, Paul Bogdan, Radoslav Ivanov

AI总结:

提出基于Ollivier-Ricci曲率(ORC)的神经曲率(NC)概念,通过计算激活模式下的边曲率来识别神经网络中不重要的连接,实现高效剪枝。

摘要:

本文通过图论的视角为神经网络(NN)剪枝问题提供了新的视角。为了实现有效的剪枝,我们旨在识别主要的NN数据流以及相应的NN连接,这些连接对于完整模型的性能最重要和最不重要。与基于信息论的NN数据分析标准方法不同,我们采用了图曲率的概念,特别是Ollivier-Ricci曲率(ORC)。ORC已成功用于识别各种领域中的重要图边,如道路交通分析、生物网络和社交网络。特别是,具有负ORC的边被认为是瓶颈,因此对图的整体连通性至关重要,而正ORC的边则不那么重要。我们将这种直觉用于NN:(1)构建由NN结构诱导的图,并基于ORC引入神经曲率(NC)的概念;(2)根据一组输入示例的激活模式计算曲率;(3)证明NC可用于根据边对整体NN功能的重要性对边进行排序。我们通过在三个图像数据集(MNIST、CIFAR-10和CIFAR-100)上训练的各种中小型模型上进行剪枝实验来评估我们的方法。结果表明,与现有剪枝方法相比,我们的方法可以识别出更多不重要的边。

英文摘要:

This paper provides a fresh view of the neural network (NN) pruning problem through the lens of graph theory. To achieve effective pruning, we aim to identify the main NN data flows and the corresponding NN connections that are most and least important for the performance of the full model. Unlike the standard approach to NN data flow analysis, which is based on information theory, we employ the notion of graph curvature, specifically Ollivier-Ricci curvature (ORC). ORC has been successfully used to identify important graph edges in various domains such as road traffic analysis, biological networks, and social networks. In particular, edges with negative ORC are considered bottlenecks and are therefore critical to the graph's overall connectivity, whereas positive-ORC edges are less essential. We use this intuition for NNs to (1) construct a graph induced by the NN structure and introduce the notion of neural curvature (NC) based on ORC; (2) calculate curvatures based on activation patterns for a set of input examples; and (3) demonstrate that NC can be used to rank edges according to their importance for overall NN functionality. We evaluate our method through pruning experiments on a variety of small and medium size models trained on three image datasets: MNIST, CIFAR-10, and CIFAR-100. The results indicate that our method can identify a larger number of unimportant edges compared to existing pruning methods.

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

↑