Word Sense Disambiguation
I left my bag on the bank. The bank rejected my loan. Same four letters, two unrelated things, and you resolved which was which without noticing you had done it. Word sense disambiguation is the task of making software do that deliberately: given a word in a sentence, decide which of its catalogued meanings is in play.
A labelling task with an unusual label set
WSD needs an inventory of senses to choose from, and that inventory is usually WordNet, where bank carries ten noun senses alone. The approaches divide into three families:
- knowledge-based — overlap the words surrounding the target with each sense's dictionary gloss, as the Lesk algorithm and its variants do;
- supervised — train a classifier per word on sense-annotated data such as SemCor, now typically over contextual embeddings from BERT, which already pull the senses apart geometrically;
- nearest-sense — embed each sense from its gloss and examples, then match a token's contextual vector to the closest one, which extends to words absent from the training data.
Why it matters downstream
Ambiguity is the price of a vocabulary that reuses forms, and it propagates. A translation system must commit to one of two unrelated target words. A search engine that cannot tell the animal jaguar from the car returns half a page of noise. Entity linking attaches a fact to the wrong real-world thing. The hard part is not the modelling but the inventory: senses shade into one another, annotators disagree about where to cut, and simply assigning each word its most frequent sense is a baseline that is embarrassingly difficult to beat.
Word sense disambiguation is the task of deciding which catalogued meaning of an ambiguous word applies in a given context — the river sense of bank or the financial one — choosing from a sense inventory such as WordNet. It is tackled with gloss-overlap heuristics, classifiers trained on sense-annotated corpora, or nearest-sense matching over contextual embeddings. Translation, search and entity linking all produce confident nonsense when the wrong sense is selected.
Think of a child who has learned that a bank is the grassy slope beside a river, then hears that mum is going to the bank to get some money. Same word, two unrelated meanings, and the only clue to which is meant is the rest of the sentence.
Word sense disambiguation is software doing that detective work on purpose: reading the surrounding words and deciding which meaning was intended.
It matters wherever a wrong guess is expensive. A translator that picks the wrong sense writes gibberish. A search for jaguar hands you sports cars when you wanted the animal. People do this constantly without noticing; machines have to be taught to notice.