Pointwise Mutual Information (PMI), also called point mutual information, measures assocation (relationships). Used to compare probability of two events occurring together vs probability of happening indepedently. Useful in NLP.
Definition
given a pair of outcomes, x,y , then pmi is: pmi(x;y)≡log2p(x)p(y)p(x,y)=log2p(x)p(x∣y)=log2p(y)p(y∣X)
The measure is symmetric: pmi(x;y)=pmi(y;x) If X and Y are independent then the value is 0. Higher value is higher assocation. Highest (perfect) assocation is 1. so bounds are: −∞≤pmi(x;y)≤min[−logp(x),−logp(y)]
Variants
Positive PMI: sets all negative values to 0, so ppmi(x;y)≡max(log2p(x),p(y)p(x,y),0)
Useful as negative assocation is not reliable. and avoids −∞
Normalized pointwise mutaul information (npmi): normalized to [−1,+1]. so −1 never occurs and +1 is occurs together completely: npmi(x;y)=h(x,y)pmi(x;y)
where h(x,y) is the self-information for both as −log2p(x,y).
PMIk family: measure for k=2,3, etc. defined as: pmik(x;y)≡log2p(x)p(y)p(x,y)k=pmi(x;y)−(−(k−1)log2p(x,y))
This is designed to boost frequent pair values and reduce bias towards low frequency cooccurrence events.
Specific correlation: part of total correlation as an extension of mutual information that applies to multi-variable occurrences. This is called Specific Correlation. SI for results of random variables x=(x1,x2,…,xn) is:
SI(x1,x2,...,xn)≡log∏i=1np(x1)p(x1,x2,…,xn)=logp(x)−log∏i=1np(xi)
Where ∏ multiplies all p(x) in xn together.