CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understanding
Dong Wang, Ning Ding, Piji Li, Hai-Tao Zheng

TL;DR
CLINE introduces an unsupervised contrastive learning approach using semantic negative examples to enhance the robustness of pre-trained language models against semantic perturbations across various NLP tasks.
Contribution
The paper proposes a novel contrastive learning method with semantic negative examples, addressing the limitations of adversarial training for semantic robustness in NLP models.
Findings
Significant improvements on sentiment analysis, reasoning, and reading comprehension tasks.
Enhanced semantic robustness and better separation of different semantic representations.
Adversarial training can be ineffective or harmful for detecting semantic changes.
Abstract
Despite pre-trained language models have proven useful for learning high-quality semantic representations, these models are still vulnerable to simple perturbations. Recent works aimed to improve the robustness of pre-trained models mainly focus on adversarial training from perturbed examples with similar semantics, neglecting the utilization of different or even opposite semantics. Different from the image processing field, the text is discrete and few word substitutions can cause significant semantic changes. To study the impact of semantics caused by small perturbations, we conduct a series of pilot experiments and surprisingly find that adversarial training is useless or even harmful for the model to detect these semantic changes. To address this problem, we propose Contrastive Learning with semantIc Negative Examples (CLINE), which constructs semantic negative examples unsupervised…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Adversarial Robustness in Machine Learning · Multimodal Machine Learning Applications
MethodsContrastive Learning
