使用中间CTC按需进行层修剪
Layer Pruning on Demand with Intermediate CTC
摘要:
在移动/嵌入式设备上部署端到端的自动语音识别(ASR)模型是一项具有挑战性的任务,因为设备的计算能力和能耗要求在实践中是动态变化的。为了克服这个问题,我们提出了一个训练和修剪方法的ASR的基础上的连接主义的时间分类(CTC),它允许减少模型深度在运行时没有任何额外的微调。为了实现这一目标,我们采用了两种正则化方法,中间CTC和随机深度,训练一个模型,其性能不会下降后修剪。我们提出了一个深入的分析层的行为,使用奇异向量典型相关分析(SVCCA),和有效的策略,找到层是安全的修剪。使用所提出的方法,我们表明,一个transformer-CTC模型可以根据需要在不同的深度修剪,提高GPU上的实时因子从0.005到0.002,而每个修剪的子模型保持相同深度的单独训练模型的准确性。
英文摘要:
Deploying an end-to-end automatic speech recognition (ASR) model on mobile/embedded devices is a challenging task, since the device computational power and energy consumption requirements are dynamically changed in practice. To overcome the issue, we present a training and pruning method for ASR based on the connectionist temporal classification (CTC) which allows reduction of model depth at run-time without any extra fine-tuning. To achieve the goal, we adopt two regularization methods, intermediate CTC and stochastic depth, to train a model whose performance does not degrade much after pruning. We present an in-depth analysis of layer behaviors using singular vector canonical correlation analysis (SVCCA), and efficient strategies for finding layers which are safe to prune. Using the proposed method, we show that a Transformer-CTC model can be pruned in various depth on demand, improving real-time factor from 0.005 to 0.002 on GPU, while each pruned sub-model maintains the accuracy of individually trained model of the same depth.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。