Not to be confused with Laplace's method, which is based on an essentially identical construction. Whereas Laplace's method focusses on a limiting behaviour of the integral, Laplace's approximation isn't used in the limit, and considers both integral and integrand. This naming distinction may not be universal.
For example, consider a regression or classification model with data set comprising inputs and outputs with (unknown) parameter vector of length . The likelihood is denoted and the parameter prior. Suppose one wants to approximate the joint density of outputs and parameters . Bayes' formula reads:
The joint is equal to the product of the likelihood and the prior and by Bayes' rule, equal to the product of the marginal likelihood and posterior. Seen as a function of the joint is an un-normalised density.
In Laplace's approximation, we approximate the joint by an un-normalised Gaussian , where we use to denote approximate density, for un-normalised density and the normalisation constant of (independent of ). Since the marginal likelihood doesn't depend on the parameter and the posterior normalises over we can immediately identify them with and of our approximation, respectively.
Laplace's approximation is
where we have defined
where is the location of a mode of the joint target density, also known as the maximum a posteriori or MAP point and is the positive definite matrix of second derivatives of the negative log joint target density at the mode . Thus, the Gaussian approximation matches the value and the log-curvature of the un-normalised target density at the mode. The value of is usually found using a gradient based method.
In summary, we have
for the approximate posterior over and the approximate log marginal likelihood respectively.
The main weaknesses of Laplace's approximation are that it is symmetric around the mode and that it is very local: the entire approximation is derived from properties at a single point of the target density. Laplace's method is widely used and was pioneered in the context of neural networks by David MacKay,[5] and for Gaussian processes by Williams and Barber.[6]
^Kass, Robert E.; Tierney, Luke; Kadane, Joseph B. (1991). "Laplace's method in Bayesian analysis". Statistical Multiple Integration. Contemporary Mathematics. Vol. 115. pp. 89–100. doi:10.1090/conm/115/07. ISBN0-8218-5122-5.
^Kass, Robert E.; Tierney, Luke; Kadane, Joseph B. (1990). "The Validity of Posterior Expansions Based on Laplace's Method". In Geisser, S.; Hodges, J. S.; Press, S. J.; Zellner, A. (eds.). Bayesian and Likelihood Methods in Statistics and Econometrics. Elsevier. pp. 473–488. ISBN0-444-88376-2.