HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

An Unsupervised Sentence Embedding Method by Mutual Information Maximization

Yan Zhang Ruidan He Zuozhu Liu Kwan Hui Lim Lidong Bing

An Unsupervised Sentence Embedding Method by Mutual Information Maximization

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. 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.

Code Repositories

yanzhangnlp/IS-BERT
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
semantic-textual-similarity-on-sickIS-BERT-NLI
Spearman Correlation: 0.6425
semantic-textual-similarity-on-sts-benchmarkIS-BERT-NLI
Spearman Correlation: 0.6921
semantic-textual-similarity-on-sts12IS-BERT-NLI
Spearman Correlation: 0.5677
semantic-textual-similarity-on-sts13IS-BERT-NLI
Spearman Correlation: 0.6924
semantic-textual-similarity-on-sts14IS-BERT-NLI
Spearman Correlation: 0.6121
semantic-textual-similarity-on-sts15IS-BERT-NLI
Spearman Correlation: 0.7523
semantic-textual-similarity-on-sts16IS-BERT-NLI
Spearman Correlation: 0.7016

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp