CLINE: Contrastive Learning with Semantic Negative Examples for Natural Language Understanding
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 50 papers in the map (data through 14 Oct 2026). Builds on 38 of its 46 references that are in the map. First posted on arXiv 1 Jul 2021.
Builds on
38 of 46 references.
References · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2018Deep Graph Infomaxcited by 1,106
26 more
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 920
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 306
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 264
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 254
- 2019Contrastive Learning of Structured World Modelscited by 209
- 2018An efficient framework for learning sentence representationscited by 198
- 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
- 2019Seeing Things from a Different Angle: Discovering Diverse Perspectives about Claimscited by 74
- 2020It's Morphin' Time! Combating Linguistic Discrimination with Inflectional Perturbationscited by 64
- 2019On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Modelscited by 56
- 2020Pretraining with Contrastive Sentence Objectives Improves Discourse Performance of Language Modelscited by 50
- 2018Robust Machine Comprehension Models via Adversarial Trainingcited by 44
- 2021Prototypical Representation Learning for Relation Extractioncited by 33
- 2020Dialogue Response Selection with Hierarchical Curriculum Learningcited by 27
- 2020TAVAT: Token-Aware Virtual Adversarial Training for Language Understandingcited by 8
- 2020CAPT: Contrastive Pre-Training for Learning Denoised Sequence Representationscited by 8
- 2020Commonsense knowledge adversarial dataset that challenges ELECTRAcited by 1
Built on by
Citing papers per year: 2021: 6; 2022: 20; 2023: 15; 2024: 6; 2025: 2; 2026: 1.
50 papers.
Sort:
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2021Prompt-Learning for Fine-Grained Entity Typingcited by 62
- 2022The Past Mistake is the Future Wisdom: Error-driven Contrastive Probability Optimization for Chinese Spell Checkingcited by 56
- 2022Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classificationcited by 52
- 2022Knowledge Graph Contrastive Learning Based on Relation-Symmetrical Structurecited by 43
- 2022Contrastive Learning with Hard Negative Entities for Entity Set Expansioncited by 26
- 2022Exploring the Impact of Negative Samples of Contrastive Learning: A Case Study of Sentence Embeddingcited by 25
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relationscited by 22
- 2023Whitening-based Contrastive Learning of Sentence Embeddingscited by 21
- 2021ReMeDi: Resources for Multi-domain, Multi-service, Medical Dialoguescited by 20
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 15
- 2022GL-CLeF: A Global-Local Contrastive Learning Framework for Cross-lingual Spoken Language Understandingcited by 14
38 more
- 2022DictBERT: Dictionary Description Knowledge Enhanced Language Model Pre-training via Contrastive Learningcited by 11
- 2023Contrastive Meta-Learning for Few-shot Node Classificationcited by 11
- 2024MESEN: Exploit Multimodal Data to Design Unimodal Human Activity Recognition with Few Labelscited by 11
- 2022Feature-Level Debiased Natural Language Understandingcited by 10
- 2022Supervised Graph Contrastive Learning for Few-shot Node Classificationcited by 9
- 2022A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inferencecited by 8
- 2022Label Anchored Contrastive Learning for Language Understandingcited by 7
- 2024Contrast Sets for Evaluating Language-Guided Robot Policiescited by 7
- 2025Efficient Evaluation of Multi-Task Robot Policies With Active Experiment Selectioncited by 7
- 2025Imputation-free and Alignment-free: Incomplete Multi-view Clustering Driven by Consensus Semantic Learningcited by 7
- 2022Contrastive Learning with Prompt-derived Virtual Semantic Prototypes for Unsupervised Sentence Embeddingcited by 6
- 2023Medical Question Summarization with Entity-driven Contrastive Learningcited by 5
- 2021Self-Supervised Contrastive Learning with Adversarial Perturbations for Defending Word Substitution-based Attackscited by 4
- 2021Simple Contrastive Representation Adversarial Learning for NLP Taskscited by 4
- 2022Arithmetic-Based Pretraining -- Improving Numeracy of Pretrained Language Modelscited by 3
- 2022MoNET: Tackle State Momentum via Noise-Enhanced Training for Dialogue State Trackingcited by 3
- 2022A Dual-Contrastive Framework for Low-Resource Cross-Lingual Named Entity Recognitioncited by 2
- 2022To Answer or Not to Answer? Improving Machine Reading Comprehension Model with Span-based Contrastive Learningcited by 2
- 2022CLOWER: A Pre-trained Language Model with Contrastive Learning over Word and Character Representationscited by 2
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsingcited by 2
- 2023SMoA: Sparse Mixture of Adapters to Mitigate Multiple Dataset Biasescited by 2
- 2023Semantic Specialization for Knowledge-based Word Sense Disambiguationcited by 2
- 2024RobustSentEmbed: Robust Sentence Embeddings Using Adversarial Self-Supervised Contrastive Learningcited by 2
- 2024Model Attribution in LLM-Generated Disinformation: A Domain Generalization Approach with Supervised Contrastive Learningcited by 2
- 2021CLLD: Contrastive Learning with Label Distance for Text Classificationcited by 1
- 2022Contrastive Learning of Sociopragmatic Meaning in Social Mediacited by 1
- 2023Dialogue State Distillation Network with Inter-slot Contrastive Learning for Dialogue State Trackingcited by 1
- 2023Sen2Pro: A Probabilistic Perspective to Sentence Embedding from Pre-trained Language Modelcited by 1
- 2023DenseMP: Unsupervised Dense Pre-training for Few-shot Medical Image Segmentationcited by 1
- 2023A Soft Contrastive Learning-based Prompt Model for Few-shot Sentiment Analysiscited by 1
- 2022Few-shot Text Classification with Dual Contrastive Consistencycited by 0
- 2022TCBERT: A Technical Report for Chinese Topic Classification BERTcited by 0
- 2023D2CSE: Difference-aware Deep continuous prompts for Contrastive Sentence Embeddingscited by 0
- 2023A Simple and Plug-and-play Method for Unsupervised Sentence Representation Enhancementcited by 0
- 2023Contrastive Bootstrapping for Label Refinementcited by 0
- 2023FastDoc: Domain-Specific Fast Continual Pre-training Technique using Document-Level Metadata and Taxonomycited by 0
- 2024Dual-perspective Cross Contrastive Learning in Graph Transformerscited by 0
- 2026ViCLSR: A Supervised Contrastive Learning Framework with Natural Language Inference for Natural Language Understanding Taskscited by 0
- 2026ViCLSR: A Supervised Contrastive Learning Framework with Natural Language Inference for Natural Language Understanding Tasks22 Mar 2026
- 2025Imputation-free and Alignment-free: Incomplete Multi-view Clustering Driven by Consensus Semantic Learning16 May 2025
- 2025Efficient Evaluation of Multi-Task Robot Policies With Active Experiment Selection14 Feb 2025
- 2024Model Attribution in LLM-Generated Disinformation: A Domain Generalization Approach with Supervised Contrastive Learning31 Jul 2024
- 2024Contrast Sets for Evaluating Language-Guided Robot Policies19 Jun 2024
- 2024Dual-perspective Cross Contrastive Learning in Graph Transformers1 Jun 2024
- 2024MESEN: Exploit Multimodal Data to Design Unimodal Human Activity Recognition with Few Labels2 Apr 2024
- 2024RobustSentEmbed: Robust Sentence Embeddings Using Adversarial Self-Supervised Contrastive Learning17 Mar 2024
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applications27 Feb 2024
- 2023A Soft Contrastive Learning-based Prompt Model for Few-shot Sentiment Analysis16 Dec 2023
- 2023DenseMP: Unsupervised Dense Pre-training for Few-shot Medical Image Segmentation13 Jul 2023
- 2023Contrastive Meta-Learning for Few-shot Node Classification27 Jun 2023
38 more
- 2023FastDoc: Domain-Specific Fast Continual Pre-training Technique using Document-Level Metadata and Taxonomy9 Jun 2023
- 2023Contrastive Bootstrapping for Label Refinement7 Jun 2023
- 2023Sen2Pro: A Probabilistic Perspective to Sentence Embedding from Pre-trained Language Model4 Jun 2023
- 2023Whitening-based Contrastive Learning of Sentence Embeddings28 May 2023
- 2023A Simple and Plug-and-play Method for Unsupervised Sentence Representation Enhancement13 May 2023
- 2023Semantic Specialization for Knowledge-based Word Sense Disambiguation22 Apr 2023
- 2023D2CSE: Difference-aware Deep continuous prompts for Contrastive Sentence Embeddings18 Apr 2023
- 2023Medical Question Summarization with Entity-driven Contrastive Learning15 Apr 2023
- 2023SMoA: Sparse Mixture of Adapters to Mitigate Multiple Dataset Biases28 Feb 2023
- 2023Dialogue State Distillation Network with Inter-slot Contrastive Learning for Dialogue State Tracking16 Feb 2023
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsing19 Jan 2023
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relations6 Jan 2023
- 2022Feature-Level Debiased Natural Language Understanding11 Dec 2022
- 2022TCBERT: A Technical Report for Chinese Topic Classification BERT21 Nov 2022
- 2022Knowledge Graph Contrastive Learning Based on Relation-Symmetrical Structure19 Nov 2022
- 2022MoNET: Tackle State Momentum via Noise-Enhanced Training for Dialogue State Tracking10 Nov 2022
- 2022Contrastive Learning with Prompt-derived Virtual Semantic Prototypes for Unsupervised Sentence Embedding7 Nov 2022
- 2022Few-shot Text Classification with Dual Contrastive Consistency29 Sep 2022
- 2022CLOWER: A Pre-trained Language Model with Contrastive Learning over Word and Character Representations23 Aug 2022
- 2022To Answer or Not to Answer? Improving Machine Reading Comprehension Model with Span-based Contrastive Learning2 Aug 2022
- 2022DictBERT: Dictionary Description Knowledge Enhanced Language Model Pre-training via Contrastive Learning1 Aug 2022
- 2022A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inference31 May 2022
- 2022Arithmetic-Based Pretraining -- Improving Numeracy of Pretrained Language Models13 May 2022
- 2022Label Anchored Contrastive Learning for Language Understanding26 Apr 2022
- 2022GL-CLeF: A Global-Local Contrastive Learning Framework for Cross-lingual Spoken Language Understanding18 Apr 2022
- 2022Contrastive Learning with Hard Negative Entities for Entity Set Expansion16 Apr 2022
- 2022A Dual-Contrastive Framework for Low-Resource Cross-Lingual Named Entity Recognition2 Apr 2022
- 2022Supervised Graph Contrastive Learning for Few-shot Node Classification29 Mar 2022
- 2022Contrastive Learning of Sociopragmatic Meaning in Social Media15 Mar 2022
- 2022Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification8 Mar 2022
- 2022The Past Mistake is the Future Wisdom: Error-driven Contrastive Probability Optimization for Chinese Spell Checking2 Mar 2022
- 2022Exploring the Impact of Negative Samples of Contrastive Learning: A Case Study of Sentence Embedding26 Feb 2022
- 2021Simple Contrastive Representation Adversarial Learning for NLP Tasks26 Nov 2021
- 2021CLLD: Contrastive Learning with Label Distance for Text Classification25 Oct 2021
- 2021ReMeDi: Resources for Multi-domain, Multi-service, Medical Dialogues1 Sep 2021
- 2021Prompt-Learning for Fine-Grained Entity Typing24 Aug 2021
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processing12 Aug 2021
- 2021Self-Supervised Contrastive Learning with Adversarial Perturbations for Defending Word Substitution-based Attacks15 Jul 2021
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2021Prompt-Learning for Fine-Grained Entity Typingcited by 62
- 2022The Past Mistake is the Future Wisdom: Error-driven Contrastive Probability Optimization for Chinese Spell Checkingcited by 56
- 2022Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classificationcited by 52
- 2022Knowledge Graph Contrastive Learning Based on Relation-Symmetrical Structurecited by 43
- 2022Contrastive Learning with Hard Negative Entities for Entity Set Expansioncited by 26
- 2022Exploring the Impact of Negative Samples of Contrastive Learning: A Case Study of Sentence Embeddingcited by 25
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relationscited by 22
- 2023Whitening-based Contrastive Learning of Sentence Embeddingscited by 21
- 2021ReMeDi: Resources for Multi-domain, Multi-service, Medical Dialoguescited by 20
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applicationscited by 15
- 2022GL-CLeF: A Global-Local Contrastive Learning Framework for Cross-lingual Spoken Language Understandingcited by 14
12 most cited of 50 All 50 (JSON)
- 2026ViCLSR: A Supervised Contrastive Learning Framework with Natural Language Inference for Natural Language Understanding Tasks22 Mar 2026
- 2025Imputation-free and Alignment-free: Incomplete Multi-view Clustering Driven by Consensus Semantic Learning16 May 2025
- 2025Efficient Evaluation of Multi-Task Robot Policies With Active Experiment Selection14 Feb 2025
- 2024Model Attribution in LLM-Generated Disinformation: A Domain Generalization Approach with Supervised Contrastive Learning31 Jul 2024
- 2024Contrast Sets for Evaluating Language-Guided Robot Policies19 Jun 2024
- 2024Dual-perspective Cross Contrastive Learning in Graph Transformers1 Jun 2024
- 2024MESEN: Exploit Multimodal Data to Design Unimodal Human Activity Recognition with Few Labels2 Apr 2024
- 2024RobustSentEmbed: Robust Sentence Embeddings Using Adversarial Self-Supervised Contrastive Learning17 Mar 2024
- 2024Does Negative Sampling Matter? A Review with Insights into its Theory and Applications27 Feb 2024
- 2023A Soft Contrastive Learning-based Prompt Model for Few-shot Sentiment Analysis16 Dec 2023
- 2023DenseMP: Unsupervised Dense Pre-training for Few-shot Medical Image Segmentation13 Jul 2023
- 2023Contrastive Meta-Learning for Few-shot Node Classification27 Jun 2023
12 newest of 50 All 50 (JSON)