With More Contexts Comes Better Performance: Contextualized Sense Embeddings for All-Round Word Sense Disambiguation

Bianca Scarlini, Tommaso Pasini, Roberto NavigliEMNLP 2020

Abstract

Word Sense Disambiguation (WSD) is a core task in Natural Language Processing that involves identifying the correct meaning of a word in context. While supervised models excel, they are limited by the scarcity of manually annotated data. This paper introduces ARES (context-AwaRe Embeddings of Senses), a framework that bridges the gap between contextualized embeddings and structured knowledge bases. By automatically generating millions of synthetic training examples, ARES creates robust sense embeddings that enable a simple nearest-neighbor classifier to outperform complex supervised architectures across multiple languages and benchmarks.

What Problem Does This Paper Address?

In Natural Language Processing, Word Sense Disambiguation (WSD) is the task of determining which specific meaning of a word is being used in a given sentence (e.g., is "bank" a financial institution or the side of a river?).

Currently, the field faces a "knowledge bottleneck":

  1. Supervised models achieve high accuracy but require massive amounts of manually annotated data, which is expensive to produce and mostly exists only for English.
  2. Knowledge-based models use dictionaries like WordNet to scale across languages but generally perform worse because they lack the nuance captured by modern neural networks.
  3. Contextualized embeddings (like BERT) are powerful at capturing context but are "latent"—they do not inherently map to specific dictionary entries.

The authors address how to create embeddings for specific senses that live in the same mathematical space as BERT vectors, without needing millions of human-annotated examples.

Methods

The authors introduce ARES, which builds sense representations in three main steps:

  1. Context Extraction: Instead of relying on humans, ARES "self-labels" raw text from Wikipedia. It uses BERT to cluster occurrences of a word and a knowledge-based algorithm (UKB) to assign those clusters to specific WordNet senses. Crucially, they use SyntagNet (a database of word pairings) to find "collocation-aware" contexts—for example, if "play" and "guitar" appear together, it is a strong signal for the "musical instrument" sense of "play."
  2. Synset Embedding: They create a "concept vector" by averaging the BERT representations of all the automatically extracted contexts found in step one.
  3. Sense Embedding: Finally, they create the "All-Round" representation by concatenating and averaging three sources: the synthetic contexts, any available manually annotated data (from SemCor), and the dictionary definitions (glosses) from WordNet.

To perform WSD, the model takes a new sentence, generates a BERT vector for the target word, and finds the nearest ARES sense embedding using a 1-Nearest-Neighbor (1-NN) search.

Datasets and Scale

ARES utilizes WordNet as its primary sense inventory and SyntagNet for semantic collocations. The framework relies on Wikipedia as a raw corpus for context extraction and SemCor for standard manual annotations.

Statistics of the synthetic datasets used for ARES sense embeddings.

As shown in the data statistics, the automated pipeline generates over 13 million annotations across more than 77,000 synsets. This massive scale provides a much richer signal than the ~200k manual annotations available in SemCor, effectively addressing the data scarcity problem.

Key Results

ARES demonstrates that "more contexts" leads to superior performance. By leveraging millions of synthetic annotations, the model achieves state-of-the-art results without the need for expensive, task-specific fine-tuning.

Comparison of ARES against state-of-the-art supervised and knowledge-based models on English WSD benchmarks.
  • State-of-the-Art WSD: ARES achieved an F1 score of 77.9 on the unified English WSD benchmark, outperforming GlossBERT (77.0) and other complex supervised architectures.
  • Multilingual Dominance: In multilingual tasks, ARES outperformed its closest competitors by an average of 2.0 F1 points, beating previous knowledge-based embeddings (like SensEmBERT) by even larger margins.
  • Handling the Long Tail: ARES is particularly effective for rare words and "infrequent senses" that are often ignored by supervised models because they do not appear in small training sets.
  • WiC Task: When ARES embeddings were added as features to a standard BERT model, accuracy on the Word-in-Context task jumped by 2.6 points, making it competitive with models (like T5-3B) that have nearly 10 times the parameters.

Limitations and Future Work

While the model scales to other languages via mBERT, the initial context extraction still relies heavily on English resources. Additionally, while ARES covers all four main parts of speech (nouns, verbs, adjectives, adverbs), it is still bound by the coverage of the underlying Lexical Knowledge Base (WordNet). Future directions include applying these sense-aware embeddings to downstream tasks like Semantic Role Labeling and cross-lingual semantic parsing.

Summary updated

BibTeX
@inproceedings{scarlini2020with,
  author = {Bianca Scarlini and Tommaso Pasini and Roberto Navigli},
  title = {{With More Contexts Comes Better Performance: Contextualized Sense Embeddings for All-Round Word Sense Disambiguation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.285},
}
Figure