Word Sense Disambiguation

Word Sense Disambiguation #

Word sense disambiguation (WSD) chooses a meaning for a word occurrence in context. In “The bass swam past the reeds”, bass refers to a fish. In “The bass was too loud”, the context points to a low musical sound or instrument. A useful sense inventory is fine-grained enough for the application and consistent enough for people to annotate.

1. Word senses and WordNet #

Polysemy describes related meanings, such as paper as a material and paper as an article. Homonymy describes unrelated meanings with the same form, such as bat the animal and bat the implement. The boundary can be fuzzy.

WordNet groups lemmas that express the same sense into synsets. A lemma can belong to several synsets, each with a definition or gloss and sometimes examples. Useful links include hypernymy (a robin is a kind of bird), hyponymy (the inverse relation) and meronymy (a wheel is part of a car). Antonymy links contrasting lexical meanings.

2. Choosing a sense ☆ #

MethodEvidencePractical limitation
Most frequent sensePrior frequency for the lemmaCan miss a domain-specific usage
Simplified LeskOverlap between nearby words and each candidate glossExact overlap can be sparse
Supervised classifierSense-labelled examples and features such as neighbours, POS and collocationsNeeds labelled data for the chosen inventory
Contextual similaritySimilarity between the target’s contextual representation and sense glosses or examplesDepends on the quality of sense representations

A small Lesk example #

For “reeds grew along the river bank”, use the context tokens reeds, grew, along and river. Compare two simplified glosses, “land beside a river” and “institution that holds money”. The first gloss overlaps on river and scores one, while the second scores zero. In practice, define tokenisation, stop words and tie-breaking. A supervised Naïve Bayes model instead combines a prior for each sense with likelihoods for observed features. Collocational features can record that river occurs immediately to the left.

3. Disambiguation and sense induction #

Disambiguation assigns a sense from a defined inventory. Word sense induction groups occurrences by context to discover senses. For example, cluster contextual vectors for bank, then inspect examples from each cluster. A cluster can reflect a topic, writing style or sense, so inspect its members before naming it.

To evaluate WSD, compare predictions with held-out annotations and include a most-frequent-sense baseline. Report the inventory, dataset and handling of unlabelled predictions. Fine-grained senses can make even human agreement difficult.


Home | Natural Language Processing