CERT: Contrastive Self-supervised Learning for Language Understanding
Authors:
- Hongchao FangHFHongchao Fang
- Sicheng WangSWSicheng Wang
- Meng ZhouMZMeng Zhou
- Jiayuan DingJDJiayuan Ding
- Pengtao XiePXPengtao Xie
Preprint
Abstract
Pretrained language models such as BERT, GPT have shown great effectiveness in language understanding. The auxiliary predictive tasks in existing pretraining approaches are mostly defined on tokens, thus may not be able to capture sentence-level semantics very well. To address this issue, we propose CERT: Contrastive self-supervised Encoder Representations from Transformers, which pretrains language representation models using contrastive self-supervised learning at the sentence level. CERT creates augmentations of original sentences using back-translation. Then it finetunes a pretrained language encoder (e.g., BERT) by predicting whether two augmented sentences originate from the same sentence. CERT is simple to use and can be flexibly plugged into any pretraining-finetuning NLP pipeline. We evaluate CERT on 11 natural language understanding tasks in the GLUE benchmark where CERT outperforms BERT on 7 tasks, achieves the same performance as BERT on 2 tasks, and performs worse than BERT on 2 tasks. On the averaged score of the 11 tasks, CERT outperforms BERT. The data and code are available at https://github.com/UCSD-AI4H/CERTKeywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- ERNIE 2.0: A Continual Pre-Training Framework for Language UnderstandingProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Importance-Aware Learning for Neural Headline EditingProceedings of the AAAI Conference on Artificial Intelligence, 2020
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2020
- Contrastive Self-Supervised Learning for Commonsense Reasoning2020
- Neural Network Acceptability JudgmentsTransactions of the Association for Computational Linguistics, 2019
- EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Tasks2019
- Massive Exploration of Neural Machine Translation Architectures2017
- SQuAD: 100,000+ Questions for Machine Comprehension of Text2016
- Comparison of the predicted and observed secondary structure of T4 phage lysozymeBiochimica et Biophysica Acta (BBA) - Protein Structure, 1975