# Using Information Content to Evaluate Semantic Similarity in a Taxonomy

Information content measures semantic similarity in a taxonomy better than edge counting

Philip Resnik · arXiv · 1995-11-29

- **Problem** Edge counting scores similarity by shortest is-a path, assuming every link covers the same distance. Real taxonomies like WordNet break that assumption, so path length misses shared meaning.
- **Method** The authors replace path length with information content, a negative log probability estimated from Brown Corpus counts. Similarity is the highest information content among the superclasses two concepts share.
- **Results** The information content measure reached a correlation of .7911 with human ratings, compared to .6645 for edge counting.

## Why path length misleads

Edge counting scores two concepts by the shortest is-a path between them, so a short path means high similarity. This works only if every link stands for the same distance, and that assumption is hard to define or control. In WordNet the gaps vary a lot: rabbit ears is-a television antenna is narrow, while phytoplankton is-a living thing is wide.

Densely populated sub-taxonomies, such as biological categories, make the problem worse. A distance count can't tell whether two concepts share much meaning, and that shared meaning is what similarity should capture.

## Information content as the replacement

The authors attach a probability to every concept, meaning the chance that an instance of the world falls under it. The information content of a concept is its negative log probability, \\(-\\log p(c)\\), so rarer and more specific concepts carry more of it. Probability can only rise as one moves up the taxonomy, so abstract concepts carry less information.

A unique top concept therefore has information content 0.

Similarity then depends on the information two concepts share, which is carried by the concepts that subsume both. The score takes the maximum information content over every concept that subsumes both, so the most informative shared class sets the value. This tends to pick the minimal upper bound, because a superclass is never more informative than its subordinates.

Multiple inheritance is where this matters: metal and chemical element can't be told apart structurally as upper bounds of nickel' and gold', yet their information content may differ.

## From corpus counts to word scores

The authors used WordNet's noun taxonomy of about 50,000 nodes, with noun counts from the Brown Corpus of roughly one million words. Each noun occurrence adds one count to every taxonomic class that contains the noun, so a count for dime also counts toward coin. A concept's frequency sums the counts of all words it subsumes, and its probability is that frequency divided by the total number of nouns observed.

Nouns not subsumed by any WordNet class are left out of that total.

For a concept pair the score is \\\[ sim(c\_1,c\_2)=\\max\_{c \\in S(c\_1,c\_2)}\\left\[-\\log p(c)\\right\] \\\] where S(c1, c2) is the set of concepts subsuming both. This matches the disjunctive treatment Rada et al. used with edge distances, where the minimum path length is taken.

The edge baseline is \\\[ sim\_{edge}(w\_1,w\_2)=(2\\times max)-\\min\_{c\_1,c\_2}len(c\_1,c\_2) \\\] so shorter paths give higher scores. Subtracting from twice the maximum depth only flips the sign of the correlation, so its magnitude is unchanged.

## Agreement with human ratings

The benchmark is the Miller and Charles set, in which 38 undergraduates rated 30 noun pairs from 0 to 4. The authors replicated it with ten subjects, and their mean ratings correlated .96 with the original means.

Because one noun was missing from WordNet, only 28 pairs could be scored, so the fair human reference is .9015 over those 28. The probability-only variant reached .6671, close to edge counting and well below the information-based measure. The table suggests the gain comes from the log transform, since probability alone sits near edge counting.

## Limitations

Spurious senses are the main failure the authors report, since both edge counting and this measure can inflate similarity for inappropriate senses. Tobacco and alcohol score 7.63 and tobacco and sugar score 3.56, but tobacco and horse score 8.26. Horse is a slang term for heroin, so both words fall under narcotic, which the authors note runs against intuition.

The authors expect such cases to be rare, but word-level scores depend on picking the right senses.

The authors propose weighting all shared classes by a relevance factor α, but no test of this variant appears in the paper. Leacock and Chodorow's log-based measure, built from normalized path length, outperformed the information-based measure in an initial run. In a follow-up with a larger set of noun pairs, the information-based measure performed better, so the relationship between the two remains open.

## Paper info

