TSDAE: Using Transformer-based Sequential Denoising Auto-Encoder for Unsupervised Sentence Embedding Learning

Kexin Wang, Nils Reimers, Iryna Gurevych
4/14/2021
cs.CL

Official code: UKPLab/pytorch-bertflow (71 stars, last commit 2021-09-08). 1 more implementation below.

Abstract

Learning sentence embeddings often requires a large amount of labeled data. However, for most tasks and domains, labeled data is seldom available and creating it is expensive. In this work, we present a new state-of-the-art unsupervised method based on pre-trained Transformers and Sequential Denoising Auto-Encoder (TSDAE) which outperforms previous approaches by up to 6.4 points. It can achieve up to 93.1% of the performance of in-domain supervised approaches. Further, we show that TSDAE is a strong domain adaptation and pre-training method for sentence embeddings, significantly outperforming other approaches like Masked Language Model. A crucial shortcoming of previous studies is the narrow evaluation: Most work mainly evaluates on the single task of Semantic Textual Similarity (STS), which does not require any domain knowledge. It is unclear if these proposed methods generalize to other domains and tasks. We fill this gap and evaluate TSDAE and other recent approaches on four different datasets from heterogeneous domains.

View on arXivView PDF

Code Implementations(2)

Pytorch-version BERT-flow: One can apply BERT-flow to any PLM within Pytorch framework.

7111PythonJul 28, 20215 years ago
UKPLab/usebOfficial100%
PyTorchApache-2.0

Heterogenous, Task- and Domain-Specific Benchmark for Unsupervised Sentence Embeddings used in the TSDAE paper: https://arxiv.org/abs/2104.06979.

302PythonJun 3, 20214 years agoApache-2.0
benchmarkdomain-adaptationinformation-retrievalnlpparaphrase-identification+6 more

Similar Papers

Cite this paper

@article{wang2021tsdae,
  title  = {TSDAE: Using Transformer-based Sequential Denoising Auto-Encoder for Unsupervised Sentence Embedding Learning},
  author = {Kexin Wang and Nils Reimers and Iryna Gurevych},
  year   = {2021},
  eprint = {2104.06979},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.06979}
}

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

Discussion