深度神经网络的滤波器移植:原因、方法和培养
Filter Grafting for Deep Neural Networks: Reason, Method, and Cultivation
摘要:
滤波器是现代卷积神经网络(CNN)的关键部件。然而,由于CNN通常是过度参数化的,因此预训练的网络总是包含一些无效(不重要)的过滤器。这些滤波器具有相对小的$l_{1}$范数并且对输出(\textbf{Reason})贡献很小。虽然过滤器修剪出于效率考虑删除了这些无效过滤器,但我们倾向于重新激活它们以提高CNN的表示能力。在本文中,我们介绍了过滤器嫁接(\textbf{Method}),以实现这一目标。通过将外部信息(权重)移植到无效过滤器中来处理激活。为了更好地进行嫁接,我们开发了一种新的标准来衡量过滤器的信息和自适应加权策略,以平衡网络之间的嫁接信息。嫁接操作后,网络与初始状态相比具有更少的无效过滤器,从而赋予模型更大的表示能力。同时,由于嫁接是在所有网络上进行的,我们发现嫁接在改进无效过滤器时可能会丢失有效过滤器的信息。为了对有效和无效过滤器进行普遍改进,我们采用蒸馏补偿接枝(\textbf{Cultivation})来克服接枝的缺点。大量的实验进行分类和识别任务,以显示我们的方法的优越性。代码可在\textcolor{black}{\emph{https://github.com/fxmeng/filter-grafting}}上获得。
英文摘要:
Filter is the key component in modern convolutional neural networks (CNNs). However, since CNNs are usually over-parameterized, a pre-trained network always contain some invalid (unimportant) filters. These filters have relatively small $l_{1}$ norm and contribute little to the output (\textbf{Reason}). While filter pruning removes these invalid filters for efficiency consideration, we tend to reactivate them to improve the representation capability of CNNs. In this paper, we introduce filter grafting (\textbf{Method}) to achieve this goal. The activation is processed by grafting external information (weights) into invalid filters. To better perform the grafting, we develop a novel criterion to measure the information of filters and an adaptive weighting strategy to balance the grafted information among networks. After the grafting operation, the network has fewer invalid filters compared with its initial state, enpowering the model with more representation capacity. Meanwhile, since grafting is operated reciprocally on all networks involved, we find that grafting may lose the information of valid filters when improving invalid filters. To gain a universal improvement on both valid and invalid filters, we compensate grafting with distillation (\textbf{Cultivation}) to overcome the drawback of grafting . Extensive experiments are performed on the classification and recognition tasks to show the superiority of our method. Code is available at \textcolor{black}{\emph{https://github.com/fxmeng/filter-grafting}}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。