mlsanityData to 7 Oct 2026

Adversarial Robustness of Stabilized NeuralODEs Might be from Obfuscated Gradients

arXiv 2009.13145 ↗First posted 28 Sep 2020cs.LG stat.MLcited by 22

Not on the map. Why?

Abstract (arXiv)

In this paper we introduce a provably stable architecture for Neural Ordinary Differential Equations (ODEs) which achieves non-trivial adversarial robustness under white-box adversarial attacks even when the network is trained naturally. For most existing defense methods withstanding strong white-box attacks, to improve robustness of neural networks, they need to be trained adversarially, hence have to strike a trade-off between natural accuracy and adversarial robustness. Inspired by dynamical system theory, we design a stabilized neural ODE network named SONet whose ODE blocks are skew-symmetric and proved to be input-output stable. With natural training, SONet can achieve comparable robustness with the state-of-the-art adversarial defense methods, without sacrificing natural accuracy. Even replacing only the first layer of a ResNet by such a ODE block can exhibit further improvement in robustness, e.g., under PGD-20 (ℓ_∞=0.031) attack on CIFAR-10 dataset, it achieves 91.57% and natural accuracy and 62.35% robust accuracy, while a counterpart architecture of ResNet trained with TRADES achieves natural and robust accuracy 76.29% and 45.24%, respectively. To understand possible reasons behind this surprisingly good result, we further explore the possible mechanism underlying such an adversarial robustness. We show that the adaptive stepsize numerical ODE solver, DOPRI5, has a gradient masking effect that fails the PGD attacks which are sensitive to gradient information of training loss; on the other hand, it cannot fool the CW attack of robust gradients and the SPSA attack that is gradient-free. This provides a new explanation that the adversarial robustness of ODE-based networks mainly comes from the obfuscated gradients in numerical ODE solvers.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Sep 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 4; 2023: 8; 2024: 2; 2025: 6.

22 papers.

Sort:

By area:

  1. 2021Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attackscited by 91
  2. 2021A Dynamical System Perspective for Lipschitz Neural Networkscited by 59
  3. 2023Adversarial Robustness in Graph Neural Networks: A Hamiltonian Approachcited by 24
  4. 2023A Closer Look at the Adversarial Robustness of Deep Equilibrium Modelscited by 13
  5. 2023Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networkscited by 12
  6. 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuningcited by 12
  7. 2022Robust Prototypical Few-Shot Organ Segmentation with Regularized Neural-ODEscited by 5
  8. 2023Investigating the Adversarial Robustness of Density Estimation Using the Probability Flow ODEcited by 4
  9. 2022FI-ODE: Certifiably Robust Forward Invariance in Neural ODEscited by 3
  10. 2023Efficient Certified Training and Robustness Verification of Neural ODEscited by 3
  11. 2023Robust Feature Inference: A Test-time Defense Strategy using Spectral Projectionscited by 3
  12. 2024Edge Detectors Can Make Deep Convolutional Neural Networks More Robustcited by 2
10 more
  1. 2024On the Robustness of Adversarial Training Against Uncertainty Attackscited by 2
  2. 2022Improving Neural ODEs via Knowledge Distillationcited by 1
  3. 2025Demystifying Adversarial Robustness in Diffusion Models: Compression, Randomness, and Geometrycited by 1
  4. 2022Noisy Learning for Neural ODEs Acts as a Robustness Locus Wideningcited by 0
  5. 2023Node Embedding from Hamiltonian Information Propagation in Graph Neural Networkscited by 0
  6. 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEscited by 0
  7. 2025Modeling Neural Networks with Privacy Using Neural Stochastic Differential Equationscited by 0
  8. 2025Unveiling the Role of Randomization in Multiclass Adversarial Classification: Insights from Graph Theorycited by 0
  9. 2025Robust Convolution Neural ODEs via Contractivity-promoting regularizationcited by 0
  10. 2025Learning Aligned Stability in Neural ODEs Reconciling Accuracy with Robustnesscited by 0