Adversarial Robustness of Stabilized NeuralODEs Might be from Obfuscated Gradients
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
Citing papers per year: 2021: 2; 2022: 4; 2023: 8; 2024: 2; 2025: 6.
22 papers.
Sort:
By area:
- 2021Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attackscited by 91
- 2021A Dynamical System Perspective for Lipschitz Neural Networkscited by 59
- 2023Adversarial Robustness in Graph Neural Networks: A Hamiltonian Approachcited by 24
- 2023A Closer Look at the Adversarial Robustness of Deep Equilibrium Modelscited by 13
- 2023Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networkscited by 12
- 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuningcited by 12
- 2022Robust Prototypical Few-Shot Organ Segmentation with Regularized Neural-ODEscited by 5
- 2023Investigating the Adversarial Robustness of Density Estimation Using the Probability Flow ODEcited by 4
- 2022FI-ODE: Certifiably Robust Forward Invariance in Neural ODEscited by 3
- 2023Efficient Certified Training and Robustness Verification of Neural ODEscited by 3
- 2023Robust Feature Inference: A Test-time Defense Strategy using Spectral Projectionscited by 3
- 2024Edge Detectors Can Make Deep Convolutional Neural Networks More Robustcited by 2
10 more
- 2024On the Robustness of Adversarial Training Against Uncertainty Attackscited by 2
- 2022Improving Neural ODEs via Knowledge Distillationcited by 1
- 2025Demystifying Adversarial Robustness in Diffusion Models: Compression, Randomness, and Geometrycited by 1
- 2022Noisy Learning for Neural ODEs Acts as a Robustness Locus Wideningcited by 0
- 2023Node Embedding from Hamiltonian Information Propagation in Graph Neural Networkscited by 0
- 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEscited by 0
- 2025Modeling Neural Networks with Privacy Using Neural Stochastic Differential Equationscited by 0
- 2025Unveiling the Role of Randomization in Multiclass Adversarial Classification: Insights from Graph Theorycited by 0
- 2025Robust Convolution Neural ODEs via Contractivity-promoting regularizationcited by 0
- 2025Learning Aligned Stability in Neural ODEs Reconciling Accuracy with Robustnesscited by 0
- 2025Learning Aligned Stability in Neural ODEs Reconciling Accuracy with Robustness26 Sep 2025
- 2025Robust Convolution Neural ODEs via Contractivity-promoting regularization15 Aug 2025
- 2025Demystifying Adversarial Robustness in Diffusion Models: Compression, Randomness, and Geometry28 May 2025
- 2025Unveiling the Role of Randomization in Multiclass Adversarial Classification: Insights from Graph Theory18 Mar 2025
- 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuning3 Mar 2025
- 2025Modeling Neural Networks with Privacy Using Neural Stochastic Differential Equations12 Jan 2025
- 2024On the Robustness of Adversarial Training Against Uncertainty Attacks29 Oct 2024
- 2024Edge Detectors Can Make Deep Convolutional Neural Networks More Robust26 Feb 2024
- 2023Investigating the Adversarial Robustness of Density Estimation Using the Probability Flow ODE10 Oct 2023
- 2023Adversarial Robustness in Graph Neural Networks: A Hamiltonian Approach10 Oct 2023
- 2023Robust Feature Inference: A Test-time Defense Strategy using Spectral Projections21 Jul 2023
- 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEs7 Jul 2023
10 more
- 2023A Closer Look at the Adversarial Robustness of Deep Equilibrium Models2 Jun 2023
- 2023Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networks30 May 2023
- 2023Efficient Certified Training and Robustness Verification of Neural ODEs9 Mar 2023
- 2023Node Embedding from Hamiltonian Information Propagation in Graph Neural Networks2 Mar 2023
- 2022FI-ODE: Certifiably Robust Forward Invariance in Neural ODEs30 Oct 2022
- 2022Robust Prototypical Few-Shot Organ Segmentation with Regularized Neural-ODEs26 Aug 2022
- 2022Noisy Learning for Neural ODEs Acts as a Robustness Locus Widening16 Jun 2022
- 2022Improving Neural ODEs via Knowledge Distillation10 Mar 2022
- 2021Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attacks25 Oct 2021
- 2021A Dynamical System Perspective for Lipschitz Neural Networks25 Oct 2021
- 2021Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attackscited by 91
- 2021A Dynamical System Perspective for Lipschitz Neural Networkscited by 59
- 2023Adversarial Robustness in Graph Neural Networks: A Hamiltonian Approachcited by 24
- 2023A Closer Look at the Adversarial Robustness of Deep Equilibrium Modelscited by 13
- 2023Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networkscited by 12
- 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuningcited by 12
- 2022Robust Prototypical Few-Shot Organ Segmentation with Regularized Neural-ODEscited by 5
- 2022FI-ODE: Certifiably Robust Forward Invariance in Neural ODEscited by 3
- 2023Efficient Certified Training and Robustness Verification of Neural ODEscited by 3
- 2023Robust Feature Inference: A Test-time Defense Strategy using Spectral Projectionscited by 3
- 2024Edge Detectors Can Make Deep Convolutional Neural Networks More Robustcited by 2
- 2024On the Robustness of Adversarial Training Against Uncertainty Attackscited by 2
12 most cited of 19 All 19 (JSON)
- 2025Learning Aligned Stability in Neural ODEs Reconciling Accuracy with Robustness26 Sep 2025
- 2025Robust Convolution Neural ODEs via Contractivity-promoting regularization15 Aug 2025
- 2025Unveiling the Role of Randomization in Multiclass Adversarial Classification: Insights from Graph Theory18 Mar 2025
- 2025Neural ODE Transformers: Analyzing Internal Dynamics and Adaptive Fine-tuning3 Mar 2025
- 2024On the Robustness of Adversarial Training Against Uncertainty Attacks29 Oct 2024
- 2024Edge Detectors Can Make Deep Convolutional Neural Networks More Robust26 Feb 2024
- 2023Adversarial Robustness in Graph Neural Networks: A Hamiltonian Approach10 Oct 2023
- 2023Robust Feature Inference: A Test-time Defense Strategy using Spectral Projections21 Jul 2023
- 2023PAC bounds of continuous Linear Parameter-Varying systems related to neural ODEs7 Jul 2023
- 2023A Closer Look at the Adversarial Robustness of Deep Equilibrium Models2 Jun 2023
- 2023Node Embedding from Neural Hamiltonian Orbits in Graph Neural Networks30 May 2023
- 2023Efficient Certified Training and Robustness Verification of Neural ODEs9 Mar 2023
12 newest of 19 All 19 (JSON)