The differential geometric perspective on Laplace
Linearised Laplace approximations (Section Linearisation), and specifically their covariance structure, have interpretations in Riemannian and information geometry. They encode the neural network’s parameter space geometry, as informed by the loss.
The GGN Metric¶
In the previous chapter, we discussed in detail the curvature matrix defined in Equation (4), called the Generalised Gauss-Newton matrix (GGN). It is the precision term from the likelihood and, combined with the precision term from the prior and inverting, it yields the covariance matrix of a linearised Laplace approximation.
Recall that the GGN matrix at the parameters is given by (Equation (22))
We will now see how the GGN arises as a metric on the parameter space. Recall our training data . We restrict the neural network to the training set, to obtain the function
For a single input-label pair , assuming is strictly convex (which is the case, for example, for the squared loss in regression), the positive definite loss Hessian
characterises a Riemannian metric in the output space . That is, it defines a symmetric positive definite bilinear form at each point . Such a metric encodes the curvature of the loss given the target . Note that if the likelihood is an exponential family, then is independent of the target (Proposition 2).
In fact, we only require to be (not necessarily strictly) convex, in which case is only positive semidefinite. This is the case for the cross-entropy loss in classification, where the Hessian is rank-deficient. In this case, defines a degenerate Riemannian metric on .
We can then equip the image of , , with the block diagonal (degenerate) Riemannian metric
in standard coordinates, where . This metric characterises the curvature of the loss on the training set. It can then be pulled back through to the parameter space:
i.e., the pullback corresponds exactly to the GGN .
Due to symmetries in the neural network architecture (see Part 7 — Identifiability and symmetries) and overparametrisation, the GGN is rank-deficient and only positive semidefinite. It therefore defines again a degenerate Riemannian metric on the parameter space.[1] Thus, damping is needed to get a proper Riemannian metric on the parameter space. The strictly convex regulariser term is such a dampener: adding its Hessian to the GGN results in a positive definite matrix (cf. Equation (43))
Using this as a preconditioner in second-order optimisation means we perform Riemannian (stochastic) gradient descent in the parameter space.


