arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2105.01868cs.LGmath.OC
收藏

Q-Rater:后训练均匀Quantization的非凸优化

Q-Rater: Non-Convex Optimization for Post-Training Uniform Quantization

Samsung Research(三星研究院)

Byeongwook Kim, Dongsoo Lee, Yeonju Ro, Yongkweon Jeon, Se Jung Kwon, Baeseong Park, Daehwan Oh

摘要:

各种后训练均匀量化方法通常是基于凸优化的研究。因此,大多数以前的依赖于量化误差最小化和/或二次近似。当采用大量的量化比特时,这样的方法在计算上是有效的和合理的。然而,当量化比特数相对较低时,非凸优化是不可避免的,以提高模型精度。在本文中,我们提出了一种新的后训练均匀量化技术考虑非凸性。我们的经验表明,超参数裁剪和舍入的权重和激活,可以探索通过监控任务损失。然后,冻结超参数的最佳搜索集以继续到下一层,使得能够针对后训练量化进行增量非凸优化。通过使用各种模型的广泛的实验结果,我们提出的技术提出了更高的模型精度,特别是对于低比特量化。

英文摘要:

Various post-training uniform quantization methods have usually been studied based on convex optimization. As a result, most previous ones rely on the quantization error minimization and/or quadratic approximations. Such approaches are computationally efficient and reasonable when a large number of quantization bits are employed. When the number of quantization bits is relatively low, however, non-convex optimization is unavoidable to improve model accuracy. In this paper, we propose a new post-training uniform quantization technique considering non-convexity. We empirically show that hyper-parameters for clipping and rounding of weights and activations can be explored by monitoring task loss. Then, an optimally searched set of hyper-parameters is frozen to proceed to the next layer such that an incremental non-convex optimization is enabled for post-training quantization. Throughout extensive experimental results using various models, our proposed technique presents higher model accuracy, especially for a low-bit quantization.

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

↑