mlsanityData to 14 Oct 2026

Contrastive Learning with Adversarial Perturbations for Conditional Text Generation

arXiv 2012.07280 ↗First posted 14 Dec 2020cs.CLcited by 56

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

Cited by year

Citing papers per year: 2021: 10; 2022: 24; 2023: 16; 2024: 5; 2025: 1.

56 papers.

Sort:

By area:

  1. 2022BRIO: Bringing Order to Abstractive Summarizationcited by 161
  2. 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 132
  3. 2022FactPEGASUS: Factuality-Aware Pre-training and Fine-tuning for Abstractive Summarizationcited by 49
  4. 2021Weakly Supervised Contrastive Learning for Chest X-Ray Report Generationcited by 41
  5. 2022Personalized Showcases: Generating Multi-Modal Explanations for Recommendationscited by 30
  6. 2022Faithfulness in Natural Language Generation: A Systematic Survey of Analysis, Evaluation and Optimization Methodscited by 27
  7. 2022CoNT: Contrastive Neural Text Generationcited by 21
  8. 2021ReMeDi: Resources for Multi-domain, Multi-service, Medical Dialoguescited by 20
  9. 2022A Simple Contrastive Learning Objective for Alleviating Neural Text Degenerationcited by 18
  10. 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
  11. 2022CREATER: CTR-driven Advertising Text Generation with Controlled Pre-Training and Contrastive Fine-Tuningcited by 17
  12. 2023Multi-level Contrastive Learning for Script-based Character Understandingcited by 15
38 more
  1. 2022Multimedia Generative Script Learning for Task Planningcited by 12
  2. 2022Neural Machine Translation with Contrastive Translation Memoriescited by 12
  3. 2021Frequency-Aware Contrastive Learning for Neural Machine Translationcited by 11
  4. 2022Language Detoxification with Attribute-Discriminative Latent Spacecited by 11
  5. 2021Contrastive Learning for Context-aware Neural Machine TranslationUsing Coreference Informationcited by 9
  6. 2021CO2Sum:Contrastive Learning for Factual-Consistent Abstractive Summarizationcited by 9
  7. 2023Towards Personalized Review Summarization by Modeling Historical Reviews from Customer and Product Separatelycited by 9
  8. 2023On the Difficulty of Defending Contrastive Learning against Backdoor Attackscited by 9
  9. 2024Reducing Distraction in Long-Context Language Models by Focused Learningcited by 9
  10. 2022Explanation Graph Generation via Pre-trained Language Models: An Empirical Study with Contrastive Learningcited by 8
  11. 2022R2D2: Robust Data-to-Text with Replacement Detectioncited by 8
  12. 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarizationcited by 8
  13. 2023Less Likely Brainstorming: Using Language Models to Generate Alternative Hypothesescited by 8
  14. 2022Keywords and Instances: A Hierarchical Contrastive Learning Framework Unifying Hybrid Granularities for Text Generationcited by 7
  15. 2022HiCo: Hierarchical Contrastive Learning for Ultrasound Video Model Pretrainingcited by 7
  16. 2022WikiDes: A Wikipedia-Based Dataset for Generating Short Descriptions from Paragraphscited by 6
  17. 2023EZInterviewer: To Improve Job Interview Performance with Mock Interview Generatorcited by 6
  18. 2023A Topic-aware Summarization Framework with Different Modal Side Informationcited by 6
  19. 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
  20. 2024Target-constrained Bidirectional Planning for Generation of Target-oriented Proactive Dialoguecited by 6
  21. 2022Text Transformations in Contrastive Self-Supervised Learning: A Reviewcited by 5
  22. 2023Mitigating Data Imbalance and Representation Degeneration in Multilingual Machine Translationcited by 5
  23. 2023Towards More Faithful Natural Language Explanation Using Multi-Level Contrastive Learning in VQAcited by 5
  24. 2024Mitigating Unhelpfulness in Emotional Support Conversations with Multifaceted AI Feedbackcited by 5
  25. 2021Self-Supervised Contrastive Learning with Adversarial Perturbations for Defending Word Substitution-based Attackscited by 4
  26. 2021Simple Contrastive Representation Adversarial Learning for NLP Taskscited by 4
  27. 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspectivecited by 4
  28. 2021High Quality Related Search Query Suggestions using Deep Reinforcement Learningcited by 3
  29. 2022Multi-Modal Experience Inspired AI Creationcited by 3
  30. 2022Taxonomy of Abstractive Dialogue Summarization: Scenarios, Approaches and Future Directionscited by 3
  31. 2021C3: Compositional Counterfactual Contrastive Learning for Video-grounded Dialoguescited by 2
  32. 2022Contrastive Learning enhanced Author-Style Headline Generationcited by 2
  33. 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsingcited by 2
  34. 2023Iterative Adversarial Attack on Image-guided Story Ending Generationcited by 2
  35. 2023FILM: How can Few-Shot Image Classification Benefit from Pre-Trained Language Models?cited by 2
  36. 2024Spatial-Temporal Cross-View Contrastive Pre-training for Check-in Sequence Representation Learningcited by 2
  37. 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domaincited by 2
  38. 2022UBARv2: Towards Mitigating Exposure Bias in Task-Oriented Dialogscited by 1

50 most cited of 56 All 56 (JSON)