Symmetries in PAC-Bayesian Learning
Armin Beck, Peter Ochs
TL;DR
The paper extends PAC-Bayesian generalization guarantees to non-compact symmetries and non-invariant data distributions by introducing a group-averaging operator that projects hypotheses onto the equivariant subset. It proves a KL-divergence decomposition, enabling tighter McAllester-type PAC-Bayes bounds via the pushforward measures, and shows that risk and empirical risk can be characterized on a reduced set of orbit representatives when data and loss respect the symmetry. The approach is validated on rotated MNIST with non-uniform rotations (and translations), where an equivariant CNN achieves better empirical performance and a strictly tighter bound than a baseline non-equivariant model. This work broadens the theoretical foundations of symmetry in learning and provides practical guidance for leveraging symmetry beyond compact groups and invariant data distributions.
Abstract
Symmetries are known to improve the empirical performance of machine learning models, yet theoretical guarantees explaining these gains remain limited. Prior work has focused mainly on compact group symmetries and often assumes that the data distribution itself is invariant, an assumption rarely satisfied in real-world applications. In this work, we extend generalization guarantees to the broader setting of non-compact symmetries, such as translations and to non-invariant data distributions. Building on the PAC-Bayes framework, we adapt and tighten existing bounds, demonstrating the approach on McAllester's PAC-Bayes bound while showing that it applies to a wide range of PAC-Bayes bounds. We validate our theory with experiments on a rotated MNIST dataset with a non-uniform rotation group, where the derived guarantees not only hold but also improve upon prior results. These findings provide theoretical evidence that, for symmetric data, symmetric models are preferable beyond the narrow setting of compact groups and invariant distributions, opening the way to a more general understanding of symmetries in machine learning.
