mlsanityData to 7 Oct 2026

Contrastive Search Is What You Need For Neural Text Generation

arXiv 2210.14140 ↗First posted 25 Oct 2022cs.CLcited by 58

Not on the map. Why?

Abstract (arXiv)

Generating text with autoregressive language models (LMs) is of great importance to many natural language processing (NLP) applications. Previous solutions for this task often produce text that contains degenerative expressions or lacks semantic consistency. Recently, Su et al. introduced a new decoding method, contrastive search, based on the isotropic representation space of the language model and obtained new state of the art on various benchmarks. Additionally, Su et al. argued that the representations of autoregressive LMs (e.g. GPT-2) are intrinsically anisotropic which is also shared by previous studies. Therefore, to ensure the language model follows an isotropic distribution, Su et al. proposed a contrastive learning scheme, SimCTG, which calibrates the language model's representations through additional training. In this study, we first answer the question: "Are autoregressive LMs really anisotropic?". To this end, we extensively evaluate the isotropy of LMs across 16 major languages. Surprisingly, we find that the anisotropic problem only exists in the two specific English GPT-2-small/medium models. On the other hand, all other evaluated LMs are naturally isotropic which is in contrast to the conclusion drawn by previous studies. Based on our findings, we further assess the contrastive search decoding method using off-the-shelf LMs on four generation tasks across 16 languages. Our experimental results demonstrate that contrastive search significantly outperforms previous decoding methods without any additional training. More notably, on 12 out of the 16 evaluated languages, contrastive search performs comparably with human-level performances as judged by human evaluations. Our code and other related resources are publicly available at https://github.com/yxuansu/Contrastive_Search_Is_What_You_Need.

Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Builds on 32 of its 44 references that are in the map. First posted on arXiv 25 Oct 2022.

Builds on

32 of 44 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2016Pointer Sentinel Mixture Modelscited by 2,992
  8. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  9. 2022Emergent Abilities of Large Language Modelscited by 2,483
  10. 2019Language Models as Knowledge Bases?cited by 1,922
  11. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  12. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
20 more
  1. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  2. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  3. 2018Hierarchical Neural Story Generationcited by 1,182
  4. 2020COMET: A Neural Framework for MT Evaluationcited by 1,024
  5. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  6. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  7. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  8. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  9. 2021WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learningcited by 285
  10. 2022A Contrastive Framework for Neural Text Generationcited by 224
  11. 2022ZeroGen: Efficient Zero-shot Learning via Dataset Generationcited by 209
  12. 2021Generating Datasets with Pretrained Language Modelscited by 192
  13. 2021Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue Systemcited by 139
  14. 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 90
  15. 2022Language Models Can See: Plugging Visual Controls in Text Generationcited by 89
  16. 2021Non-Autoregressive Text Generation with Pre-trained Language Modelscited by 36
  17. 2021TaCL: Improving BERT Pre-training with Token-aware Contrastive Learningcited by 32
  18. 2020Dialogue Response Selection with Hierarchical Curriculum Learningcited by 27
  19. 2020Prototype-to-Style: Dialogue Generation with Style-Aware Editing on Retrieval Memorycited by 22
  20. 2021Rewire-then-Probe: A Contrastive Recipe for Probing Biomedical Knowledge of Pre-trained Language Modelscited by 21

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 15; 2024: 16; 2025: 11; 2026: 11.

58 papers.

Sort:

By area:

  1. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  2. 2023A Reparameterized Discrete Diffusion Model for Text Generationcited by 152
  3. 2022Training Trajectories of Language Models Across Scalescited by 80
  4. 2023Mitigating Hallucinations and Off-target Machine Translation with Source-Contrastive and Language-Contrastive Decodingcited by 42
  5. 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
  6. 2024Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similaritycited by 36
  7. 2024Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generationcited by 27
  8. 2024Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generationcited by 26
  9. 2023An Evaluation on Large Language Model Outputs: Discourse and Memorizationcited by 20
  10. 2023Stealing the Decoding Algorithms of Language Modelscited by 19
  11. 2023Specialist or Generalist? Instruction Tuning for Specific NLP Taskscited by 17
  12. 2022An Empirical Study On Contrastive Search And Contrastive Decoding For Open-ended Text Generationcited by 14
