Unsupervised Lexical Substitution with Decontextualised Embeddings

Takashi Wada, Timothy Baldwin, Yuji Matsumoto, Jey Han Lau
9/17/2022
cs.CLcs.AI

Official code: twadada/lexsub_decontextualised (4 stars, Python, Apache-2.0, last commit 2023-11-01).

Abstract

We propose a new unsupervised method for lexical substitution using pre-trained language models. Compared to previous approaches that use the generative capability of language models to predict substitutes, our method retrieves substitutes based on the similarity of contextualised and decontextualised word embeddings, i.e. the average contextual representation of a word in multiple contexts.

Show full abstract

We conduct experiments in English and Italian, and show that our method substantially outperforms strong baselines and establishes a new state-of-the-art without any explicit supervision or fine-tuning. We further show that our method performs particularly well at predicting low-frequency substitutes, and also generates a diverse list of substitute candidates, reducing morphophonetic or morphosyntactic biases induced by article-noun agreement.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for "Unsupervised Lexical Substitution with Decontextualised Embeddings" (COLING 2022)

42PythonSep 5, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{wada2022unsupervised,
  title  = {Unsupervised Lexical Substitution with Decontextualised Embeddings},
  author = {Takashi Wada and Timothy Baldwin and Yuji Matsumoto and Jey Han Lau},
  year   = {2022},
  eprint = {2209.08236},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.08236}
}

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/2209.08236.svg)](https://codeofpaper.com/paper/2209.08236)

Discussion