Skip to main content
QUICK REVIEW

[Paper Review] An Effective Anti-Aliasing Approach for Residual Networks

Cristina Nader Vasconcelos, Hugo Larochelle|arXiv (Cornell University)|Nov 20, 2020
Adversarial Robustness in Machine LearningComputer Science16 references23 citations
TL;DR

This paper proposes a simple, non-trainable anti-aliasing technique for Residual Networks that inserts blur filters at key downsampling locations—such as strided convolutions, skip connections, and initial pooling layers—alongside smooth activation functions. The method significantly improves out-of-distribution generalization on ImageNet-C and Meta-Dataset without adding trainable parameters, achieving state-of-the-art mCE of 64.9% on ImageNet-C and a 3.75% absolute accuracy gain on Meta-Dataset.

ABSTRACT

Image pre-processing in the frequency domain has traditionally played a vital role in computer vision and was even part of the standard pipeline in the early days of deep learning. However, with the advent of large datasets, many practitioners concluded that this was unnecessary due to the belief that these priors can be learned from the data itself. Frequency aliasing is a phenomenon that may occur when sub-sampling any signal, such as an image or feature map, causing distortion in the sub-sampled output. We show that we can mitigate this effect by placing non-trainable blur filters and using smooth activation functions at key locations, particularly where networks lack the capacity to learn them. These simple architectural changes lead to substantial improvements in out-of-distribution generalization on both image classification under natural corruptions on ImageNet-C [10] and few-shot learning on Meta-Dataset [17], without introducing additional trainable parameters and using the default hyper-parameters of open source codebases.

Motivation & Objective

  • To investigate whether spectral aliasing degrades performance in deep networks under distribution shift, such as natural corruptions or few-shot learning.
  • To determine if residual networks implicitly learn anti-aliasing filters or require explicit architectural intervention.
  • To evaluate the impact of anti-aliasing filter placement on model performance, especially in pathways with limited spatial support.
  • To isolate aliasing effects from other confounding factors like receptive field changes or gradient dynamics.
  • To develop a lightweight, parameter-free architectural enhancement that boosts robustness across diverse generalization settings.

Proposed method

  • Insert non-trainable Gaussian blur filters immediately after strided convolutional layers, strided skip connections, and initial max-pooling layers to suppress high-frequency aliasing.
  • Apply smooth activation functions such as Swish or GELU to improve gradient flow and reduce quantization artifacts in low-level feature maps.
  • Use data augmentation (e.g., RandAugment) during training to further enhance robustness, excluding augmentations that overlap with ImageNet-C corruptions.
  • Place blur filters at architectural bottlenecks where 1×1 convolutions lack spatial support, such as in residual skip connections after downsampling.
  • Perform ablation studies to isolate the effect of aliasing mitigation from changes in receptive field or backpropagation dynamics.
  • Train models using default hyper-parameters from public codebases to ensure reproducibility and practical applicability.

Experimental results

Research questions

  • RQ1Does frequency aliasing degrade performance in residual networks on out-of-distribution benchmarks like ImageNet-C and Meta-Dataset?
  • RQ2Can residual networks implicitly learn anti-aliasing filters, or is explicit architectural intervention required?
  • RQ3How does the placement of anti-aliasing filters affect performance, particularly in pathways with limited spatial support?
  • RQ4Are networks incentivized to learn anti-aliasing filters through standard training regimes, or is explicit filtering necessary?
  • RQ5Can anti-aliasing be separated from confounding effects such as changes in receptive field or gradient dynamics?

Key findings

  • The proposed anti-aliasing method reduced ImageNet-C mCE from 76.7% to 70.0% using only architectural changes and default hyper-parameters.
  • The method achieved a clean top-1 error of 21.2% on ImageNet, surpassing the original ResNet-50 baseline of 23.9%.
  • Combining blur filters with smooth GELU activations yielded an average 3.75% absolute accuracy gain on Meta-Dataset, including 2.73% on out-of-domain tasks.
  • Placing blur filters at all three key locations—skip connections, main path convolutions, and initial pooling—produced the best performance.
  • Removing the first strided convolution entirely (replacing stride 2 with stride 1) improved Meta-Dataset accuracy to 77.86%, outperforming blur filters alone, indicating information loss from downsampling is irreversible.
  • The method consistently improved performance across all tested settings without degrading clean accuracy, and never degraded performance in any experiment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.