Skip to main content
QUICK REVIEW

[Paper Review] Using BERT for Word Sense Disambiguation

Jiaju Du, Fanchao Qi|arXiv (Cornell University)|Sep 18, 2019
Natural Language Processing TechniquesComputer Science27 references31 citations
TL;DR

This paper proposes fine-tuning BERT for Word Sense Disambiguation (WSD), using contextualized representations from BERT and incorporating sense definitions to improve performance on rare or unseen polysemes. The proposed BERT-def model achieves state-of-the-art results on the standard English All-words WSD benchmark, improving F1-score by 5.2% over prior methods.

ABSTRACT

Word Sense Disambiguation (WSD), which aims to identify the correct sense of a given polyseme, is a long-standing problem in NLP. In this paper, we propose to use BERT to extract better polyseme representations for WSD and explore several ways of combining BERT and the classifier. We also utilize sense definitions to train a unified classifier for all words, which enables the model to disambiguate unseen polysemes. Experiments show that our model achieves the state-of-the-art results on the standard English All-word WSD evaluation.

Motivation & Objective

  • To explore the effectiveness of fine-tuning BERT for the Word Sense Disambiguation (WSD) task, a long-standing challenge in NLP.
  • To address data scarcity for rare or unseen polysemes by leveraging sense definitions from lexical databases.
  • To improve WSD performance through a unified classifier trained on sense definitions, enabling zero-shot disambiguation of unseen words.
  • To compare different strategies for aggregating BERT’s hidden states corresponding to multi-piece polyseme tokens.
  • To evaluate the impact of external knowledge (sense definitions) in the context of powerful pre-trained language models like BERT.

Proposed method

  • Fine-tune BERT on the WSD task using a standard dataset, replacing standard feature engineering with contextualized BERT embeddings.
  • Aggregate BERT’s hidden states for multi-word-piece polysemes using average or max pooling to form a fixed-size context representation.
  • Concatenate the [CLS] token’s hidden state with the polyseme representation to incorporate global sentence context.
  • Use a two-layer MLP classifier to predict sense probabilities from the final polyseme representation.
  • Enhance the model by encoding sense definitions via a separate BERT encoder, creating sense vectors that are used to improve generalization on rare or unseen senses.
  • Train a unified classifier across all words using sense definitions, enabling zero-shot disambiguation of polysemes not seen during training.

Experimental results

Research questions

  • RQ1Can fine-tuning BERT on the WSD task significantly improve performance compared to previous state-of-the-art methods?
  • RQ2Does incorporating sense definitions from lexical databases improve generalization, especially for rare or unseen polysemes?
  • RQ3Which method of aggregating BERT’s hidden states (average, max, or concatenation with [CLS]) yields the best performance for WSD?
  • RQ4How does the model perform across different parts of speech and word frequency levels?
  • RQ5Does the use of external knowledge (sense definitions) remain beneficial when using powerful pre-trained models like BERT?

Key findings

  • The BERT-def model achieves a state-of-the-art F1-score of 76.3% on the overall English All-words WSD benchmark, outperforming the previous best model by 5.2 percentage points.
  • The model improves by 8 percentage points on unseen words (frequency 0 in training), demonstrating strong zero-shot generalization enabled by sense definitions.
  • The use of sense definitions increases F1-score across all datasets and parts of speech, with the largest gains on nouns and verbs, and a notable 5.2% improvement on the overall test set.
  • Average pooling of polyseme hidden states performs comparably to max pooling, while concatenating with the [CLS] vector degrades performance due to irrelevant global context.
  • The model maintains strong performance on low-frequency words, suggesting that contextual representations combined with sense definitions mitigate data sparsity.
  • The ablation study confirms that sense definitions are highly effective for rare senses, with performance gains decreasing as word frequency increases, indicating that the method best addresses data scarcity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.