Abstract
Neural Ordinary Differential Equations (NODEs) offer a continuous-time alternative to traditional discrete networks. This paper investigates whether NODEs possess inherent robustness to distribution shifts caused by image corruptions. By introducing the Intrinsic Robustness Metric ($A^{rel}_c$) and a "fair comparison" framework, the authors demonstrate that NODEs are naturally more robust than ResNets. Furthermore, training with noise is shown to act as a "locus widening" agent, significantly improving performance across diverse, unrelated corruption types.
Introduction
As machine learning models are increasingly deployed in safety-critical environments, their ability to handle distribution shifts—discrepancies between training and real-world data—is paramount. While Neural ODEs (NODEs) have been praised for their stability, the source of their perceived robustness remains a subject of debate. Is it an inherent property of continuous dynamics, or an artifact of measurement? This study addresses these questions by standardizing evaluation metrics and architectural comparisons.
Methodology
The authors identify two primary challenges in evaluating model robustness: metric flaws and methodological inconsistencies. To address these, they propose:
Intrinsic Robustness Metric ($A^{rel}_c$)
Standard metrics like relative Corruption Error (rCE) can conflate baseline model inaccuracy with specific vulnerability to corruption. The proposed $A^{rel}_c$ metric evaluates performance only on images that the model correctly classified in their clean state, isolating the impact of the corruption itself.
Fair Comparison Framework
To ensure an "apples-to-apples" comparison, the researchers compare a simple ODENet against a weight-tied ResNet. Both architectures share similar parameter counts (~142k) and logical structures, as detailed in Figure 1.
Noisy Learning
The study employs a data augmentation strategy where 50% of training images are injected with Gaussian noise. The hypothesis is that this "noisy learning" does not merely improve noise tolerance but widens the model's "robustness locus"—the neighborhood around a data point where predictions remain invariant.
Key Insights
Natural Robustness of NODEs
Even when trained on clean data, ODENets consistently outperform ResNets across various corruption types (e.g., blur, weather, digital noise). This suggests that the continuous nature of NODE dynamics provides an inherent stability against input perturbations.
The Robustness Locus and Cross-Corruption Benefits
Training with Gaussian noise provides benefits that generalize far beyond noise itself. Improvements were observed in unrelated categories such as "Defocus Blur" and "Contrast." This "locus widening" pushes the model's breaking point to higher levels of corruption severity.
Results
On the MNIST dataset, cleanly trained ODENets showed significant leads over ResNets. For instance, in the Glass Blur category (Severity 1), ODENet achieved 57.3% $A^{rel}_c$ compared to ResNet's 35.9%. As shown in Figure 2, the introduction of noisy training further amplified these gains and narrowed the gap between clean and corrupted performance.
The results were consistent across SVHN and CIFAR10 benchmarks. Notably, the $A^{rel}_c$ metric revealed that as clean accuracy increases, standard metrics often underestimate the true impact of corruptions, highlighting the importance of this new evaluation framework.
Conclusion
This research provides strong evidence that Neural ODEs are inherently more robust to common image corruptions than their discrete counterparts. By utilizing the $A^{rel}_c$ metric and noisy training, practitioners can significantly widen the robustness locus of these models. Future work will explore how these properties translate to larger-scale architectures and different tasks, such as generative modeling and time-series analysis.
Summary updated