BayesBay: a versatile Bayesian inversion framework written in Python

Date

Authors

Magrini, Fabrizio
He, Jiawen
Sambridge, Malcolm

Journal Title

Journal ISSN

Volume Title

Publisher

Access Statement

Research Projects

Organizational Units

Journal Issue

Abstract

The lack of versatile tools for Bayesian inference presents a significant challenge to researchers in geophysics, who often resort to developing bespoke codes to address specific classes of inverse problems. In this study, we present BayesBay, a Python package for generalized transdimensional and hierarchical Markov chain Monte Carlo sampling. Leveraging object-oriented programming principles, BayesBay facilitates the definition of Bayesian sampling problems across a range of applications. This includes joint inversions of multiple data sets with different forward functions and unknown noise properties, as well as complex parameterizations involving multiple parameters with unknown dimensionality and/or spatially varying priors. We illustrate BayesBay from both a technical and a practical perspective. The first two applications are common in geophysics: a 2D tomographic problem and a joint inversion for the 1D subsurface structure. The third involves partition modeling and requires a sophisticated parameterization with two nested levels of transdimensionality. In all cases, BayesBay recovers known solutions, highlighting its potential to address a broad range of inverse problems.

Description

Keywords

Citation

Source

Seismological Research Letters

Book Title

Entity type

Publication

Access Statement

License Rights

DOI

Restricted until