arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.11986cs.LGmath.OC
收藏

HERO:统一和改进推广和Quantization性能的Hessian增强鲁棒优化

HERO: Hessian-Enhanced Robust Optimization for Unifying and Improving Generalization and Quantization Performance

Duke University(杜克大学)

Huanrui Yang, Xiaoxuan Yang, Neil Zhenqiang Gong, Yiran Chen

摘要:

随着最近在移动和边缘设备上部署神经网络模型的需求,期望提高模型对看不见的测试数据的泛化能力,以及增强模型在定点量化下的鲁棒性以进行有效部署。然而,最小化训练损失对泛化和量化性能几乎没有保证。在这项工作中,我们满足需要,同时提高泛化和量化性能的理论统一的框架下,提高模型的鲁棒性有界的权重扰动和最小化的Hessian矩阵的特征值相对于模型的权重。因此,我们提出了HERO,一种Hessian增强的鲁棒优化方法,通过基于梯度的训练过程来最小化Hessian特征值,同时提高泛化和量化性能。HERO使测试准确度提高了3.8%,在80%的训练标签扰动下准确度提高了30%,并且在广泛的精度范围内具有最佳的训练后量化准确度,包括在各种数据集上的通用模型架构中,比SGD训练模型的准确度提高了>10%。

英文摘要:

With the recent demand of deploying neural network models on mobile and edge devices, it is desired to improve the model's generalizability on unseen testing data, as well as enhance the model's robustness under fixed-point quantization for efficient deployment. Minimizing the training loss, however, provides few guarantees on the generalization and quantization performance. In this work, we fulfill the need of improving generalization and quantization performance simultaneously by theoretically unifying them under the framework of improving the model's robustness against bounded weight perturbation and minimizing the eigenvalues of the Hessian matrix with respect to model weights. We therefore propose HERO, a Hessian-enhanced robust optimization method, to minimize the Hessian eigenvalues through a gradient-based training process, simultaneously improving the generalization and quantization performance. HERO enables up to a 3.8% gain on test accuracy, up to 30% higher accuracy under 80% training label perturbation, and the best post-training quantization accuracy across a wide range of precision, including a >10% accuracy improvement over SGD-trained models for common model architectures on various datasets.

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

↑