Paraphrastic Representations at Scale

John Wieting, Kevin Gimpel, Graham Neubig, Taylor Berg-Kirkpatrick
4/30/2021
cs.CL

Official code: jwieting/paraphrastic-representations-at-scale (74 stars, Python, BSD-3-Clause, last commit 2021-07-02).

Abstract

We present a system that allows users to train their own state-of-the-art paraphrastic sentence representations in a variety of languages. We also release trained models for English, Arabic, German, French, Spanish, Russian, Turkish, and Chinese.

Show full abstract

We train these models on large amounts of data, achieving significantly improved performance from the original papers proposing the methods on a suite of monolingual semantic similarity, cross-lingual semantic similarity, and bitext mining tasks. Moreover, the resulting models surpass all prior work on unsupervised semantic textual similarity, significantly outperforming even BERT-based models like Sentence-BERT (Reimers and Gurevych, 2019). Additionally, our models are orders of magnitude faster than prior work and can be used on CPU with little difference in inference speed (even improved speed over GPU when using more CPU cores), making these models an attractive choice for users without access to GPUs or for use on embedded devices. Finally, we add significantly increased functionality to the code bases for training paraphrastic sentence models, easing their use for both inference and for training them for any desired language with parallel data. We also include code to automatically download and preprocess training data.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
747Python, ShellNov 17, 20205 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{wieting2021paraphrastic,
  title  = {Paraphrastic Representations at Scale},
  author = {John Wieting and Kevin Gimpel and Graham Neubig and Taylor Berg-Kirkpatrick},
  year   = {2021},
  eprint = {2104.15114},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.15114}
}

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

Discussion