arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.14227cs.LGcs.AI
收藏

ElasticTrainer:通过运行时弹性张量选择加速设备端训练

ElasticTrainer: Speeding Up On-Device Training with Runtime Elastic Tensor Selection

University of Pittsburgh(匹兹堡大学)

Kai Huang, Boyuan Yang, Wei Gao

AI总结:

针对设备端训练耗时问题,提出ElasticTrainer技术,通过运行时完全弹性的张量选择实现加速,实验显示最高3.5倍加速且能耗降低2-3倍,精度损失极小。

摘要:

设备端训练对于神经网络(NN)持续适应新的在线数据至关重要,但由于设备计算能力有限,这一过程可能非常耗时。为了加速设备端训练,现有方案要么在离线状态下选择可训练的网络部分,要么在运行时进行不可恢复的选择,但可训练网络部分的演化受到限制,无法适应当前的训练需求。相反,设备端训练的运行时适应应完全弹性化,即训练过程中任何时刻,每个神经网络子结构都可以自由地从可训练部分中移除或添加。本文提出了一种新技术ElasticTrainer,通过实现这种弹性,以最小的神经网络精度损失达到所需的训练加速。实验结果表明,与现有方案相比,ElasticTrainer在墙钟时间上实现了高达3.5倍的训练加速,并将能耗降低了2倍至3倍,且没有明显的精度损失。

英文摘要:

On-device training is essential for neural networks (NNs) to continuously adapt to new online data, but can be time-consuming due to the device's limited computing power. To speed up on-device training, existing schemes select trainable NN portion offline or conduct unrecoverable selection at runtime, but the evolution of trainable NN portion is constrained and cannot adapt to the current need for training. Instead, runtime adaptation of on-device training should be fully elastic, i.e., every NN substructure can be freely removed from or added to the trainable NN portion at any time in training. In this paper, we present ElasticTrainer, a new technique that enforces such elasticity to achieve the required training speedup with the minimum NN accuracy loss. Experiment results show that ElasticTrainer achieves up to 3.5x more training speedup in wall-clock time and reduces energy consumption by 2x-3x more compared to the existing schemes, without noticeable accuracy loss.

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

↑