ImSimCSE: Improving Contrastive Learning for Sentence Embeddings from Two Perspectives
Preprint
Abstract
This paper aims to improve contrastive learning for sentence embeddings from two perspectives: handling dropout noise and addressing feature corruption. Specifically, for the first perspective, we identify that the dropout noise from negative pairs affects the model's performance. Therefore, we propose a simple yet effective method to deal with such type of noise. Secondly, we pinpoint the rank bottleneck of current solutions to feature corruption and propose a dimension-wise contrastive learning objective to address this issue. Both proposed methods are generic and can be applied to any contrastive learning based models for sentence embeddings. Experimental results on standard benchmarks demonstrate that combining both proposed methods leads to a gain of 1.8 points compared to the strong baseline SimCSE configured with BERT base. Furthermore, applying the proposed method to DiffCSE, another strong contrastive learning based baseline, results in a gain of 1.4 points.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- SimCSE: Simple Contrastive Learning of Sentence Embeddings2021
- ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learning2021
- Self-Guided Contrastive Learning for BERT Sentence Representations2021
- DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representations2021
- Contrastive Learning for Many-to-many Multilingual Neural Machine Translation2021
- ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfer2021
- On the Sentence Embeddings from Pre-trained Language Models2020
- An Unsupervised Sentence Embedding Method by Mutual Information Maximization2020
- RobBERT: a Dutch RoBERTa-based Language Model2020
- Dense Passage Retrieval for Open-Domain Question Answering2020