Abstract
Deep learning vision models are notoriously brittle when faced with Gaussian noise, a common real-world corruption. While Vision Transformers (ViTs) often outperform Convolutional Neural Networks (CNNs) in robustness, the specific design choices driving this advantage have remained opaque. This study investigates over 1,100 pretrained models to isolate four critical micro-architectural tweaks—larger stem kernels, lower input resolutions, average pooling, and proper normalization—that significantly enhance noise resistance. By combining empirical meta-analysis with theoretical proofs, we demonstrate that these simple adjustments can lead to accuracy gains of over 20 percentage points in noisy environments.
Introduction
Vision models deployed in safety-critical fields like autonomous driving and medical imaging must be robust to sensor and thermal noise. Standard Gaussian noise often causes catastrophic misclassifications in state-of-the-art models. While recent literature suggests ViTs are more robust than CNNs, practitioners lack clear guidance on which internal components contribute to this property. This paper opens the "black box" of model architecture to identify and mathematically justify specific design patterns that attenuate noise.
Methodology
The researchers employed a three-pronged approach:
- Large-Scale Meta-Analysis: Evaluated 1,174 pretrained models from the
timmlibrary on ImageNet-1K with Gaussian noise, using a "rank difference" metric to identify models that resist degradation better than their peers. - Controlled Ablation Studies: Trained custom ResNets and fine-tuned ViTs on datasets like Oxford-IIIT Pet and Stanford Cars, isolating variables such as pooling methods and kernel sizes.
- Theoretical Validation: Used signal processing principles (e.g., Parseval's identity) and Lipschitz continuity bounds to prove why specific architectures act as effective noise filters.
Micro-Architectural Drivers of Robustness
Stem Kernel Size and Input Resolution
The study found that larger stem kernels (e.g., patch sizes in ViTs) act as superior low-pass filters. Mathematically, noise energy decays quadratically as kernel size increases. Conversely, higher input resolutions actually decrease robustness. Resizing an image to a smaller resolution acts as an anti-aliasing downsampling filter, reducing noise energy proportional to the square of the downsampling factor.
The Superiority of Average Pooling
While max pooling is standard in many CNNs, it introduces a positive bias and higher mean-squared error under Gaussian noise. In contrast, average pooling is unbiased and actively suppresses noise variance relative to the size of the pooling window.
Normalization and CLIP's Hidden Vulnerability
A surprising finding was that CLIP ViTs are often more vulnerable to noise than supervised ViTs. The culprit is the preprocessing pipeline: CLIP's OPENAI normalization constants have smaller standard deviations than standard INCEPTION constants. This smaller denominator inflates the model's pixel-space sensitivity (Lipschitz bound), amplifying noise before it reaches the first layer.
Key Results
Implementing these architectural rules led to dramatic improvements:
- Rank Improvements: Up to 506 rank positions gained among the 1,174 evaluated models.
- Accuracy Gains: Up to 21.6 percentage point increases in accuracy under noisy conditions.
- CLIP Rescue: Simply switching CLIP's normalization constants to standard values improved noisy performance on the Oxford-IIIT Pet dataset from 58.5% to 71.7%.
Conclusion and Future Work
This research provides a roadmap for designing noise-resistant vision systems through simple, actionable architectural changes. While focused on Gaussian noise, these principles offer a foundation for broader robustness. Future work should investigate if these rules hold for non-Gaussian corruptions like adversarial attacks or environmental blur, and validate them in specialized domains like medical imaging.
Summary updated