Mixed neural posterior estimation for simulators with discrete and continuous parameters

Jan Boelts, Cornelius Schröder, Jonas Beck, Jakob H. Macke, Michael Deistler +1 more
5/13/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Neural Posterior Estimation (NPE) enables rapid parameter inference for complex simulators with intractable likelihoods. NPE trains an inference network to estimate a probability density over parameters given data, typically assumed to be \emph{continuous}.

Show full abstract

However, many scientific models involve parameter spaces that are \emph{mixed}, that is, they contain both discrete and continuous dimensions. We address this limitation by extending NPE to mixed parameter spaces through an inference network that jointly handles discrete and continuous parameters. The inference network factorizes the joint posterior into discrete and continuous components, combining an autoregressive classifier for the discrete parameters with a generative model for the continuous parameters, trained jointly under a single simulation-based objective. In addition, we propose a diagnostic tool to assess the calibration of the mixed posterior approximation. Across tractable toy examples and real-world scientific simulators, our joint inference approach yields accurate and calibrated posteriors. The inference framework is available in the \texttt{sbi} Python package.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{boelts2026mixed,
  title  = {Mixed neural posterior estimation for simulators with discrete and continuous parameters},
  author = {Jan Boelts and Cornelius Schröder and Jonas Beck and Jakob H. Macke and Michael Deistler and Daniel Gedon},
  year   = {2026},
  eprint = {2605.13551},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.13551v2}
}

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/2605.13551.svg)](https://codeofpaper.com/paper/2605.13551)

Discussion