[Paper Review] An Unsupervised Sentence Embedding Method by Mutual Information Maximization
The paper introduces IS-BERT, an unsupervised sentence embedding model that maximizes mutual information between global sentence representations and local token contexts using BERT plus CNNs, achieving strong unsupervised and domain-adaptive performance.
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.
Motivation & Objective
- Motivate efficient sentence-pair tasks (e.g., clustering, semantic search) where BERT is too costly.
- Develop an unsupervised sentence encoder leveraging mutual information between global and local representations.
- Integrate BERT with CNN-based local context features to form expressive sentence embeddings.
- Propose a Jensen–Shannon MI estimator-based objective for unsupervised learning.”
- Demonstrate IS-BERT's effectiveness across STS, SentEval, and domain-specific tasks.”
Proposed method
- Encode sentences with BERT to obtain token embeddings.
- Apply multiple 1-D CNNs with window sizes (e.g., 1, 3, 5) on top of token embeddings to produce local n-gram representations.
- Compute a global sentence representation via mean pooling over token representations.
- Use a discriminator T_ω to estimate mutual information between each local token representation and the global sentence embedding via the Jensen–Shannon MI estimator.
- Train by maximizing the MI bound over batches, treating other sentences in the batch as negative samples for contrastive learning.
Experimental results
Research questions
- RQ1Can unsupervised training of sentence embeddings via mutual information maximize semantic utility without labeled data?
- RQ2Does integrating CNN-based local context with BERT improve unsupervised sentence representations?
- RQ3How does MI-based IS-BERT compare to other unsupervised and supervised sentence embeddings on STS and SentEval tasks?
- RQ4Is IS-BERT robust to domain shifts and effective for domain-specific NLP tasks without labels?
Key findings
- IS-BERT-NLI (unsupervised) outperforms other unsupervised baselines on STS tasks on average.
- IS-BERT-NLI is competitive with supervised baselines and in some cases exceeds InferSent on certain STS tasks.
- IS-BERT-AFS demonstrates strong unsupervised performance on domain-specific data where SBERT-NLI and InferSent underperform."
- Training IS-BERT with a self-supervised MI objective before supervised fine-tuning yields notable gains over direct fine-tuning, indicating effective domain adaptation.
- IS-BERT-task (unsupervised) achieves strong results across SentEval tasks, often surpassing several baselines and matching certain supervised methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.