Bayesian Inverse Problems Meet Flow Matching: Efficient and Flexible Inference via Transformers

Daniil Sherki, Ivan Oseledets, Ekaterina Muravleva
3/3/2025
cs.LGcs.AI
diffusion-flowtransformer-attentionbayesian

No confident code implementation found for this paper.

Abstract

The efficient resolution of Bayesian inverse problems remains challenging due to the high computational cost of traditional sampling methods. In this paper, we propose a novel framework that integrates Conditional Flow Matching (CFM) with a transformer-based architecture to enable fast and flexible sampling from complex posterior distributions.

Show full abstract

The proposed methodology involves the direct learning of conditional probability trajectories from the data, leveraging CFM's ability to bypass iterative simulation and transformers' capacity to process arbitrary numbers of observations. The efficacy of the proposed framework is demonstrated through its application to three problems: a simple nonlinear model, a disease dynamics framework, and a two-dimensional Darcy flow Partial Differential Equation. The primary outcomes demonstrate that the relative errors in parameters recovery are as low as 1.5%, and that the inference time is reduced by up to 2000 times on CPU in comparison with the Monte Carlo Markov Chain. This framework facilitates the expeditious resolution of Bayesian problems through the utilisation of sampling from the learned conditional distribution.

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{sherki2025bayesian,
  title  = {Bayesian Inverse Problems Meet Flow Matching: Efficient and Flexible Inference via Transformers},
  author = {Daniil Sherki and Ivan Oseledets and Ekaterina Muravleva},
  year   = {2025},
  eprint = {2503.01375},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.01375v2}
}

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

Discussion