Manuscript Offprint

arXiv:2610.37169

Rènyi-Regularized Flow-Based Variational Inference for Bayesian Calibration

Exaucè Luweh Adjim Ngarti, Élise Arnaud, Léo Nicoletti, Victor Trappler, Arthur Vidard

EXAUCÉ LUWEH ADJIM NGARTI*, ELISE ARNAUD, LÉO NICOLETTI

VICTOR TRAPPLER, ARTHUR VIDARD

1^{1} Univ. Grenoble Alpes, Inria, CNRS, LJK, 38000 Grenoble, France.

2^{2} Bull, Centre of Excellence in Performance Programming (CEPP), France.

3^{3} Department GMI, Institut Henri Fayol, Mines Saint-Étienne, Univ Clermont Auvergne, CNRS, UMR 6158 LIMOS, F-42023 Saint-Étienne, France.

Abstract. Variational inference with normalizing flows provides a flexible posterior approximation for Bayesian model calibration, but struggles when the posterior has several modes separated by regions of low probability mass. We study this behavior in a two-parameter twin experiment and regularize the variational objective. Under Gaussian observation errors and a Gaussian prior, the corresponding minimization objective is the expected Tikhonov calibration objective minus the differential entropy of the approximating distribution. However, the expected Tikhonov term favors concentration near one of the modes, while entropy maximization does not guarantee multimodality.

We introduce a regularization term based on Rényi divergence that encourages the approximate posterior to cover the prior support. In the connected bimodal case, a flow approximation represents both modes; in the case with well-separated modes, the flow and Gaussian mixture frequently miss one mode. The introduced regularization reduces the near-collapse fraction from 50% to 25%. While the regularization improves mode coverage in this experiment, it changes the Bayesian variational objective, introduces a trade-off in approximation accuracy, and does not provide a general solution to mode collapse.

Key words. Bayesian calibration, variational inference, normalizing flows, Rényi divergence, mode collapse

  1. Introduction. Bayesian calibration characterizes uncertainties in numerical model parameters through posterior distributions. Markov chain Monte Carlo methods, including Metropolis–Hastings, Gibbs sampling, and Hamiltonian Monte Carlo [10, 9, 2, 15], provide samples from the posterior. However, their computational cost can be prohibitive when likelihood evaluations are expensive, as is often the case for numerical simulators. Variational inference offers an optimization-based approximation [13, 12, 1] using a parameterized family of distributions, and normalizing flows provide flexible distribution models with tractable sampling and log-density evaluation [16, 7]. Alternative variational objectives include χ\chi-divergences [6], α\alpha-divergences [14, 11, 5], robust and tail-adaptive f-divergences [8, 19], and Tsallis divergence [20]. In this work, we consider the standard ELBO derived from the reverse Kullback–Leibler divergence.

However, ELBO-based variational inference struggles when the posterior exhibits multiple modes separated by regions of low probability mass. We augment the negative ELBO with a Rényi divergence from the prior to the variational approximation to encourage the approximate posterior to cover the prior support. We test the regularization in a two-parameter calibration problem with two benchmark cases: a curved bimodal distribution with no region of near-zero probability mass separating the modes, and a bimodal distribution with modes separated by a region of near-zero probability mass. Variational inference with normalizing flows yields a good approximation in the connected-posterior case but struggles in the case with well-separated modes. The regularization reduces the near-collapse fraction from 50% to 25%.

*Corresponding author: Exaucé Luweh Adjim Ngarti. Email: exaucengarti@gmail.com.

We first recall the Bayesian calibration framework in subsection 2.1, link the ELBO objective to classical Tikhonov regularization, and explain how this link accounts for the observed mode collapse for posteriors with modes separated by regions of low probability mass. Then, in section 3, we introduce the Rényi regularization and present numerical experiments on the controlled benchmark in section 4.

2. Background

2.1. Bayesian model calibration. Let G:Θ×U→Y\mathcal{G} : \Theta \times \mathcal{U} \to \mathcal{Y} denote the numerical model, θ∈Θ\theta \in \Theta the model parameter to be calibrated, and u∈U\mathbf{u} \in \mathcal{U} the context variable specified for each model run. Calibration is performed using observations and their corresponding contexts (y1:n,u1:n)(\mathbf{y}_{1:n}, \mathbf{u}_{1:n}). Assuming conditionally independent observations with Gaussian errors and a Gaussian prior on the calibration parameter independent of the context, we have

(2.1)

Yi∣θ,ui∼N(G(θ,ui),R),Θ∼N(θb,B),\mathbf{Y}_{i}\mid\boldsymbol{\theta},\mathbf{u}_{i}\sim\mathcal{N}(\mathcal{G}(\boldsymbol{\theta},\mathbf{u}_{i}),\mathbf{R}),\qquad\boldsymbol{\Theta}\sim\mathcal{N}(\boldsymbol{\theta}_{b},\mathbf{B}),

