Training Effective Neural Sentence Encoders from Automatically Mined Paraphrases

Sławomir Dadas
7/26/2022
cs.CL

No official code found. Best implementation: sdadas/polish-sentence-evaluation (22 stars, GPL-3.0, last commit 2022-12-29).

Abstract

Sentence embeddings are commonly used in text clustering and semantic retrieval tasks. State-of-the-art sentence representation methods are based on artificial neural networks fine-tuned on large collections of manually labeled sentence pairs. Sufficient amount of annotated data is available for high-resource languages such as English or Chinese. In less popular languages, multilingual models have to be used, which offer lower performance. In this publication, we address this problem by proposing a method for training effective language-specific sentence encoders without manually labeled data. Our approach is to automatically construct a dataset of paraphrase pairs from sentence-aligned bilingual text corpora. We then use the collected data to fine-tune a Transformer language model with an additional recurrent pooling layer. Our sentence encoder can be trained in less than a day on a single graphics card, achieving high performance on a diverse set of sentence-level tasks. We evaluate our method on eight linguistic tasks in Polish, comparing it with the best available multilingual sentence encoders.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Evaluation of Sentence Representations in Polish

223Python, DockerfileJun 25, 20193 years agoGPL-3.0
natural-language-processingpolish-languagesentence-embeddingsword-embeddings

Similar Papers

Cite this paper

@article{dadas2022training,
  title  = {Training Effective Neural Sentence Encoders from Automatically Mined Paraphrases},
  author = {Sławomir Dadas},
  year   = {2022},
  eprint = {2207.12759},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.12759v1}
}

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

Discussion