Rethinking Information-theoretic Generalization: Loss Entropy Induced PAC Bounds

Yuxin Dong, Tieliang Gong, Hong Chen, Shujian Yu, Chen Li

Introduction

Generalization bounds are often considered the "holy grail" of machine learning theory, as they attempt to mathematically guarantee that a model trained on a specific dataset will perform well on unseen data. Recently, information-theoretic bounds—which measure how much "information" a model's weights capture about the training data—have gained significant traction.

However, existing information-theoretic bounds face three major hurdles:

  1. Computational Intractability: They typically require estimating mutual information in high-dimensional spaces (e.g., between millions of neural network weights and thousands of data points), which is notoriously difficult and prone to estimation errors.
  2. Stringent Assumptions: Most bounds assume the loss function is strictly "bounded" (e.g., always between 0 and 1). This assumption fails for common loss functions like cross-entropy, which can have "long tails" and produce very high values for outliers.
  3. Average-case Limitations: Many current results only describe the average generalization error, whereas practitioners often require "Probably Approximately Correct" (PAC) bounds that hold with high probability.

This paper bridges these gaps by introducing a novel class of PAC bounds that shift the focus from the high-dimensional mutual information of model weights to the entropy of the losses.

Methodology: The Shift to Loss Entropy

The core "aha moment" of this research is the realization that the generalization gap is more directly related to the distribution of the one-dimensional loss than the high-dimensional complexity of the weights. By reducing complex information metrics to 1D variables, the authors make the math computationally tractable.

Key technical contributions include:

  • Loss Entropy Induced Bounds: The authors derive new PAC bounds based on the entropy of the 1D loss variable. Because the loss is a scalar, estimating its entropy is significantly simpler and more stable.
  • Thresholding Strategy: To handle unbounded, long-tailed losses like cross-entropy, they introduce a thresholding technique. By splitting the loss into a bounded component and a "tail" component, they can derive tight bounds without relying on strict boundedness assumptions.
  • Fast-Rate Bounds: In the "interpolating regime"—where a deep network is large enough to achieve zero training error—the authors prove that the generalization error converges at a "fast rate" of $\mathcal{O}(1/n)$ (where $n$ is the number of samples), rather than the standard $\mathcal{O}(1/\sqrt{n})$.

Furthermore, the paper provides a theoretical bridge to the Minimum Error Entropy (MEE) criterion, mathematically demonstrating that models minimizing the entropy of their errors are guaranteed to generalize better.

Key Results

To validate their theoretical bounds, the authors conducted extensive experiments using synthetic 2D Gaussian data, Binarized MNIST, and CIFAR-10 (using a ResNet-50 model).

Superior Tightness

In experiments across both MNIST and CIFAR-10, the proposed bounds proved to be highly effective. The authors' "Fast-Rate" and "Square-Root" bounds were consistently tighter—meaning they were much closer to the actual generalization error—than previous state-of-the-art information-theoretic bounds, such as the Binary KL bound.

Comparison of generalization bounds on CIFAR-10, showing the superior tightness of the proposed Fast-Rate and Square-Root bounds.

Strong Correlation with Generalization Gap

Unlike standard complexity metrics (such as the norm of the weights or total parameter count), loss entropy "tracks" the model's performance accurately as it trains. The metric $H(L^w|Y)$ demonstrated a remarkably strong Pearson correlation (up to 0.635) with the actual generalization gap, outperforming traditional mutual information and weight norm metrics.

Correlation analysis comparing loss entropy metrics against traditional complexity measures.

Additionally, the bounds remained robust even when 20% label noise was introduced, indicating that the loss entropy approach is resilient to the "messy" realities of real-world data.

Limitations and Future Work

While a significant step forward, the approach does have limitations:

  • Discretization Trade-offs: The theoretical proofs assume discrete loss variables. In practice, a "binning" strategy is used for continuous losses, introducing a trade-off between entropy estimation accuracy and discretization error.
  • Hyperparameter Sensitivity: The bounds contain hyperparameters (like $\lambda$ and $\gamma$) that require optimization, adding a layer of complexity to the evaluation process.
  • Interpolation Focus: The impressive $1/n$ fast rate is most applicable to models reaching near-zero training error; its utility for heavily regularized or under-fitted models may be limited.

Future work may look to connect this loss entropy framework with other over-parameterization theories, such as Neural Tangent Kernels (NTK), to further unify our understanding of deep learning generalization.

Summary updated

BibTeX
@inproceedings{dong2024rethinking,
  author = {Yuxin Dong and Tieliang Gong and Hong Chen and Shujian Yu and Chen Li},
  title = {{Rethinking Information-theoretic Generalization: Loss Entropy Induced PAC Bounds}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=GWSIo2MzuH},
}
Figure