where θb∈Θ\theta_b \in \Theta is the prior mean, and B\mathbf{B} and R\mathbf{R} are positive-definite covariance matrices. The posterior density is

(2.2)

π(θ;y1:n,u1:n):=pΘ∣Y1:n,u1:n(θ∣y1:n,u1:n)∝pΘ(θ)∏i=1npYi∣Θ,ui(yi∣θ,ui).\pi(\boldsymbol{\theta};\mathbf{y}_{1:n},\mathbf{u}_{1:n}):=p_{\boldsymbol{\Theta}|\mathbf{Y}_{1:n},\mathbf{u}_{1:n}}(\boldsymbol{\theta}\mid\mathbf{y}_{1:n},\mathbf{u}_{1:n})\propto p_{\boldsymbol{\Theta}}(\boldsymbol{\theta})\prod_{i=1}^{n}p_{\mathbf{Y}_{i}|\boldsymbol{\Theta},\mathbf{u}_{i}}(\mathbf{y}_{i}\mid\boldsymbol{\theta},\mathbf{u}_{i}).

2.2. Variational inference with normalizing flows. Variational inference approximates the posterior in (2.2) with a parameterized distribution qϕq_{\phi} by minimizing the Kullback–Leibler divergence, equivalently minimizing the negative ELBO, (2.3)

LELBO(ϕ;y1:n,u1:n)=Eqϕ[log⁡qϕ(Θ)−log⁡pΘ(Θ)−∑i=1nlog⁡pYi∣Θ,ui(yi∣Θ,ui)].\mathcal{L}_{\mathrm{E L B O}}(\phi;\mathbf{y}_{1:n},\mathbf{u}_{1:n})=\mathbb{E}_{q_{\phi}}\left[\log q_{\phi}(\boldsymbol{\Theta})-\log p_{\boldsymbol{\Theta}}(\boldsymbol{\Theta})-\sum_{i=1}^{n}\log p_{\mathbf{Y}_{i}|\boldsymbol{\Theta},\mathbf{u}_{i}}(\mathbf{y}_{i}\mid\boldsymbol{\Theta},\mathbf{u}_{i})\right].

Here, qϕq_{\phi} is modeled by a normalizing flow, qϕ=(Tϕ)♯qZq_{\phi} = (\mathcal{T}_{\phi})_{\sharp} q_{\mathbf{Z}}, with Tϕ\mathcal{T}_{\phi} a differentiable, invertible map that transforms a base distribution qZq_{\mathbf{Z}} into a more expressive distribution.

2.3. Connection with Tikhonov regularization. For a positive-definite matrix B\mathbf{B}, define the weighted quadratic form ∥v∥B−12:=v⊤B−1v\|v\|_{\mathbf{B}^{-1}}^2 := v^\top \mathbf{B}^{-1} v. The Gaussian calibration assumptions lead to the Tikhonov loss [18]

(2.4)

J(θ)=12∑i=1n∥yi−G(θ,ui)∥R−12+12∥θ−θb∥B−12.J(\boldsymbol{\theta})=\frac{1}{2}\sum_{i=1}^{n}\|\mathbf{y}_{i}-\mathcal{G}(\boldsymbol{\theta},\mathbf{u}_{i})\|_{\mathbf{R}^{-1}}^{2}+\frac{1}{2}\|\boldsymbol{\theta}-\boldsymbol{\theta}_{b}\|_{\mathbf{B}^{-1}}^{2}.

For the flow distribution, let H(qϕ)=−Eqϕ[log⁡qϕ(Θ)]H(q_{\phi}) = -\mathbb{E}_{q_{\phi}}[\log q_{\phi}(\boldsymbol{\Theta})] denote its differential entropy. Substituting the Gaussian likelihood and prior into (2.3) gives

(2.5)

LELBO(ϕ;y1:n,u1:n)=cEqϕ[J(Θ)]−H(qϕ),\mathcal{L}_{\mathrm{E L B O}}(\phi;\mathbf{y}_{1:n},\mathbf{u}_{1:n})\stackrel{c}{=}\mathbb{E}_{q_{\phi}}[J(\boldsymbol{\Theta})]-H(q_{\phi}),

where cc\frac{c}{c} denotes equality up to a constant independent of ϕ\phi. Variational calibration therefore minimizes the expected Tikhonov functional minus the entropy. The expected Tikhonov term favors concentration in regions where J is small, while the entropy term favors dispersion. Although the exact posterior minimizes the negative ELBO over all distributions, a restricted variational family and its optimization may yield an approximation concentrated near a single mode, particularly when modes are separated by regions of low probability mass.

References (14)