Figure 1:Left: A fiber manifold in the parameter space, and its tangent space at . The fiber manifold consists of the parameters yielding the same output values on the training data as (Equation (7)), the tangent space consists of the kernel directions of the GGN at . Right: A collection of three fibers in parameter space. The parameter space is partitioned into a disjoint union of such fibers.
But how do we interpret the GGN metric? We base our presentation on Roy et al. (2024). Fixing a parameter vector , consider the set
i.e., the set of parameters for which the neural network defines the same function on the training data as . This is an equivalence class of parameters, called a fiber. By the preimage theorem Tu, 2011, Theorem 9.9, it is (locally) a manifold of dimension if is (locally) continuously differentiable and the Jacobians are surjective for all (local) . Intuitively, the parameter space is -dimensional but we constrain the model’s prediction on the training set of samples, meaning we put scalar constraints on the output. This eliminates degrees of freedom, yielding a -dimensional manifold. The surjectivity condition holds in particular when the eigenvalues of the neural tangent kernel matrix over the entire training set are bounded away from 0, a common assumption for overparametrised models, see Roy et al. (2024, Appendix A) and the references therein.
Further, when the Jacobians are surjective locally around , the preimage theorem further tells us that , the tangent space of at (see Figure 1). If the Hessians are full rank (for example, when the squared loss), we get . These are directions in which the training data gives us no information about the parameters. Thus, in such directions, linearised Laplace approximations solely rely on the prior. The orthogonal complement of this null space consists of the directions in which the training data gives us information.
Now having defined the fibers in parameter space, we can quotient them out to obtain the effective parameter space: where is the equivalence relation induced by , . The effective parameters are parameters for which the neural network takes distinct values on the training data. Formally, the effective parameter space is a fiber bundle over the parameter space. It can be thought of as a manifold perpendicular to the fibers ; Roy et al. (2024) construct such a manifold explicitly. We note, however, that this is an arbitrary choice, as there is no canonical way to choose representatives for the equivalence classes and hence such a manifold. As a consequence, the non-linear effective parameter space is difficult to leverage computationally. However, the GGN’s degenerate metric on the original parameter space captures the similarity of training outputs between different parameters. One therefore does not have to construct the effective parameter space explicitly, but rather use the GGN’s geometry in the parameter space.
The Fisher Metric¶
In the previous chapter we saw that the GGN metric can be seen as the pullback of the loss curvature metric on the training outputs. We now ask whether there is a more intrinsic, parametrisation-independent justification for this metric. We offer a such a perspective on the GGN metric via information geometry.
Recall from Chapter Linearised Laplace approximations, Equation (26) the Fisher information metric
which we now view as a degenerate Riemannian metric on the parameter space . If we take the empirical distribution on the , , we get (Equations (35) and (38))
We saw in Chapter Linearised Laplace approximations that , a renormalisation of the GGN metric, under the mild condition that the Hessian of the negative log-likelihood loss does not depend on the target (see Equation (40)).
This gives an important connection between the covariance used in linearised approximation and the fundamental object from information geometry, which is the Fisher information metric. The goal of this chapter is to explain the importance of the Fisher information metric, why it can be seen as the natural metric for any probabilistic model, and its interpretation in deep learning.
A statistical manifold is a manifold consisting of probability measures. Any parametric statistical model defines a parametrisation of a statistical manifold . What is for a neural network? So far, we have viewed a neural network as a map . However, recall that we assume it induces probability distributions , since the loss function is assumed to be the negative log-likelihood . Therefore we implicitly viewed as a probabilistic model; for each , and , we have a probability measure defined by the neural network, where is the set of labels ( for regression, for classification) and is the space of probability measures on the set of labels. is given by the composition of with some appropriate . In regression, we most often take for some fixed , while in classification, most often . In Chapter Linearised Laplace approximations, we saw that both of these choices guarantee the equivalence between the Fisher and the GGN (Equation (40)).
So we have a map . Write for the density of , so in regression, in classification. Then the statistical model is defined as the joint distribution over and . Namely, if the distribution over the inputs has a density , the density of is . As discussed above, in practice we take the empirical distribution over . The statistical manifold defined by the neural network is the image of in .
This is where the Fisher information metric comes into play. The Fisher metric is an object intrinsic to the statistical manifold , and is independent of how the manifold is parametrised by . Formally, suppose we have a different parametrisation . Then and differ by some diffeomorphism[2] of the parameter space, i.e. there is a diffeomorphism such that . Then we see that for , or, abusing notation, . Therefore, from the definition of the Fisher information metric (Equation (9) or Equation (10)), the Fisher information metric on the two distinct parametrisations coincide .
The fact that the Fisher metric does not depend on the parametrisation implies that it is intrinsic to . Therefore, there should exist a way to define it directly on in an abstract, measure-theoretic way. Doing this rigorously requires some mathematical groundwork, which the keen reader can find in Ay et al. (2017). Briefly, for and tangent vectors , which are signed measures integrating to 0, the intrinsic Fisher information metric is defined by
where is the Radon-Nikodym derivative of with respect to , i.e. the densities of with respect to . Then the degenerate metric on the parameter space is given by the pullback of this intrinsic metric onto (see Ay et al. (2017)).
There is an infinite number of ways to define an intrinsic Riemannian metric on . So what makes the Fisher information metric special? It is not special for its invariance under transformations of the parameter space, but instead for its invariance under transformations of the data space.
The factorisation condition means that the likelihood depends on only through , since the factor has no -dependence. Thus, all information about contained in the full data point is also contained in the statistic , justifying the term ‘sufficient’.
In our deep learning setting above, the data space is , the product of the input space with the label space.
Note that, for a statistical manifold over , a statistic induces a map acting by pushforwards: . So is a statistical manifold over . Then, under mild assumptions on , we obtain the following theorem:
Up to a multiplicative constant, the Fisher information metric is the unique metric satisfying this. This is Chentsov’s theorem. We leave as an exercise to verify this theorem for the special case of the deep learning setting above.
As explained above, sufficient statistics should be thought of as maps of the data space which do not induce a loss of information on the parameters with respect toa given statistical model. The Fisher information metric, being invariant under such transformations, should be thought of as quantifying ‘information’, hence its name. Note in particular that it is invariant under diffeomorphisms of the data space (which are trivially sufficient statistics owing to their bijective nature), and so does not depend on how the data is ‘presented’. This makes it the natural metric for statistical manifold .
Geometric Laplace Approximations¶
Laplace approximations, being Gaussian approximations to the neural network’s posterior, are limited in their expressivity. As a consequence, there have been attempts at leveraging the geometry of the parameter space to define more expressive variants of Laplace approximations.
A key observation is that the Laplace approximations are not diffeomorphism-invariant: given a diffeomorphism of the parameter space , if such diffeomorphism is non-linear, then performing Laplace with respect to the parameters , i.e., a reparametrised Laplace approximation, yields a distinct posterior approximation than performing Laplace with respect to the parameters . In the extreme case, one can show there exists a diffeomorphism for which the Laplace approximation with respect to the corresponding parameters is exact Costa et al., 2025. In practice, computing such is as difficult as computing the exact posterior itself. However, this result gives hope that one may be able to construct computationally feasible diffeomorphisms yielding high-quality Laplace approximations, see for instance MacKay (1998). An important note is that, while Laplace approximations are not invariant under diffeomorphisms of the parameter space, the predictives of linearised Laplace approximations are, up to changing the prior. We leave this as an exercise to the reader.
Another attempt at leveraging geometry for Laplace is to perform the Laplace approximation in the tangent space of the parameter space and then project it through an exponential map under some Riemannian metric Bergamin et al., 2023Yu et al., 2024, coined Riemannian Laplace approximations. The latter work uses the Fisher as the Riemannian metric. Work remains to be done to make the computation of the exponential map efficient and scalable. See Costa et al. (2025) for the relationship between such Riemannian Laplace approximations and the aforementioned reparametrised Laplace approximations.
Finally, diffusion Laplace approximations Roy et al., 2024 sample the approximate posterior through random walks with respect to a Riemannian metric in the weight space. Once again, while there are promising preliminary results, further work is needed to scale such approaches computationally. Moreover, the relationship between diffusion Laplace approximations and Riemannian Laplace approximations is yet to be described.
- Roy, H., Miani, M., Ek, C. H., Hennig, P., Pförtner, M., Tatzel, L., & Hauberg, S. (2024). Reparameterization invariance in approximate Bayesian inference. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, & C. Zhang (Eds.), Advances in Neural Information Processing Systems (Vol. 37, pp. 8132–8164). Curran Associates, Inc.
- Tu, L. W. (2011). An Introduction to Manifolds. Springer.
- Ay, N., Jost, J., Lê, H. V., & Schwachhöfer, L. (2017). Information Geometry (Vol. 64). Springer International Publishing.
- Costa, N. D., Mucsányi, B., & Hennig, P. (2025). Geometric Gaussian Approximations of Probability Distributions.
- MacKay, D. J. C. (1998). Choice of Basis for Laplace Approximation. Machine Learning, 33(1), 77–86.
- Bergamin, F., Moreno-Muñoz, P., Hauberg, S., & Arvanitidis, G. (2023). Riemannian Laplace approximations for Bayesian neural networks. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, & S. Levine (Eds.), Advances in Neural Information Processing Systems (Vol. 36, pp. 31066–31095). Curran Associates, Inc.
- Yu, H., Hartmann, M., Williams Moreno Sanchez, B., Girolami, M., & Klami, A. (2024). Riemannian Laplace Approximation with the Fisher Metric. In S. Dasgupta, S. Mandt, & Y. Li (Eds.), Proceedings of The 27th International Conference on Artificial Intelligence and Statistics (Vol. 238, pp. 820–828). PMLR.