arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1909.05675cs.CVcs.AI
收藏

使用张量分解加速训练

Accelerating Training using Tensor Decomposition

Toronto Hetrogeneous Compilers Lab(多伦多异构编译器实验室)

Mostafa Elhoushi, Ye Henry Tian, Zihao Chen, Farhan Shafiq, Joey Yiwei Li

摘要:

张量分解是减少预训练模型的延迟时间和参数数量的众所周知的方法之一。然而,在本文中,我们提出了一种使用张量分解来减少从头开始训练模型的训练时间的方法。在我们的方法中,我们从头开始训练模型(即,随机初始化的权重)与其原始架构进行少量的epoch,然后分解模型,然后继续训练分解的模型直到结束。在我们的方法中有一个可选的步骤,将分解的架构转换回原始架构。我们展示了在CIFAR10和Imagenet数据集上使用这种方法的结果,并表明训练时间可以提高2倍,准确率仅下降1.5%,在其他情况下没有准确率下降。这种训练加速方法独立于硬件,预计在CPU和GPU平台上都有类似的速度提升。

英文摘要:

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. 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.

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

↑