# Why Bayes?

In this post we defend the Bayesian approach for the inversion and other problems.

Bayesian inference can be interpreted as a practical method for drawing conclusions of quantities from observed data using a statistical framework. The inherent probabilistic characteristic of the Bayesian approach allows a consistent quantification of uncertainties by a probability distribution. Therefore, it provides a better understanding of the risks supporting the decision that is based on the inference. Furthermore, the conclusions, as well as its uncertainties, can be easily updated as more evidence or information becomes available.

After setting the statistical model for the joint probability distribution for all the quantities of a problem, the inference of an unobserved quantity *M* is done by conditioning to the observed data *D*:

the fact that leads to the Bayes Theorem:

where is called posterior distribution.

Analogously, for continuous variables, the posterior distribution of a model parameter , given the observed data is defined by a density probability function:

The Bayesian posterior distribution is the product of the likelihood and the prior distribution . The distribution of the observed data is is faced as just a normalization factor.

The relation between the observed data and the model parameters is probabilistic and it is represented by the likelihood function. The likelihood values are understood as a measure of how good the model is in fitting the data. On the other hand, all the current knowledge about the model parameters, before any observation, is expressed by the prior distribution. Summarizing, in the Bayesian inference all the information of the observed data and the prior distribution are combined to produce the posterior probability distribution, and the uncertainty is expressed by the density distribution of the estimates.

Preferably, the prior distribution should be defined to contain information that are not covered by the likelihood, in order to solve the ambiguities that only with the observed data, the framework is not capable of. Nevertheless, the prior probabilities are intrinsically subjective and the choice of the distribution can drastically affect the posterior conclusions. Thus the prior definition is a challenge and should be carefully evaluated. For this reason, the difficulty in selecting a prior distribution is a fundamental drawback and it is the most criticized point of the Bayesian inference.

With the aim to reduce the prior influence on the resulting inference, several techniques were proposed, which gave more consistency and robustness for the Bayesian choice. The most popular techniques can be considered the conjugate, the hierarchical and the empirical prior modeling. Particularly, the conjugate prior modeling consists in the using of theoretical distribution as normal, Poisson, gamma and binomial, which allow an analytical treatment of the posterior distribution. Besides, more recently new developments have being presented, as sensitivity analysis, for the assessment of the influence of the prior. This process works as an efficient tool to evaluate the robustness of the prior distribution.

Another peculiarity of the Bayesian approach is the fact that the posterior distribution can be easily updated as more evidences and observed data become available. For example, the posterior distribution of the model parameter , given a observed data , can be used as a prior distribution to update the inference with a new evidence according to the Bayes theorem:

which can be extented to any number of observations:

### Bayesian approach for inverse problem

The goal of inverse modeling is to predict model variables from a parameterized physical system from observable data, theoretical relations between observable and unobservable parameters and prior information \cite{tarantola}. Usually, the model and the experimental data are represented by the vectors and respectively, and they are related to each other through a operator $g$, known as the forward model:

where is the modeling error.

The forward model operator is, in general, a nonlinear operator based on theories or physical laws that allow the calculating of the experimental measurements, given a configuration of a parameterized physical system. Whereas the theory that allows the operator to simulate the observable data from the model, the inverse problem seeks just the opposite way, that is, to obtain the parameters of the model from the experimental data. More specifically, the seismic inversion seeks to obtain the rocks properties of the subsurface, through the artificial seismic acquisition and the theoretical relations of propagation of acoustic waves.

The most used techniques to solve inverse problems are the optimization methods as the Simulated Annealing, Genetic Algorithm, Ant Colony Optimization and Particle Swarm Optimization. However, very often there are noises, errors and ambiguities associated with the process that do not allow an accurate estimation of the model parameters. Another typical feature of the seismic inversion problems is the non-uniqueness of the solution, there are several models that satisfy the same given experimental seismic. Due to this reasons, the Bayesian inference is being present as the best choice to solve inverse problems, in which the posterior probability distribution over the parameters space is the most general solution and it allows a sound quantification of the uncertainties.