Abstract
People believe that depth plays an important role in success of deep neural networks (DNN). However, this belief lacks solid theoretical justifications as far as we know. We investigate role of depth from perspective of margin bound. In margin bound, expected error is upper bounded by empirical margin error plus Rademacher Average (RA) based capacity term. First, we derive an upper bound for RA of DNN, and show that it increases with increasing depth. This indicates negative impact of depth on test performance. Second, we show that deeper networks tend to have larger representation power (measured by Betti numbers based complexity) than shallower networks in multi-class setting, and thus can lead to smaller empirical margin error. This implies positive impact of depth. The combination of these two results shows that for DNN with restricted number of hidden units, increasing depth is not always good since there is a tradeoff between positive and negative impacts. These results inspire us to seek alternative ways to achieve positive impact of depth, e.g., imposing margin-based penalty terms to cross entropy loss so as to reduce empirical margin error without increasing depth. Our experiments show that in this way, we achieve significantly better test performance.
Introduction
While the success of deep neural networks (DNNs) is often attributed to their depth, theoretical justifications for this "deeper is better" paradigm have historically been limited. Most existing proofs focus on binary classification or simple fully connected architectures, leaving a gap in the understanding of multi-class convolutional neural networks (CNNs). This paper addresses the generalization gap—why increasing depth can sometimes degrade test performance—and the representation gap, seeking a formal measure of a deep network's power in multi-class settings.
Theoretical Framework: The Margin Bound Perspective
The authors analyze DNNs through the lens of margin bounds, where the expected error is upper-bounded by the sum of the empirical margin error and a capacity term based on the Rademacher Average (RA).
The Double-Edged Sword of Depth
- Negative Impact (Capacity): The authors derive new upper bounds for the RA of multi-class CNNs, demonstrating that capacity increases exponentially with depth ($L$). This suggests that deeper networks are more prone to overfitting.
- Positive Impact (Representation): Using Betti numbers from topology to measure complexity, the authors show that deeper networks possess greater representational power. This allows them to create more complex decision boundaries, thereby reducing empirical margin error.
Large Margin Deep Neural Networks (LMDNN)
To leverage the representational benefits of depth without the associated generalization penalty, the authors propose the Large Margin DNN (LMDNN) algorithm. By introducing margin-based penalty terms to the standard cross-entropy loss, the model explicitly optimizes for a larger classification margin—the gap between the correct class score and the highest incorrect score. This approach aims to "tighten" decision boundaries without requiring excessive physical depth.
Experimental Results and Discussion
The theoretical trade-off was validated on the MNIST and CIFAR-10 datasets using LeNet and AlexNet architectures.
The U-Shaped Error Curve
Experiments confirmed that for a fixed number of hidden units, test error initially decreases as depth increases but eventually begins to rise. This "U-shaped" curve illustrates the point where the negative impact of increased model capacity outweighs the positive impact of representation power.
LMDNN Performance
The LMDNN approach consistently outperformed standard cross-entropy training. On MNIST, test error was reduced from 0.899% to 0.734%, while on CIFAR-10, it dropped from 18.339% to 17.598%. These results demonstrate that optimizing the margin is an effective proxy for the benefits of depth.
Conclusion
This work provides a rigorous theoretical foundation for the role of depth in DNNs, highlighting a fundamental trade-off between representation power and generalization capacity. By introducing the LMDNN algorithm, the authors show that margin optimization can bypass the pitfalls of excessive depth, offering a more efficient path to high-performance models. Future work may explore these dynamics on larger-scale datasets like ImageNet and investigate the interaction between margin bounds and other regularization techniques like Dropout or Batch Normalization.
Summary updated