arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.06194cs.LGcs.CVcs.NEphysics.comp-phquant-ph
收藏

用矩阵乘积算子压缩深度神经网络

Compressing deep neural networks by matrix product operators

Renmin University of China(中国人民大学);Institute of Physics, Chinese Academy of Sciences(中国科学院物理研究所);Peng Cheng Laboratory(鹏城实验室);University of Chinese Academy of Sciences(中国科学院大学);RIKEN Brain Science Institute(日本理化学研究所脑科学研究所)

Ze-Feng Gao, Song Cheng, Rong-Qiang He, Z. Y. Xie, Hui-Hai Zhao, Zhong-Yi Lu, Tao Xiang

摘要:

深度神经网络是根据许多交替布置的线性和非线性变换的信号的多层映射的参数化。线性变换通常用于全连接层和卷积层,包含大多数训练和存储的变分参数。压缩深度神经网络以减少其变分参数的数量而不是其预测能力是一个重要但具有挑战性的问题,该问题朝着建立优化方案以有效地训练这些参数并降低过拟合的风险。在这里,我们表明,这个问题可以有效地解决表示线性变换与矩阵乘积算子(MPO),这是一个张量网络最初在物理学中提出的特征在一维量子态的短程纠缠。我们已经在五个典型的神经网络中测试了这种方法,包括FC 2,LeNet-5,VGG,ResNet和DenseNet,在两个广泛使用的数据集上,即MNIST和CIFAR-10,发现这种MPO表示确实在输入和输出信号之间建立了一个忠实而有效的映射,它可以保持甚至提高预测精度,同时大大减少参数的数量。我们的方法大大简化了深度学习中的表示,并为建立现代神经网络框架开辟了一条可能的途径,这种框架可能更简单、更便宜,但更有效。

英文摘要:

A deep neural network is a parametrization of a multilayer mapping of signals in terms of many alternatively arranged linear and nonlinear transformations. The linear transformations, which are generally used in the fully connected as well as convolutional layers, contain most of the variational parameters that are trained and stored. Compressing a deep neural network to reduce its number of variational parameters but not its prediction power is an important but challenging problem toward the establishment of an optimized scheme in training efficiently these parameters and in lowering the risk of overfitting. Here we show that this problem can be effectively solved by representing linear transformations with matrix product operators (MPOs), which is a tensor network originally proposed in physics to characterize the short-range entanglement in one-dimensional quantum states. We have tested this approach in five typical neural networks, including FC2, LeNet-5, VGG, ResNet, and DenseNet on two widely used data sets, namely, MNIST and CIFAR-10, and found that this MPO representation indeed sets up a faithful and efficient mapping between input and output signals, which can keep or even improve the prediction accuracy with a dramatically reduced number of parameters. Our method greatly simplifies the representations in deep learning, and opens a possible route toward establishing a framework of modern neural networks which might be simpler and cheaper, but more efficient.

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

↑