An Unsupervised Sentence Embedding Method by Mutual Information Maximization

Yan Zhang, Ruidan He, Zuozhu Liu, Kwan Hui Lim, Lidong Bing
9/25/2020
cs.CLcs.LG

Official code: yanzhangnlp/IS-BERT (61 stars, Python, Apache-2.0, last commit 2021-02-08).

Abstract

BERT is inefficient for sentence-pair tasks such as clustering or semantic search as it needs to evaluate combinatorially many sentence pairs which is very time-consuming. Sentence BERT (SBERT) attempted to solve this challenge by learning semantically meaningful representations of single sentences, such that similarity comparison can be easily accessed.

Show full abstract

However, SBERT is trained on corpus with high-quality labeled sentence pairs, which limits its application to tasks where labeled data is extremely scarce. In this paper, we propose a lightweight extension on top of BERT and a novel self-supervised learning objective based on mutual information maximization strategies to derive meaningful sentence embeddings in an unsupervised manner. Unlike SBERT, our method is not restricted by the availability of labeled data, such that it can be applied on different domain-specific corpus. Experimental results show that the proposed method significantly outperforms other unsupervised sentence embedding baselines on common semantic textual similarity (STS) tasks and downstream supervised tasks. It also outperforms SBERT in a setting where in-domain labeled data is not available, and achieves performance competitive with supervised methods on various tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

An Unsupervised Sentence Embedding Method by Mutual Information Maximization (EMNLP2020)

6111PythonNov 26, 20205 years agoApache-2.0
bertsentence-embeddings

Similar Papers

Cite this paper

@article{zhang2020unsupervised,
  title  = {An Unsupervised Sentence Embedding Method by Mutual Information Maximization},
  author = {Yan Zhang and Ruidan He and Zuozhu Liu and Kwan Hui Lim and Lidong Bing},
  year   = {2020},
  eprint = {2009.12061},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.12061}
}

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

Discussion