Sample-Conditioned Hypothesis Stability Sharpens Information-Theoretic Generalization Bounds

Ziqiao Wang, Yongyi Mao

Abstract

Generalization is a fundamental metric in machine learning, quantifying the performance gap between an algorithm's training set and unseen data. While Information-Theoretic (IT) bounds—such as those based on Mutual Information (IOMI) or Conditional Mutual Information (CMI)—provide an algorithm-dependent framework for analysis, they frequently suffer from two critical limitations: sub-optimal convergence rates ($O(1/\sqrt{n})$) and the "non-vanishing" problem, where bounds remain constant even as sample sizes increase in certain convex optimization scenarios. This paper introduces Sample-Conditioned Hypothesis (SCH) stability, a novel framework that integrates algorithmic stability into information theory. By constructing a "neighboring-hypothesis" matrix, we derive sharpened generalization bounds that achieve $O(1/n)$ convergence and resolve vacuity issues in stochastic convex optimization.

Introduction

Information-theoretic approaches to generalization have gained traction because they capture the dependency between the training data and the specific learning algorithm. Unlike traditional complexity-based measures (e.g., VC dimension), IT bounds quantify the information "leakage" during training. However, recent research has highlighted significant gaps: standard IT bounds often fail to vanish in simple Convex-Lipschitz-Bounded (CLB) problems and typically yield slower convergence rates than those observed in practice.

In this work, we bridge the gap between information theory and algorithmic stability. We propose that the limitations of current IT bounds stem from their reliance on global properties rather than the local sensitivity of the algorithm to individual data points. By introducing SCH stability, we provide a mechanism to "sharpen" these bounds, making them both tighter and more representative of empirical performance.

The SCH Stability Framework

The Neighboring-Hypothesis Matrix

Central to our approach is the construction of a neighboring-hypothesis matrix. In standard CMI frameworks, a "supersample" is used to compare data points. We extend this by considering pairs of hypotheses: $W$, trained on the full dataset $S$, and its neighbor $W'$, trained on a dataset where a single element has been replaced. This structure allows us to analyze the relative loss—the difference in performance between these two hypotheses—rather than the absolute loss.

Four Flavors of Stability

We define four distinct types of SCH stability (Types A through D), which measure the discrepancy in loss under varying conditions (ranging from worst-case to average-case). By applying the Donsker-Varadhan (DV) variational representation, we can substitute generic constants in traditional generalization bounds with these decaying stability parameters. This mathematical substitution is the key to transforming loose bounds into sharp ones.

Key Theoretical Insights

1. Stability as Information Control

Algorithmic stability serves as a proxy for controlling the information a hypothesis carries about any specific training instance. By formalizing this relationship through SCH stability, we demonstrate that stable algorithms naturally limit information leakage, allowing for tighter IT-based analysis.

2. Achieving Fast Convergence Rates

One of the primary contributions of this framework is the derivation of $O(1/n)$ convergence rates. By assuming Type B stability, we prove that IT bounds can match the fast rates typically associated with stability-based analysis, aligning theoretical predictions with the $O(1/n)$ rates often observed in real-world optimization.

3. Resolving the Non-Vanishing Problem

Previous IT frameworks remained "vacuous" (non-zero) in certain Stochastic Convex Optimization (SCO) problems. Our framework successfully addresses this by focusing on relative loss. In the CLB counterexamples where previous theories failed, our SCH-based CMI bounds successfully vanish as $n$ increases.

Results and Evaluation

We evaluated the framework using theoretical counterexamples from recent literature, specifically focusing on scenarios where traditional IT bounds are known to be sub-optimal:

  • Convex-Lipschitz-Bounded (CLB) Problems: Our new CMI bounds successfully converge to zero in Gradient Descent scenarios where previous individual mutual information (IOMI) bounds remained constant.
  • Second-Moment Bounds: We derived a second-moment generalization bound (Theorem 4.4) that matches the state-of-the-art ($O(\beta^2 + 1/n)$) while extending the result to randomized algorithms.
  • Superiority of IOMI: Our sharpened IOMI bounds (Theorem 3.1) incorporate the stability parameter $\gamma_1$, proving strictly superior to previous iterations for any stable algorithm.

Limitations and Future Directions

While SCH stability significantly advances IT generalization theory, challenges remain:

  • Non-Noisy SGD: Analyzing standard Stochastic Gradient Descent (SGD) without added noise (like SGLD) remains difficult. In these cases, the hypothesis $W$ may still contain excessive information about the sample $S$, potentially leading to large mutual information terms.
  • Alternative Measures: Future work could explore extending this stability-based approach beyond KL divergence to other distributional measures, such as Wasserstein distance or Total Variation, which may offer additional flexibility in bounding generalization error.

Conclusion

By marrying the algorithm-dependent nature of information theory with the local sensitivity of algorithmic stability, the SCH framework provides a more robust and precise toolset for understanding generalization. This approach not only fixes the "looseness" of previous bounds but also provides a theoretical foundation for the fast convergence rates observed in modern machine learning.

Summary updated

BibTeX
@inproceedings{wang2023sample,
  author = {Ziqiao Wang and Yongyi Mao},
  title = {{Sample-Conditioned Hypothesis Stability Sharpens Information-Theoretic Generalization Bounds}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=oqDSDKLd3S},
}
Figure