Abstract
Convolutional neural networks (CNNs) often suffer from frequency aliasing due to sub-sampling operations like pooling or strided convolutions, which can degrade their ability to generalize to out-of-distribution data. This paper demonstrates that strategically placing simple, non-trainable blur filters—particularly on strided skip connections that lack the spatial capacity to learn anti-aliasing themselves—significantly improves both clean accuracy and robustness to natural corruptions and few-shot learning tasks.
The Problem: Aliasing in Deep Networks
In classical signal processing, the Nyquist theorem dictates that before sub-sampling a signal, a low-pass (anti-aliasing) filter must be applied. Otherwise, high-frequency information "spills" into low-frequency bands, causing distortion artifacts like Moiré patterns.
Modern CNNs frequently sub-sample feature maps using max-pooling or strided convolutions but often ignore the sampling theorem. While it was historically assumed that deep networks would implicitly learn these anti-aliasing priors, this paper finds that aliasing artifacts actively harm out-of-distribution (OOD) generalization, making models brittle to natural image corruptions.
Methodology: Strategic Blur Filtering
The authors propose a simple architectural tweak: inserting non-trainable blur filters (e.g., 3x3, 5x5, or 7x7) to act as low-pass anti-aliasing filters. While prior work suggested adding blur filters after the ReLU non-linearity, this paper argues for applying anti-aliasing around the convolution operation and before the non-linearity.
A critical insight involves the placement of these filters. The authors discovered a structural flaw in standard ResNets: strided skip connections. These paths typically use 1x1 convolutions with a stride of 2. Because a 1x1 kernel has no spatial extent, it is mathematically impossible for it to learn a low-pass filter. By explicitly inserting blur filters into these specific sub-sampling operations, the researchers resolve the bottleneck. They also combine this fix with smooth activation functions (Swish/GELU) and modern data augmentation.
Key Results and Insights
- No Trade-off Between Accuracy and Robustness: Unlike many robustness techniques (like adversarial training) that improve performance on corrupted data at the expense of clean accuracy, this anti-aliasing approach improves both simultaneously.
- ImageNet-C (Robustness): Using a ResNet-50 with anti-aliasing, the mean Corruption Error (mCE) dropped dramatically to 64.9% (down from the 76.7% baseline).
- ImageNet (Clean Accuracy): The same model achieved a top-1 clean error of 21.2% (78.8% accuracy), improving upon the baseline's 23.9% error.
- Meta-Dataset (Few-Shot): By adding blur filters to skip connections, the authors achieved an absolute average accuracy improvement of 3.75% across the benchmark.
Conclusion
Networks do not magically learn anti-aliasing if the architecture physically prevents it. The 1x1 strided convolutions in ResNet skip connections are a prime example of a structural bottleneck that forces aliasing. Because the proposed method requires no additional trainable parameters and is easy to implement, the authors recommend adopting anti-aliased skip connections as a standard computational block in all future Residual Networks.
Summary updated