CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understanding
摘要
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 to improve the robustness under semantically adversarial attacking. By comparing with similar and opposite semantic examples, the model can effectively perceive the semantic changes caused by small perturbations. Empirical results show that our approach yields substantial improvements on a range of sentiment analysis, reasoning, and reading comprehension tasks. And CLINE also ensures the compactness within the same semantics and separability across different semantics in sentence-level.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
- PMAES: Prompt-mapping Contrastive Learning for Cross-prompt Automated Essay Scoring 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- PMAES: Prompt-mapping Contrastive Learning for Cross-prompt Automated Essay Scoring 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
- RoCBert: Robust Chinese Bert with Multimodal Contrastive Pretraining 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- RoCBert: Robust Chinese Bert with Multimodal Contrastive Pretraining 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
- RoCBert: Robust Chinese Bert with Multimodal Contrastive Pretraining 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
- Contrastive Learning with Hard Negative Entities for Entity Set Expansion 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Contrastive Learning with Hard Negative Entities for Entity Set Expansion 引用了 SimCSE: Simple Contrastive Learning of Sentence Embeddings
- SimCSE: Simple Contrastive Learning of Sentence Embeddings 引用了 A Simple Framework for Contrastive Learning of Visual Representations
引用它的顶会 Paper13
- Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text ClassificationZihan Wang, Peiyi Wang, Lianzhe Huang, Xin Sun 等ACL 2022 · 157 次引用
- RoCBert: Robust Chinese Bert with Multimodal Contrastive PretrainingHui Su, Weiwei Shi, Xiaoyu Shen, Xiao Zhou 等ACL 2022 · 38 次引用
- GL-CLeF: A Global-Local Contrastive Learning Framework for Cross-lingual Spoken Language UnderstandingLibo Qin, Qiguang Chen, Tianbao Xie, Qixin Li 等ACL 2022 · 36 次引用
- Contrastive Learning with Hard Negative Entities for Entity Set ExpansionYinghui Li, Yangning Li, Yuxin He, Tianyu Yu 等SIGIR 2022 · 22 次引用
- PMAES: Prompt-mapping Contrastive Learning for Cross-prompt Automated Essay ScoringYuan Chen, Xia LiACL 2023 · 20 次引用
它引用的 Paper17
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger 等ICLR 2020 · 8,443 次引用
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 次引用
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
- Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 次引用
相关 Paper
- Debiased Contrastive Learning of Unsupervised Sentence RepresentationsKun Zhou, Beichen Zhang, Wayne Xin Zhao, Ji-Rong WenACL 2022 · 128 次引用
- RobustEmbed: Robust Sentence Embeddings Using Self-Supervised Contrastive Pre-TrainingJavad Rafiei Asl, Eduardo Blanco, Daniel TakabiEMNLP Findings 2023 · 3 次引用
- Alleviating Over-smoothing for Unsupervised Sentence RepresentationNuo Chen, Linjun Shou, Jian Pei, Ming Gong 等ACL 2023 · 10 次引用
- Similarizing the Influence of Words with Contrastive Learning to Defend Word-level Adversarial Text AttackPengwei Zhan, Jing Yang, He Wang, Chao Zheng 等ACL Findings 2023 · 4 次引用
- ContraBERT: Enhancing Code Pre-trained Models via Contrastive LearningShangqing Liu, Bozhi Wu, Xiaofei Xie, Guozhu Meng 等ICSE 2023 · 56 次引用
