NeST:一个基于生长-修剪范式的神经网络综合工具
NeST: A Neural Network Synthesis Tool Based on a Grow-and-Prune Paradigm
摘要:
深度神经网络(DNN)已经开始对机器学习的各种应用产生广泛的影响。然而,为大型应用程序找到最佳DNN架构的问题具有挑战性。常见的方法是更深和更大的DNN架构,但可能会产生大量的冗余。为了解决这些问题,我们引入了一种网络增长算法,该算法补充了网络修剪,以在训练过程中学习权重和紧凑的DNN架构。我们提出了一个DNN合成工具(NeST),它结合了这两种方法来自动生成紧凑和准确的DNN。NeST从一个随机初始化的稀疏网络开始,称为种子架构。它通过基于梯度的增长和基于幅度的神经元和连接修剪来迭代地调整架构。我们的实验结果表明,NeST产生准确,但非常紧凑的DNN,具有广泛的种子架构选择。对于LeNet-300-100(LeNet-5)架构,我们将网络参数减少了70.2倍(74.3倍),浮点运算(FLOP)减少了79.4倍(43.7倍)。对于AlexNet和VGG-16架构,我们将网络参数(FLOP)分别减少了15.7倍(4.6倍)和30.2倍(8.6倍)。NeST的增长和修剪范式提供了显着的额外参数和FLOPs减少相对于修剪的方法。
英文摘要:
Deep neural networks (DNNs) have begun to have a pervasive impact on various applications of machine learning. However, the problem of finding an optimal DNN architecture for large applications is challenging. Common approaches go for deeper and larger DNN architectures but may incur substantial redundancy. To address these problems, we introduce a network growth algorithm that complements network pruning to learn both weights and compact DNN architectures during training. We propose a DNN synthesis tool (NeST) that combines both methods to automate the generation of compact and accurate DNNs. NeST starts with a randomly initialized sparse network called the seed architecture. It iteratively tunes the architecture with gradient-based growth and magnitude-based pruning of neurons and connections. Our experimental results show that NeST yields accurate, yet very compact DNNs, with a wide range of seed architecture selection. For the LeNet-300-100 (LeNet-5) architecture, we reduce network parameters by 70.2x (74.3x) and floating-point operations (FLOPs) by 79.4x (43.7x). For the AlexNet and VGG-16 architectures, we reduce network parameters (FLOPs) by 15.7x (4.6x) and 30.2x (8.6x), respectively. NeST's grow-and-prune paradigm delivers significant additional parameter and FLOPs reduction relative to pruning-only methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。