Linear CNNs Discover the Statistical Structure of the Dataset Using Only the Most Dominant Frequencies

Hannah Pinson, Joeri Lenaerts, Vincent Ginis

Abstract

Linear Convolutional Neural Networks (CNNs) learn by discovering the statistical "modes" of a dataset in a series of rapid, stage-like transitions. Unlike fully connected networks, CNNs exhibit a dominant frequency bias. The convolutional kernel selectively latches onto only the most prominent spatial frequencies of each data feature, providing a theoretical link to why these models often prioritize texture over global shape.

Introduction

While Convolutional Neural Networks (CNNs) are the workhorse of modern computer vision, our theoretical understanding of how they learn remains incomplete. We know they develop internal structures during training, but how does the specific geometry of a convolution interact with the raw statistics of a dataset?

Previous research successfully modeled the learning dynamics of linear Fully Connected Neural Networks (FCNNs), showing they discover data structures in an ordered, hierarchical fashion. However, CNNs are not just FCNNs; they possess rigid structural constraints—namely, weight sharing and locality. This paper bridges that gap by providing a mathematical theory for how these constraints fundamentally alter the speed and content of learning.

Methods and Analytical Approach

The authors analyze two-layer linear CNNs (networks without non-linear activation functions like ReLU). While simplified, these models allow for rigorous mathematical treatment using several key techniques:

  • Singular Value Decomposition (SVD): Used to decompose the input-output correlation matrix and represent the "statistical structure" of the dataset.
  • Doubly Block Circulant Matrices: To treat convolutions mathematically, the convolutional layer is represented as a matrix. Because of the sliding-window nature of convolutions, this matrix has a specific "circulant" structure.
  • Gradient Descent ODEs: By looking at the "slow learning regime," the authors derive a set of differential equations that describe how the network's weights evolve over time.
  • Fourier Analysis: The learning equations are transformed into the frequency domain to reveal how the network "picks" which spatial frequencies to prioritize.
Visualization of the Fourier basis matrix and corresponding spatial frequency patterns.

To validate the theory, the paper uses a mix of synthetic and real-world data. This ranges from pure 2D cosine waves and simple geometric shapes (to visualize hierarchical discovery) to CIFAR-4 and CIFAR-10, ensuring the linear theory's implications hold up for the deep, non-linear CNNs used in practice.

Key Insights

Stage-like Discovery

Learning is not a smooth, linear process. Instead, the network "discovers" different structural parts of the data in rapid, successive jumps. For example, it might first distinguish "round" versus "pointed" shapes, and then later separate "circles" from "octagons."

The Dominant Frequency Bias

This is the paper's standout finding. A CNN kernel does not try to learn every detail of a feature. Instead, it acts as a "soft winner-takes-all" filter, picking only the most dominant frequency components. This explains why CNNs are often "texture-biased"—textures usually have high-amplitude, dominant frequency signatures that the network latches onto at the expense of broader shape outlines.

Structural Mismatch and Convolutional Speedup

The speed at which a CNN learns a specific feature depends on how well that feature's "shape" aligns with the Fourier basis (the natural language of convolutions). If there is a mismatch, learning is delayed compared to an FCNN. Despite potential delays from this mismatch, convolutions provide a natural speedup factor proportional to the image or kernel size, because a single weight update affects multiple parts of the image simultaneously.

Key Results

  • Analytical Trajectories: The authors derived a closed-form sigmoidal equation that accurately predicts the learning path of the network's effective singular values.
  • CNN vs. FCNN Dynamics: Experiments confirmed that while FCNNs learn features based purely on their statistical strength (singular values), CNNs are heavily modulated by the dominant frequency of those features.
  • Sparsity in the Kernel: The theory predicts, and experiments confirm, that the learned convolutional kernel is a "sparse mixture" of frequencies. It ignores low-amplitude noise and focuses strictly on the "peaks" in the data's power spectrum.
  • Generalization to Deep/Non-linear Models: Even in deep networks with ReLUs and max-pooling, the stage-like discovery of statistical modes remains visible, suggesting the linear theory captures a fundamental property of the convolutional architecture.

Limitations and Future Work

The core theory relies on linear layers and assumes "circular" convolution (where the kernel wraps around the edges). Standard "zero-padding" used in industry might introduce slight boundary effects not captured here, and the exact mathematical mapping for ReLUs and pooling is not yet fully developed.

Additionally, there is an existing concept called "spectral bias" which suggests networks learn low frequencies first. The authors note their "dominant frequency bias" is distinct: it is driven by amplitude (dominance) rather than strictly frequency (low vs. high). Reconciling these two biases remains a compelling area for future research.

Summary updated

BibTeX
@inproceedings{pinson2023linear,
  author = {Hannah Pinson and Joeri Lenaerts and Vincent Ginis},
  title = {{Linear CNNs Discover the Statistical Structure of the Dataset Using Only the Most Dominant Frequencies}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=ZFBf47ZNos},
}
Figure