Reweighting Strategy based on Synthetic Data Identification for Sentence Similarity

Taehee Kim, ChaeHun Park, Jimin Hong, Radhika Dua, Edward Choi +1 more
8/29/2022
cs.CL

Official code: ddehun/coling2022_reweighting_sts (18 stars, Python, last commit 2022-09-04).

Abstract

Semantically meaningful sentence embeddings are important for numerous tasks in natural language processing. To obtain such embeddings, recent studies explored the idea of utilizing synthetically generated data from pretrained language models (PLMs) as a training corpus.

Show full abstract

However, PLMs often generate sentences much different from the ones written by human. We hypothesize that treating all these synthetic examples equally for training deep neural networks can have an adverse effect on learning semantically meaningful embeddings. To analyze this, we first train a classifier that identifies machine-written sentences, and observe that the linguistic features of the sentences identified as written by a machine are significantly different from those of human-written sentences. Based on this, we propose a novel approach that first trains the classifier to measure the importance of each sentence. The distilled information from the classifier is then used to train a reliable sentence embedding model. Through extensive evaluation on four real-world datasets, we demonstrate that our model trained on synthetic data generalizes well and outperforms the existing baselines. Our implementation is publicly available at https://github.com/ddehun/coling2022_reweighting_sts.

View on arXivView PDF

Code Implementations(1)

Official repository for "Reweighting Strategy based on Synthetic Data Identification for Sentence Similarity (COLING2022)"

181Python, ShellAug 18, 20224 years ago

Similar Papers

Cite this paper

@article{kim2022reweighting,
  title  = {Reweighting Strategy based on Synthetic Data Identification for Sentence Similarity},
  author = {Taehee Kim and ChaeHun Park and Jimin Hong and Radhika Dua and Edward Choi and Jaegul Choo},
  year   = {2022},
  eprint = {2208.13376},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.13376}
}

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

Discussion