arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.10083cs.LG
收藏

混合精度推理Quantization:从根本上实现更快的推理速度、更低的存储需求和更低的损失

Mixed-Precision Inference Quantization: Radically Towards Faster inference speed, Lower Storage requirement, and Lower Loss

Tsinghua University(清华大学)

Daning Cheng, Wenguang Chen

摘要:

基于模型对计算噪声的抵抗能力,模型量化对于压缩模型和提高计算速度是重要的。现有的量化技术严重依赖于经验和“微调”技能。在大多数情况下,量化模型具有比全精度模型更大的损失。该研究提供了一种获得混合精度量化模型的方法,该模型具有比全精度模型更低的损失。此外,分析表明,在整个推理过程中,损失函数主要受层输入噪声的影响。特别地,我们将证明具有大量恒等映射的神经网络对量化方法具有抵抗力。使用量化来提高这些网络的性能也是困难的。

英文摘要:

Based on the model's resilience to computational noise, model quantization is important for compressing models and improving computing speed. Existing quantization techniques rely heavily on experience and "fine-tuning" skills. In the majority of instances, the quantization model has a larger loss than a full precision model. This study provides a methodology for acquiring a mixed-precise quantization model with a lower loss than the full precision model. In addition, the analysis demonstrates that, throughout the inference process, the loss function is mostly affected by the noise of the layer inputs. In particular, we will demonstrate that neural networks with massive identity mappings are resistant to the quantization method. It is also difficult to improve the performance of these networks using quantization.

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

↑