使用Kronecker产品将IoT设备的RNN压缩15- 38倍
Compressing RNNs for IoT devices by 15-38x using Kronecker Products
摘要:
由于递归神经网络(RNN)的大小,它可能很难部署在资源受限的设备上。因此,需要一种可以显着压缩RNN而不会对任务准确性产生负面影响的压缩技术。本文介绍了一种利用Kronecker积(KP)对资源受限环境下的RNN进行压缩的方法。KPs可以将RNN层压缩15- 38倍,精度损失最小。通过将生成的模型量化为8位,我们进一步将压缩因子推到50倍。我们表明,KP可以在跨越3个不同应用程序的5个基准测试中击败其他最先进的压缩技术所实现的任务准确性,同时提高推理运行时间。我们发现,KP压缩机制确实引入了准确性损失,这可以通过建议的混合KP(HKP)方法来减轻。我们的HKP算法提供了对压缩比的细粒度控制,使我们能够通过添加少量的模型参数来恢复压缩过程中丢失的精度。
英文摘要:
Recurrent Neural Networks (RNN) can be difficult to deploy on resource constrained devices due to their size.As a result, there is a need for compression techniques that can significantly compress RNNs without negatively impacting task accuracy. This paper introduces a method to compress RNNs for resource constrained environments using Kronecker product (KP). KPs can compress RNN layers by 15-38x with minimal accuracy loss. By quantizing the resulting models to 8-bits, we further push the compression factor to 50x. We show that KP can beat the task accuracy achieved by other state-of-the-art compression techniques across 5 benchmarks spanning 3 different applications, while simultaneously improving inference run-time. We show that the KP compression mechanism does introduce an accuracy loss, which can be mitigated by a proposed hybrid KP (HKP) approach. Our HKP algorithm provides fine-grained control over the compression ratio, enabling us to regain accuracy lost during compression by adding a small number of model parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。