HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

CLEAR: Contrastive Learning for Sentence Representation

Zhuofeng Wu Sinong Wang Jiatao Gu Madian Khabsa Fei Sun Hao Ma

CLEAR: Contrastive Learning for Sentence Representation

Abstract

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 rarely studied. In this paper, we propose Contrastive LEArning for sentence Representation (CLEAR), which employs multiple sentence-level augmentation strategies in order to learn a noise-invariant sentence representation. These augmentations include word and span deletion, reordering, and substitution. Furthermore, we investigate the key reasons that make contrastive learning effective through numerous experiments. We observe that different sentence augmentations during pre-training lead to different performance improvements on various downstream tasks. Our approach is shown to outperform multiple existing methods on both SentEval and GLUE benchmarks.

Benchmarks

BenchmarkMethodologyMetrics
linguistic-acceptability-on-colaMLM+ del-span+ reorder
Accuracy: 64.3%
natural-language-inference-on-qnliMLM+ subs+ del-span
Accuracy: 93.4%
natural-language-inference-on-rteMLM+ del-span
Accuracy: 79.8%
question-answering-on-quora-question-pairsMLM+ subs+ del-span
Accuracy: 90.3%
semantic-textual-similarity-on-mrpcMLM+ del-word+ reorder
Accuracy: 90.6%
semantic-textual-similarity-on-sts-benchmarkMLM+ del-word
Pearson Correlation: 0.905
sentiment-analysis-on-sst-2-binaryMLM+ del-word+ reorder
Accuracy: 94.5

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
CLEAR: Contrastive Learning for Sentence Representation | Papers | HyperAI