Inference Methods
In its release version Colibri supports three types of inference methods:
Analytic fit: the PDF model posteriors mean and covariance are determined as analytic solution to a linear regression problem.
Bayesian inference: the posterior distribution of the PDF model parameters is sampled using a Bayesian sampling method.
Monte Carlo replica method: the posterior distribution of the PDF model parameters is approximated with the Monte Carlo Replica Method ([CMMM24]).
In the following sections we will discuss the three inference methods in detail.
Analytic fits
The analytic fit method is only applicable when the PDF model is linear in the parameters and the forward modeling is linear in the PDF. Moreover, when using the analytic fit method, it is not possible to include non-linear constraints such as positivity and integrability constraints.
Note
Albeit not allowing for realistic PDF fits, the analytical fit method can be used to fit linear DIS data with no constraints and use the resulting Gaussian posterior as a prior for a realistic fit on an uncorrelated dataset as described in prior distribution. In general, this has the advantage of being computationally more efficient.
To illustrate the analytical method, let us assume a likelihood of the kind
where \(D\) are the central values of the measured data and \(\Sigma\) the covariance matrix. If \(f(\theta)\) is a linear model in \(\theta\),
then the likelihood is Gaussian in the model parameters \(\theta\) and can be rewritten as
where
are the maximum likelihood estimate of the parameters and the corresponding model prediction, respectively. Moreover, \(p(D | \hat{\theta})\) is the likelihood of the data evaluated at the maximum likelihood estimate, and
If we assume a uniform prior for the parameters \(\theta\), i.e.
then the posterior distribution becomes
Bayesian inference
In the most general setting, that is for any type of PDF and forward model, it is recommended to use the Bayesian inference method which is based on a nested sampling implementation given by the UltraNest package.
A tutorial on how to perform a Bayesian fit using nested sampling can be found in the (TODOL: add link to the tutorial).
Gradient based methods
Colibri supports the use of gradient-based methods, trough the jax and optax libraries, for the inference of the PDF model parameters.
A tutorial can be found here (TODO in tutorials).
A gradient-based method used to also perform uncertainty quantification and that can be found in colibri is the Monte Carlo replica method. This method consists in determining a set of fit outcomes to approximate the posterior probability distribution of the PDF model given a set of experimental input data. The input data are in turn represented as a MC sample of \(N_{\rm rep}\) pseudodata replicas whose distribution (typically a multivariate normal) reproduces the covariance matrix of the experimental data. The fit outcomes are determined by minimising conditionally on a validation set the likelihood function defined in Likelihood function.
Note
As shown in the study [CMMM24], the MC replica method is equivalent to Bayesian inference only for linear PDF and forward models. In the presence of non-linearities the method shows a possible bias and underestimation of the uncertainties. For this reason, we don’t recommend using the MC replica method for non-linear PDF and forward models.