Fisher information

From Wikipedia, the free encyclopedia
(Redirected from Fisher information matrix)

In mathematical statistics, the Fisher information (sometimes simply called information[1]) is a way of measuring the amount of information that an observable random variable X carries about an unknown parameter θ of a distribution that models X. Formally, it is the variance of the score, or the expected value of the observed information.

The role of the Fisher information in the asymptotic theory of maximum-likelihood estimation was emphasized by the statistician Sir Ronald Fisher (following some initial results by Francis Ysidro Edgeworth). The Fisher information matrix is used to calculate the covariance matrices associated with maximum-likelihood estimates. It can also be used in the formulation of test statistics, such as the Wald test.

In Bayesian statistics, the Fisher information plays a role in the derivation of non-informative prior distributions according to Jeffreys' rule.[2] It also appears as the large-sample covariance of the posterior distribution, provided that the prior is sufficiently smooth (a result known as Bernstein–von Mises theorem, which was anticipated by Laplace for exponential families).[3] The same result is used when approximating the posterior with Laplace's approximation, where the Fisher information appears as the covariance of the fitted Gaussian.[4]

Statistical systems of a scientific nature (physical, biological, etc.) whose likelihood functions obey shift invariance have been shown to obey maximum Fisher information.[5] The level of the maximum depends upon the nature of the system constraints.

Definition[edit]

The Fisher information is a way of measuring the amount of information that an observable random variable carries about an unknown parameter upon which the probability of depends. Let be the probability density function (or probability mass function) for conditioned on the value of . It describes the probability that we observe a given outcome of , given a known value of . If is sharply peaked with respect to changes in , it is easy to indicate the "correct" value of from the data, or equivalently, that the data provides a lot of information about the parameter . If is flat and spread-out, then it would take many samples of to estimate the actual "true" value of that would be obtained using the entire population being sampled. This suggests studying some kind of variance with respect to .

Formally, the partial derivative with respect to of the natural logarithm of the likelihood function is called the score. Under certain regularity conditions, if is the true parameter (i.e. is actually distributed as ), it can be shown that the expected value (the first moment) of the score, evaluated at the true parameter value , is 0:[6]

The Fisher information is defined to be the variance of the score:[7]

Note that . A random variable carrying high Fisher information implies that the absolute value of the score is often high. The Fisher information is not a function of a particular observation, as the random variable X has been averaged out.

If log f(x; θ) is twice differentiable with respect to θ, and under certain regularity conditions, then the Fisher information may also be written as[8]

since

and

Thus, the Fisher information may be seen as the curvature of the support curve (the graph of the log-likelihood). Near the maximum likelihood estimate, low Fisher information therefore indicates that the maximum appears "blunt", that is, the maximum is shallow and there are many nearby values with a similar log-likelihood. Conversely, high Fisher information indicates that the maximum is sharp.

Regularity conditions[edit]

The regularity conditions are as follows:[9]

  1. The partial derivative of f(X; θ) with respect to θ exists almost everywhere. (It can fail to exist on a null set, as long as this set does not depend on θ.)
  2. The integral of f(X; θ) can be differentiated under the integral sign with respect to θ.
  3. The support of f(X; θ) does not depend on θ.

If θ is a vector then the regularity conditions must hold for every component of θ. It is easy to find an example of a density that does not satisfy the regularity conditions: The density of a Uniform(0, θ) variable fails to satisfy conditions 1 and 3. In this case, even though the Fisher information can be computed from the definition, it will not have the properties it is typically assumed to have.

In terms of likelihood[edit]

Because the likelihood of θ given X is always proportional to the probability f(X; θ), their logarithms necessarily differ by a constant that is independent of θ, and the derivatives of these logarithms with respect to θ are necessarily equal. Thus one can substitute in a log-likelihood l(θ; X) instead of log f(X; θ) in the definitions of Fisher Information.

Samples of any size[edit]

The value X can represent a single sample drawn from a single distribution or can represent a collection of samples drawn from a collection of distributions. If there are n samples and the corresponding n distributions are statistically independent then the Fisher information will necessarily be the sum of the single-sample Fisher information values, one for each single sample from its distribution. In particular, if the n distributions are independent and identically distributed then the Fisher information will necessarily be n times the Fisher information of a single sample from the common distribution. Stated in other words, the Fisher Information of i.i.d. observations of a sample of size n from a population is equal to the product of n and the Fisher Information of a single observation from the same population.

