Differentiable Data Augmentation for Contrastive Sentence Representation Learning
Fine-tuning a pre-trained language model via the contrastive learning framework with a large amount of unlabeled sentences or labeled sentence pairs is a common way to obtain high-quality sentence representations. Although the contrastive learning framework has shown its superiority on sentence representation learning over previous methods, the potential of such a framework is under-explored so far due to the simple method it used to construct positive pairs. Motivated by this, we propose a method that makes hard positives from the original training examples. A pivotal ingredient of our approach is the use of prefix that is attached to a pre-trained language model, which allows for differentiable data augmentation during contrastive learning. Our method can be summarized in two steps: supervised prefix-tuning followed by joint contrastive fine-tuning with unlabeled or labeled examples. Our experiments confirm the effectiveness of our data augmentation approach. The proposed method yields significant improvements over existing methods under both semi-supervised and supervised settings. Our experiments under a low labeled data setting also show that our method is more label-efficient than the state-of-the-art contrastive learning methods.
Code (1)
Tasks
Contrastive LearningData AugmentationLanguage ModelingLanguage ModellingRepresentation LearningSentenceMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Virtual Augmentation Supported Contrastive Learning of Sentence Representations
Despite profound successes, contrastive representation learning relies on carefully designed data augmentations using domain specific knowledge. This challenge is magnified in natural language processing where no general…
Contrastive LearningData AugmentationRepresentation LearningSentenceCLEAR: Contrastive Learning for Sentence Representation
Pre-trained language models have proven their unique powers in capturing implicit language features. However, most pre-training approaches focus on the word-level training objective, while sentence-level objectives are r…
Contrastive LearningLinguistic AcceptabilityNatural Language InferenceQuestion Answering+3DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings
We propose DiffCSE, an unsupervised contrastive learning framework for learning sentence embeddings. DiffCSE learns sentence embeddings that are sensitive to the difference between the original sentence and an edited sen…
Contrastive LearningLanguage ModelingLanguage ModellingRepresentation Learning+3SDA: Simple Discrete Augmentation for Contrastive Sentence Representation Learning
Contrastive learning has recently achieved compelling performance in unsupervised sentence representation. As an essential element, data augmentation protocols, however, have not been well explored. The pioneering work S…
Contrastive LearningData AugmentationDiversityNegation+3AugCSE: Contrastive Sentence Embedding with Diverse Augmentations
Data augmentation techniques have been proven useful in many applications in NLP fields. Most augmentations are task-specific, and cannot be used as a general-purpose tool. In our work, we present AugCSE, a unified frame…
Data AugmentationDomain AdaptationSemantic Textual SimilaritySentence+2