简约深网的张量收缩层
Tensor Contraction Layers for Parsimonious Deep Nets
摘要:
张量为机器学习中经常遇到的许多类型的数据提供了自然的表示。例如,图像自然地表示为三阶张量,其中模式对应于高度、宽度和通道。张量方法以其发现多维依赖关系的能力而闻名,特别是张量分解,已被用于产生数据的紧凑低秩近似。在本文中,我们探讨了张量收缩作为神经网络层的使用,并研究了将其应用于激活张量的几种方法。具体来说,我们提出了张量收缩层(TCL),这是首次尝试将张量收缩作为端到端的可训练神经网络层。应用于现有的网络,TCL减少了激活张量的维数,从而减少了模型参数的数量。我们评估TCL的图像识别任务,增强两个流行的网络(AlexNet,VGG)。生成的模型是端到端可训练的。将TCL应用于图像识别任务,使用CIFAR100和ImageNet数据集,我们评估了通过张量收缩进行参数缩减对性能的影响。我们证明了显着的模型压缩,而不显着影响的准确性,在某些情况下,提高了性能。
英文摘要:
Tensors offer a natural representation for many kinds of data frequently encountered in machine learning. Images, for example, are naturally represented as third order tensors, where the modes correspond to height, width, and channels. Tensor methods are noted for their ability to discover multi-dimensional dependencies, and tensor decompositions in particular, have been used to produce compact low-rank approximations of data. In this paper, we explore the use of tensor contractions as neural network layers and investigate several ways to apply them to activation tensors. Specifically, we propose the Tensor Contraction Layer (TCL), the first attempt to incorporate tensor contractions as end-to-end trainable neural network layers. Applied to existing networks, TCLs reduce the dimensionality of the activation tensors and thus the number of model parameters. We evaluate the TCL on the task of image recognition, augmenting two popular networks (AlexNet, VGG). The resulting models are trainable end-to-end. Applying the TCL to the task of image recognition, using the CIFAR100 and ImageNet datasets, we evaluate the effect of parameter reduction via tensor contraction on performance. We demonstrate significant model compression without significant impact on the accuracy and, in some cases, improved performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。