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

在实际机器学习任务中稳定弹性权重巩固方法并将权重重要性用于神经网络剪枝

Stabilizing Elastic Weight Consolidation method in practical ML tasks and using weight importances for neural network pruning

PJSC Sberbank(俄罗斯联邦储蓄银行)

Alexey Kutalev, Alisa Lapina

AI总结:

本文针对EWC持续学习方法在深度网络应用中的梯度爆炸等问题,提出稳定化方案,同时对比多种权重重要性计算方法,并探索其在神经网络剪枝中的应用。

摘要:

本文致力于研究弹性权重巩固(Elastic Weight Consolidation,EWC)方法在多个训练集上用于神经网络持续学习的实际应用特性。我们将更严谨地比较EWC方法中用于计算权重重要性的知名方法,包括记忆感知突触(Memory Aware Synapses,MAS)、突触智能(Synaptic Intelligence,SI)方法,以及EWC原始论文中基于费舍尔信息矩阵的权重重要性计算方法。我们将这些方法应用于带有全连接层和卷积层的深度神经网络,为每种方法找到最优超参数,并对比使用这些超参数时神经网络持续学习的效果。\n随后,我们指出将EWC方法应用于带有卷积层和自注意力层的深度神经网络时出现的问题,例如“梯度爆炸”,以及在使用梯度范数约束(梯度裁剪)时梯度中有效信息的丢失。接着,我们提出一种EWC方法的稳定化方案以解决这些问题,将其与原始方法进行对比评估,结果表明所提出的稳定化方案在持续学习中的技能保持任务上表现不逊于原始EWC,且不存在其缺点。最后,我们展示了在神经网络剪枝问题中使用不同类型权重重要性的一个有趣发现。

英文摘要:

This paper is devoted to the features of the practical application of the Elastic Weight Consolidation (EWC) method for continual learning of neural networks on several training sets. We will more rigorously compare the well-known methodologies for calculating the importance of weights used in the EWC method. These are the Memory Aware Synapses (MAS), Synaptic Intelligence (SI) methodologies and the calculation of the importance of weights based on the Fisher information matrix from the original paper on EWC. We will consider these methodologies as applied to deep neural networks with fully connected and convolutional layers, find the optimal hyperparameters for each of the methodologies, and compare the results of continual neural network learning using these hyperparameters. Next, we will point out the problems that arise when applying the EWC method to deep neural networks with convolutional layers and self-attention layers, such as the "gradient explosion" and the loss of meaningful information in the gradient when using the constraint of its norm (gradient clipping). Then, we will propose a stabilization approach for the EWC method that helps to solve these problems, evaluate it in comparison with the original methodology and show that the proposed stabilization approach performs on the task of maintaining skills during continual learning no worse than the original EWC, but does not have its disadvantages. In conclusion, we present an interesting fact about the use of various types of weight importance in the problem of neural network pruning.

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

↑