Informal derivation of the Cramér–Rao bound[edit]

The Cramér–Rao bound[10][11] states that the inverse of the Fisher information is a lower bound on the variance of any unbiased estimator of θ. H.L. Van Trees (1968) and B. Roy Frieden (2004) provide the following method of deriving the Cramér–Rao bound, a result which describes use of the Fisher information.

Informally, we begin by considering an unbiased estimator . Mathematically, "unbiased" means that

This expression is zero independent of θ, so its partial derivative with respect to θ must also be zero. By the product rule, this partial derivative is also equal to

For each θ, the likelihood function is a probability density function, and therefore . By using the chain rule on the partial derivative of and then dividing and multiplying by , one can verify that

Using these two facts in the above, we get

Factoring the integrand gives

Squaring the expression in the integral, the Cauchy–Schwarz inequality yields

The second bracketed factor is defined to be the Fisher Information, while the first bracketed factor is the expected mean-squared error of the estimator . By rearranging, the inequality tells us that

In other words, the precision to which we can estimate θ is fundamentally limited by the Fisher information of the likelihood function.

Alternatively, the same conclusion can be obtained directly from the Cauchy–Schwarz inequality for random variables, , applied to the random variables and , and observing that for unbiased estimators we have

Example: Single-parameter Bernoulli experiment[edit]

A Bernoulli trial is a random variable with two possible outcomes, 0 and 1, with 1 having a probability of θ. The outcome can be thought of as determined by the toss of a biased coin, with the probability of heads (1) being θ and the probability of tails (0) being 1 − θ.

Let X be a Bernoulli trial of one sample from the distribution. The Fisher information contained in X may be calculated to be:

Because Fisher information is additive, the Fisher information contained in n independent Bernoulli trials is therefore

If is one of the possible outcomes of n independent Bernoulli trials and is the j th outcome of the i th trial, then the probability of is given by:

The mean of the i th trial is The expected value of the mean of a trial is:

where the sum is over all possible trial outcomes. The expected value of the square of the means is:

so the variance in the value of the mean is:

It is seen that the Fisher information is the reciprocal of the variance of the mean number of successes in n Bernoulli trials. This is generally true. In this case, the Cramér–Rao bound is an equality.

Matrix form[edit]

When there are N parameters, so that θ is an N × 1 vector then the Fisher information takes the form of an N × N matrix. This matrix is called the Fisher information matrix (FIM) and has typical element

The FIM is a N × N positive semidefinite matrix. If it is positive definite, then it defines a Riemannian metric on the N-dimensional parameter space. The topic information geometry uses this to connect Fisher information to differential geometry, and in that context, this metric is known as the Fisher information metric.

Under certain regularity conditions, the Fisher information matrix may also be written as

The result is interesting in several ways:

  • It can be derived as the Hessian of the relative entropy.
  • It can be used as a Riemannian metric for defining Fisher-Rao geometry when it is positive-definite.[12]
  • It can be understood as a metric induced from the Euclidean metric, after appropriate change of variable.
  • In its complex-valued form, it is the Fubini–Study metric.
  • It is the key part of the proof of Wilks' theorem, which allows confidence region estimates for maximum likelihood estimation (for those conditions for which it applies) without needing the Likelihood Principle.
  • In cases where the analytical calculations of the FIM above are difficult, it is possible to form an average of easy Monte Carlo estimates of the Hessian of the negative log-likelihood function as an estimate of the FIM.[13][14][15] The estimates may be based on values of the negative log-likelihood function or the gradient of the negative log-likelihood function; no analytical calculation of the Hessian of the negative log-likelihood function is needed.

Information orthogonal parameters[edit]

We say that two parameter component vectors θ1 and θ2 are information orthogonal if the Fisher information matrix is block diagonal, with these components in separate blocks.[16] Orthogonal parameters are easy to deal with in the sense that their maximum likelihood estimates are asymptotically uncorrelated. When considering how to analyse a statistical model, the modeller is advised to invest some time searching for an orthogonal parametrization of the model, in particular when the parameter of interest is one-dimensional, but the nuisance parameter can have any dimension.[17]

