Aliasing in Convnets: A Frame-Theoretic Perspective

Daniel Haider, Vincent Lostanlen, Martin Ehler, Nicki Holighaus, Peter BalazsarXiv 2025 · DOI

Strided convolutions are ubiquitous in modern convolutional neural networks (CNNs), serving as the primary mechanism for downsampling. However, from a signal processing perspective, downsampling without appropriate anti-aliasing filters introduces artifacts where high-frequency signals become indistinguishable from lower-frequency ones. This phenomenon, known as aliasing, is not merely a theoretical concern; it directly impacts the numerical stability of deep learning models. Poor stability can lead to vanishing or exploding gradients and increased sensitivity to adversarial perturbations.

In "Aliasing in Convnets: A Frame-Theoretic Perspective," the authors address these issues by applying frame theory to 1D convolutional layers. By treating a convolutional layer as a multi-rate filterbank, they provide a rigorous mathematical framework to quantify aliasing and develop efficient methods to suppress it.

Quantifying Aliasing via Frame Theory

The core of the paper's theoretical contribution lies in the use of the Walnut representation. This mathematical tool allows the authors to decompose the operation of a convolutional layer in the frequency domain. Specifically, it separates the layer's behavior into a primary frequency response and several "side diagonals." These side diagonals are the mathematical manifestation of aliasing terms.

A key insight derived from this representation is the "Recipe for Perfect Stability." The authors prove that a strided convolutional layer achieves Parseval stability (meaning it preserves signal energy like an orthogonal transform) if and only if two conditions are met:

  1. The base frequency response is perfectly flat.
  2. The aliasing terms (the side diagonals in the Walnut representation) are exactly zero.

This equivalence provides a clear target for optimization: to stabilize a network, one must systematically eliminate aliasing. Furthermore, the authors derive new mathematical bounds for stability that specifically account for the short kernel sizes (e.g., 3 to 32 parameters) typically used in deep learning, rather than assuming the infinitely long signals often used in classical signal processing theory.

Efficient Fourier-Domain Regularization

Traditional methods for enforcing stability often involve computing the frame operator matrix, which is computationally expensive for large networks. To circumvent this, the authors propose two new loss functions, $\mathcal{L}^G$ and $\mathcal{L}^{\hat{G}}$. These regularizers operate directly in the Fourier domain, targeting the aliasing terms identified by the Walnut representation.

By utilizing Fast Fourier Transforms (FFTs) instead of explicit matrix operations, these regularizers are significantly more efficient. In numerical experiments involving a layer with 256 channels, a kernel size of 64, and a stride of 2, the proposed methods were up to 32 times faster than standard baseline stabilization techniques. Despite this speed, the regularizers successfully optimized randomly initialized layers to achieve machine-precision Parseval stability (a condition number of $B/A \approx 1$).

Aliasing at Initialization

The paper also explores the state of aliasing before training begins. By deriving closed-form expressions for the variance of aliasing terms under random Gaussian initialization, the authors found that finite-sized kernels act as rectangular windows that concentrate energy at specific frequencies.

Interestingly, the analysis shows that "channels buy stability." The variance of aliasing terms at initialization scales inversely with the number of channels ($M$). Consequently, wider layers (e.g., 256 channels) naturally exhibit lower initial aliasing variance, providing a degree of inherent stability even before optimization. The empirical statistics of aliasing drawn from 100,000 random filterbanks were found to perfectly match the authors' newly derived closed-form theoretical bounds.

Conclusion and Future Directions

While the paper provides a robust mathematical foundation for understanding and mitigating aliasing in 1D convolutions, several avenues for future research remain. The current study focuses on isolated layers and numerical simulations rather than end-to-end training on large-scale datasets like ImageNet or CIFAR. Furthermore, while the math generalizes to multi-channel and dilated convolutions, empirical validation in these contexts is still needed.

Future work may investigate how standard training dynamics affect these stability bounds over time and explore the use of smoother windowing functions during initialization to further reduce early-stage aliasing. By bridging the gap between signal processing theory and deep learning practice, this work offers a path toward more stable and robust neural architectures.

Summary updated

BibTeX
@misc{haider2025aliasing,
  author = {Daniel Haider and Vincent Lostanlen and Martin Ehler and Nicki Holighaus and Peter Balazs},
  title = {{Aliasing in Convnets: A Frame-Theoretic Perspective}},
  year = {2025},
  eprint = {2507.06152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.06152},
}
Figure