Английская Википедия:Approximate Bayesian computation
Шаблон:Short description Шаблон:Bayesian statistics
Approximate Bayesian computation (ABC) constitutes a class of computational methods rooted in Bayesian statistics that can be used to estimate the posterior distributions of model parameters.
In all model-based statistical inference, the likelihood function is of central importance, since it expresses the probability of the observed data under a particular statistical model, and thus quantifies the support data lend to particular values of parameters and to choices among different models. For simple models, an analytical formula for the likelihood function can typically be derived. However, for more complex models, an analytical formula might be elusive or the likelihood function might be computationally very costly to evaluate.
ABC methods bypass the evaluation of the likelihood function. In this way, ABC methods widen the realm of models for which statistical inference can be considered. ABC methods are mathematically well-founded, but they inevitably make assumptions and approximations whose impact needs to be carefully assessed. Furthermore, the wider application domain of ABC exacerbates the challenges of parameter estimation and model selection.
ABC has rapidly gained popularity over the last years and in particular for the analysis of complex problems arising in biological sciences, e.g. in population genetics, ecology, epidemiology, systems biology, and in radio propagation.[1]
History
The first ABC-related ideas date back to the 1980s. Donald Rubin, when discussing the interpretation of Bayesian statements in 1984,[2] described a hypothetical sampling mechanism that yields a sample from the posterior distribution. This scheme was more of a conceptual thought experiment to demonstrate what type of manipulations are done when inferring the posterior distributions of parameters. The description of the sampling mechanism coincides exactly with that of the ABC-rejection scheme, and this article can be considered to be the first to describe approximate Bayesian computation. However, a two-stage quincunx was constructed by Francis Galton in the late 1800s that can be seen as a physical implementation of an ABC-rejection scheme for a single unknown (parameter) and a single observation.[3] Another prescient point was made by Rubin when he argued that in Bayesian inference, applied statisticians should not settle for analytically tractable models only, but instead consider computational methods that allow them to estimate the posterior distribution of interest. This way, a wider range of models can be considered. These arguments are particularly relevant in the context of ABC.
In 1984, Peter Diggle and Richard Gratton suggested using a systematic simulation scheme to approximate the likelihood function in situations where its analytic form is intractable.[4] Their method was based on defining a grid in the parameter space and using it to approximate the likelihood by running several simulations for each grid point. The approximation was then improved by applying smoothing techniques to the outcomes of the simulations. While the idea of using simulation for hypothesis testing was not new,[5][6] Diggle and Gratton seemingly introduced the first procedure using simulation to do statistical inference under a circumstance where the likelihood is intractable.
Although Diggle and Gratton's approach had opened a new frontier, their method was not yet exactly identical to what is now known as ABC, as it aimed at approximating the likelihood rather than the posterior distribution. An article of Simon Tavaré and co-authors was first to propose an ABC algorithm for posterior inference.[7] In their seminal work, inference about the genealogy of DNA sequence data was considered, and in particular the problem of deciding the posterior distribution of the time to the most recent common ancestor of the sampled individuals. Such inference is analytically intractable for many demographic models, but the authors presented ways of simulating coalescent trees under the putative models. A sample from the posterior of model parameters was obtained by accepting/rejecting proposals based on comparing the number of segregating sites in the synthetic and real data. This work was followed by an applied study on modeling the variation in human Y chromosome by Jonathan K. Pritchard and co-authors using the ABC method.[8] Finally, the term approximate Bayesian computation was established by Mark Beaumont and co-authors,[9] extending further the ABC methodology and discussing the suitability of the ABC-approach more specifically for problems in population genetics. Since then, ABC has spread to applications outside population genetics, such as systems biology, epidemiology, and phylogeography.
Approximate Bayesian computation can be understood as a kind of Bayesian version of indirect inference.[10]
Method
Motivation
A common incarnation of Bayes’ theorem relates the conditional probability (or density) of a particular parameter value <math>\theta</math> given data <math>D</math> to the probability of <math>D</math> given <math>\theta</math> by the rule
- <math>p(\theta|D) = \frac{p(D|\theta)p(\theta)}{p(D)}</math>,
where <math>p(\theta|D)</math> denotes the posterior, <math>p(D|\theta)</math> the likelihood, <math>p(\theta)</math> the prior, and <math>p(D)</math> the evidence (also referred to as the marginal likelihood or the prior predictive probability of the data). Note that the denominator <math>p(D)</math> is normalizing the total probability of the posterior density <math>p(\theta|D)</math> to one and can be calculated that way.
The prior represents beliefs or knowledge (such as f.e. physical constraints) about <math>\theta</math> before <math>D</math> is available. Since the prior narrows down uncertainty, the posterior estimates have less variance, but might be biased. For convenience the prior is often specified by choosing a particular distribution among a set of well-known and tractable families of distributions, such that both the evaluation of prior probabilities and random generation of values of <math>\theta</math> are relatively straightforward. For certain kinds of models, it is more pragmatic to specify the prior <math>p(\theta)</math> using a factorization of the joint distribution of all the elements of <math>\theta</math> in terms of a sequence of their conditional distributions. If one is only interested in the relative posterior plausibilities of different values of <math>\theta</math>, the evidence <math>p(D)</math> can be ignored, as it constitutes a normalising constant, which cancels for any ratio of posterior probabilities. It remains, however, necessary to evaluate the likelihood <math>p(D|\theta)</math> and the prior <math>p(\theta)</math>. For numerous applications, it is computationally expensive, or even completely infeasible, to evaluate the likelihood,[11] which motivates the use of ABC to circumvent this issue.
The ABC rejection algorithm
All ABC-based methods approximate the likelihood function by simulations, the outcomes of which are compared with the observed data.[12][13][14] More specifically, with the ABC rejection algorithm — the most basic form of ABC — a set of parameter points is first sampled from the prior distribution. Given a sampled parameter point <math>\hat{\theta}</math>, a data set <math>\hat{D}</math> is then simulated under the statistical model <math>M</math> specified by <math>\hat{\theta}</math>. If the generated <math>\hat{D}</math> is too different from the observed data <math>D</math>, the sampled parameter value is discarded. In precise terms, <math>\hat{D}</math> is accepted with tolerance <math>\epsilon \ge 0</math> if:
- <math>\rho (\hat{D},D)\le\epsilon</math>,
where the distance measure <math>\rho(\hat{D},D)</math> determines the level of discrepancy between <math>\hat{D}</math> and <math>D</math> based on a given metric (e.g. Euclidean distance). A strictly positive tolerance is usually necessary, since the probability that the simulation outcome coincides exactly with the data (event <math>\hat{D}=D</math>) is negligible for all but trivial applications of ABC, which would in practice lead to rejection of nearly all sampled parameter points. The outcome of the ABC rejection algorithm is a sample of parameter values approximately distributed according to the desired posterior distribution, and, crucially, obtained without the need to explicitly evaluate the likelihood function.
Summary statistics
The probability of generating a data set <math>\hat{D}</math> with a small distance to <math>D</math> typically decreases as the dimensionality of the data increases. This leads to a substantial decrease in the computational efficiency of the above basic ABC rejection algorithm. A common approach to lessen this problem is to replace <math>D</math> with a set of lower-dimensional summary statistics <math>S(D)</math>, which are selected to capture the relevant information in <math>D</math>. The acceptance criterion in ABC rejection algorithm becomes:
- <math>\rho(S(\hat{D}),S(D))\le\epsilon</math>.
If the summary statistics are sufficient with respect to the model parameters <math>\theta</math>, the efficiency increase obtained in this way does not introduce any error.[15] Indeed, by definition, sufficiency implies that all information in <math>D</math> about <math>\theta</math> is captured by <math>S(D)</math>.
As elaborated below, it is typically impossible, outside the exponential family of distributions, to identify a finite-dimensional set of sufficient statistics. Nevertheless, informative but possibly insufficient summary statistics are often used in applications where inference is performed with ABC methods.
Example
An illustrative example is a bistable system that can be characterized by a hidden Markov model (HMM) subject to measurement noise. Such models are employed for many biological systems: They have, for example, been used in development, cell signaling, activation/deactivation, logical processing and non-equilibrium thermodynamics. For instance, the behavior of the Sonic hedgehog (Shh) transcription factor in Drosophila melanogaster can be modeled with an HMM.[16] The (biological) dynamical model consists of two states: A and B. If the probability of a transition from one state to the other is defined as <math>\theta</math> in both directions, then the probability to remain in the same state at each time step is <math>{1-\theta}</math>. The probability to measure the state correctly is <math>\gamma</math> (and conversely, the probability of an incorrect measurement is <math>{1-\gamma}</math>).
Due to the conditional dependencies between states at different time points, calculation of the likelihood of time series data is somewhat tedious, which illustrates the motivation to use ABC. A computational issue for basic ABC is the large dimensionality of the data in an application like this. The dimensionality can be reduced using the summary statistic <math>S</math>, which is the frequency of switches between the two states. The absolute difference is used as a distance measure <math>\rho(\cdot,\cdot)</math> with tolerance <math>\epsilon=2</math>. The posterior inference about the parameter <math>\theta</math> can be done following the five steps presented in.
Step 1: Assume that the observed data form the state sequence AAAABAABBAAAAAABAAAA, which is generated using <math>\theta=0.25</math> and <math>\gamma=0.8</math>. The associated summary statistic—the number of switches between the states in the experimental data—is <math>\omega_E=6</math>.
Step 2: Assuming nothing is known about <math>\theta</math>, a uniform prior in the interval <math>[0,1]</math> is employed. The parameter <math>\gamma</math> is assumed to be known and fixed to the data-generating value <math>\gamma=0.8</math>, but it could in general also be estimated from the observations. A total of <math>n</math> parameter points are drawn from the prior, and the model is simulated for each of the parameter points <math>\theta_i: \text{ } i = 1,\ldots, n</math>, which results in <math>n</math> sequences of simulated data. In this example, <math>n=5</math>, with each drawn parameter and simulated dataset recorded in Table 1, columns 2-3. In practice, <math>n</math> would need to be much larger to obtain an appropriate approximation.
i | <math>\theta_i</math> | Simulated datasets (step 2) | Summary statistic <math>\omega_{S,i}</math> (step 3) |
Distance <math>\rho(\omega_{S,i}, \omega_E)</math> (step 4) |
Outcome (step 4) |
---|---|---|---|---|---|
1 | 0.08 | AABAAAABAABAAABAAAAA | 8 | 2 | accepted |
2 | 0.68 | AABBABABAAABBABABBAB | 13 | 7 | rejected |
3 | 0.87 | BBBABBABBBBABABBBBBA | 9 | 3 | rejected |
4 | 0.43 | AABAAAAABBABBBBBBBBA | 6 | 0 | accepted |
5 | 0.53 | ABBBBBAABBABBABAABBB | 9 | 3 | rejected |
Step 3: The summary statistic is computed for each sequence of simulated data <math>\omega_{S,i}: \text{ } i = 1,\ldots,n</math>.
Step 4: The distance between the observed and simulated transition frequencies <math>\rho(\omega_{S,i}, \omega_E) = |\omega_{S,i} - \omega_{E}|</math> is computed for all parameter points. Parameter points for which the distance is smaller than or equal to <math>\epsilon</math> are accepted as approximate samples from the posterior.
Step 5: The posterior distribution is approximated with the accepted parameter points. The posterior distribution should have a non-negligible probability for parameter values in a region around the true value of <math>\theta</math> in the system if the data are sufficiently informative. In this example, the posterior probability mass is evenly split between the values 0.08 and 0.43.
The posterior probabilities are obtained via ABC with large <math>n</math> by utilizing the summary statistic (with <math>\epsilon = 0 </math> and <math>\epsilon = 2 </math>) and the full data sequence (with <math>\epsilon = 0 </math>). These are compared with the true posterior, which can be computed exactly and efficiently using the Viterbi algorithm. The summary statistic utilized in this example is not sufficient, as the deviation from the theoretical posterior is significant even under the stringent requirement of <math>\epsilon = 0 </math>. A much longer observed data sequence would be needed to obtain a posterior concentrated around <math>\theta = 0.25</math>, the true value of <math>\theta</math>.
This example application of ABC uses simplifications for illustrative purposes. More realistic applications of ABC are available in a growing number of peer-reviewed articles.[12][13][14][17]
Model comparison with ABC
Outside of parameter estimation, the ABC framework can be used to compute the posterior probabilities of different candidate models.[18][19][20] In such applications, one possibility is to use rejection sampling in a hierarchical manner. First, a model is sampled from the prior distribution for the models. Then, parameters are sampled from the prior distribution assigned to that model. Finally, a simulation is performed as in single-model ABC. The relative acceptance frequencies for the different models now approximate the posterior distribution for these models. Again, computational improvements for ABC in the space of models have been proposed, such as constructing a particle filter in the joint space of models and parameters.[20]
Once the posterior probabilities of the models have been estimated, one can make full use of the techniques of Bayesian model comparison. For instance, to compare the relative plausibilities of two models <math>M_1</math> and <math>M_2</math>, one can compute their posterior ratio, which is related to the Bayes factor <math>B_{1,2}</math>:
- <math>\frac{p(M_1 |D)}{p(M_2|D)}=\frac{p(D|M_1)}{p(D|M_2)}\frac{p(M_1)}{p(M_2)} = B_{1,2}\frac{p(M_1)}{p(M_2)}</math>.
If the model priors are equal—that is, <math>p(M_1)=p(M_2)</math>—the Bayes factor equals the posterior ratio.
In practice, as discussed below, these measures can be highly sensitive to the choice of parameter prior distributions and summary statistics, and thus conclusions of model comparison should be drawn with caution.
Pitfalls and remedies
Error source | Potential issue | Solution | Subsection |
---|---|---|---|
Nonzero tolerance <math>\epsilon</math> | The inexactness introduces bias into the computed posterior distribution. | Theoretical/practical studies of the sensitivity of the posterior distribution to the tolerance. Noisy ABC. | #Approximation of the posterior |
Insufficient summary statistics | The information loss causes inflated credible intervals. | Automatic selection/semi-automatic identification of sufficient statistics. Model validation checks (e.g., Templeton 2009[21]). | #Choice and sufficiency of summary statistics |
Small number of models/incorrectly specified models | The investigated models are not representative/lack predictive power. | Careful selection of models. Evaluation of the predictive power. | #Small number of models |
Priors and parameter ranges | Conclusions may be sensitive to the choice of priors. Model choice may be meaningless. | Check sensitivity of Bayes factors to the choice of priors. Some theoretical results regarding choice of priors are available. Use alternative methods for model validation. | #Prior distribution and parameter ranges |
Curse of dimensionality | Low parameter acceptance rates. Model errors cannot be distinguished from an insufficient exploration of the parameter space. Risk of overfitting. | Methods for model reduction if applicable. Methods to speed up the parameter exploration. Quality controls to detect overfitting. | #Curse of dimensionality |
Model ranking with summary statistics | The computation of Bayes factors on summary statistics may not be related to the Bayes factors on the original data, which may therefore render the results meaningless. | Only use summary statistics that fulfill the necessary and sufficient conditions to produce a consistent Bayesian model choice. Use alternative methods for model validation. | #Bayes factor with ABC and summary statistics |
Implementation | Low protection to common assumptions in the simulation and the inference process. | Sanity checks of results. Standardization of software. | #Indispensable quality controls |
As for all statistical methods, a number of assumptions and approximations are inherently required for the application of ABC-based methods to real modeling problems. For example, setting the tolerance parameter <math>\epsilon </math> to zero ensures an exact result, but typically makes computations prohibitively expensive. Thus, values of <math>\epsilon</math> larger than zero are used in practice, which introduces a bias. Likewise, sufficient statistics are typically not available and instead, other summary statistics are used, which introduces an additional bias due to the loss of information. Additional sources of bias- for example, in the context of model selection—may be more subtle.[15][22]
At the same time, some of the criticisms that have been directed at the ABC methods, in particular within the field of phylogeography,[21][23][24] are not specific to ABC and apply to all Bayesian methods or even all statistical methods (e.g., the choice of prior distribution and parameter ranges).[12][25] However, because of the ability of ABC-methods to handle much more complex models, some of these general pitfalls are of particular relevance in the context of ABC analyses.
This section discusses these potential risks and reviews possible ways to address them.
Approximation of the posterior
A non-negligible <math>\epsilon</math> comes with the price that one samples from <math>p(\theta|\rho(\hat{D},D)\le\epsilon)</math> instead of the true posterior <math>p(\theta|D)</math>. With a sufficiently small tolerance, and a sensible distance measure, the resulting distribution <math>p(\theta|\rho(\hat{D},D)\le\epsilon)</math> should often approximate the actual target distribution <math>p(\theta|D)</math> reasonably well. On the other hand, a tolerance that is large enough that every point in the parameter space becomes accepted will yield a replica of the prior distribution. There are empirical studies of the difference between <math>p(\theta|\rho(\hat{D},D)\le\epsilon)</math> and <math>p(\theta|D)</math> as a function of <math>\epsilon</math>,[26] and theoretical results for an upper <math>\epsilon</math>-dependent bound for the error in parameter estimates.[27] The accuracy of the posterior (defined as the expected quadratic loss) delivered by ABC as a function of <math>\epsilon</math> has also been investigated.[28] However, the convergence of the distributions when <math>\epsilon</math> approaches zero, and how it depends on the distance measure used, is an important topic that has yet to be investigated in greater detail. In particular, it remains difficult to disentangle errors introduced by this approximation from errors due to model mis-specification.[12]
As an attempt to correct some of the error due to a non-zero <math>\epsilon</math>, the usage of local linear weighted regression with ABC to reduce the variance of the posterior estimates has been suggested.[9] The method assigns weights to the parameters according to how well simulated summaries adhere to the observed ones and performs linear regression between the summaries and the weighted parameters in the vicinity of observed summaries. The obtained regression coefficients are used to correct sampled parameters in the direction of observed summaries. An improvement was suggested in the form of nonlinear regression using a feed-forward neural network model.[29] However, it has been shown that the posterior distributions obtained with these approaches are not always consistent with the prior distribution, which did lead to a reformulation of the regression adjustment that respects the prior distribution.[30]
Finally, statistical inference using ABC with a non-zero tolerance <math>\epsilon</math> is not inherently flawed: under the assumption of measurement errors, the optimal <math>\epsilon</math> can in fact be shown to be not zero.[28][31] Indeed, the bias caused by a non-zero tolerance can be characterized and compensated by introducing a specific form of noise to the summary statistics. Asymptotic consistency for such “noisy ABC”, has been established, together with formulas for the asymptotic variance of the parameter estimates for a fixed tolerance.[28]
Choice and sufficiency of summary statistics
Summary statistics may be used to increase the acceptance rate of ABC for high-dimensional data. Low-dimensional sufficient statistics are optimal for this purpose, as they capture all relevant information present in the data in the simplest possible form.[14] However, low-dimensional sufficient statistics are typically unattainable for statistical models where ABC-based inference is most relevant, and consequently, some heuristic is usually necessary to identify useful low-dimensional summary statistics. The use of a set of poorly chosen summary statistics will often lead to inflated credible intervals due to the implied loss of information,[14] which can also bias the discrimination between models. A review of methods for choosing summary statistics is available,[32] which may provide valuable guidance in practice.
One approach to capture most of the information present in data would be to use many statistics, but the accuracy and stability of ABC appears to decrease rapidly with an increasing numbers of summary statistics.[12][14] Instead, a better strategy is to focus on the relevant statistics only—relevancy depending on the whole inference problem, on the model used, and on the data at hand.[33]
An algorithm has been proposed for identifying a representative subset of summary statistics, by iteratively assessing whether an additional statistic introduces a meaningful modification of the posterior.[34] One of the challenges here is that a large ABC approximation error may heavily influence the conclusions about the usefulness of a statistic at any stage of the procedure. Another method[33] decomposes into two main steps. First, a reference approximation of the posterior is constructed by minimizing the entropy. Sets of candidate summaries are then evaluated by comparing the ABC-approximated posteriors with the reference posterior.
With both of these strategies, a subset of statistics is selected from a large set of candidate statistics. Instead, the partial least squares regression approach uses information from all the candidate statistics, each being weighted appropriately.[35] Recently, a method for constructing summaries in a semi-automatic manner has attained a considerable interest.[28] This method is based on the observation that the optimal choice of summary statistics, when minimizing the quadratic loss of the parameter point estimates, can be obtained through the posterior mean of the parameters, which is approximated by performing a linear regression based on the simulated data.
Methods for the identification of summary statistics that could also simultaneously assess the influence on the approximation of the posterior would be of substantial value.[36] This is because the choice of summary statistics and the choice of tolerance constitute two sources of error in the resulting posterior distribution. These errors may corrupt the ranking of models and may also lead to incorrect model predictions. Indeed, none of the methods above assesses the choice of summaries for the purpose of model selection.
Bayes factor with ABC and summary statistics
It has been shown that the combination of insufficient summary statistics and ABC for model selection can be problematic.[15][22] Indeed, if one lets the Bayes factor based on the summary statistic <math>S(D)</math> be denoted by <math>B_{1,2}^s</math>, the relation between <math>B_{1,2}</math> and <math>B_{1,2}^s</math> takes the form:[15]
- <math>B_{1,2}=\frac{p(D|M_1)}{p(D|M_2)}=\frac{p(D|S(D),M_1)}{p(D|S(D),M_2)} \frac{p(S(D)|M_1)}{p(S(D)|M_2)}=\frac{p(D|S(D),M_1)}{p(D|S(D),M_2)} B_{1,2}^s</math>.
Thus, a summary statistic <math>S(D)</math> is sufficient for comparing two models <math>M_1</math> and <math>M_2</math> if and only if:
- <math>p(D|S(D),M_1)=p(D|S(D),M_2)</math>,
which results in that <math>B_{1,2}=B_{1,2}^s</math>. It is also clear from the equation above that there might be a huge difference between <math>B_{1,2}</math> and <math>B_{1,2}^s</math> if the condition is not satisfied, as can be demonstrated by toy examples.[15][19][22] Crucially, it was shown that sufficiency for <math>M_1</math> or <math>M_2</math> alone, or for both models, does not guarantee sufficiency for ranking the models.[15] However, it was also shown that any sufficient summary statistic for a model <math>M</math> in which both <math>M_1</math> and <math>M_2</math> are nested is valid for ranking the nested models.[15]
The computation of Bayes factors on <math>S(D)</math> may therefore be misleading for model selection purposes, unless the ratio between the Bayes factors on <math>D</math> and <math>S(D)</math> would be available, or at least could be approximated reasonably well. Alternatively, necessary and sufficient conditions on summary statistics for a consistent Bayesian model choice have recently been derived,[37] which can provide useful guidance.
However, this issue is only relevant for model selection when the dimension of the data has been reduced. ABC-based inference, in which the actual data sets are directly compared—as is the case for some systems biology applications (e.g., see [38])—circumvents this problem.
Indispensable quality controls
As the above discussion makes clear, any ABC analysis requires choices and trade-offs that can have a considerable impact on its outcomes. Specifically, the choice of competing models/hypotheses, the number of simulations, the choice of summary statistics, or the acceptance threshold cannot currently be based on general rules, but the effect of these choices should be evaluated and tested in each study.[13]
A number of heuristic approaches to the quality control of ABC have been proposed, such as the quantification of the fraction of parameter variance explained by the summary statistics.[13] A common class of methods aims at assessing whether or not the inference yields valid results, regardless of the actually observed data. For instance, given a set of parameter values, which are typically drawn from the prior or the posterior distributions for a model, one can generate a large number of artificial datasets. In this way, the quality and robustness of ABC inference can be assessed in a controlled setting, by gauging how well the chosen ABC inference method recovers the true parameter values, and also models if multiple structurally different models are considered simultaneously.
Another class of methods assesses whether the inference was successful in light of the given observed data, for example, by comparing the posterior predictive distribution of summary statistics to the summary statistics observed.[13] Beyond that, cross-validation techniques[39] and predictive checks[40][41] represent promising future strategies to evaluate the stability and out-of-sample predictive validity of ABC inferences. This is particularly important when modeling large data sets, because then the posterior support of a particular model can appear overwhelmingly conclusive, even if all proposed models in fact are poor representations of the stochastic system underlying the observation data. Out-of-sample predictive checks can reveal potential systematic biases within a model and provide clues on to how to improve its structure or parametrization.
Fundamentally novel approaches for model choice that incorporate quality control as an integral step in the process have recently been proposed. ABC allows, by construction, estimation of the discrepancies between the observed data and the model predictions, with respect to a comprehensive set of statistics. These statistics are not necessarily the same as those used in the acceptance criterion. The resulting discrepancy distributions have been used for selecting models that are in agreement with many aspects of the data simultaneously,[42] and model inconsistency is detected from conflicting and co-dependent summaries. Another quality-control-based method for model selection employs ABC to approximate the effective number of model parameters and the deviance of the posterior predictive distributions of summaries and parameters.[43] The deviance information criterion is then used as measure of model fit. It has also been shown that the models preferred based on this criterion can conflict with those supported by Bayes factors. For this reason, it is useful to combine different methods for model selection to obtain correct conclusions.
Quality controls are achievable and indeed performed in many ABC-based works, but for certain problems, the assessment of the impact of the method-related parameters can be challenging. However, the rapidly increasing use of ABC can be expected to provide a more thorough understanding of the limitations and applicability of the method.
General risks in statistical inference exacerbated in ABC
This section reviews risks that are strictly speaking not specific to ABC, but also relevant for other statistical methods as well. However, the flexibility offered by ABC to analyze very complex models makes them highly relevant to discuss here.
Prior distribution and parameter ranges
The specification of the range and the prior distribution of parameters strongly benefits from previous knowledge about the properties of the system. One criticism has been that in some studies the “parameter ranges and distributions are only guessed based upon the subjective opinion of the investigators”,[44] which is connected to classical objections of Bayesian approaches.[45]
With any computational method, it is typically necessary to constrain the investigated parameter ranges. The parameter ranges should if possible be defined based on known properties of the studied system, but may for practical applications necessitate an educated guess. However, theoretical results regarding objective priors are available, which may for example be based on the principle of indifference or the principle of maximum entropy.[46][47] On the other hand, automated or semi-automated methods for choosing a prior distribution often yield improper densities. As most ABC procedures require generating samples from the prior, improper priors are not directly applicable to ABC.
One should also keep the purpose of the analysis in mind when choosing the prior distribution. In principle, uninformative and flat priors, that exaggerate our subjective ignorance about the parameters, may still yield reasonable parameter estimates. However, Bayes factors are highly sensitive to the prior distribution of parameters. Conclusions on model choice based on Bayes factor can be misleading unless the sensitivity of conclusions to the choice of priors is carefully considered.
Small number of models
Model-based methods have been criticized for not exhaustively covering the hypothesis space.[24] Indeed, model-based studies often revolve around a small number of models, and due to the high computational cost to evaluate a single model in some instances, it may then be difficult to cover a large part of the hypothesis space.
An upper limit to the number of considered candidate models is typically set by the substantial effort required to define the models and to choose between many alternative options.[13] There is no commonly accepted ABC-specific procedure for model construction, so experience and prior knowledge are used instead.[14] Although more robust procedures for a priori model choice and formulation would be beneficial, there is no one-size-fits-all strategy for model development in statistics: sensible characterization of complex systems will always necessitate a great deal of detective work and use of expert knowledge from the problem domain.
Some opponents of ABC contend that since only few models—subjectively chosen and probably all wrong—can be realistically considered, ABC analyses provide only limited insight.[24] However, there is an important distinction between identifying a plausible null hypothesis and assessing the relative fit of alternative hypotheses.[12] Since useful null hypotheses, that potentially hold true, can extremely seldom be put forward in the context of complex models, predictive ability of statistical models as explanations of complex phenomena is far more important than the test of a statistical null hypothesis in this context. It is also common to average over the investigated models, weighted based on their relative plausibility, to infer model features (e.g., parameter values) and to make predictions.
Large datasets
Large data sets may constitute a computational bottleneck for model-based methods. It was, for example, pointed out that in some ABC-based analyses, part of the data have to be omitted.[24] A number of authors have argued that large data sets are not a practical limitation,[13][45] although the severity of this issue depends strongly on the characteristics of the models. Several aspects of a modeling problem can contribute to the computational complexity, such as the sample size, number of observed variables or features, time or spatial resolution, etc. However, with increasing computing power, this issue will potentially be less important.
Instead of sampling parameters for each simulation from the prior, it has been proposed alternatively to combine the Metropolis-Hastings algorithm with ABC, which was reported to result in a higher acceptance rate than for plain ABC.[36] Naturally, such an approach inherits the general burdens of MCMC methods, such as the difficulty to assess convergence, correlation among the samples from the posterior,[26] and relatively poor parallelizability.[13]
Likewise, the ideas of sequential Monte Carlo (SMC) and population Monte Carlo (PMC) methods have been adapted to the ABC setting.[26][48] The general idea is to iteratively approach the posterior from the prior through a sequence of target distributions. An advantage of such methods, compared to ABC-MCMC, is that the samples from the resulting posterior are independent. In addition, with sequential methods the tolerance levels must not be specified prior to the analysis, but are adjusted adaptively.[49]
It is relatively straightforward to parallelize a number of steps in ABC algorithms based on rejection sampling and sequential Monte Carlo methods. It has also been demonstrated that parallel algorithms may yield significant speedups for MCMC-based inference in phylogenetics,[50] which may be a tractable approach also for ABC-based methods. Yet an adequate model for a complex system is very likely to require intensive computation irrespectively of the chosen method of inference, and it is up to the user to select a method that is suitable for the particular application in question.
Curse of dimensionality
High-dimensional data sets and high-dimensional parameter spaces can require an extremely large number of parameter points to be simulated in ABC-based studies to obtain a reasonable level of accuracy for the posterior inferences. In such situations, the computational cost is severely increased and may in the worst case render the computational analysis intractable. These are examples of well-known phenomena, which are usually referred to with the umbrella term curse of dimensionality.[51]
To assess how severely the dimensionality of a data set affects the analysis within the context of ABC, analytical formulas have been derived for the error of the ABC estimators as functions of the dimension of the summary statistics.[52][53] In addition, Blum and François have investigated how the dimension of the summary statistics is related to the mean squared error for different correction adjustments to the error of ABC estimators. It was also argued that dimension reduction techniques are useful to avoid the curse-of-dimensionality, due to a potentially lower-dimensional underlying structure of summary statistics.[52] Motivated by minimizing the quadratic loss of ABC estimators, Fearnhead and Prangle have proposed a scheme to project (possibly high-dimensional) data into estimates of the parameter posterior means; these means, now having the same dimension as the parameters, are then used as summary statistics for ABC.[53]
ABC can be used to infer problems in high-dimensional parameter spaces, although one should account for the possibility of overfitting (e.g., see the model selection methods in [42] and [43]). However, the probability of accepting the simulated values for the parameters under a given tolerance with the ABC rejection algorithm typically decreases exponentially with increasing dimensionality of the parameter space (due to the global acceptance criterion).[14] Although no computational method (based on ABC or not) seems to be able to break the curse-of-dimensionality, methods have recently been developed to handle high-dimensional parameter spaces under certain assumptions (e.g., based on polynomial approximation on sparse grids,[54] which could potentially heavily reduce the simulation times for ABC). However, the applicability of such methods is problem dependent, and the difficulty of exploring parameter spaces should in general not be underestimated. For example, the introduction of deterministic global parameter estimation led to reports that the global optima obtained in several previous studies of low-dimensional problems were incorrect.[55] For certain problems, it might therefore be difficult to know whether the model is incorrect or, as discussed above, whether the explored region of the parameter space is inappropriate.[24] More pragmatic approaches are to cut the scope of the problem through model reduction,[14] discretisation of variables and the use of canonical models such as noisy models. Noisy models exploit information on the conditional independence between variables.[56]
Software
A number of software packages are currently available for application of ABC to particular classes of statistical models.
Software | Keywords and features | Reference |
---|---|---|
pyABC | Python framework for efficient distributed ABC-SMC (Sequential Monte Carlo). | [57] |
PyMC | A Python package for Bayesian statistical modeling and probabilistic machine learning. | [58] |
DIY-ABC | Software for fit of genetic data to complex situations. Comparison of competing models. Parameter estimation. Computation of bias and precision measures for a given model and known parameters values. | [59] |
abc R package |
Several ABC algorithms for performing parameter estimation and model selection. Nonlinear heteroscedastic regression methods for ABC. Cross-validation tool. | [60][61] |
EasyABC R package |
Several algorithms for performing efficient ABC sampling schemes, including 4 sequential sampling schemes and 3 MCMC schemes. | [62][63] |
ABC-SysBio | Python package. Parameter inference and model selection for dynamical systems. Combines ABC rejection sampler, ABC SMC for parameter inference, and ABC SMC for model selection. Compatible with models written in Systems Biology Markup Language (SBML). Deterministic and stochastic models. | [64] |
ABCtoolbox | Open source programs for various ABC algorithms including rejection sampling, MCMC without likelihood, a particle-based sampler, and ABC-GLM. Compatibility with most simulation and summary statistics computation programs. | [65] |
msBayes | Open source software package consisting of several C and R programs that are run with a Perl "front-end". Hierarchical coalescent models. Population genetic data from multiple co-distributed species. | [66] |
PopABC | Software package for inference of the pattern of demographic divergence. Coalescent simulation. Bayesian model choice. | [67] |
ONeSAMP | Web-based program to estimate the effective population size from a sample of microsatellite genotypes. Estimates of effective population size, together with 95% credible limits. | [68] |
ABC4F | Software for estimation of F-statistics for dominant data. | [69] |
2BAD | 2-event Bayesian ADmixture. Software allowing up to two independent admixture events with up to three parental populations. Estimation of several parameters (admixture, effective sizes, etc.). Comparison of pairs of admixture models. | [70] |
ELFI | Engine for Likelihood-Free Inference. ELFI is a statistical software package written in Python for Approximate Bayesian Computation (ABC), also known e.g. as likelihood-free inference, simulator-based inference, approximative Bayesian inference etc. | [71] |
ABCpy | Python package for ABC and other likelihood-free inference schemes. Several state-of-the-art algorithms available. Provides quick way to integrate existing generative (from C++, R etc.), user-friendly parallelization using MPI or Spark and summary statistics learning (with neural network or linear regression). | [72] |
The suitability of individual software packages depends on the specific application at hand, the computer system environment, and the algorithms required.
See also
References
External links
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBharti
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокRubin
не указан текст - ↑ see figure 5 in Шаблон:Cite journal
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокDiggle
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBartlett63
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокHoel71
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокTavare
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокPritchard1999
не указан текст - ↑ 9,0 9,1 Ошибка цитирования Неверный тег
<ref>
; для сносокBeaumont2002
не указан текст - ↑ Drovandi, Christopher C. "ABC and indirect inference." Handbook of Approximate Bayesian Computation (2018): 179-209. https://arxiv.org/abs/1803.01999
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBusetto2009a
не указан текст - ↑ 12,0 12,1 12,2 12,3 12,4 12,5 Ошибка цитирования Неверный тег
<ref>
; для сносокBeaumont2010
не указан текст - ↑ 13,0 13,1 13,2 13,3 13,4 13,5 13,6 13,7 Ошибка цитирования Неверный тег
<ref>
; для сносокBertorelle
не указан текст - ↑ 14,0 14,1 14,2 14,3 14,4 14,5 14,6 14,7 Ошибка цитирования Неверный тег
<ref>
; для сносокCsillery
не указан текст - ↑ 15,0 15,1 15,2 15,3 15,4 15,5 15,6 Ошибка цитирования Неверный тег
<ref>
; для сносокDidelot
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокLai
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокMarin11
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокWilkinson2007
не указан текст - ↑ 19,0 19,1 Ошибка цитирования Неверный тег
<ref>
; для сносокGrelaud
не указан текст - ↑ 20,0 20,1 Ошибка цитирования Неверный тег
<ref>
; для сносокToni2010
не указан текст - ↑ 21,0 21,1 Ошибка цитирования Неверный тег
<ref>
; для сносокTempleton2009b
не указан текст - ↑ 22,0 22,1 22,2 Ошибка цитирования Неверный тег
<ref>
; для сносокRobert
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокTempleton2008
не указан текст - ↑ 24,0 24,1 24,2 24,3 24,4 Ошибка цитирования Неверный тег
<ref>
; для сносокTempleton2009a
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBerger
не указан текст - ↑ 26,0 26,1 26,2 Ошибка цитирования Неверный тег
<ref>
; для сносокSisson
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокDean
не указан текст - ↑ 28,0 28,1 28,2 28,3 Ошибка цитирования Неверный тег
<ref>
; для сносокFearnhead
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBlum2010
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокLeuenberger2009
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокWilkinson
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBlum12
не указан текст - ↑ 33,0 33,1 Ошибка цитирования Неверный тег
<ref>
; для сносокNunes
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокJoyce
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокWegmann
не указан текст - ↑ 36,0 36,1 Ошибка цитирования Неверный тег
<ref>
; для сносокMarjoram
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокMarin
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокToni
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокArlot
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокDawid
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокVehtari
не указан текст - ↑ 42,0 42,1 Ошибка цитирования Неверный тег
<ref>
; для сносокRatmann
не указан текст - ↑ 43,0 43,1 Ошибка цитирования Неверный тег
<ref>
; для сносокFrancois
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокTempleton2010
не указан текст - ↑ 45,0 45,1 Ошибка цитирования Неверный тег
<ref>
; для сносокBeaumont2010b
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокJaynes
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBerger2006
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBeaumont2009
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокDelMoral
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокFeng
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBellman
не указан текст - ↑ 52,0 52,1 Ошибка цитирования Неверный тег
<ref>
; для сносокBlum10
не указан текст - ↑ 53,0 53,1 Ошибка цитирования Неверный тег
<ref>
; для сносокFearnhead12
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокGerstner
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокSinger
не указан текст - ↑ Шаблон:Cite journal
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокKlinger2017
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокSalvatier2016
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокCornuet08
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокCsillery12
не указан текст - ↑ Шаблон:Cite web
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite web
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокLiepe10
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокWegmann2010
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокHickerson07
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокLopes09
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокTallmon08
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокFoll08
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокBray10
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокKangas16
не указан текст - ↑ Шаблон:Cite journal