Since its debut in 2016, the Residual Network (ResNet) has become a cornerstone of deep neural network design, largely because it effectively addresses the vanishing gradient problem in deep architectures. However, while its practical success is undeniable, a fundamental theoretical question has lingered: exactly how efficiently can a ResNet approximate complex functions compared to standard networks?
This paper provides a rigorous theoretical justification for ResNet's success. It proves that constant-width ResNets are fundamentally more efficient function approximators than standard feedforward neural networks (FNNs), achieving optimal approximation rates while requiring significantly fewer parameters.
The Theoretical Gap
While we have long known that ResNets are universal approximators—capable of representing any continuous function given enough parameters—the optimal number of parameters required to reach a specific error target $\epsilon$ was poorly understood.
Standard ReLU FNNs often suffer from the "curse of dimensionality," requiring an astronomical number of weights as the input dimension $d$ increases. Previous theoretical studies on ResNet either provided suboptimal bounds or focused narrowly on specific architectures like CNNs. This research asks a definitive question: How many tunable weights does a ResNet actually need to approximate popular function classes (like polynomials and smooth functions) to an error $\epsilon$, and is it mathematically superior to a standard FNN?
Methodology: The Power of Identity Mapping
To answer this, the authors focus on the b-ResNet (bottleneck ResNet), defined as a ResNet with a constant width (e.g., a width of just 4) regardless of the input dimension.
Their approach combines theoretical proofs with numerical validation:
- FNN-ResNet Equivalence: The authors first prove that any ResNet can be viewed as a special type of sparse FNN. This establishes "lower bounds"—the absolute minimum number of parameters any such network would need.
- Constructive Proofs: To find "upper bounds," they explicitly construct ResNet architectures capable of approximating polynomials (using residual blocks to efficiently implement multiplication), smooth functions in Sobolev space (via local Taylor expansions), and Lebesgue-integrable functions.
- Identity Mapping Leverage: A crucial insight is how ResNet’s identity shortcuts "store" input values across layers for free. In contrast, standard FNNs must expend active neurons and weights simply to pass this information forward.
Key Insights and Optimal Bounds
The most significant finding of the paper is the "Factor of $d$" Advantage. In a standard FNN, you often need $\mathcal{O}(d)$ width just to carry the input signal forward. Because ResNet’s identity shortcut handles this "memory" task, the tunable weights can focus entirely on the non-linear "residual" part of the function. This reduces the required parameters by a factor of $d$.
Furthermore, the paper proves that depth can effectively replace width. A constant width as small as 4 is sufficient for universal approximation, provided the network is deep enough.
For Lipschitz continuous functions, the authors demonstrate that ResNet requires only $\mathcal{O}(\epsilon^{-d/2})$ weights. This is a massive improvement over the $\mathcal{O}(\epsilon^{-d})$ bounds found in classical FNN literature and previous ResNet studies. Crucially, this matches the generalized lower bound, meaning ResNet is as efficient as mathematically possible for this task—it is order-optimal.
To validate these theorems, the authors tested a synthetic high-dimensional target function (up to $d=300$). The constant-width b-ResNets consistently achieved lower Mean Squared Error compared to standard fully connected FNNs, even when using a similar or smaller number of parameters.
Limitations and Future Directions
While these theoretical bounds are groundbreaking, the authors note a few limitations:
- The Hidden Constant: Although the rate of approximation is optimal, the "hidden constant" $c(d)$ in the formulas still grows exponentially with the dimension $d$. The curse of dimensionality is heavily mitigated, but not entirely eliminated.
- The Optimization Gap: The paper proves that these highly efficient weight configurations exist, but it does not guarantee that standard optimizers (like SGD or Adam) will reliably find them during practical training.
- Width-Depth Trade-offs: The study focuses primarily on constant-width bottleneck ResNets. Exploring the precise, optimal trade-off between linear layer size, activation width, and depth remains an exciting open area for future research.
Summary updated