“…While in some problems, it is possible to use regularization to find a single physically viable solution, for many keeping several likely solution modes and estimating their probabilities is useful.Fast probabilistic inversion of geophysical data is specifically crucial for processing measurements during drilling since it opens the possibility to use probabilistic decision algorithms (Alyaev et al, 2019;Chen et al, 2015;Kullawan et al, 2018) to adjust the trajectory during operation, resulting in better well placement. The intentional adjustment of the drilling trajectory termed geosteering, is essential for hydrocarbon wells (Bristow, 2000), but is gradually introduced in other types of drilling, for example, geothermal (Ungemach et al, 2021) and civil wells and tunnels (Johnson et al, 2021).The most widespread method is stratigraphic-based geosteering inversion, which assumes that the unknown geomodel can be represented as curved and possibly faulted geological layers (strata), and the geophysical log response only depends on the vertical position within the stratigraphy. For the inversion, the geophysical logs from a geosteered horizontal well and corresponding logs from an offset vertical well are projected onto the stratigraphic geomodel.…”