arXiv:2610.33208cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.33208

Lower expected Fisher rank implies better PAC generalization

Marco Miani, Albert Kjøller Jacobsen, Albert Lopez i Serrano, Søren Hauberg, Georgios Arvanitidis

Abstract

Deep learning architectures tend to generalize well to unseen data, but explaining this capability is still an open area of research. Under the assumption of i.i.d. data, PAC-Bayes provides a bound on generalization error, and its tightness relies on a parameter distribution that covers a large volume of low-loss solutions. The Fisher information metric endows the parameter space with a geometry for which distances reflect functional changes, and whose zero-component captures functional invariances. We define and study a Fisher-aligned parameter distribution for which we can simultaneously guarantee (1) a low-loss, thanks to the exploration constrained on the functional invariances and (2) a large log-volume of parameters, proportional to the number of zero eigenvalues. This distribution results in a high-probability generalization error bound, which scales with the expected rank of the Fisher information matrix, shedding light on the relevance of this quantity.

1 Introduction

The concept of flatness is a prominent hypothesis to explain generalization of deep models [Hochreiter and Schmidhuber, 1997, Keskar et al., 2016, Wu et al., 2017]. A qualitative notion of flatness was suggested by Langford and Caruana [2001] as the output stability to noise added to the net's trainable parameters. However, a low local curvature is not a sufficient notion of flatness to explain generalization. Dinh et al. [2017] provides simple reparametrizations of neural networks which preserve the functional values but change the parameter neighborhood, arbitrarily changing any local notion of flatness. Thus, any such local notion breaks under the set of all reparametrizations, i.e. of all parameters that correspond to the same function on the training dataset. Accounting for such reparametrizations should be the first step to derive a robust notion of flatness.

A principled definition of flatness is one that implies a bound on the expected loss under the data distribution, provided access to a finite set of data sampled i.i.d from the very same distribution. This is exactly the guarantee provided by the theory of PAC-Bayes bounds, which express Probably Approximately Correct (PAC) bounds on the generalization capabilities of a parametrized model [McAllester, 1999, Catoni, 2007]. A recent surge in attention given to the PAC-Bayesian approach partially derives from a number of works establishing numerically non-vacuous bounds for neural networks [Dziugaite and Roy, 2017, Zhou et al., 2018, Pérez-Ortiz et al., 2021, Lotfi et al., 2023], although the state-of-the-art bounds on the true risk of neural networks are significantly weaker than those estimations obtained through traditional train/test split methods. These bounds have traditionally been effective with simpler models, but present significant challenges when extended to more complex ones. Among these challenges, there is the choice of a parameter distribution whose support shall be both wide, to maximize its entropy, and narrow, in order to be supported only on functions that fit the data. We aim to provide such a desirable distribution.

*Work done prior to joining Amazon Web Services (AWS)

Preprint.

Figure

Figure 1: Illustration of the parameter distribution q, obtained as an infinite mixture of Gaussian. The modes belong to the kernel manifold (—), corresponding to functional invariances. The variances extend orthogonally to the manifold (—) only to narrow neighbourhoods, while the manifold itself extends further to a wide prior-scale coverage. Thus, q covers a large volume of low-loss solutions.

The null space of the Fisher information matrix characterizes exactly the directions among which a small change in parameter corresponds to no change in functional values. Differential geometry allows the extension of these directions to entire surfaces, subsets of parameter space, over which the functional values on the dataset are preserved [Roy et al., 2024]. Crucially, the dimensionality of such a surface is equal to the size of the Fisher null space. We further elaborate in Section 3.

In this paper, we define a distribution based on the fundamental split of directions in parameter space into two orthogonal subspaces induced by the Fisher's eigenvectors: one corresponding to the zero eigenvalues, and the other corresponding to the non-zero ones. We start from a classically trained model, and then we add perturbations in two steps, respectively, for the two aforementioned subspaces. Along the former, we enforce large perturbations of the scale of the prior, obtained through expensive exponential maps to follow the non-constant geometry. Along the latter, we enforce small perturbations, such that second-order Taylor expansions of the loss are accurate enough and expectations can be computed analytically. Formally, our proposed distribution q is an infinite ensemble of Gaussians. This is illustrated in Figure 1 and detailed in Section 4.

We apply a PAC-Bayes bound with this distribution and evaluate each component. The expected training loss is comparable to that of the single base model, while the Kullback-Leibler divergence with the prior gets split into two components: along the zero eigenvalues, it is zero since the two variances match, and along the non-zero eigenvalues, it results in an “expected log-volume”. The log-volume is a sum over each dimension, and consequently, neglecting the logarithmic terms, the PAC bound on the generalization gap depends on the number of non-zero eigenvalues: the Fisher rank. The lower the rank, the tighter the bound.

References (70)