NMTScore: A Multilingual Analysis of Translation-based Text Similarity Measures

Jannis Vamvas, Rico Sennrich
4/28/2022
cs.CL

Official code: ZurichNLP/nmtscore (25 stars, Python, MIT, last commit 2023-12-11).

Abstract

Being able to rank the similarity of short text segments is an interesting bonus feature of neural machine translation. Translation-based similarity measures include direct and pivot translation probability, as well as translation cross-likelihood, which has not been studied so far.

Show full abstract

We analyze these measures in the common framework of multilingual NMT, releasing the NMTScore library (available at https://github.com/ZurichNLP/nmtscore). Compared to baselines such as sentence embeddings, translation-based measures prove competitive in paraphrase identification and are more robust against adversarial or multilingual input, especially if proper normalization is applied. When used for reference-based evaluation of data-to-text generation in 2 tasks and 17 languages, translation-based measures show a relatively high correlation to human judgments.

View on arXivView PDF

Code Implementations(1)

ZurichNLP/nmtscoreOfficial100%
MIT

A library of translation-based text similarity measures

255Python, Jupyter NotebookApr 11, 20222 years agoMIT

Similar Papers

Cite this paper

@article{vamvas2022nmtscore,
  title  = {NMTScore: A Multilingual Analysis of Translation-based Text Similarity Measures},
  author = {Jannis Vamvas and Rico Sennrich},
  year   = {2022},
  eprint = {2204.13692},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.13692}
}

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

Discussion