Skip to main content
QUICK REVIEW

[Paper Review] How Can BERT Help Lexical Semantics Tasks?

Yile Wang, Leyang Cui|arXiv (Cornell University)|Nov 7, 2019
Natural Language Processing TechniquesComputer Science36 references5 citations
TL;DR

This paper proposes a method to enhance static word embeddings for lexical semantics tasks by integrating contextualized BERT representations during the training of a skip-gram model. By using BERT's dynamic embeddings to inform center word representations, the approach improves word similarity and analogy performance, achieving state-of-the-art results on seven benchmark datasets by better disambiguating word senses and capturing sentence-level semantics.

ABSTRACT

Contextualized embeddings such as BERT can serve as strong input representations to NLP tasks, outperforming their static embeddings counterparts such as skip-gram, CBOW and GloVe. However, such embeddings are dynamic, calculated according to a sentence-level context, which limits their use in lexical semantics tasks. We address this issue by making use of dynamic embeddings as word representations in training static embeddings, thereby leveraging their strong representation power for disambiguating context information. Results show that this method leads to improvements over traditional static embeddings on a range of lexical semantics tasks, obtaining the best reported results on seven datasets.

Motivation & Objective

  • To address the limitation of dynamic embeddings like BERT in lexical semantics tasks due to their context-dependent nature.
  • To improve static word embeddings by leveraging the rich contextual representations from BERT during training.
  • To develop a method that combines the strengths of static skip-gram models with the disambiguation power of contextualized embeddings.
  • To achieve better performance on word similarity and analogy benchmarks compared to existing static and dynamic embedding methods.

Proposed method

  • The method integrates BERT’s dynamic word embeddings into the skip-gram training process by using BERT’s contextualized representations as input for center words.
  • During training, the center word vector is dynamically updated using BERT’s sentence-level representations, allowing the model to capture word sense disambiguation.
  • The model retains the skip-gram objective of predicting context words, but with dynamically informed center word vectors from BERT.
  • The final static word embeddings are learned through backpropagation, combining the inductive bias of skip-gram with the semantic richness of BERT.
  • The approach avoids relying on pre-defined word senses or external disambiguation tools, enabling end-to-end learning.
  • The method is evaluated on standard lexical semantics benchmarks, including word similarity and analogy tasks.

Experimental results

Research questions

  • RQ1Can dynamic contextual embeddings like BERT be effectively leveraged to improve static word embeddings for lexical semantics tasks?
  • RQ2How does integrating BERT’s context-aware representations during skip-gram training affect performance on word similarity and analogy tasks?
  • RQ3Does the proposed method outperform both traditional static embeddings and direct averaging of BERT embeddings on lexical semantics benchmarks?
  • RQ4To what extent does the use of dynamic embeddings reduce ambiguity in word representations compared to static models?
  • RQ5How do the nearest neighbors and vector space geometry of the learned embeddings compare to human judgment and baseline models?

Key findings

  • The proposed method achieves the best reported results on seven lexical semantics datasets, outperforming both traditional static embeddings and direct BERT-based averaging.
  • The model significantly improves performance on word analogy tasks, particularly for 'capital-country' and 'nationality-adjective' pairs, where BERT token and BERT avg models underperform.
  • Nearest neighbor analysis shows that the model retrieves semantically coherent synonyms like 'whilst', 'whereas', and 'although' for the word 'while', aligning better with human intuition than baselines.
  • t-SNE visualization confirms that the model’s embeddings preserve consistent gender analogies across word pairs like 'he/she' and 'policeman/policewoman', demonstrating improved vector space geometry.
  • Attention visualization confirms that the model learns meaningful attention patterns, with high attention to semantically relevant context words and low attention to stop words like 'the'.
  • SynGCN underperforms on semantic analogies due to over-reliance on syntactic structure, while the proposed method balances semantics and context, yielding more robust representations.

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.