Skip to main content
QUICK REVIEW

[Paper Review] A Comparative Study of Lexical Substitution Approaches based on Neural Language Models

Nikolay Arefyev, Boris Sheludko|arXiv (Cornell University)|May 29, 2020
Natural Language Processing TechniquesComputer Science5 citations
TL;DR

This paper presents a large-scale comparative analysis of state-of-the-art neural language and masked language models—BERT, ELMo, XLNet, and context2vec—for lexical substitution. It demonstrates that injecting target word information significantly improves performance and reveals that model choice affects the semantic relations (e.g., synonyms, co-hyponyms) generated, offering practical guidance for NLP applications like word sense induction and data augmentation.

ABSTRACT

Lexical substitution in context is an extremely powerful technology that can be used as a backbone of various NLP applications, such as word sense induction, lexical relation extraction, data augmentation, etc. In this paper, we present a large-scale comparative study of popular neural language and masked language models (LMs and MLMs), such as context2vec, ELMo, BERT, XLNet, applied to the task of lexical substitution. We show that already competitive results achieved by SOTA LMs/MLMs can be further improved if information about the target word is injected properly, and compare several target injection methods. In addition, we provide analysis of the types of semantic relations between the target and substitutes generated by different models providing insights into what kind of words are really generated or given by annotators as substitutes.

Motivation & Objective

  • To evaluate and compare the performance of modern neural language models (BERT, ELMo, XLNet, context2vec) on lexical substitution using intrinsic benchmarks.
  • To investigate how different neural language models generate semantic relations (e.g., synonyms, co-hyponyms) between target words and substitutes, both for models and human annotators.
  • To analyze the impact of injecting target word information into the model input on substitution quality and semantic relation distribution.
  • To assess the utility of lexical substitution models in extrinsic tasks such as word sense induction and text data augmentation.
  • To provide practical guidelines for selecting appropriate models based on desired semantic relations in downstream NLP applications.

Proposed method

  • Fine-tuned BERT, ELMo, XLNet, and context2vec models for lexical substitution using masked language modeling and contextualized embeddings.
  • Applied target word injection techniques, including replacing the target word with a candidate substitute and using similarity metrics between contextual representations.
  • Used cosine similarity between contextualized embeddings of the original and substitute-replaced sentences to rank candidate substitutes.
  • Combined model outputs with pre-trained word embeddings (e.g., from word2vec) to improve semantic relevance and reduce out-of-vocabulary (OOC) errors.
  • Developed a graphical user interface for interactive model selection and input processing to enhance interpretability.
  • Mapped generated substitutes to WordNet synsets to classify semantic relations (synonyms, hypernyms, co-hyponyms, etc.) and analyze distributional patterns.

Experimental results

Research questions

  • RQ1How do BERT, ELMo, XLNet, and context2vec compare in performance on intrinsic lexical substitution benchmarks?
  • RQ2What types of semantic relations (e.g., synonyms, co-hyponyms, hypernyms) do different neural language models generate between target words and substitutes?
  • RQ3How does injecting information about the target word affect the quality and semantic coherence of lexical substitution outputs?
  • RQ4To what extent can lexical substitution models improve performance in extrinsic tasks such as word sense induction and data augmentation?
  • RQ5How do human-annotated substitutes compare to model-generated substitutes in terms of semantic relation types and accuracy?

Key findings

  • XLNet outperformed BERT and other models on lexical substitution benchmarks, especially when combined with word embeddings.
  • Injecting target word information significantly improved substitution quality, reducing out-of-vocabulary (OOC) errors and increasing semantic coherence.
  • BERT and XLNet generated a proportion of synonyms and co-hyponyms comparable to human-annotated gold standards, particularly when combined with word embeddings.
  • Models without target injection (e.g., context2vec, ELMo) produced significantly more OOC substitutes and fewer meaningful semantic relations.
  • The combination of model outputs with word embeddings increased the proportion of direct synonyms and co-hyponyms while reducing transitive relations and OOCs.
  • Human annotators made errors in part-of-speech tagging for substitutes (15% for adjectives, 25% for adverbs), which influenced relation classification, highlighting the challenge of semantic consistency.

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.