An Information Theoretic Definition Of Similarity
An Information-Theoretic Definition of Similarity
Definitions
- Universality: Algorithm applies as long as a probabilistic model exists.
- Theoretical Justification: Measure is derived from a set of assumptions about similarity.
Definition of Similarity:
Based on "intuitions":
1) Similarity between 2 terms is based on commonality. More commonality more similarity 2) Inversely, the more different they are the less similar they are 3) Max similarity is reached when both values are identical, regardless of commonality
Assumptions
1) Commonality is measured by: 1) In information theory, information contained in a statement is measured by the negative logarithm of the probability statement:
- $I(common(A,B)) = -\log P(fruit(A) and fruit(B)$
- (Example based on fruits)
2) Difference is measured by:
- $I(description(A,B)) - I(common(A,B))$
- Where description() is a proposition that describes a and b.
3) similarity and differences between a and b, is the function of commonalities and differences:
- $sim(A,B)=f(I(common(A,B)),I(description(A,B)))$
- domain of $f$ is ${(x,y)|x\geq 0, y \gt 0, y \geq x}$
4) Similarity between identical objects is
- When no commonality the assumed score is 0.
5)
- Each perspective that A and B can be compared is computed separately.
6)
- **Similarity Theorem**: similarity is the ratio between a and b's amount of information:
- $sim(A,B) = \frac{\log P(common(A,B))}{\log P(description(A,B))}$
Similarity between Ordinal Values
Commonality between ordinal values is the average. E.g. Good+Average would put the commonality between good and average.
String Similarity
Three similarity measures were tried: 1) 1) where editdist is the min num of character insertions/deletions (replacements?) needed to transform one string to another 2) 1) tri(x) is the set of trigrams in x 2) tri(elequent) = {elo, log, oque, que, ent} 3) 1) trigrams assumed to be independent of other trigrams in the word
Similarity between words
is the amount of information contained in a set of features S.
Semantic Similarity in a Taxonomy
Information Content of two concepts in a taxonomy:
- Where and are probabilities that a randomly selected object belongs to C and .
- Assume it is a tree:
This will give the commonality (similarity) between two terms as value between 0 and 1. Wu Palmer's Algorithm:
Side Notes
- the symbol: is the universal quantifier, meaning "for all".
- Ordinal Values: values that are given in order, e.g.: quality: Excellent, Good, Average, Bad, Awful
- trigrams (AKA Trigraph): three letters united that make a single sound.
- Corpus: a collection of written texts
- : The overlap between two sets
- Semantic Similarity: similarity between two concepts in a taxonomy. (this is resnik) #math_notation (Private)