Normalizing Flow Regression for Bayesian Inference with Offline Likelihood Evaluations

Chengkun Li, Bobby Huggins, Petrus Mikkola, Luigi Acerbi
4/15/2025
stat.MLcs.LG

No official code found. Best implementation: acerbilab/normalizing-flow-regression (3 stars, last commit 2026-02-16).

Abstract

Bayesian inference with computationally expensive likelihood evaluations remains a significant challenge in many scientific domains. We propose normalizing flow regression (NFR), a novel offline inference method for approximating posterior distributions. Unlike traditional surrogate approaches that require additional sampling or inference steps, NFR directly yields a tractable posterior approximation through regression on existing log-density evaluations. We introduce training techniques specifically for flow regression, such as tailored priors and likelihood functions, to achieve robust posterior and model evidence estimation. We demonstrate NFR's effectiveness on synthetic benchmarks and real-world applications from neuroscience and biology, showing superior or comparable performance to existing methods. NFR represents a promising approach for Bayesian inference when standard methods are computationally prohibitive or existing model evaluations can be recycled.

View on arXivView PDF

Code Implementations(1)

Normalizing Flow Regression for Bayesian Inference with Offline Likelihood Evaluations

30Python, Jupyter NotebookApr 7, 20258 months ago
approximate-inferencebayesian-inferencenormalizing-flowssurrogate-models

Similar Papers

Cite this paper

@article{li2025normalizing,
  title  = {Normalizing Flow Regression for Bayesian Inference with Offline Likelihood Evaluations},
  author = {Chengkun Li and Bobby Huggins and Petrus Mikkola and Luigi Acerbi},
  year   = {2025},
  eprint = {2504.11554},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.11554v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.11554.svg)](https://codeofpaper.com/paper/2504.11554)

Discussion