Bhattacharyya distance

From testwiki
Jump to navigation Jump to search

Template:Short description In statistics, the Bhattacharyya distance is a quantity which represents a notion of similarity between two probability distributions.[1] It is closely related to the Bhattacharyya coefficient, which is a measure of the amount of overlap between two statistical samples or populations.

It is not a metric, despite being named a "distance", since it does not obey the triangle inequality.

History

Both the Bhattacharyya distance and the Bhattacharyya coefficient are named after Anil Kumar Bhattacharyya, a statistician who worked in the 1930s at the Indian Statistical Institute.[2] He has developed this through a series of papers.[3][4][5] He developed the method to measure the distance between two non-normal distributions and illustrated this with the classical multinomial populations,[3] this work despite being submitted for publication in 1941, appeared almost five years later in Sankhya.[3][2] Consequently, Professor Bhattacharyya started working toward developing a distance metric for probability distributions that are absolutely continuous with respect to the Lebesgue measure and published his progress in 1942, at Proceedings of the Indian Science Congress[4] and the final work has appeared in 1943 in the Bulletin of the Calcutta Mathematical Society.[5]

Definition

For probability distributions P and Q on the same domain 𝒳, the Bhattacharyya distance is defined as

DB(P,Q)=ln(BC(P,Q))

where

BC(P,Q)=x𝒳P(x)Q(x)

is the Bhattacharyya coefficient for discrete probability distributions.

For continuous probability distributions, with P(dx)=p(x)dx and Q(dx)=q(x)dx where p(x) and q(x) are the probability density functions, the Bhattacharyya coefficient is defined as

BC(P,Q)=𝒳p(x)q(x)dx.

More generally, given two probability measures P,Q on a measurable space (𝒳,), let λ be a (sigma finite) measure such that P and Q are absolutely continuous with respect to λ i.e. such that P(dx)=p(x)λ(dx), and Q(dx)=q(x)λ(dx) for probability density functions p,q with respect to λ defined λ-almost everywhere. Such a measure, even such a probability measure, always exists, e.g. λ=12(P+Q). Then define the Bhattacharyya measure on (𝒳,) by

bc(dx|P,Q)=p(x)q(x)λ(dx)=P(dx)λ(dx)(x)Q(dx)λ(dx)(x)λ(dx).

It does not depend on the measure λ, for if we choose a measure μ such that λ and an other measure choice λ are absolutely continuous i.e. λ=l(x)μ and λ=l(x)μ, then

P(dx)=p(x)λ(dx)=p(x)λ(dx)=p(x)l(x)μ(dx)=p(x)l(x)μ(dx),

and similarly for Q. We then have

bc(dx|P,Q)=p(x)q(x)λ(dx)=p(x)q(x)l(x)μ(x)=p(x)l(x)q(x)l(x)μ(dx)=p(x)l(x)q(x)l(x)μ(dx)=p(x)q(x)λ(dx).

We finally define the Bhattacharyya coefficient

BC(P,Q)=𝒳bc(dx|P,Q)=𝒳p(x)q(x)λ(dx).

By the above, the quantity BC(P,Q) does not depend on λ, and by the Cauchy inequality 0BC(P,Q)1. Using P(dx)=p(x)λ(dx), and Q(dx)=q(x)λ(dx), BC(P,Q)=𝒳p(x)q(x)Q(dx)=𝒳P(dx)Q(dx)Q(dx)=EQ[P(dx)Q(dx)]

Gaussian case

Let p𝒩(μp,σp2), q𝒩(μq,σq2), where 𝒩(μ,σ2) is the normal distribution with mean μ and variance σ2; then

DB(p,q)=14(μpμq)2σp2+σq2+12ln(σp2+σq22σpσq).

And in general, given two multivariate normal distributions pi=𝒩(μi,Σi),

DB(p1,p2)=18(μ1μ2)TΣ1(μ1μ2)+12ln(detΣdetΣ1detΣ2),

