arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.11261stat.MLcs.LG
收藏

高阶计数草图:保留有效张量运算的简化

Higher-order Count Sketch: Dimensionality Reduction That Retains Efficient Tensor Operations

University of California, Irvine(加州大学欧文分校);California Institute of Technology(加州理工学院)

Yang Shi, Animashree Anandkumar

摘要:

草图是一种随机降维方法,旨在保留大规模数据集中的相关信息。Count Sketch是一个简单的流行草图,它使用随机哈希函数来实现压缩。在本文中,我们提出了一种新的扩展称为高阶计数草图(HCS)。虽然count sketch使用单个散列函数,但HCS使用多个(较小)散列函数进行草图绘制。HCS将输入(向量)数据重新塑造为高阶张量,并采用随机哈希函数的张量积来计算草图。在输入数据的某些条件下,这导致散列函数的内存需求的指数节省(相对于张量的阶数)。此外,当输入数据本身具有各种张量表示形式的底层结构时,例如Tucker分解,我们获得了显着的优势。我们得到有效的(近似)计算各种张量操作,如直接在草图数据的张量积和张量收缩。因此,HCS是第一个充分利用高阶张量的多维性质的草图。我们将HCS应用于张量化的神经网络,其中我们用草图张量操作替换全连接层。我们实现了近国家的最先进的准确性与显着压缩的图像分类基准。

英文摘要:

Sketching is a randomized dimensionality-reduction method that aims to preserve relevant information in large-scale datasets. Count sketch is a simple popular sketch which uses a randomized hash function to achieve compression. In this paper, we propose a novel extension known as Higher-order Count Sketch (HCS). While count sketch uses a single hash function, HCS uses multiple (smaller) hash functions for sketching. HCS reshapes the input (vector) data into a higher-order tensor and employs a tensor product of the random hash functions to compute the sketch. This results in an exponential saving (with respect to the order of the tensor) in the memory requirements of the hash functions, under certain conditions on the input data. Furthermore, when the input data itself has an underlying structure in the form of various tensor representations such as the Tucker decomposition, we obtain significant advantages. We derive efficient (approximate) computation of various tensor operations such as tensor products and tensor contractions directly on the sketched data. Thus, HCS is the first sketch to fully exploit the multi-dimensional nature of higher-order tensors. We apply HCS to tensorized neural networks where we replace fully connected layers with sketched tensor operations. We achieve nearly state of the art accuracy with significant compression on the image classification benchmark.

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

↑