Singular statistical model[edit]

If the Fisher information matrix is positive definite for all θ, then the corresponding statistical model is said to be regular; otherwise, the statistical model is said to be singular.[18] Examples of singular statistical models include the following: normal mixtures, binomial mixtures, multinomial mixtures, Bayesian networks, neural networks, radial basis functions, hidden Markov models, stochastic context-free grammars, reduced rank regressions, Boltzmann machines.

In machine learning, if a statistical model is devised so that it extracts hidden structure from a random phenomenon, then it naturally becomes singular.[19]

Multivariate normal distribution[edit]

The FIM for a N-variate multivariate normal distribution, has a special form. Let the K-dimensional vector of parameters be and the vector of random normal variables be . Assume that the mean values of these random variables are , and let be the covariance matrix. Then, for , the (m, n) entry of the FIM is:[20]

where denotes the transpose of a vector, denotes the trace of a square matrix, and:

Note that a special, but very common, case is the one where , a constant. Then

In this case the Fisher information matrix may be identified with the coefficient matrix of the normal equations of least squares estimation theory.

Another special case occurs when the mean and covariance depend on two different vector parameters, say, β and θ. This is especially popular in the analysis of spatial data, which often uses a linear model with correlated residuals. In this case,[21]

where

Properties[edit]

Chain rule[edit]

Similar to the entropy or mutual information, the Fisher information also possesses a chain rule decomposition. In particular, if X and Y are jointly distributed random variables, it follows that:[22]

where and is the Fisher information of Y relative to calculated with respect to the conditional density of Y given a specific value X = x.

As a special case, if the two random variables are independent, the information yielded by the two random variables is the sum of the information from each random variable separately:

Consequently, the information in a random sample of n independent and identically distributed observations is n times the information in a sample of size 1.

F-divergence[edit]

Given a convex function that is finite for all , , and , (which could be infinite), it defines an f-divergence . Then if is strictly convex at , then locally at , the Fisher information matrix is a metric, in the sense that[23]

where is the distribution parametrized by . That is, it's the distribution with pdf .

In this form, it is clear that the Fisher information matrix is a Riemannian metric, and varies correctly under a change of variables. (see section on Reparametrization.)

Sufficient statistic[edit]

The information provided by a sufficient statistic is the same as that of the sample X. This may be seen by using Neyman's factorization criterion for a sufficient statistic. If T(X) is sufficient for θ, then

for some functions g and h. The independence of h(X) from θ implies

and the equality of information then follows from the definition of Fisher information. More generally, if T = t(X) is a statistic, then

with equality if and only if T is a sufficient statistic.[24]

Reparametrization[edit]

The Fisher information depends on the parametrization of the problem. If θ and η are two scalar parametrizations of an estimation problem, and θ is a continuously differentiable function of η, then

where and are the Fisher information measures of η and θ, respectively.[25]

In the vector case, suppose and are k-vectors which parametrize an estimation problem, and suppose that is a continuously differentiable function of , then,[26]

where the (i, j)th element of the k × k Jacobian matrix is defined by

and where is the matrix transpose of

In information geometry, this is seen as a change of coordinates on a Riemannian manifold, and the intrinsic properties of curvature are unchanged under different parametrizations. In general, the Fisher information matrix provides a Riemannian metric (more precisely, the Fisher–Rao metric) for the manifold of thermodynamic states, and can be used as an information-geometric complexity measure for a classification of phase transitions, e.g., the scalar curvature of the thermodynamic metric tensor diverges at (and only at) a phase transition point.[27]

In the thermodynamic context, the Fisher information matrix is directly related to the rate of change in the corresponding order parameters.[28] In particular, such relations identify second-order phase transitions via divergences of individual elements of the Fisher information matrix.

Isoperimetric inequality[edit]

The Fisher information matrix plays a role in an inequality like the isoperimetric inequality.[29] Of all probability distributions with a given entropy, the one whose Fisher information matrix has the smallest trace is the Gaussian distribution. This is like how, of all bounded sets with a given volume, the sphere has the smallest surface area.

