arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.10740math.NAcs.NAmath.OC
收藏

以最小权重扰动提升神经 ODE 的鲁棒性

Improving the robustness of neural ODEs with minimal weight perturbation

Arturo De Marinis, Nicola Guglielmi, Stefano Sicilia, Francesco Tudisco

AI总结:

本文提出一种通过最小权重扰动控制 Jacobian 矩阵对数范数的嵌套两层算法,以增强神经 ODE 稳定性,并将其嵌入训练显著提升了图像分类器对抗攻击的鲁棒性。

摘要:

我们提出了一种通过减小初始值扰动后的最大误差增长来增强神经常微分方程(neural ODE)稳定性的方法。由于稳定性取决于与 neural ODE 相关的 Jacobian 矩阵的对数范数,我们通过以尽可能小的扰动(在 Frobenius 范数下)扰动 neural ODE 的权重矩阵来控制该对数范数。为此,我们引入了一个特征值优化问题,并提出了一种嵌套的两层算法。对于给定的权重矩阵扰动大小,内层计算该大小的最优扰动,而在外层,我们调整扰动幅度,直到达到所需的一致稳定性界限。我们将所提出的算法嵌入到 neural ODE 的训练中,以提高其对初始值扰动(如对抗攻击)的鲁棒性。在经典图像数据集上的数值实验表明,包含 neural ODE 的图像分类器若按我们的策略进行训练,将比以经典方式训练的同一分类器更稳定,因此它更具鲁棒性且更不易受到对抗攻击。

英文摘要:

We propose a method to enhance the stability of a neural ordinary differential equation (neural ODE) by reducing the maximum error growth subsequent to a perturbation of the initial value. Since the stability depends on the logarithmic norm of the Jacobian matrix associated with the neural ODE, we control the logarithmic norm by perturbing the weight matrices of the neural ODE by a smallest possible perturbation (in Frobenius norm). We do so by engaging an eigenvalue optimisation problem, for which we propose a nested two-level algorithm. For a given perturbation size of the weight matrix, the inner level computes optimal perturbations of that size, while - at the outer level - we tune the perturbation amplitude until we reach the desired uniform stability bound. We embed the proposed algorithm in the training of the neural ODE to improve its robustness to perturbations of the initial value, as adversarial attacks. Numerical experiments on classical image datasets show that an image classifier including a neural ODE in its architecture trained according to our strategy is more stable than the same classifier trained in the classical way, and therefore, it is more robust and less vulnerable to adversarial attacks.

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

↑