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

神经网络压缩中的混合张量分解

Hybrid Tensor Decomposition in Neural Network Compression

University of California, Santa Barbara(加州大学圣塔芭芭拉分校);Tsinghua University(清华大学)

Bijiao Wu, Dingheng Wang, Guangshe Zhao, Lei Deng, Guoqi Li

摘要:

深度神经网络(DNN)最近在各种人工智能(AI)应用中取得了令人印象深刻的突破,因为它能够从大数据中学习高级特征。然而,由于越来越复杂的应用程序需要越来越大的模型,DNN对计算资源特别是存储消耗的需求正在增长。为了解决这个问题,包括张量序列(TT)和张量环(TR)的几种张量分解方法已被应用于压缩DNN,并显示出相当大的压缩效果。在这项工作中,我们介绍了分层塔克(HT),一个经典的,但很少使用的张量分解方法,研究其在神经网络压缩的能力。我们将权重矩阵和卷积核转换为HT和TT格式进行比较研究,因为后者是最广泛使用的分解方法和HT的变体。我们进一步从理论和实验上发现,HT格式在压缩权重矩阵时具有更好的性能,而TT格式更适合压缩卷积核。基于这种现象,我们提出了一种混合张量分解的策略,通过将TT和HT结合在一起来分别压缩卷积和全连接部分,并且比在卷积神经网络(CNN)上仅使用TT或HT格式获得更好的精度。本文的工作为混合张量分解在神经网络压缩中的应用提供了一种新的思路。

英文摘要:

Deep neural networks (DNNs) have enabled impressive breakthroughs in various artificial intelligence (AI) applications recently due to its capability of learning high-level features from big data. However, the current demand of DNNs for computational resources especially the storage consumption is growing due to that the increasing sizes of models are being required for more and more complicated applications. To address this problem, several tensor decomposition methods including tensor-train (TT) and tensor-ring (TR) have been applied to compress DNNs and shown considerable compression effectiveness. In this work, we introduce the hierarchical Tucker (HT), a classical but rarely-used tensor decomposition method, to investigate its capability in neural network compression. We convert the weight matrices and convolutional kernels to both HT and TT formats for comparative study, since the latter is the most widely used decomposition method and the variant of HT. We further theoretically and experimentally discover that the HT format has better performance on compressing weight matrices, while the TT format is more suited for compressing convolutional kernels. Based on this phenomenon we propose a strategy of hybrid tensor decomposition by combining TT and HT together to compress convolutional and fully connected parts separately and attain better accuracy than only using the TT or HT format on convolutional neural networks (CNNs). Our work illuminates the prospects of hybrid tensor decomposition for neural network compression.

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

↑