The proof involves taking a multivariate random variable with density function and adding a location parameter to form a family of densities . Then, by analogy with the Minkowski–Steiner formula, the "surface area" of is defined to be

where is a Gaussian variable with covariance matrix . The name "surface area" is apt because the entropy power is the volume of the "effective support set,"[30] so is the "derivative" of the volume of the effective support set, much like the Minkowski-Steiner formula. The remainder of the proof uses the entropy power inequality, which is like the Brunn–Minkowski inequality. The trace of the Fisher information matrix is found to be a factor of .

Applications[edit]

Optimal design of experiments[edit]

Fisher information is widely used in optimal experimental design. Because of the reciprocity of estimator-variance and Fisher information, minimizing the variance corresponds to maximizing the information.

When the linear (or linearized) statistical model has several parameters, the mean of the parameter estimator is a vector and its variance is a matrix. The inverse of the variance matrix is called the "information matrix". Because the variance of the estimator of a parameter vector is a matrix, the problem of "minimizing the variance" is complicated. Using statistical theory, statisticians compress the information-matrix using real-valued summary statistics; being real-valued functions, these "information criteria" can be maximized.

Traditionally, statisticians have evaluated estimators and designs by considering some summary statistic of the covariance matrix (of an unbiased estimator), usually with positive real values (like the determinant or matrix trace). Working with positive real numbers brings several advantages: If the estimator of a single parameter has a positive variance, then the variance and the Fisher information are both positive real numbers; hence they are members of the convex cone of nonnegative real numbers (whose nonzero members have reciprocals in this same cone).

For several parameters, the covariance matrices and information matrices are elements of the convex cone of nonnegative-definite symmetric matrices in a partially ordered vector space, under the Loewner (Löwner) order. This cone is closed under matrix addition and inversion, as well as under the multiplication of positive real numbers and matrices. An exposition of matrix theory and Loewner order appears in Pukelsheim.[31]

The traditional optimality criteria are the information matrix's invariants, in the sense of invariant theory; algebraically, the traditional optimality criteria are functionals of the eigenvalues of the (Fisher) information matrix (see optimal design).

Jeffreys prior in Bayesian statistics[edit]

In Bayesian statistics, the Fisher information is used to calculate the Jeffreys prior, which is a standard, non-informative prior for continuous distribution parameters.[32]

Computational neuroscience[edit]

The Fisher information has been used to find bounds on the accuracy of neural codes. In that case, X is typically the joint responses of many neurons representing a low dimensional variable θ (such as a stimulus parameter). In particular the role of correlations in the noise of the neural responses has been studied.[33]

Epidemiology[edit]

Fisher information was used to study how informative different data sources are for estimation of the reproduction number of SARS-CoV-2.[34]

Derivation of physical laws[edit]

Fisher information plays a central role in a controversial principle put forward by Frieden as the basis of physical laws, a claim that has been disputed.[35]

Machine learning[edit]

The Fisher information is used in machine learning techniques such as elastic weight consolidation,[36] which reduces catastrophic forgetting in artificial neural networks.

Fisher information can be used as an alternative to the Hessian of the loss function in second-order gradient descent network training.[37]

Color discrimination[edit]

Using a Fisher information metric, da Fonseca et. al [38] investigated the degree to which MacAdam ellipses (color discrimination ellipses) can be derived from the response functions of the retinal photoreceptors.

Relation to relative entropy[edit]

Fisher information is related to relative entropy.[39] The relative entropy, or Kullback–Leibler divergence, between two distributions and can be written as

Now, consider a family of probability distributions parametrized by . Then the Kullback–Leibler divergence, between two distributions in the family can be written as

If is fixed, then the relative entropy between two distributions of the same family is minimized at . For close to , one may expand the previous expression in a series up to second order:

But the second order derivative can be written as

Thus the Fisher information represents the curvature of the relative entropy of a conditional distribution with respect to its parameters.

History[edit]

