Learning Non-Vacuous Generalization Bounds from Optimization

Chengli Tan, Jiangshe Zhang, Junmin Liu, Yihong Gong
6/9/2022
cs.LGcs.AI

Official code: hirsch-lab/cyminiball (7 stars, Python, GPL-3.0, last commit 2026-06-18).

Abstract

One of the fundamental challenges in the deep learning community is to theoretically understand how well a deep neural network generalizes to unseen data. However, current approaches often yield generalization bounds that are either too loose to be informative of the true generalization error or only valid to the compressed nets.

Show full abstract

In this study, we present a simple yet non-vacuous generalization bound from the optimization perspective. We achieve this goal by leveraging that the hypothesis set accessed by stochastic gradient algorithms is essentially fractal-like and thus can derive a tighter bound over the algorithm-dependent Rademacher complexity. The main argument rests on modeling the discrete-time recursion process via a continuous-time stochastic differential equation driven by fractional Brownian motion. Numerical studies demonstrate that our approach is able to yield plausible generalization guarantees for modern neural networks such as ResNet and Vision Transformer, even when they are trained on a large-scale dataset (e.g. ImageNet-1K).

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Compute the smallest bounding ball of a point cloud in arbitrary dimensions. Python/Cython binding of the popular miniball utility by Bernd Gärtner.

72Python, C++Oct 26, 20205 months agoGPL-3.0

Similar Papers

Cite this paper

@article{tan2022learning,
  title  = {Learning Non-Vacuous Generalization Bounds from Optimization},
  author = {Chengli Tan and Jiangshe Zhang and Junmin Liu and Yihong Gong},
  year   = {2022},
  eprint = {2206.04359},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.04359}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.04359.svg)](https://codeofpaper.com/paper/2206.04359)

Discussion