arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.06329cs.LGcond-mat.str-elcs.CVphysics.comp-phstat.ML
收藏

用于机器学习的TensorNetwork

TensorNetwork for Machine Learning

Alphabet (Google) X(Alphabet(谷歌)X);Max-Planck-Institut für Quantenoptik(马克斯·普朗克量子光学研究所)

Stavros Efthymiou, Jack Hidary, Stefan Leichenauer

摘要:

我们使用TensorNetwork开源库演示了张量网络在图像分类中的应用。我们详细解释了将图像数据编码为矩阵乘积状态形式,并描述了如何以可并行化且非常适合自动梯度优化的方式收缩网络。将该技术应用于MNIST和Fashion-MNIST数据集,我们发现使用相同的张量网络架构,开箱即用的性能分别为98%和88%的准确度。TensorNetwork库允许我们从CPU无缝迁移到GPU硬件,我们看到使用GPU的计算速度提高了10倍以上。

英文摘要:

We demonstrate the use of tensor networks for image classification with the TensorNetwork open source library. We explain in detail the encoding of image data into a matrix product state form, and describe how to contract the network in a way that is parallelizable and well-suited to automatic gradients for optimization. Applying the technique to the MNIST and Fashion-MNIST datasets we find out-of-the-box performance of 98% and 88% accuracy, respectively, using the same tensor network architecture. The TensorNetwork library allows us to seamlessly move from CPU to GPU hardware, and we see a factor of more than 10 improvement in computational speed using a GPU.

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

↑