Accelerating Training using Tensor Decomposition

Mostafa Elhoushi, Ye Henry Tian, Zihao Chen, Farhan Shafiq, Joey Yiwei Li
9/10/2019
cs.CVcs.AI

Official code: mostafaelhoushi/tensor-decompositions (9 stars, Python, last commit 2020-05-02).

Abstract

Tensor decomposition is one of the well-known approaches to reduce the latency time and number of parameters of a pre-trained model. However, in this paper, we propose an approach to use tensor decomposition to reduce training time of training a model from scratch.

Show full abstract

In our approach, we train the model from scratch (i.e., randomly initialized weights) with its original architecture for a small number of epochs, then the model is decomposed, and then continue training the decomposed model till the end. There is an optional step in our approach to convert the decomposed architecture back to the original architecture. We present results of using this approach on both CIFAR10 and Imagenet datasets, and show that there can be upto 2x speed up in training time with accuracy drop of upto 1.5% only, and in other cases no accuracy drop. This training acceleration approach is independent of hardware and is expected to have similar speed ups on both CPU and GPU platforms.

View on arXivView PDF

Code Implementations(1)

Implementation of various tensor decomposition methods: Spatial, Channel, Tucker, CP, Network Decouple

91PythonAug 22, 20196 years ago

Similar Papers

Cite this paper

@article{elhoushi2019accelerating,
  title  = {Accelerating Training using Tensor Decomposition},
  author = {Mostafa Elhoushi and Ye Henry Tian and Zihao Chen and Farhan Shafiq and Joey Yiwei Li},
  year   = {2019},
  eprint = {1909.05675},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.05675}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.05675.svg)](https://codeofpaper.com/paper/1909.05675)

Discussion