arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.06540cs.LGcs.CV
收藏

保持Lipschitz连续的二元神经网络

Lipschitz Continuity Retained Binary Neural Network

Illinois Institute of Technology(伊利诺伊理工学院);Hong Kong University of Science and Technology(香港科技大学);Texas State University(得克萨斯州立大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))

Yuzhang Shang, Dan Xu, Bin Duan, Ziliang Zong, Liqiang Nie, Yan Yan

摘要:

现有的网络二值化工作往往以消除全精度权向量与其对应的二值向量之间的量化误差,从而在很大程度上恢复二值神经网络的性能为前提,采用模型鲁棒性的思想来达到上述目的。然而,鲁棒性仍然是一个定义不清的概念,没有坚实的理论支持。在这项工作中,我们引入了Lipschitz连续性,一个定义良好的功能属性,作为严格的标准来定义BNN模型的鲁棒性。然后,我们建议保留Lipschitz连续性作为正则化项,以提高模型的鲁棒性。特别是,虽然流行的Lipschitz涉及的正则化方法由于其极端稀疏性而经常在BNN中崩溃,但我们设计了保留矩阵来近似目标权重矩阵的谱范数,可以将其部署为BNN的Lipschitz常数的近似,而无需精确的Lipschitz常数计算(NP-困难)。我们的实验证明,我们的BNN特定的正则化方法可以有效地增强BNN的鲁棒性(在ImageNet-C上得到了验证),在CIFAR和ImageNet上实现了最先进的性能。

英文摘要:

Relying on the premise that the performance of a binary neural network can be largely restored with eliminated quantization error between full-precision weight vectors and their corresponding binary vectors, existing works of network binarization frequently adopt the idea of model robustness to reach the aforementioned objective. However, robustness remains to be an ill-defined concept without solid theoretical support. In this work, we introduce the Lipschitz continuity, a well-defined functional property, as the rigorous criteria to define the model robustness for BNN. We then propose to retain the Lipschitz continuity as a regularization term to improve the model robustness. Particularly, while the popular Lipschitz-involved regularization methods often collapse in BNN due to its extreme sparsity, we design the Retention Matrices to approximate spectral norms of the targeted weight matrices, which can be deployed as the approximation for the Lipschitz constant of BNNs without the exact Lipschitz constant computation (NP-hard). Our experiments prove that our BNN-specific regularization method can effectively strengthen the robustness of BNN (testified on ImageNet-C), achieving state-of-the-art performance on CIFAR and ImageNet.

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

↑