Just "OneSeC" for Producing Multilingual Sense-Annotated Data

Bianca Scarlini, Tommaso Pasini, Roberto NavigliACL 2019

Introduction

Word Sense Disambiguation (WSD) is the task of identifying which specific meaning of a word is intended in a given context—for instance, distinguishing between "bank" as a financial institution and "bank" as the side of a river. While deep learning models have advanced WSD significantly, they remain constrained by the "knowledge acquisition bottleneck." High-quality, manually annotated data like SemCor exists for English, but such resources are scarce or non-existent for most other languages. Manual annotation is a slow, expensive process that requires linguistic expertise, making it difficult to scale.

The OneSeC Approach

To overcome this bottleneck, the authors propose OneSeC (One Sense per Wikipedia Category), a fully automatic, language-independent method for generating massive sense-annotated datasets. The core heuristic is simple yet powerful: if a word appears across various Wikipedia pages that all fall under a specific category (e.g., "Seasons"), it likely carries the same sense in all those instances. By leveraging the collaborative effort of Wikipedia editors, OneSeC transforms a general-purpose encyclopedia into a structured source of semantic supervision.

Methodology

The OneSeC pipeline operates in three distinct phases:

1. Category Representation

For a target lemma and a Wikipedia category, the system aggregates all sentences containing that word within the category to form a "Bag of Words" (BOW). This BOW serves as a contextual signature for the word's usage within that specific semantic domain. This process allows the model to distinguish between homonyms based on the thematic clusters they inhabit.

Comparison of Bag of Words (BOW) for different senses of the word "mouse".

2. Sense Assignment

The generated BOW is mapped to a specific sense in a knowledge base (such as WordNet or BabelNet). This is achieved by comparing the BOW to NASARI vectors—high-dimensional semantic representations—using a modified Weighted Overlap (WO) metric. To account for varying vocabulary sizes, the authors introduced a logarithmic weight factor to the overlap calculation, ensuring more robust sense mapping.

3. Sentence Sampling and Filtering

To create a high-quality training set, OneSeC does not simply use every available sentence. Instead, it employs two filtering strategies:

  • Zipfian Distribution: The system samples senses according to a Zipfian distribution to mimic the natural frequency of word meanings in real-world text.
  • Perplexity Filtering: A neural language model (WikiText103) is used to calculate the perplexity of each sentence. Only the most "natural-sounding" sentences—those with the lowest perplexity—are selected for the final dataset.
Impact of hyperparameters K (number of sentences) and z (Zipfian parameter) on F1 performance.

Experimental Results

OneSeC was evaluated across multiple benchmarks, languages, and domains, demonstrating remarkable versatility.

  • English Benchmarks: On the standard English "ALL" dataset, OneSeC achieved an F1 score of 64.9, outperforming the previous state-of-the-art automatic method, Train-O-Matic (62.3). It also proved competitive with models trained on the manually-annotated SemCor gold standard.
  • Multilingual Performance: The method set new records for multilingual WSD, outperforming existing systems by an average of 3.2 F1 points across Italian, Spanish, French, and German. In French, the improvement was particularly striking, reaching 7.4 points.
  • Domain Adaptation: OneSeC excels in specialized domains like Biology, Finance, and Politics. Because Wikipedia's category system is exhaustive, the method can generate training data for niche areas where manual annotation is entirely absent.

Conclusion

OneSeC represents a significant step toward truly multilingual and domain-agnostic WSD. By removing the dependency on complex semantic networks and manual labor, it provides a scalable shortcut for the NLP community. While currently focused on nouns due to the availability of NASARI vectors, future work aims to extend this approach to verbs and adjectives, further closing the gap in global semantic understanding. The authors have released over one million tagged sentences across five languages, providing a substantial resource for future research.

Summary updated

BibTeX
@inproceedings{scarlini2019just,
  author = {Bianca Scarlini and Tommaso Pasini and Roberto Navigli},
  title = {{Just "OneSeC" for Producing Multilingual Sense-Annotated Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1069},
}
Figure