Abstract
Contrastive learning has become a cornerstone for unsupervised sentence embeddings, yet it faces challenges from dropout noise and feature redundancy. We present SimCSE++, which introduces off-dropout sampling to eliminate harmful noise in negative pairs and a Dimension-wise Contrastive Learning (DCL) objective to mitigate feature corruption. Unlike previous methods, DCL avoids the "rank bottleneck" typical of high-dimensional optimization in small batches. Our approach yields a significant 1.8-point average gain over the SimCSE baseline on standard Semantic Textual Similarity (STS) benchmarks, setting a new state-of-the-art for unsupervised representations.
Introduction
Sentence embeddings are dense vector representations essential for semantic understanding in Natural Language Processing. A dominant framework, SimCSE, utilizes contrastive learning by applying dropout twice to a single sentence to create a "positive pair," while treating other sentences in the batch as "negative pairs." Despite its success, we identify two major flaws in this standard approach:
- Dropout Noise: While dropout creates diverse views for positive pairs, its application to negative samples introduces harmful variance that degrades discriminative power.
- Feature Corruption: Embedding dimensions often become highly correlated, limiting expressive power. Previous solutions like Barlow Twins fail in this context due to a "rank bottleneck"—the mathematical inability to optimize high-dimensional matrices with small training batches.
Methodology
Off-Dropout Sampling
Theoretical analysis based on Noise Contrastive Estimation (NCE) reveals a "Dropout Paradox": while diversity is essential for the target signal (positive pairs) to prevent trivial solutions, noise in the negative signal simply complicates the learning task.
As shown in the ablation study above, removing noise from negative pairs significantly improves performance (from 74.53 to 77.06 on average), whereas removing it from positive pairs causes a sharp decline. Consequently, SimCSE++ employs off-dropout sampling: dropout is active for the target sentence views but disabled when calculating representations for negative samples.
Dimension-wise Contrastive Learning (DCL)
To address feature corruption without hitting the rank bottleneck, we shift the contrastive objective from the sentence level to the dimension level. Instead of forcing a correlation matrix toward an identity matrix (which requires batch sizes larger than the embedding dimension), DCL encourages each dimension to be more "self-similar" across positive pairs than it is to other dimensions. This relative optimization bypasses the mathematical constraints of absolute regression in low-batch settings.
Experimental Results
We trained SimCSE++ using 1 million randomly sampled sentences from English Wikipedia and evaluated it on standard Semantic Textual Similarity (STS) tasks (2012–2016), STS-B, and SICK-Relatedness.
Main Performance
SimCSE++ achieves state-of-the-art results across multiple encoder architectures, including BERT and SBERT.
As detailed in the table above, SimCSE++ (BERT-base) achieves an average score of 78.05, a 1.8-point improvement over the original SimCSE. The method also demonstrates strong generalizability, providing a 1.4-point boost when applied to the stronger DiffCSE baseline.
Efficiency and Qualitative Analysis
Despite the additional DCL objective, SimCSE++ remains highly efficient. Training a BERT-base model takes approximately 1 hour and 59 minutes, only 9 minutes longer than the original SimCSE. Qualitatively, SimCSE++ shows superior retrieval capabilities on the Flickr30k dataset, better preserving specific semantic details (e.g., distinguishing "biting a finger" from "biting a twig") compared to its predecessors.
Conclusion
SimCSE++ provides a robust, "plug-and-play" enhancement to contrastive sentence embedding frameworks. By resolving the dropout paradox and bypassing the rank bottleneck through dimension-wise learning, it achieves significant performance gains with minimal computational overhead. Future work may explore non-random positive pair sampling and data-wise DCL strategies to further refine embedding quality.
Summary updated