On the Inductive Bias of a CNN for Orthogonal Patterns Distributions

Alon Brutzkus, Amir GlobersonarXiv 2020

Abstract

Max-Pooling operations are a core component of deep learning architectures. In particular, they are part of most convolutional architectures used in machine vision, since pooling is a natural approach to pattern detection problems. However, these architectures are not well understood from a theoretical perspective. For example, we do not understand when they can be globally optimized, and what is the effect of over-parameterization on generalization. Here we perform a theoretical analysis of a convolutional max-pooling architecture, proving that it can be globally optimized, and can generalize well even for highly over-parameterized models. Our analysis focuses on a data generating distribution inspired by pattern detection problem, where a "discriminative" pattern needs to be detected among "spurious" patterns. We empirically validate that CNNs significantly outperform fully connected networks in our setting, as predicted by our theoretical results.

Introduction

Deep learning practitioners have long observed that Convolutional Neural Networks (CNNs) excel at vision tasks, frequently outperforming Fully Connected Networks (FCNs) even in heavily overparameterized regimes. From a theoretical standpoint, this success presents two major puzzles: optimization and generalization. First, the training loss for these networks is non-convex due to ReLU and max-pooling layers, making the reliable discovery of global minima by gradient descent surprising. Second, overparameterized models possess the expressive capacity to fit arbitrary noise; yet, gradient descent consistently selects solutions that generalize well to unseen data.

This paper addresses these questions by analyzing a simplified pattern recognition task. In this setting, a "discriminative" pattern must be identified amidst multiple "spurious" or irrelevant patterns. The authors demonstrate that while the theoretical capacity (VC dimension) of such networks is massive, the inductive bias of gradient descent acts as a filter, leading to efficient learning.

Methods and Data

The study focuses on a 3-layer CNN architecture consisting of a convolutional layer with non-overlapping filters, a ReLU activation, a max-pooling layer, and a final fully connected output layer. To facilitate theoretical analysis, the authors employ a layerwise optimization algorithm (LW-CNN) as a proxy for standard end-to-end training.

Figure 1: (a) Examples of the synthetic data distribution where discriminative patterns (blue/red boxes) are hidden among spurious patterns. (b) The 3-layer CNN architecture analyzed in this work.

The evaluation utilizes two primary datasets:

  1. Synthetic Orthogonal Patterns: Images are composed of $n$ patches. One patch contains a "discriminative" pattern defining the class, while the others contain "spurious" patterns drawn from a set of orthogonal vectors.
  2. MNIST Pattern Detection: A more complex variant using MNIST digits. For instance, a "positive" image might be defined by the presence of specific digit pairs (e.g., '3' and '5'), testing the theory on more realistic image data.

Key Insights: The Capacity Paradox

A central finding is the "Capacity Paradox." The authors prove that the VC dimension of a max-pooling CNN is exponential in the filter dimension $d$, suggesting a high risk of overfitting. However, they show that the actual sample complexity required for learning is only linear in $d$. This gap is explained by the inductive bias of gradient descent. At initialization, certain filters are randomly better aligned with the target patterns ("lucky" filters). Gradient descent amplifies these filters, effectively transforming the first layer into a specialized set of pattern detectors while keeping "unlucky" filters suppressed.

Results

The theoretical predictions are supported by empirical results comparing the "ConvPool" architecture against Multi-Layer Perceptrons (MLPs) and Support Vector Machines (SVMs).

Figure 2: Test error vs. training samples for ConvPool, MLP, and SVM across different experimental settings. ConvPool consistently achieves lower error with fewer samples.

Key results include:

  • Linear Sample Complexity: Learning is achieved with $O(d)$ samples, far below the worst-case $2^{d/2}$ suggested by VC dimension.
  • CNN vs. FCN Gap: CNNs significantly outperform MLPs and SVMs, especially as the number of patterns $n$ in an image increases. FCN sample complexity grows much faster (at least $\sqrt{n}$), highlighting the efficiency of the CNN's local pattern detection.
  • Robustness: The CNN maintains stable performance even when noise is added to the patterns, whereas linear SVMs fail and MLP error rates increase significantly.

Discussion and Future Work

While this work provides a rigorous foundation for understanding the inductive bias of CNNs, some limitations remain. The proofs rely on layerwise training and orthogonal patterns, whereas real-world features are often correlated and trained end-to-end. Furthermore, the model uses non-overlapping filters and a single convolutional layer. Future research could extend these findings to modern architectures with overlapping strides and multiple layers, which introduce more complex optimization landscapes.

Summary updated

BibTeX
@misc{brutzkus2020inductive,
  author = {Alon Brutzkus and Amir Globerson},
  title = {{On the Inductive Bias of a CNN for Orthogonal Patterns Distributions}},
  year = {2020},
  eprint = {2002.09781},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.09781},
}
Figure