NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Universal Property of Convolutional Neural Networks

Geonho Hwang, Myungjoo Kang · OpenReview

Abstract

Universal approximation—the ability of a function set to approximate any arbitrary function within a specific space—is a foundational concept in neural network theory. While well-established for Multi-Layer Perceptrons (MLPs), the universal properties of Convolutional Neural Networks (CNNs) have remained less understood due to their inherent architectural constraints. This paper demonstrates the universal approximation theorem for Fully Convolutional Neural Networks (FCNNs). We show that by utilizing zero padding, FCNNs can approximate any continuous function where the input and output tensors share the same shape. Furthermore, we establish the optimal minimum depth required for such approximations and prove that universality holds even with a limited number of channels, provided the network is sufficiently deep.

Introduction

The Universal Approximation Property (UAP) serves as the theoretical "gold standard" for neural network architectures, ensuring that a model can, in principle, represent any complex continuous mapping given sufficient parameters. While MLPs have long been recognized as universal approximators, proving the same for CNNs—specifically Fully Convolutional Neural Networks used in tasks like image segmentation—has been challenging.

The primary obstacle is the property of translation equivariance. In a standard convolution without padding, the network is constrained to treat all spatial locations identically. While beneficial for pattern recognition, this symmetry acts as a mathematical restriction that prevents the network from approximating functions that require spatial awareness or absolute positioning. This research investigates how common practices, specifically zero padding, allow FCNNs to overcome these limitations.

Methodology: Breaking Symmetry with Zero Padding

The study employs rigorous mathematical analysis, primarily utilizing the Stone-Weierstrass theorem, to establish UAP for FCNNs. The authors analyze two distinct architectural configurations:

  1. Shallow and Wide: Networks with limited depth but an increasing number of channels.
  2. Deep and Narrow: Networks with a fixed, limited number of channels but increasing depth.

A critical finding is that zero padding is not merely a tool for maintaining spatial dimensions; it is the mechanism that enables universality. By introducing zeros at the boundaries, the convolution operation gains the ability to distinguish between different spatial positions. These "boundary effects" propagate through the layers, allowing the network to break translation equivariance and construct arbitrary monomials—the fundamental building blocks of polynomials—across the entire tensor.

Key Theoretical Results

The Wide Regime: Minimum Depth Requirements

For a shallow network to achieve universality, its receptive field must be large enough for the output at any given position to be influenced by the entire input. The authors prove a hard physical limit on the minimum depth ($N_d$) required for a 3x3 kernel FCNN to be a universal approximator:

  • For spatial dimensions $d = 1, 2$, the minimum depth is 2 layers.
  • For $d = 3$, the minimum depth is 3 layers.
  • For $d \ge 4$, the minimum depth is $d - 1$ layers.

This result demonstrates that depth is intrinsically linked to the spatial resolution of the data when the number of channels is the primary driver of expressivity.

The Narrow Regime: Channel Efficiency

In the "deep and narrow" case, the research reveals a surprising efficiency in channel requirements. The authors prove that an FCNN is a universal approximator if it possesses at least $c_x + c_y + 2$ channels (where $c_x$ and $c_y$ represent input and output channels, respectively). Notably, this bound is independent of the spatial resolution (the number of pixels), suggesting that CNNs can be more parameter-efficient than MLPs for high-dimensional image processing tasks.

Activation Functions and Dimensionality

The proof also highlights that in deep architectures, even simple polynomial activation functions provide sufficient expressivity. Furthermore, the authors successfully extended these proofs from 1D sequences to multidimensional tensors, confirming that these universal properties hold for the 2D and 3D CNNs used in modern computer vision and video processing.

Discussion and Limitations

While this work provides a foundational proof of the expressive potential of FCNNs, it focuses on existence rather than optimization. The theorems prove that a network can represent a function, but they do not provide quantitative error estimates or guarantee that standard optimization techniques, such as Gradient Descent, will successfully converge to these solutions.

Future research is needed to explore the UAP of more complex architectural variations, including strided convolutions, dilated convolutions, and various pooling layers. Additionally, bridging the gap between theoretical expressivity and practical learnability remains a vital area for the deep learning community.

Conclusion

This research formalizes the intuition that CNNs are powerful function approximators. By identifying zero padding as the key to unlocking spatial awareness, the authors provide a rigorous mathematical justification for standard architectural choices in deep learning. These findings solidify the theoretical foundation of FCNNs, proving they are capable of representing any continuous tensor-to-tensor mapping.

Summary updated

BibTeX
@misc{hwang2022universal,
  author = {Geonho Hwang and Myungjoo Kang},
  title = {{Universal Property of Convolutional Neural Networks}},
  year = {2022},
  eprint = {2211.09983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.09983},
}
Figure