Understanding Generalization in Deep Learning via Tensor Methods

Jingling Li, Yanchao Sun, Jiahao Su, Taiji Suzuki, Furong Huang

Introduction

A central challenge in deep learning theory is explaining why models with massive parameter counts generalize effectively to unseen data. Traditional metrics like VC-dimension often produce "vacuous" bounds—values so large they offer no predictive power. While recent research has explored compression-based bounds, these often rely on impractical random projections. This paper introduces a novel framework that bridges the gap between theoretical generalization and practical model compression by viewing neural networks through the lens of tensor decomposition.

The CP Layer (CPL) Framework

The authors propose the CP Layer (CPL), an architectural building block where weight kernels are explicitly parameterized using Canonical Polyadic (CP) decomposition. This approach represents high-order tensors as sums of rank-one components, allowing the network to learn low-rank structures directly during training.

To characterize these networks, three data-dependent metrics are introduced:

  • Tensorization Factor (TF): Balances the trade-off between generalization and model expressivity.
  • Tensor Noise Bound (TNB): Quantifies low-amplitude components that can be pruned without performance loss.
  • Layer Cushion (LC): Measures the relative growth of layer outputs compared to inputs and weights.

The Spiky Spectrum of Generalization

A key discovery of this work is that well-trained neural networks naturally exhibit a "spiky" CP spectrum, characterized by a few dominant components and many negligible ones. This inherent low-rankness is a strong indicator of high compressibility and superior generalization.

Figure 1: The normalized amplitude of CP components in VGG vs. CP-VGG architectures. The CP-VGG variant exhibits a significantly "spikier" spectrum, indicating higher compressibility.

In contrast, models trained on random noise or corrupted labels display a "flat" spectrum, making them difficult to compress. The CPL architecture acts as a structural regularizer, preventing the model from memorizing noise and enhancing robustness against label corruption.

Experimental Results and Generalization Bounds

The researchers derived a new generalization bound using Fourier analysis and tensor operator norms. Empirically, this bound is significantly tighter than previous state-of-the-art compression bounds. For a CP-VGG-16 model, the proposed bound reached a magnitude of approximately $10^1$, compared to $10^5$ for prior methods.

Figure 5: The derived generalization bound tracks the actual test error closely across training epochs, demonstrating its non-vacuous nature and predictive utility.

Beyond theoretical tightness, the framework enables highly effective compression without the need for expensive fine-tuning. For instance, a 28-layer Wide-ResNet (CP-WRN-28-10) was compressed by 8x with a negligible 0.56% drop in test accuracy on CIFAR-10. Furthermore, in high-noise environments (80% label corruption), CP-VGG-16 outperformed standard VGG-16 by over 6% in accuracy.

Conclusion

By integrating tensor methods into the core architecture of deep networks, this research provides both a practical tool for model compression and a deeper theoretical understanding of generalization. Future work may extend these principles to other decomposition types like Tucker or Tensor Train, and explore applications in modern architectures such as Transformers.

Summary updated

BibTeX
@inproceedings{li2020understanding,
  author = {Jingling Li and Yanchao Sun and Jiahao Su and Taiji Suzuki and Furong Huang},
  title = {{Understanding Generalization in Deep Learning via Tensor Methods}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
}
Figure