挖掘权值知识优化神经网络结构
Mining the Weights Knowledge for Optimizing Neural Network Structures
摘要:
嵌入在人工神经网络的权重中的知识可用于改进网络结构,例如在网络压缩中。但是,这些知识是手工建立的,可能不太准确,相关信息可能会被忽略。受哺乳动物大脑学习机制的启发,本文将神经网络权值中包含的知识挖掘出来,用于结构的自动学习。我们引入了一个切换器神经网络(SNN),它使用特定于任务的神经网络(简称TNN)的权重作为输入。通过挖掘包含在权重中的知识,SNN输出用于关闭和加权TNN中的神经元的缩放因子。为了同时优化TNN的结构和参数,采用随机梯度下降算法在TNN相同的性能评估下交替学习SNN和TNN。我们在分类应用中广泛使用的数据集和流行的网络上测试了我们的方法。在准确性方面,我们稳定而显著地优于基线网络和其他结构学习方法。同时,我们压缩基线网络,而不引入任何稀疏归纳机制,特别是我们的方法,在处理更简单的基线或更困难的任务时,会导致较低的压缩率。这些结果表明,我们的方法可以产生一个更合理的结构。
英文摘要:
Knowledge embedded in the weights of the artificial neural network can be used to improve the network structure, such as in network compression. However, the knowledge is set up by hand, which may not be very accurate, and relevant information may be overlooked. Inspired by how learning works in the mammalian brain, we mine the knowledge contained in the weights of the neural network toward automatic architecture learning in this paper. We introduce a switcher neural network (SNN) that uses as inputs the weights of a task-specific neural network (called TNN for short). By mining the knowledge contained in the weights, the SNN outputs scaling factors for turning off and weighting neurons in the TNN. To optimize the structure and the parameters of TNN simultaneously, the SNN and TNN are learned alternately under the same performance evaluation of TNN using stochastic gradient descent. We test our method on widely used datasets and popular networks in classification applications. In terms of accuracy, we outperform baseline networks and other structure learning methods stably and significantly. At the same time, we compress the baseline networks without introducing any sparse induction mechanism, and our method, in particular, leads to a lower compression rate when dealing with simpler baselines or more difficult tasks. These results demonstrate that our method can produce a more reasonable structure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。