Abstract
The empirical success of deep neural networks has historically outpaced theoretical understanding. This paper addresses the fundamental question of why depth improves performance by framing it as a tradeoff between model capacity and representation power. We demonstrate that while increasing depth expands a network's capacity—potentially leading to looser generalization bounds—it also exponentially increases its ability to represent complex functions. This increased representation power allows deeper networks to achieve significantly smaller empirical margin errors. Based on these findings, we introduce Large Margin DNNs (LMDNN), which incorporate margin maximization directly into the loss function to improve generalization without requiring excessive depth.
Introduction
By 2016, architectures like ResNet and VGG had established "deeper is better" as a standard heuristic in machine learning. However, theoretical justifications remained sparse. Traditional metrics like VC dimension often failed to provide tight bounds for models with millions of parameters. This work seeks to provide a rigorous framework for understanding depth through the lens of margin bounds, where generalization error is bounded by training error at a specific margin plus a complexity term (Rademacher Average).
Theoretical Framework: The Depth Tradeoff
Capacity and Generalization
The authors first analyze the "negative" impact of depth. By deriving upper bounds for the Rademacher Average (RA) of multi-class networks, they prove that capacity grows with depth $L$. A higher RA implies a looser generalization bound, suggesting that deeper networks are theoretically more prone to overfitting if not properly regularized.
Representation Power and Betti Numbers
To explain why depth is nonetheless beneficial, the paper employs algebraic topology, specifically Betti numbers, to measure functional complexity. Deeper networks can represent functions with far higher topological complexity than shallower ones of similar width. This allows them to fit training data with much smaller margin errors.
As shown in the figure above, for any given margin coefficient $\gamma$, deeper networks consistently achieve lower empirical margin errors across both MNIST and CIFAR-10 datasets. This supports the claim that depth efficiently boosts representation power.
Large Margin DNN (LMDNN)
Recognizing that the primary advantage of depth is achieving a better margin, the authors propose the LMDNN algorithm. By modifying the standard cross-entropy loss with margin-based penalties ($C_1$ and $C_2$), the network is forced to maximize the decision gap between the correct class and the nearest competitor. This approach aims to capture the benefits of depth (better margins) while maintaining a more manageable capacity.
Empirical Results
Experiments on MNIST and CIFAR-10 validate the theoretical tradeoff. The relationship between depth and test error typically follows a U-shaped curve, where an optimal depth exists that balances representation power and capacity.
The LMDNN approach demonstrated significant improvements over standard deep networks (DNN-C):
- MNIST: Test error reduced from 0.899% to 0.734% using LMDNN-C1.
- CIFAR-10: Test error reduced from 18.339% to 17.598% using LMDNN-C1.
Furthermore, the $C_2$ variant of the algorithm proved to be more robust to hyperparameter tuning, offering a practical alternative for various tasks.
Conclusion
This work provides a theoretical foundation for the role of depth in neural networks. By identifying the tension between capacity and representation power, it explains the empirical U-shaped performance curves observed in practice. The proposed LMDNN algorithm offers a principled way to improve generalization by explicitly optimizing for the margin, effectively mimicking the benefits of depth in shallower architectures.
Summary updated