where Σ=Σ1+Σ22.[6] Note that the first term is a squared Mahalanobis distance.

Properties

0BC1 and 0DB.

DB does not obey the triangle inequality, though the Hellinger distance 1BC(p,q) does.

Bounds on Bayes error

The Bhattacharyya distance can be used to upper and lower bound the Bayes error rate:

121214ρ2L*ρ

where ρ=𝔼η(X)(1η(X)) and η(X)=(Y=1|X) is the posterior probability.[7]

Applications

The Bhattacharyya coefficient quantifies the "closeness" of two random statistical samples.

Given two sequences from distributions P,Q, bin them into n buckets, and let the frequency of samples from P in bucket i be pi, and similarly for qi, then the sample Bhattacharyya coefficient is

BC(𝐩,𝐪)=i=1npiqi,

which is an estimator of BC(P,Q). The quality of estimation depends on the choice of buckets; too few buckets would overestimate BC(P,Q), while too many would underestimate.

A common task in classification is estimating the separability of classes. Up to a multiplicative factor, the squared Mahalanobis distance is a special case of the Bhattacharyya distance when the two classes are normally distributed with the same variances. When two classes have similar means but significantly different variances, the Mahalanobis distance would be close to zero, while the Bhattacharyya distance would not be.

The Bhattacharyya coefficient is used in the construction of polar codes.[8]

The Bhattacharyya distance is used in feature extraction and selection,[9] image processing,[10] speaker recognition,[11] phone clustering,[12] and in genetics.[13]

See also

References

Template:Reflist

  • Template:Springer
  • Statistical Intuition of Bhattacharyya's distance
  • Some of the properties of Bhattacharyya Distance
  • Nielsen, F.; Boltz, S. (2010). "The Burbea–Rao and Bhattacharyya centroids". IEEE Transactions on Information Theory. 57 (8): 5455–5466.[14]
  • Kailath, T. (1967). "The Divergence and Bhattacharyya Distance Measures in Signal Selection". IEEE Transactions on Communication Technology. 15 (1): 52–60.[15]
  • Djouadi, A.; Snorrason, O.; Garber, F. (1990). "The quality of Training-Sample estimates of the Bhattacharyya coefficient". IEEE Transactions on Pattern Analysis and Machine Intelligence. 12 (1): 92–97.[16]
  1. Template:Cite book
  2. 2.0 2.1 Template:Cite journal
  3. 3.0 3.1 3.2 Template:Cite journal
  4. 4.0 4.1 Template:Cite journal
  5. 5.0 5.1 Template:Cite journal
  6. Template:Cite journal
  7. Devroye, L., Gyorfi, L. & Lugosi, G. A Probabilistic Theory of Pattern Recognition. Discrete Appl Math 73, 192–194 (1997).
  8. Template:Cite journal
  9. Euisun Choi, Chulhee Lee, "Feature extraction based on the Bhattacharyya distance", Pattern Recognition, Volume 36, Issue 8, August 2003, Pages 1703–1709
  10. François Goudail, Philippe Réfrégier, Guillaume Delyon, "Bhattacharyya distance as a contrast parameter for statistical processing of noisy optical images", JOSA A, Vol. 21, Issue 7, pp. 1231−1240 (2004)
  11. Chang Huai You, "An SVM Kernel With GMM-Supervector Based on the Bhattacharyya Distance for Speaker Recognition", Signal Processing Letters, IEEE, Vol 16, Is 1, pp. 49-52
  12. Mak, B., "Phone clustering using the Bhattacharyya distance", Spoken Language, 1996. ICSLP 96. Proceedings., Fourth International Conference on, Vol 4, pp. 2005–2008 vol.4, 3−6 Oct 1996
  13. Template:Cite journal
  14. Template:Cite journal
  15. Template:Cite journal
  16. Template:Cite journal