Reducing Memorisation in Generative Models via Riemannian Bayesian Inference
Johanna Marie Gegenfurtner, Albert Kjøller Jacobsen, Naima Elosegui Borras, Alejandro Valverde Mahou, Georgios Arvanitidis
TL;DR
The paper tackles memorisation in high-dimensional generative models by introducing a geometry-aware Bayesian approach to perturb model parameters. It leverages the Riemannian Laplace approximation to sample from a posterior that respects the loss geometry, producing an ensemble of generators whose outputs exhibit reduced memorisation while maintaining generalisation. The authors provide theoretical analysis linking perturbations to changes in the velocity field and substantiate these claims with toy and CIFAR-10 experiments, including an exact likelihood formulation for invertible generators and posterior predictive evaluation. The work demonstrates that respecting loss geometry during parameter perturbation yields a practical route to more robust, privacy-conscious generative modelling, scalable to flow-matching and diffusion architectures. Overall, the approach integrates differential geometry with Bayesian inference to navigate high-dimensional parameter spaces more effectively than Euclidean perturbations.
Abstract
Modern generative models can produce realistic samples, however, balancing memorisation and generalisation remains an open problem. We approach this challenge from a Bayesian perspective by focusing on the parameter space of flow matching and diffusion models and constructing a predictive posterior that better captures the variability of the data distribution. In particular, we capture the geometry of the loss using a Riemannian metric and leverage a flexible approximate posterior that adapts to the local structure of the loss landscape. This approach allows us to sample generative models that resemble the original model, but exhibit reduced memorisation. Empirically, we demonstrate that the proposed approach reduces memorisation while preserving generalisation. Further, we provide a theoretical analysis of our method, which explains our findings. Overall, our work illustrates how considering the geometry of the loss enables effective use of the parameter space, even for complex high-dimensional generative models.