The Fisher information was discussed by several early statisticians, notably F. Y. Edgeworth.[40] For example, Savage[41] says: "In it [Fisher information], he [Fisher] was to some extent anticipated (Edgeworth 1908–9 esp. 502, 507–8, 662, 677–8, 82–5 and references he [Edgeworth] cites including Pearson and Filon 1898 [. . .])." There are a number of early historical sources[42] and a number of reviews of this early work.[43][44][45]

See also[edit]

Other measures employed in information theory:

Notes[edit]

  1. ^ Lehmann & Casella, p. 115
  2. ^ Robert, Christian (2007). "Noninformative prior distributions". The Bayesian Choice (2nd ed.). Springer. pp. 127–141. ISBN 978-0-387-71598-8.
  3. ^ Le Cam, Lucien (1986). Asymptotic Methods in Statistical Decision Theory. New York: Springer. pp. 618–621. ISBN 0-387-96307-3.
  4. ^ 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. ISBN 0-444-88376-2.
  5. ^ Frieden & Gatenby (2013)
  6. ^ Suba Rao. "Lectures on statistical inference" (PDF).
  7. ^ Fisher (1922)
  8. ^ Lehmann & Casella, eq. (2.5.16), Lemma 5.3, p.116.
  9. ^ Schervish, Mark J. (1995). Theory of Statistics. New York, NY: Springer New York. p. 111. ISBN 978-1-4612-4250-5. OCLC 852790658.
  10. ^ Cramer (1946)
  11. ^ Rao (1945)
  12. ^ Nielsen, Frank (2013). "Cramér-Rao Lower Bound and Information Geometry". Connected at Infinity II. Texts and Readings in Mathematics. Vol. 67. pp. 18–37. arXiv:1301.3578. doi:10.1007/978-93-86279-56-9_2. ISBN 978-93-80250-51-9. S2CID 16759683.
  13. ^ Spall, J. C. (2005). "Monte Carlo Computation of the Fisher Information Matrix in Nonstandard Settings". Journal of Computational and Graphical Statistics. 14 (4): 889–909. doi:10.1198/106186005X78800. S2CID 16090098.
  14. ^ Spall, J. C. (2008), "Improved Methods for Monte Carlo Estimation of the Fisher Information Matrix," Proceedings of the American Control Conference, Seattle, WA, 11–13 June 2008, pp. 2395–2400. https://doi.org/10.1109/ACC.2008.4586850
  15. ^ Das, S.; Spall, J. C.; Ghanem, R. (2010). "Efficient Monte Carlo Computation of Fisher Information Matrix Using Prior Information". Computational Statistics and Data Analysis. 54 (2): 272–289. doi:10.1016/j.csda.2009.09.018.
  16. ^ Barndorff-Nielsen, O. E.; Cox, D. R. (1994). Inference and Asymptotics. Chapman & Hall. ISBN 9780412494406.
  17. ^ Cox, D. R.; Reid, N. (1987). "Parameter orthogonality and approximate conditional inference (with discussion)". J. Royal Statistical Soc. B. 49: 1–39.
  18. ^ Watanabe, S. (2008), Accardi, L.; Freudenberg, W.; Ohya, M. (eds.), "Algebraic geometrical method in singular statistical estimation", Quantum Bio-Informatics, World Scientific: 325–336, Bibcode:2008qbi..conf..325W, doi:10.1142/9789812793171_0024, ISBN 978-981-279-316-4.
  19. ^ Watanabe, S (2013). "A Widely Applicable Bayesian Information Criterion". Journal of Machine Learning Research. 14: 867–897.
  20. ^ Malagò, Luigi; Pistone, Giovanni (2015). "Information Geometry of the Gaussian Distribution in View of Stochastic Optimization". Proceedings of the 2015 ACM Conference on Foundations of Genetic Algorithms XIII. pp. 150–162. doi:10.1145/2725494.2725510. ISBN 9781450334341. S2CID 693896.
  21. ^ Mardia, K. V.; Marshall, R. J. (1984). "Maximum likelihood estimation of models for residual covariance in spatial regression". Biometrika. 71 (1): 135–46. doi:10.1093/biomet/71.1.135.
  22. ^ Zamir, R. (1998). "A proof of the Fisher information inequality via a data processing argument". IEEE Transactions on Information Theory. 44 (3): 1246–1250. CiteSeerX 10.1.1.49.6628. doi:10.1109/18.669301.
  23. ^ Polyanskiy, Yury (2017). "Lecture notes on information theory, chapter 29, ECE563 (UIUC)" (PDF). Lecture notes on information theory. Archived (PDF) from the original on 2022-05-24. Retrieved 2022-05-24.
  24. ^ Schervish, Mark J. (1995). Theory Statistics. Springer-Verlag. p. 113.
  25. ^ Lehmann & Casella, eq. (2.5.11).
  26. ^ Lehmann & Casella, eq. (2.6.16)
  27. ^ Janke, W.; Johnston, D. A.; Kenna, R. (2004). "Information Geometry and Phase Transitions". Physica A. 336 (1–2): 181. arXiv:cond-mat/0401092. Bibcode:2004PhyA..336..181J. doi:10.1016/j.physa.2004.01.023. S2CID 119085942.
  28. ^ Prokopenko, M.; Lizier, Joseph T.; Lizier, J. T.; Obst, O.; Wang, X. R. (2011). "Relating Fisher information to order parameters". Physical Review E. 84 (4): 041116. Bibcode:2011PhRvE..84d1116P. doi:10.1103/PhysRevE.84.041116. PMID 22181096. S2CID 18366894.
  29. ^ Costa, M.; Cover, T. (Nov 1984). "On the similarity of the entropy power inequality and the Brunn-Minkowski inequality". IEEE Transactions on Information Theory. 30 (6): 837–839. doi:10.1109/TIT.1984.1056983. ISSN 1557-9654.
  30. ^ Cover, Thomas M. (2006). Elements of information theory. Joy A. Thomas (2nd ed.). Hoboken, N.J.: Wiley-Interscience. p. 256. ISBN 0-471-24195-4. OCLC 59879802.
  31. ^ Pukelsheim, Friedrich (1993). Optimal Design of Experiments. New York: Wiley. ISBN 978-0-471-61971-0.
  32. ^ Bernardo, Jose M.; Smith, Adrian F. M. (1994). Bayesian Theory. New York: John Wiley & Sons. ISBN 978-0-471-92416-6.
  33. ^ Abbott, Larry F.; Dayan, Peter (1999). "The effect of correlated variability on the accuracy of a population code". Neural Computation. 11 (1): 91–101. doi:10.1162/089976699300016827. PMID 9950724. S2CID 2958438.
  34. ^ Parag, K.V.; Donnelly, C.A.; Zarebski, A.E. (2022). "Quantifying the information in noisy epidemic curves". Nature Computational Science. 2 (9): 584–594. doi:10.1038/s43588-022-00313-1. hdl:10044/1/100205. S2CID 248811793.
  35. ^ Streater, R. F. (2007). Lost Causes in and beyond Physics. Springer. p. 69. ISBN 978-3-540-36581-5.
  36. ^ Kirkpatrick, James; Pascanu, Razvan; Rabinowitz, Neil; Veness, Joel; Desjardins, Guillaume; Rusu, Andrei A.; Milan, Kieran; Quan, John; Ramalho, Tiago (2017-03-28). "Overcoming catastrophic forgetting in neural networks". Proceedings of the National Academy of Sciences. 114 (13): 3521–3526. arXiv:1612.00796. Bibcode:2017PNAS..114.3521K. doi:10.1073/pnas.1611835114. ISSN 0027-8424. PMC 5380101. PMID 28292907.
  37. ^ Martens, James (August 2020). "New Insights and Perspectives on the Natural Gradient Method". Journal of Machine Learning Research (21). arXiv:1412.1193.
  38. ^ da Fonseca, Maria; Samengo, In´es (1 December 2016). "Derivation of human chromatic discrimination ability from an information-theoretical notion of distance in color space". Neural Computation. 28 (12): 2628–2655. Retrieved 10 December 2023.
  39. ^ Gourieroux & Montfort (1995), page 87
  40. ^ Savage (1976)
  41. ^ Savage(1976), page 156
  42. ^ Edgeworth (September 1908, December 1908)
  43. ^ Pratt (1976)
  44. ^ Stigler (1978, 1986, 1999)
  45. ^ Hald (1998, 1999)

References[edit]