Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes

Juraj Vladika, Stephen Meisenbacher, Florian Matthes
2/6/2025
cs.CL

No official code found. Best implementation: sebischair/ConCat (5 stars, MIT, last commit 2025-01-14).

Abstract

Lexical Substitution is the task of replacing a single word in a sentence with a similar one. This should ideally be one that is not necessarily only synonymous, but also fits well into the surrounding context of the target word, while preserving the sentence's grammatical structure. Recent advances in Lexical Substitution have leveraged the masked token prediction task of Pre-trained Language Models to generate replacements for a given word in a sentence. With this technique, we introduce ConCat, a simple augmented approach which utilizes the original sentence to bolster contextual information sent to the model. Compared to existing approaches, it proves to be very effective in guiding the model to make contextually relevant predictions for the target word. Our study includes a quantitative evaluation, measured via sentence similarity and task performance. In addition, we conduct a qualitative human analysis to validate that users prefer the substitutions proposed by our method, as opposed to previous methods. Finally, we test our approach on the prevailing benchmark for Lexical Substitution, CoInCo, revealing potential pitfalls of the benchmark. These insights serve as the foundation for a critical discussion on the way in which Lexical Substitution is evaluated.

View on arXivView PDF

Code Implementations(1)

sebischair/ConCatCommunity67%
MIT

Repository with the software for the ICAART paper "Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes"

50Perl, PythonJan 13, 20251 years agoMIT

Cite this paper

@article{vladika2025lexical,
  title  = {Lexical Substitution is not Synonym Substitution: On the Importance of Producing Contextually Relevant Word Substitutes},
  author = {Juraj Vladika and Stephen Meisenbacher and Florian Matthes},
  year   = {2025},
  eprint = {2502.04173},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.04173v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.04173.svg)](https://codeofpaper.com/paper/2502.04173)

Discussion