38 more
  1. 2023Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generationcited by 13
  2. 2024REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropycited by 11
  3. 2024Retrieval is Accurate Generationcited by 10
  4. 2024Towards Better Open-Ended Text Generation: A Multicriteria Evaluation Frameworkcited by 9
  5. 2023Fidelity-Enriched Contrastive Search: Reconciling the Faithfulness-Diversity Trade-Off in Text Generationcited by 8
  6. 2024Duwak: Dual Watermarks in Large Language Modelscited by 8
  7. 2024A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMscited by 6
  8. 2025Mitigating Hallucinated Translations in Large Language Models with Hallucination-focused Preference Optimizationcited by 6
  9. 2025A Statistical Case Against Empirical Human-AI Alignmentcited by 6
  10. 2022Plug-and-Play Recipe Generation with Content Planningcited by 5
  11. 2025The End of Manual Decoding: Towards Truly End-to-End Language Modelscited by 5
  12. 2022Momentum Decoding: Open-ended Text Generation As Graph Explorationcited by 4
  13. 2024German Text Simplification: Finetuning Large Language Models with Semi-Synthetic Datacited by 4
  14. 2024FuseGen: PLM Fusion for Data-generation based Zero-shot Learningcited by 4
  15. 2024Improving Linguistic Diversity of Large Language Models with Possibility Exploration Fine-Tuningcited by 4
  16. 2025Odysseus Navigates the Sirens' Song: Dynamic Focus Decoding for Factual and Diverse Open-Ended Text Generationcited by 4
  17. 2025Generating Vision-Language Navigation Instructions Incorporated Fine-Grained Alignment Annotationscited by 4
  18. 2023Neural Machine Translation for Code Generationcited by 3
  19. 2024Inconsistent dialogue responses and how to recover from themcited by 3
  20. 2024Quasi-random Multi-Sample Inference for Large Language Modelscited by 3
  21. 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Modelscited by 3
  22. 2023SuryaKiran at MEDIQA-Sum 2023: Leveraging LoRA for Clinical Dialogue Summarizationcited by 2
  23. 2025Context-Enhanced Contrastive Search for Improved LLM Text Generationcited by 2
  24. 2025Multiple Choice Learning of Low-Rank Adapters for Language Modelingcited by 2
  25. 2026Geometry-Aware Decoding with Wasserstein-Regularized Truncation and Mass Penalties for Large Language Modelscited by 2
  26. 2026The Truncation Blind Spot: How Decoding Strategies Systematically Exclude Human-Like Token Choicescited by 2
  27. 2026Sampling More, Getting Less: Calibration is the Diversity Bottleneck in LLMscited by 2
  28. 2026DLM-SWAI: Steering Diffusion Language Models Before They Unmaskcited by 2
  29. 2026Where You Inject Diversity Matters: A Unified Framework for Diverse Generationcited by 2
  30. 2023Fine-grained Conversational Decoding via Isotropic and Proximal Searchcited by 1
  31. 2023VLIS: Unimodal Language Models Guide Multimodal Language Generationcited by 1
  32. 2025The Devil is in the EOS: Sequence Training for Detailed Image Captioningcited by 1
  33. 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
  34. 2026A Universal Avoidance Method for Diverse Multi-branch Generationcited by 1
  35. 2023De-novo Identification of Small Molecules from Their GC-EI-MS Spectracited by 0
  36. 2023Abstractive Summarization as Augmentation for Document-Level Event Detectioncited by 0
  37. 2023Exploring Automatic Text Simplification of German Narrative Documentscited by 0
  38. 2024On the performativity of SDG classifications in large bibliometric databasescited by 0

50 most cited of 58 All 58 (JSON)