Contrastive Learning with Adversarial Perturbations for Conditional Text Generation
Not on the map. Why?
Abstract (arXiv)
Recently, sequence-to-sequence (seq2seq) models with the Transformer architecture have achieved remarkable performance on various conditional text generation tasks, such as machine translation. However, most of them are trained with teacher forcing with the ground truth label given at each time step, without being exposed to incorrectly generated tokens during training, which hurts its generalization to unseen inputs, that is known as the "exposure bias" problem. In this work, we propose to mitigate the conditional text generation problem by contrasting positive pairs with negative pairs, such that the model is exposed to various valid or incorrect perturbations of the inputs, for improved generalization. However, training the model with naive contrastive learning framework using random non-target sequences as negative examples is suboptimal, since they are easily distinguishable from the correct output, especially so with models pretrained with large text corpora. Also, generating positive examples requires domain-specific augmentation heuristics which may not generalize over diverse domains. To tackle this problem, we propose a principled method to generate positive and negative samples for contrastive learning of seq2seq models. Specifically, we generate negative examples by adding small perturbations to the input sequence to minimize its conditional likelihood, and positive examples by adding large perturbations while enforcing it to have a high conditional likelihood. Such "hard" positive and negative pairs generated using our method guides the model to better distinguish correct outputs from incorrect ones. We empirically show that our proposed method significantly improves the generalization of the seq2seq on three text generation tasks - machine translation, text summarization, and question generation.
Key facts. Cited by 56 papers in the map (data through 14 Oct 2026). First posted on arXiv 14 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 10; 2022: 24; 2023: 16; 2024: 5; 2025: 1.
56 papers.
Sort:
By area:
- 2022BRIO: Bringing Order to Abstractive Summarizationcited by 161
- 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 132
- 2022FactPEGASUS: Factuality-Aware Pre-training and Fine-tuning for Abstractive Summarizationcited by 49
- 2021Weakly Supervised Contrastive Learning for Chest X-Ray Report Generationcited by 41
- 2022Personalized Showcases: Generating Multi-Modal Explanations for Recommendationscited by 30
- 2022Faithfulness in Natural Language Generation: A Systematic Survey of Analysis, Evaluation and Optimization Methodscited by 27
- 2022CoNT: Contrastive Neural Text Generationcited by 21
- 2021ReMeDi: Resources for Multi-domain, Multi-service, Medical Dialoguescited by 20
- 2022A Simple Contrastive Learning Objective for Alleviating Neural Text Degenerationcited by 18
- 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
- 2022CREATER: CTR-driven Advertising Text Generation with Controlled Pre-Training and Contrastive Fine-Tuningcited by 17
- 2023Multi-level Contrastive Learning for Script-based Character Understandingcited by 15
38 more
- 2022Multimedia Generative Script Learning for Task Planningcited by 12
- 2022Neural Machine Translation with Contrastive Translation Memoriescited by 12
- 2021Frequency-Aware Contrastive Learning for Neural Machine Translationcited by 11
- 2022Language Detoxification with Attribute-Discriminative Latent Spacecited by 11
- 2021Contrastive Learning for Context-aware Neural Machine TranslationUsing Coreference Informationcited by 9
- 2021CO2Sum:Contrastive Learning for Factual-Consistent Abstractive Summarizationcited by 9
- 2023Towards Personalized Review Summarization by Modeling Historical Reviews from Customer and Product Separatelycited by 9
- 2023On the Difficulty of Defending Contrastive Learning against Backdoor Attackscited by 9
- 2024Reducing Distraction in Long-Context Language Models by Focused Learningcited by 9
- 2022Explanation Graph Generation via Pre-trained Language Models: An Empirical Study with Contrastive Learningcited by 8
- 2022R2D2: Robust Data-to-Text with Replacement Detectioncited by 8
- 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarizationcited by 8
- 2023Less Likely Brainstorming: Using Language Models to Generate Alternative Hypothesescited by 8
- 2022Keywords and Instances: A Hierarchical Contrastive Learning Framework Unifying Hybrid Granularities for Text Generationcited by 7
- 2022HiCo: Hierarchical Contrastive Learning for Ultrasound Video Model Pretrainingcited by 7
- 2022WikiDes: A Wikipedia-Based Dataset for Generating Short Descriptions from Paragraphscited by 6
- 2023EZInterviewer: To Improve Job Interview Performance with Mock Interview Generatorcited by 6
- 2023A Topic-aware Summarization Framework with Different Modal Side Informationcited by 6
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
- 2024Target-constrained Bidirectional Planning for Generation of Target-oriented Proactive Dialoguecited by 6
- 2022Text Transformations in Contrastive Self-Supervised Learning: A Reviewcited by 5
- 2023Mitigating Data Imbalance and Representation Degeneration in Multilingual Machine Translationcited by 5
- 2023Towards More Faithful Natural Language Explanation Using Multi-Level Contrastive Learning in VQAcited by 5
- 2024Mitigating Unhelpfulness in Emotional Support Conversations with Multifaceted AI Feedbackcited 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
- 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspectivecited by 4
- 2021High Quality Related Search Query Suggestions using Deep Reinforcement Learningcited by 3
- 2022Multi-Modal Experience Inspired AI Creationcited by 3
- 2022Taxonomy of Abstractive Dialogue Summarization: Scenarios, Approaches and Future Directionscited by 3
- 2021C3: Compositional Counterfactual Contrastive Learning for Video-grounded Dialoguescited by 2
- 2022Contrastive Learning enhanced Author-Style Headline Generationcited by 2
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsingcited by 2
- 2023Iterative Adversarial Attack on Image-guided Story Ending Generationcited by 2
- 2023FILM: How can Few-Shot Image Classification Benefit from Pre-Trained Language Models?cited by 2
- 2024Spatial-Temporal Cross-View Contrastive Pre-training for Check-in Sequence Representation Learningcited by 2
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domaincited by 2
- 2022UBARv2: Towards Mitigating Exposure Bias in Task-Oriented Dialogscited by 1
50 most cited of 56 All 56 (JSON)
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domain13 Nov 2025
- 2024Reducing Distraction in Long-Context Language Models by Focused Learning8 Nov 2024
- 2024Spatial-Temporal Cross-View Contrastive Pre-training for Check-in Sequence Representation Learning22 Jul 2024
- 2024C3L: Content Correlated Vision-Language Instruction Tuning Data Generation via Contrastive Learning21 May 2024
- 2024Target-constrained Bidirectional Planning for Generation of Target-oriented Proactive Dialogue10 Mar 2024
- 2024Mitigating Unhelpfulness in Emotional Support Conversations with Multifaceted AI Feedback11 Jan 2024
- 2023Towards More Faithful Natural Language Explanation Using Multi-Level Contrastive Learning in VQA21 Dec 2023
- 2023On the Difficulty of Defending Contrastive Learning against Backdoor Attacks14 Dec 2023
- 2023Multi-level Contrastive Learning for Script-based Character Understanding20 Oct 2023
- 2023Contrastive Learning for Inference in Dialogue19 Oct 2023
- 2023Breaking Down the Task: A Unit-Grained Hybrid Training Framework for Vision and Language Decision Making16 Jul 2023
- 2023FILM: How can Few-Shot Image Classification Benefit from Pre-Trained Language Models?9 Jul 2023
38 more
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation10 Jun 2023
- 2023Data Augmentation for Improving Tail-traffic Robustness in Skill-routing for Dialogue Systems7 Jun 2023
- 2023Less Likely Brainstorming: Using Language Models to Generate Alternative Hypotheses30 May 2023
- 2023Optimizing Non-Autoregressive Transformers with Contrastive Learning23 May 2023
- 2023Mitigating Data Imbalance and Representation Degeneration in Multilingual Machine Translation22 May 2023
- 2023A Topic-aware Summarization Framework with Different Modal Side Information19 May 2023
- 2023Iterative Adversarial Attack on Image-guided Story Ending Generation16 May 2023
- 2023Towards Personalized Review Summarization by Modeling Historical Reviews from Customer and Product Separately27 Jan 2023
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsing19 Jan 2023
- 2023EZInterviewer: To Improve Job Interview Performance with Mock Interview Generator3 Jan 2023
- 2022Neural Machine Translation with Contrastive Translation Memories6 Dec 2022
- 2022Contrastive Learning enhanced Author-Style Headline Generation7 Nov 2022
- 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspective26 Oct 2022
- 2022Language Detoxification with Attribute-Discriminative Latent Space19 Oct 2022
- 2022Taxonomy of Abstractive Dialogue Summarization: Scenarios, Approaches and Future Directions18 Oct 2022
- 2022HiCo: Hierarchical Contrastive Learning for Ultrasound Video Model Pretraining10 Oct 2022
- 2022ContraCLM: Contrastive Learning For Causal Language Model3 Oct 2022
- 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarization29 Sep 2022
- 2022WikiDes: A Wikipedia-Based Dataset for Generating Short Descriptions from Paragraphs27 Sep 2022
- 2022Learning to Write with Coherence From Negative Examples22 Sep 2022
- 2022UBARv2: Towards Mitigating Exposure Bias in Task-Oriented Dialogs15 Sep 2022
- 2022Multi-Modal Experience Inspired AI Creation2 Sep 2022
- 2022Multimedia Generative Script Learning for Task Planning25 Aug 2022
- 2022Personalized Showcases: Generating Multi-Modal Explanations for Recommendations30 Jun 2022
- 2022CoNT: Contrastive Neural Text Generation29 May 2022
- 2022Keywords and Instances: A Hierarchical Contrastive Learning Framework Unifying Hybrid Granularities for Text Generation26 May 2022
- 2022R2D2: Robust Data-to-Text with Replacement Detection25 May 2022
- 2022CREATER: CTR-driven Advertising Text Generation with Controlled Pre-Training and Contrastive Fine-Tuning18 May 2022
- 2022FactPEGASUS: Factuality-Aware Pre-training and Fine-tuning for Abstractive Summarization16 May 2022
- 2022A Simple Contrastive Learning Objective for Alleviating Neural Text Degeneration5 May 2022
- 2022Explanation Graph Generation via Pre-trained Language Models: An Empirical Study with Contrastive Learning11 Apr 2022
- 2022BRIO: Bringing Order to Abstractive Summarization31 Mar 2022
- 2022Text Transformations in Contrastive Self-Supervised Learning: A Review22 Mar 2022
- 2022Faithfulness in Natural Language Generation: A Systematic Survey of Analysis, Evaluation and Optimization Methods10 Mar 2022
- 2021Frequency-Aware Contrastive Learning for Neural Machine Translation29 Dec 2021
- 2021CO2Sum:Contrastive Learning for Factual-Consistent Abstractive Summarization2 Dec 2021
- 2021Simple Contrastive Representation Adversarial Learning for NLP Tasks26 Nov 2021
- 2021Weakly Supervised Contrastive Learning for Chest X-Ray Report Generation25 Sep 2021
50 newest of 56 All 56 (JSON)
- 2022BRIO: Bringing Order to Abstractive Summarizationcited by 161
- 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 132
- 2022FactPEGASUS: Factuality-Aware Pre-training and Fine-tuning for Abstractive Summarizationcited by 49
- 2021Weakly Supervised Contrastive Learning for Chest X-Ray Report Generationcited by 41
- 2022Personalized Showcases: Generating Multi-Modal Explanations for Recommendationscited by 30
- 2022Faithfulness in Natural Language Generation: A Systematic Survey of Analysis, Evaluation and Optimization Methodscited by 27
- 2022CoNT: Contrastive Neural Text Generationcited by 21
- 2021ReMeDi: Resources for Multi-domain, Multi-service, Medical Dialoguescited by 20
- 2022A Simple Contrastive Learning Objective for Alleviating Neural Text Degenerationcited by 18
- 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
- 2022CREATER: CTR-driven Advertising Text Generation with Controlled Pre-Training and Contrastive Fine-Tuningcited by 17
- 2023Multi-level Contrastive Learning for Script-based Character Understandingcited by 15
12 most cited of 53 All 53 (JSON)
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domain13 Nov 2025
- 2024Reducing Distraction in Long-Context Language Models by Focused Learning8 Nov 2024
- 2024Spatial-Temporal Cross-View Contrastive Pre-training for Check-in Sequence Representation Learning22 Jul 2024
- 2024Target-constrained Bidirectional Planning for Generation of Target-oriented Proactive Dialogue10 Mar 2024
- 2023Towards More Faithful Natural Language Explanation Using Multi-Level Contrastive Learning in VQA21 Dec 2023
- 2023On the Difficulty of Defending Contrastive Learning against Backdoor Attacks14 Dec 2023
- 2023Multi-level Contrastive Learning for Script-based Character Understanding20 Oct 2023
- 2023Contrastive Learning for Inference in Dialogue19 Oct 2023
- 2023Breaking Down the Task: A Unit-Grained Hybrid Training Framework for Vision and Language Decision Making16 Jul 2023
- 2023FILM: How can Few-Shot Image Classification Benefit from Pre-Trained Language Models?9 Jul 2023
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation10 Jun 2023
- 2023Data Augmentation for Improving Tail-traffic Robustness in Skill-routing for Dialogue Systems7 Jun 2023
12 newest of 53 All 53 (JSON)