Integral probability metric

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In probability theory, integral probability metrics are types of distance functions between probability distributions, defined by how well a class of functions can distinguish the two distributions. Many important statistical distances are integral probability metrics, including the Wasserstein-1 distance and the total variation distance. In addition to theoretical importance, integral probability metrics are widely used in areas of statistics and machine learning.

The name "integral probability metric" was given by German statistician Alfred MΓΌller;[1] the distances had also previously been called "metrics with a ΞΆ-structure."[2]

Definition

[edit | edit source]

Integral probability metrics (IPMs) are distances on the space of distributions over a set 𝒳, defined by a class β„± of real-valued functions on 𝒳 as Dβ„±(P,Q)=supfβˆˆβ„±|𝔼X∼Pf(X)βˆ’π”ΌY∼Qf(Y)|=supfβˆˆβ„±|Pfβˆ’Qf|; here the notation P f refers to the expectation of f under the distribution P. The absolute value in the definition is unnecessary, and often omitted, for the usual case where for every fβˆˆβ„± its negation βˆ’f is also in β„±.

The functions f being optimized over are sometimes called "critic" functions;[3] if a particular f*βˆˆβ„± achieves the supremum, it is often termed a "witness function"[4] (it "witnesses" the difference in the distributions). These functions try to have large values for samples from P and small (likely negative) values for samples from Q; this can be thought of as a weaker version of classifers, and indeed IPMs can be interpreted as the optimal risk of a particular classifier.[5]: sec. 4 

The choice of β„± determines the particular distance; more than one β„± can generate the same distance.[1]

For any choice of β„±, Dβ„± satisfies all the definitions of a metric except that we may have we may have Dβ„±(P,Q)=0 for some P β‰  Q; this is variously termed a "pseudometric" or a "semimetric" depending on the community. For instance, using the class β„±={x↦0} which only contains the zero function, Dβ„±(P,Q) is identically zero. Dβ„± is a metric if and only if β„± separates points on the space of probability distributions, i.e. for any P β‰  Q there is some fβˆˆβ„± such that Pfβ‰ Qf;[1] most, but not all, common particular cases satisfy this property.

Examples

[edit | edit source]

All of these examples are metrics except when noted otherwise.

Relationship to f-divergences

[edit | edit source]

The f-divergences are probably the best-known way to measure dissimilarity of probability distributions. It has been shown[5]: sec. 2  that the only functions which are both IPMs and f-divergences are of the form cTV(P,Q), where c∈[0,∞] and TV is the total variation distance between distributions.

One major difference between f-divergences and most IPMs is that when P and Q have disjoint support, all f-divergences take on a constant value;[17] by contrast, IPMs where functions in β„± are "smooth" can give "partial credit." For instance, consider the sequence Ξ΄1/n of Dirac measures at 1/n; this sequence converges in distribution to Ξ΄0, and many IPMs satisfy Dβ„±(Ξ΄1/n,Ξ΄0)β†’0, but no nonzero f-divergence can satisfy this. That is, many IPMs are continuous in weaker topologies than f-divergences. This property is sometimes of substantial importance,[18] although other options also exist, such as considering f-divergences between distributions convolved with continuous noise[18][19] or informal convolutions between f-divergences and integral probability metrics.[20][21]

Estimation from samples

[edit | edit source]

Because IPM values between discrete distributions are often sensible, it is often reasonable to estimate Dβ„±(P,Q) using a simple "plug-in" estimator: Dβ„±(P^,Q^) where P^ and Q^ are empirical measures of sample sets. These empirical distances can be computed exactly for some classes β„±;[5] estimation quality varies depending on the distance, but can be minimax-optimal in certain settings.[14][22][23]

When exact maximization is not available or too expensive, another commonly used scheme is to divide the samples into "training" sets (with empirical measures P^π‘‘π‘Ÿπ‘Žπ‘–π‘› and Q^π‘‘π‘Ÿπ‘Žπ‘–π‘›) and "test" sets (P^𝑑𝑒𝑠𝑑 and Q^𝑑𝑒𝑠𝑑), find f^ approximately maximizing |P^π‘‘π‘Ÿπ‘Žπ‘–π‘›fβˆ’Q^π‘‘π‘Ÿπ‘Žπ‘–π‘›f|, then use |P^𝑑𝑒𝑠𝑑f^βˆ’Q^𝑑𝑒𝑠𝑑f^| as an estimate.[24][12][25][26] This estimator can possibly be consistent, but has a negative bias[24]: thm. 2 . In fact, no unbiased estimator can exist for any IPM[24]: thm. 3 , although there is for instance an unbiased estimator of the squared maximum mean discrepancy.[4]

References

[edit | edit source]
  1. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  5. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  7. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  8. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  9. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  10. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  11. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  12. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  13. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  14. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  15. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  16. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  17. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  18. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  19. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  20. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  21. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  22. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  23. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  24. ^ a b c Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  25. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  26. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).