NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Apprentissage PAC-Bayésien sous le prisme de l’optimisation

Maxime HaddoucheTheses.fr 2024

The Inria-London Programme collaboration banner.

Abstract

L'apprentissage PAC-Bayésien est une branche de la théorie de l'apprentissage récemment mise en avant pour ses garanties de généralisation des réseaux de neurones profonds. Cette thèse propose une vision optimisatoire de l'apprentissage PAC-Bayes, développée à travers de nombreux algorithmes et bornes de généralisation. En remettant en question les interprétations classiques issues de la théorie de l'information, ce travail met en évidence les interactions entre les bénéfices de la phase d'apprentissage et la capacité de généralisation, notamment via l'exploitation des "minima plats" et du transport optimal.

Introduction

Traditionally, PAC-Bayesian theory—a framework for proving how well a machine learning model will perform on unseen data—has been the domain of information theory. It relies on Bayesian concepts like "priors" and "posteriors" and measures model complexity using Kullback-Leibler (KL) divergence. However, modern deep learning resembles an optimization process (usually Stochastic Gradient Descent) rather than a Bayesian update.

Maxime Haddouche’s thesis, "PAC-Bayes Learning From an Optimisation Perspective," bridges this gap. By reframing PAC-Bayes through the lens of optimization, the work creates bounds that are more practical, flexible, and better suited for deep neural networks.

Addressing the Theoretical Disconnect

While PAC-Bayesian bounds are some of the tightest in learning theory, they suffer from three major "disconnects" with modern practice:

  1. The Prior Problem: Standard theory struggles to account for how optimization moves a model away from its starting point (initialization).
  2. The Dirac Problem: Practitioners use deterministic models, but KL divergence becomes infinite for these, making standard theory "vacuous" for the most common models.
  3. The Assumption Problem: Most bounds require "light-tailed" data, whereas real-world data is often "heavy-tailed" or non-i.i.d.

Methodological Innovations

Conceptual diagram highlighting the structural pillars of the thesis, focusing on chapters 1, 3, and 6.

Haddouche introduces several novel technical toolboxes to solve these issues:

  • Supermartingale Analysis: Used to handle non-i.i.d. data and heavy-tailed losses, allowing for "anytime-valid" bounds throughout the training process.
  • Online PAC-Bayes: A framework where the prior and posterior evolve as a sequence, treating the prior as an "initialization point" that is gradually updated, mirroring SGD.
  • Flat Minima & Fast Rates: Utilizing Poincaré and log-Sobolev inequalities, the thesis proves that models landing in "flat minima" achieve a faster generalization rate of $1/m$ instead of the standard $1/\sqrt{m}$.
  • Wasserstein PAC-Bayes: By replacing KL divergence with Wasserstein distances from Optimal Transport, the theory can provide valid bounds for deterministic models (Dirac distributions) while respecting the geometry of the parameter space.

Key Results and Empirical Validation

The theoretical results were validated across diverse benchmarks, including MNIST/FashionMNIST for image classification and over 13 datasets from the UCI repository.

Key findings include:

  • Performance Gains: Online PAC-Bayes algorithms consistently outperformed standard Online Gradient Descent (OGD) across multiple tasks.
  • Empirical Confirmation: Experiments confirmed that the "Quadratically Self-Bounded" (QSB) assumption—a core requirement for flat-minima bounds—holds for real neural networks during training.
  • Non-Vacuous Deterministic Bounds: The thesis successfully derived the first PAC-Bayesian algorithms that output deterministic predictors while maintaining valid theoretical guarantees.

Conclusion and Future Directions

By viewing the prior as an initialization point and prioritizing geometry over statistics, this work makes PAC-Bayesian theory "speak the same language" as deep learning practitioners. While current Wasserstein bounds exhibit a dependence on the dimension ($d$) of the parameter space, future research aims to develop dimension-free alternatives and scale these flat-minima bounds to massive architectures like Transformers.

Summary updated

BibTeX
@inproceedings{haddouche2024apprentissage,
  author = {Maxime Haddouche},
  title = {{Apprentissage PAC-Bayésien sous le prisme de l’optimisation}},
  booktitle = {Theses.fr},
  year = {2024},
}
Figure