AntMan:稀疏低秩压缩以加速RNN推理
AntMan: Sparse Low-Rank Compression to Accelerate RNN inference
摘要:
基于复杂RNN模型的广泛采用受到其推理性能,成本和内存要求的阻碍。为了解决这个问题,我们开发了AntMan,将结构化稀疏性与低秩分解相结合,以减少RNN的模型计算,大小和执行时间,同时达到所需的精度。AntMan扩展了基于知识蒸馏的训练,以有效地学习压缩模型。我们的评估表明,AntMan提供了高达100倍的计算减少与不到1点的准确率下降的语言和机器阅读理解模型。我们的评估还表明,对于给定的精度目标,AntMan产生的模型比最先进的模型小5倍。最后,我们表明,AntMan提供了超线性的速度增益相比,理论加速,证明其实用价值的商品硬件。
英文摘要:
Wide adoption of complex RNN based models is hindered by their inference performance, cost and memory requirements. To address this issue, we develop AntMan, combining structured sparsity with low-rank decomposition synergistically, to reduce model computation, size and execution time of RNNs while attaining desired accuracy. AntMan extends knowledge distillation based training to learn the compressed models efficiently. Our evaluation shows that AntMan offers up to 100x computation reduction with less than 1pt accuracy drop for language and machine reading comprehension models. Our evaluation also shows that for a given accuracy target, AntMan produces 5x smaller models than the state-of-art. Lastly, we show that AntMan offers super-linear speed gains compared to theoretical speedup, demonstrating its practical value on commodity hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。