基于高效神经网络的增长-剪枝增量学习
Incremental Learning Using a Grow-and-Prune Paradigm with Efficient Neural Networks
摘要:
深度神经网络(DNN)已经成为许多机器学习应用的广泛部署的模型。然而,它们的固定架构,大量的训练成本和显著的模型冗余使得很难有效地更新它们以适应以前看不见的数据。为了解决这些问题,我们提出了一个增量学习框架的基础上生长和修剪神经网络综合范例。当新数据到达时,神经网络首先基于梯度增长新连接,以增加网络容量来容纳新数据。然后,该框架根据权重的大小迭代地修剪掉连接,以提高网络的紧凑性,从而恢复效率。最后,该模型依赖于一个轻量级DNN,该DNN既可以进行推理,又适合未来的增长和修剪更新。与传统方法(如从头开始训练和网络微调)相比,所提出的框架提高了准确性,缩小了网络大小,并显着降低了传入数据的额外训练成本。对于MNIST数据集衍生的LeNet-300-100和LeNet-5神经网络架构,与从头开始训练(网络微调)相比,该框架分别将训练成本降低了64%(63%)和67%(63%)。对于ImageNet数据集的ResNet-18架构和AN 4数据集的DeepSpeech 2,与从头开始训练(网络微调)相比,相应的训练成本降低分别为64%(60%)和67%(62%)。我们的衍生模型包含更少的网络参数,但相对于传统的基线实现更高的精度。
英文摘要:
Deep neural networks (DNNs) have become a widely deployed model for numerous machine learning applications. However, their fixed architecture, substantial training cost, and significant model redundancy make it difficult to efficiently update them to accommodate previously unseen data. To solve these problems, we propose an incremental learning framework based on a grow-and-prune neural network synthesis paradigm. When new data arrive, the neural network first grows new connections based on the gradients to increase the network capacity to accommodate new data. Then, the framework iteratively prunes away connections based on the magnitude of weights to enhance network compactness, and hence recover efficiency. Finally, the model rests at a lightweight DNN that is both ready for inference and suitable for future grow-and-prune updates. The proposed framework improves accuracy, shrinks network size, and significantly reduces the additional training cost for incoming data compared to conventional approaches, such as training from scratch and network fine-tuning. For the LeNet-300-100 and LeNet-5 neural network architectures derived for the MNIST dataset, the framework reduces training cost by up to 64% (63%) and 67% (63%) compared to training from scratch (network fine-tuning), respectively. For the ResNet-18 architecture derived for the ImageNet dataset and DeepSpeech2 for the AN4 dataset, the corresponding training cost reductions against training from scratch (network fine-tunning) are 64% (60%) and 67% (62%), respectively. Our derived models contain fewer network parameters but achieve higher accuracy relative to conventional baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。