arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.16342cs.LGcs.AIquant-ph
收藏

HiQ-Lip:一种用于ReLU网络全局Lipschitz常数估计的分层量子-经典方法

HiQ-Lip: A Hierarchical Quantum-Classical Method for Global Lipschitz Constant Estimation of ReLU Networks

Haoqi He, Yan Xiao, Wenzhi Xu, Ruoying Liu, Xiaokai Lin, Kai Wen

AI总结:

HiQ-Lip通过量子-经典混合方法高效估计ReLU网络的全局Lipschitz常数,提升计算速度并提供更准确的上界。

摘要:

估计神经网络的全局Lipschitz常数对于理解其鲁棒性和泛化能力至关重要。然而,精确计算是NP难问题,当前半定规划(SDP)方法面临内存使用高和处理速度慢等挑战。在本文中,我们提出HiQ-Lip,一种混合量子-经典分层方法,利用量子计算来估计全局Lipschitz常数。我们通过将估计问题转换为二次无约束二元优化问题,并实施多级图粗化和细化策略,以适应现代量子硬件的限制。我们在全连接神经网络上的实验评估表明,HiQ-Lip不仅提供了与现有最先进方法相当的估计,还显著加速了计算过程。在涉及256个隐藏神经元的两层神经网络的特定测试中,HiQ-Lip将求解速度提高了两倍,并比现有最佳方法LiPopt提供了更准确的上界。这些发现突显了小型量子设备在提升神经网络鲁棒性估计方面的巨大潜力。

英文摘要:

Estimating the global Lipschitz constant of neural networks is crucial for understanding and improving their robustness and generalization capabilities. However, precise calculations are NP-hard, and current semidefinite programming (SDP) methods face challenges such as high memory usage and slow processing speeds. In this paper, we propose HiQ-Lip, a hybrid quantum-classical hierarchical method that leverages quantum computing to estimate the global Lipschitz constant. We tackle the estimation by converting it into a Quadratic Unconstrained Binary Optimization problem and implement a multilevel graph coarsening and refinement strategy to adapt to the constraints of contemporary quantum hardware. Our experimental evaluations on fully connected neural networks demonstrate that HiQ-Lip not only provides estimates comparable to state-of-the-art methods but also significantly accelerates the computation process. In specific tests involving two-layer neural networks with 256 hidden neurons, HiQ-Lip doubles the solving speed and offers more accurate upper bounds than the existing best method, LiPopt. These findings highlight the promising utility of small-scale quantum devices in advancing the estimation of neural network robustness.

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

↑