An Information Minimization Based Contrastive Learning Model for Unsupervised Sentence Embeddings Learning

Shaobin Chen, Jie Zhou, Yuling Sun, Liang He

Abstract

Unsupervised sentence embeddings learning has been recently dominated by contrastive learning methods (e.g., SimCSE), which keep positive pairs similar and push negative pairs apart. The contrast operation aims to keep as much information as possible by maximizing the mutual information between positive instances, which leads to redundant information in sentence embedding. To address this problem, we present an information minimization based contrastive learning InforMin-CL model to retain the useful information and discard the redundant information by maximizing the mutual information and minimizing the information entropy between positive instances meanwhile for unsupervised sentence representation learning. Specifically, we find that information minimization can be achieved by simple contrast and reconstruction objectives. The reconstruction operation reconstitutes the positive instance via the other positive instance to minimize the information entropy between positive instances. We evaluate our model on fourteen downstream tasks, including both supervised and unsupervised (semantic textual similarity) tasks. Extensive experimental results show that our InforMin-CL obtains a state-of-the-art performance.

Introduction

In Natural Language Processing (NLP), sentence embeddings are vector representations that capture the core meaning of text. Currently, the dominant paradigm for learning these without labeled data is Contrastive Learning. This method involves taking a sentence and creating two augmented "views" (e.g., via different dropout masks). The model is then trained to pull these "positive pairs" together in the vector space while pushing away "negative pairs" (other sentences in the batch).

However, a fundamental limitation of standard contrastive learning is that it maximizes Mutual Information (MI) between the views. While MI captures essential semantic content, it also inadvertently preserves "redundant information"—noise such as specific syntax, stop words, or stylistic quirks shared between the views. This redundancy can clutter the embedding space and degrade performance on downstream tasks.

The InforMin-CL Framework

To address the redundancy issue, we propose InforMin-CL (Information Minimization Based Contrastive Learning), a dual-objective framework designed to retain useful information while discarding noise.

The InforMin-CL framework combines a contrastive task with a reconstruction task to minimize redundant information.

The model employs two primary objectives:

  1. The Contrast Task (Maximizing Useful Info): Using the standard InfoNCE loss, the model learns to identify shared features between two versions of the same sentence ($z^1$ and $z^2$).
  2. The Reconstruction Task (Minimizing Redundant Info): This task requires the model to reconstruct the representation of one positive instance using the other. According to the "InfoMin Principle," if one view contains noise that the other lacks, that noise cannot be used for reconstruction. This forces the model to focus exclusively on the "shared core" of the sentence pair, effectively filtering out instance-specific redundancy.

The final loss function is defined as $L = L_{Contrast} + \lambda L_{Reconstruction}$, where $\lambda$ is a hyperparameter controlling the intensity of information discarding.

Experimental Setup

InforMin-CL was trained on 10^6 randomly sampled sentences from English Wikipedia in a completely unsupervised manner. Evaluation was conducted across fourteen downstream tasks:

  • Unsupervised Evaluation: Seven Semantic Textual Similarity (STS) tasks (STS 2012–2016, STS-B, and SICK-R) to measure correlation with human similarity judgments.
  • Supervised Evaluation: Seven transfer tasks, including sentiment analysis (MR, SST-2) and linguistic entailment (MRPC).

Results and Analysis

InforMin-CL achieves state-of-the-art performance on the STS benchmarks. Using a BERT-base backbone, the model reached an average score of 77.30%, outperforming SimCSE by 1.67%. Significant gains were also observed in supervised transfer tasks, with RoBERTa-based models showing improvements of up to 1.66%.

Alignment and Uniformity

A key insight from our analysis is the improvement in alignment (how close positive pairs are) and uniformity (how well embeddings are distributed across the space).

Alignment and uniformity trade-off for various models. InforMin-CL achieves superior alignment by stripping away redundant noise.

As shown in the figure above, InforMin-CL significantly improves alignment compared to baselines. By discarding redundant information that typically keeps positive pairs slightly apart, the model creates a more cohesive and semantically meaningful embedding space.

Conclusion

InforMin-CL demonstrates that "forgetting" can be as important as "remembering" in representation learning. By integrating an information minimization objective via reconstruction, the model effectively filters out noise, leading to superior sentence embeddings. Future work will focus on addressing the "false negative" problem in contrastive learning and improving the interpretability of the information discarding process.

Summary updated

BibTeX
@inproceedings{chen2022information,
  author = {Shaobin Chen and Jie Zhou and Yuling Sun and Liang He},
  title = {{An Information Minimization Based Contrastive Learning Model for Unsupervised Sentence Embeddings Learning}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=c0JzeMO0Z6},
}
Figure