Introduction
Sentence embeddings—dense vector representations of entire sentences—are fundamental to modern Natural Language Processing (NLP), enabling tasks such as semantic search, clustering, and similarity detection. While supervised models like Sentence-BERT (SBERT) achieve high performance, they require vast amounts of labeled data, which is often unavailable for specialized domains or low-resource languages. Unsupervised alternatives typically rely on contrastive learning, a process that requires carefully curated "negative" pairs to prevent representation collapse.
Researchers have introduced Bootstrapped Sentence Representation Learning (BSL), a novel framework that learns high-quality embeddings without labeled data or negative sampling. By adapting bootstrapping techniques from computer vision to NLP, BSL achieves state-of-the-art performance on semantic similarity tasks and provides a significant boost to existing supervised models.
Methodology: Bootstrapping Without Negatives
The BSL framework is inspired by the Bootstrap Your Own Latent (BYOL) architecture. It utilizes a two-branch Siamese Network consisting of an Online Network and a Target Network.
The Dual-Network Architecture
- Online Network: Comprises an encoder (e.g., BERT or RoBERTa) and a predictor head. This branch is updated via standard gradient descent.
- Target Network: Shares the same encoder structure but lacks a predictor. Its weights are updated as an Exponential Moving Average (EMA) of the Online Network's weights, and it does not receive gradient updates (stop-gradient).
Training Workflow
The training process begins with back-translation (e.g., English to German and back), which generates two distinct "views" of a single input sentence. The Online Network processes one view and attempts to predict the representation generated by the Target Network for the second view. The model minimizes the negative cosine similarity between these two representations. To prevent the "collapse" problem—where the model outputs a constant vector for all inputs—BSL relies on the asymmetric architecture (predictor only on one side) and the stop-gradient operation on the target branch.
Experimental Setup and Results
BSL was evaluated across several benchmarks, including Semantic Textual Similarity (STS), SentEval classification tasks, and multilingual STS. Training was conducted on unlabeled text from NLI datasets and the Toronto Book Corpus.
Performance on Semantic Similarity
BSL demonstrates significant improvements over previous unsupervised methods. On the STS benchmark, BSL-RoBERTa achieved an average score of 72.76, outperforming prior leaders such as IS-BERT (66.58) and BERT-flow (65.38).
Key Findings
- Superior Augmentation: Back-translation proved more effective than simpler methods like synonym replacement, as it preserves core meaning while introducing diverse syntactic structures.
- Supervised Enhancement: A notable practical application is using BSL as a post-training step for supervised models. Applying BSL to a pre-trained SRoBERTa model increased its average STS score from 74.21 to 78.91.
- Domain Robustness: BSL outperformed SBERT on the Argument Facet Similarity (AFS) dataset, indicating better generalization to domains outside the original training distribution.
Discussion and Future Work
BSL simplifies the training pipeline by removing the need for negative sampling and large batch sizes. However, its performance is currently linked to the quality of back-translation, which may be a limitation for low-resource languages. Future research may explore alternative NLP-specific augmentations to further enhance robustness and theoretical understanding of the stop-gradient mechanism in text-based bootstrapping.
Summary updated