TensorNetwork for Machine Learning
Stavros Efthymiou, Jack Hidary, Stefan Leichenauer

TL;DR
This paper explores tensor networks for image classification, demonstrating high accuracy on MNIST datasets and significant computational speedups with GPU acceleration using the TensorNetwork library.
Contribution
It introduces a detailed method for encoding images into tensor networks and shows practical benefits in accuracy and computational efficiency.
Findings
98% accuracy on MNIST
88% accuracy on Fashion-MNIST
Over 10x speedup with GPU
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum many-body systems · Tensor decomposition and applications · Parallel Computing and Optimization Techniques
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings
