An Unsupervised Sentence Embedding Method by Mutual Information Maximization
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Semantic Textual Similarity | STS tasks (STS12, STS13, STS14, STS15, STS16, STS-B, SICK-R) various (test) | STS12 Score58.4 | 393 | |
| Subjectivity Classification | Subj | Accuracy94.96 | 266 | |
| Question Classification | TREC | Accuracy88.64 | 205 | |
| Semantic Textual Similarity | STS tasks (STS12, STS13, STS14, STS15, STS16, STS-B, SICK-R) | STS12 Score56.77 | 195 | |
| Opinion Polarity Detection | MPQA | Accuracy88.75 | 154 | |
| Sentiment Classification | MR | Accuracy81.09 | 148 | |
| Sentiment Classification | CR | Accuracy87.18 | 142 | |
| Sentence Classification Transfer Tasks | SentEval transfer tasks | Average Accuracy0.8583 | 99 | |
| Semantic Textual Similarity | STS-B | Spearman's Rho (x100)69.21 | 70 | |
| Transfer Learning | SentEval Transfer Learning Tasks (test) | MR81.09 | 52 |