Skip to main content
QUICK REVIEW

[论文解读] Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attacks

Qiyu Kang, Yang Song|arXiv (Cornell University)|Oct 25, 2021
Adversarial Robustness in Machine LearningComputer Science被引用 22
一句话总结

本文提出 SODEF,一种具有李雅普诺夫稳定平衡点的稳定神经微分方程(ODE),以抵御对抗性攻击。通过正则化训练约束 ODE 的雅可比矩阵使其特征值实部为负,SODEF 确保微小的输入扰动仅导致输出的微小偏差,在 PGD 攻击下,其鲁棒准确率相较 TisODE 在 CIFAR-10 上最高提升 52.54%。

ABSTRACT

Deep neural networks (DNNs) are well-known to be vulnerable to adversarial attacks, where malicious human-imperceptible perturbations are included in the input to the deep network to fool it into making a wrong classification. Recent studies have demonstrated that neural Ordinary Differential Equations (ODEs) are intrinsically more robust against adversarial attacks compared to vanilla DNNs. In this work, we propose a stable neural ODE with Lyapunov-stable equilibrium points for defending against adversarial attacks (SODEF). By ensuring that the equilibrium points of the ODE solution used as part of SODEF is Lyapunov-stable, the ODE solution for an input with a small perturbation converges to the same solution as the unperturbed input. We provide theoretical results that give insights into the stability of SODEF as well as the choice of regularizers to ensure its stability. Our analysis suggests that our proposed regularizers force the extracted feature points to be within a neighborhood of the Lyapunov-stable equilibrium points of the ODE. SODEF is compatible with many defense methods and can be applied to any neural network's final regressor layer to enhance its stability against adversarial attacks.

研究动机与目标

  • 为解决深度神经网络在安全关键应用中对对抗性攻击的脆弱性问题。
  • 通过确保在小输入扰动下神经 ODE 解收敛至稳定平衡点,提升鲁棒性。
  • 开发一种训练方法,隐式强制 ODE 向量场的雅可比矩阵特征值实部为负。
  • 设计一种与现有神经 ODE 及标准网络架构兼容的防御方法。
  • 通过李雅普诺夫分析,提供稳定性与鲁棒性的理论保证。

提出的方法

  • 提出一种正则化器,约束 ODE 的雅可比矩阵使其特征值实部为负,确保李雅普诺夫稳定性。
  • 在最后的全连接层中使用单位范数行,并最小化最大余弦相似度,以促进特征空间中的多样性与稳定性。
  • 构建一个优化目标,强制特征表示位于李雅普诺夫稳定平衡点的邻域内。
  • 在最后的 FC 层中应用促进多样性的技术,以增强 ODE 解的稳定性和鲁棒性。
  • 使用时间不变 ODE,其向量场设计为在平衡点附近线性化时,特征值实部为负定。
  • 使用标准反向传播进行模型训练,同时在雅可比结构上施加约束,以在优化过程中保持稳定性。

实验结果

研究问题

  • RQ1神经 ODE 中的李雅普诺夫稳定平衡点是否能提升对对抗性扰动的鲁棒性?
  • RQ2如何在计算成本较低的前提下,约束 ODE 向量场的雅可比矩阵,使其特征值实部为负?
  • RQ3何种正则化器设计能有效确保在输入扰动下特征点保持在稳定平衡点附近?
  • RQ4与现有最先进防御方法(如 TisODE 和 ODE-Net)相比,所提方法在鲁棒准确率上表现如何?
  • RQ5ODE 求解器的选择(如 Runge-Kutta、Euler、Midpoint)是否会影响对抗攻击下最终模型的鲁棒性?

主要发现

  • 在 PGD 攻击下,SODEF 在 MNIST 上相较 TisODE 最高提升 44.02 个百分点的鲁棒准确率。
  • 在 CIFAR-10 上,SODEF 相较 TisODE 在 PGD 攻击下鲁棒准确率提升 52.54 个百分点。
  • 在 CIFAR-100 上,SODEF 相较 TisODE 在 PGD 攻击下鲁棒准确率提升 18.91 个百分点。
  • 相较于 ODE-Net,SODEF 在 MNIST、CIFAR-10 和 CIFAR-100 上分别实现最高 43.69、52.38 和 18.99 个百分点的鲁棒准确率提升。
  • ODE 求解器的选择(如 Runge-Kutta、Euler、Midpoint)对性能影响极小,所有求解器均产生相似的鲁棒准确率。
  • 理论分析证实,所提出的正则化器可确保特征点始终位于李雅普诺夫稳定平衡点的邻域内,从而保证鲁棒性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。