- **Authors**: Philip Resnik
- **Venue**: arXiv · Preprint
- **First published**: 1995-11-29
- **Added**: 2026-11-12
- **Updated**: 1995-11-29
- **Version**: v1
- **arXiv**: cmp-lg/9511007
- **Category**: cs.CL
- **Original paper terms**: [Check in the original ↗](https://arxiv.org/abs/cmp-lg/9511007v1)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/cmp-lg/9511007v1) · [PDF ↗](https://arxiv.org/pdf/cmp-lg/9511007v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Philip Resnik (1995). Using Information Content to Evaluate Semantic Similarity in a Taxonomy. arXiv:cmp-lg/9511007v1. https://arxiv.org/abs/cmp-lg/9511007v1

**BibTeX**

```
@misc{resnik1995using,
  title = {{Using Information Content to Evaluate Semantic Similarity in a Taxonomy}},
  author = {Philip Resnik},
  year = {1995},
  eprint = {cmp-lg/9511007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cmp-lg/9511007v1}
}
```

## Related papers

- [EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks](https://refivu.com/en/papers/6bc7db3b-907c-40de-8993-2cc4b32ed04f-eda-easy-data-augmentation-techniques-for-boosting.md)
- [Semantic Similarity Based on Corpus Statistics and Lexical Taxonomy](https://refivu.com/en/papers/fc160cc9-5a90-432c-8808-b3a1a431f015-semantic-similarity-based-on-corpus-statistics-and-lexical.md)
- [Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotations](https://refivu.com/en/papers/f53fd829-f514-4443-ae13-a5df28e84536-visual-genome-connecting-language-and-vision-using.md)
- [Semantic Similarity in a Taxonomy: An Information-Based Measure and its Application to Problems of Ambiguity in Natural Language](https://refivu.com/en/papers/2aedc905-eee8-4237-bf2e-929c6d3718a0-semantic-similarity-in-a-taxonomy-an-information-based.md)
- [The Google Similarity Distance](https://refivu.com/en/papers/bb278d2d-7ba0-4fc6-9c9b-7e248f6965c2-the-google-similarity-distance.md)

## Other paper commentary

- [Thumbs Up or Thumbs Down? Semantic Orientation Applied to Unsupervised Classification of Reviews](https://refivu.com/en/papers/6e4064ce-2095-4d56-8950-560f38e43e69-thumbs-up-or-thumbs-down-semantic-orientation-applied.md)
- [A large annotated corpus for learning natural language inference](https://refivu.com/en/papers/7e4b0424-7bbb-49b5-a1e2-69bf72d8d16b-a-large-annotated-corpus-for-learning-natural-language.md)
- [Recent Trends in Deep Learning Based Natural Language Processing](https://refivu.com/en/papers/6cdbf953-5aaa-4de2-9e22-528902a11655-recent-trends-in-deep-learning-based-natural-language.md)
- [A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference](https://refivu.com/en/papers/6a9a87c0-1034-4d6f-8def-43a3279e4725-a-broad-coverage-challenge-corpus-for-sentence-understanding.md)
- [Character-level Convolutional Networks for Text Classification](https://refivu.com/en/papers/7b769c87-9db2-455d-a744-b9548d185e67-character-level-convolutional-networks-for-text.md)
- [Bidirectional LSTM-CRF Models for Sequence Tagging](https://refivu.com/en/papers/7f421939-0d02-43b3-b25f-86a13896fd18-bidirectional-lstm-crf-models-for-sequence-tagging.md)
- [OpenAI o1 System Card](https://refivu.com/en/papers/86efdb99-0408-42d7-9138-ff8f4765106f-openai-o1-system-card.md)
- [NetVLAD: CNN architecture for weakly supervised place recognition](https://refivu.com/en/papers/2bcdc73b-8d7c-43d5-bbd7-bdc18c43eeaa-netvlad-cnn-architecture-for-weakly-supervised-place.md)
- [HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units](https://refivu.com/en/papers/4fe3f455-0287-4182-b603-63ebb7e4b5fc-hubert-self-supervised-speech-representation-learning-by.md)
- [Multi-View 3D Object Detection Network for Autonomous Driving](https://refivu.com/en/papers/f58134ec-87c8-446c-9cb7-11f607b68051-multi-view-3d-object-detection-network-for-autonomous.md)
- [Return of the Devil in the Details: Delving Deep into Convolutional Nets](https://refivu.com/en/papers/799263cd-4207-4a10-a587-306f8a7610b7-return-of-the-devil-in-the-details-delving.md)
- [Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real World](https://refivu.com/en/papers/3b804ec5-0ee6-4d18-8463-1dda78a4a6bf-domain-randomization-for-transferring-deep-neural-networks.md)

## Terms in this paper

- [Correlation](https://refivu.com/en/terms/b141275392c8-correlation)
- [WordNet](https://refivu.com/en/terms/e2fa1966a4a6-wordnet)
- [edge counting](https://refivu.com/en/terms/f551a8874bec-edge-counting)
- [information content](https://refivu.com/en/terms/daecaf7e6742-information-content)
- [semantic similarity](https://refivu.com/en/terms/6f01914ade31-semantic-similarity)
- [word similarity](https://refivu.com/en/terms/055b2da54441-word-similarity)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/23ad22de-7daf-406d-8e06-0f53f8035655-using-information-content-to-evaluate-semantic-similarity-in)
