Contrastive Search Is What You Need For Neural Text Generation
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
20 more
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,024
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2019Neural Text Generation with Unlikelihood Trainingcited by 489
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2021WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learningcited by 285
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2022ZeroGen: Efficient Zero-shot Learning via Dataset Generationcited by 209
- 2021Generating Datasets with Pretrained Language Modelscited by 192
- 2021Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue Systemcited by 139
- 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 90
- 2022Language Models Can See: Plugging Visual Controls in Text Generationcited by 89
- 2021Non-Autoregressive Text Generation with Pre-trained Language Modelscited by 36
- 2021TaCL: Improving BERT Pre-training with Token-aware Contrastive Learningcited by 32
- 2020Dialogue Response Selection with Hierarchical Curriculum Learningcited by 27
- 2020Prototype-to-Style: Dialogue Generation with Style-Aware Editing on Retrieval Memorycited by 22
- 2021Rewire-then-Probe: A Contrastive Recipe for Probing Biomedical Knowledge of Pre-trained Language Modelscited by 21
Built on by
Citing papers per year: 2022: 5; 2023: 15; 2024: 16; 2025: 11; 2026: 11.
58 papers.
Sort:
By area:
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2023A Reparameterized Discrete Diffusion Model for Text Generationcited by 152
- 2022Training Trajectories of Language Models Across Scalescited by 80
- 2023Mitigating Hallucinations and Off-target Machine Translation with Source-Contrastive and Language-Contrastive Decodingcited by 42
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2024Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similaritycited by 36
- 2024Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generationcited by 27
- 2024Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generationcited by 26
- 2023An Evaluation on Large Language Model Outputs: Discourse and Memorizationcited by 20
- 2023Stealing the Decoding Algorithms of Language Modelscited by 19
- 2023Specialist or Generalist? Instruction Tuning for Specific NLP Taskscited by 17
- 2022An Empirical Study On Contrastive Search And Contrastive Decoding For Open-ended Text Generationcited by 14
38 more
- 2023Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generationcited by 13
- 2024REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropycited by 11
- 2024Retrieval is Accurate Generationcited by 10
- 2024Towards Better Open-Ended Text Generation: A Multicriteria Evaluation Frameworkcited by 9
- 2023Fidelity-Enriched Contrastive Search: Reconciling the Faithfulness-Diversity Trade-Off in Text Generationcited by 8
- 2024Duwak: Dual Watermarks in Large Language Modelscited by 8
- 2024A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMscited by 6
- 2025Mitigating Hallucinated Translations in Large Language Models with Hallucination-focused Preference Optimizationcited by 6
- 2025A Statistical Case Against Empirical Human-AI Alignmentcited by 6
- 2022Plug-and-Play Recipe Generation with Content Planningcited by 5
- 2025The End of Manual Decoding: Towards Truly End-to-End Language Modelscited by 5
- 2022Momentum Decoding: Open-ended Text Generation As Graph Explorationcited by 4
- 2024German Text Simplification: Finetuning Large Language Models with Semi-Synthetic Datacited by 4
- 2024FuseGen: PLM Fusion for Data-generation based Zero-shot Learningcited by 4
- 2024Improving Linguistic Diversity of Large Language Models with Possibility Exploration Fine-Tuningcited by 4
- 2025Odysseus Navigates the Sirens' Song: Dynamic Focus Decoding for Factual and Diverse Open-Ended Text Generationcited by 4
- 2025Generating Vision-Language Navigation Instructions Incorporated Fine-Grained Alignment Annotationscited by 4
- 2023Neural Machine Translation for Code Generationcited by 3
- 2024Inconsistent dialogue responses and how to recover from themcited by 3
- 2024Quasi-random Multi-Sample Inference for Large Language Modelscited by 3
- 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Modelscited by 3
- 2023SuryaKiran at MEDIQA-Sum 2023: Leveraging LoRA for Clinical Dialogue Summarizationcited by 2
- 2025Context-Enhanced Contrastive Search for Improved LLM Text Generationcited by 2
- 2025Multiple Choice Learning of Low-Rank Adapters for Language Modelingcited by 2
- 2026Geometry-Aware Decoding with Wasserstein-Regularized Truncation and Mass Penalties for Large Language Modelscited by 2
- 2026The Truncation Blind Spot: How Decoding Strategies Systematically Exclude Human-Like Token Choicescited by 2
- 2026Sampling More, Getting Less: Calibration is the Diversity Bottleneck in LLMscited by 2
- 2026DLM-SWAI: Steering Diffusion Language Models Before They Unmaskcited by 2
- 2026Where You Inject Diversity Matters: A Unified Framework for Diverse Generationcited by 2
- 2023Fine-grained Conversational Decoding via Isotropic and Proximal Searchcited by 1
- 2023VLIS: Unimodal Language Models Guide Multimodal Language Generationcited by 1
- 2025The Devil is in the EOS: Sequence Training for Detailed Image Captioningcited by 1
- 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
- 2026A Universal Avoidance Method for Diverse Multi-branch Generationcited by 1
- 2023De-novo Identification of Small Molecules from Their GC-EI-MS Spectracited by 0
- 2023Abstractive Summarization as Augmentation for Document-Level Event Detectioncited by 0
- 2023Exploring Automatic Text Simplification of German Narrative Documentscited by 0
- 2024On the performativity of SDG classifications in large bibliometric databasescited by 0
50 most cited of 58 All 58 (JSON)
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models14 Aug 2026
- 2026StrAD: A Streaming Method and Benchmark for Audio Description Generation for Long-form Videos12 Aug 2026
- 2026Where You Inject Diversity Matters: A Unified Framework for Diverse Generation9 Jun 2026
- 2026DLM-SWAI: Steering Diffusion Language Models Before They Unmask28 May 2026
- 2026Sampling More, Getting Less: Calibration is the Diversity Bottleneck in LLMs11 May 2026
- 2026APCD: Adaptive Path-Contrastive Decoding for Reliable Large Language Model Generation10 May 2026
- 2026A Universal Avoidance Method for Diverse Multi-branch Generation19 Apr 2026
- 2026The Truncation Blind Spot: How Decoding Strategies Systematically Exclude Human-Like Token Choices19 Mar 2026
- 2026Geometry-Aware Decoding with Wasserstein-Regularized Truncation and Mass Penalties for Large Language Models10 Feb 2026
- 2026Temporal Guidance for Large Language Models29 Jan 2026
- 2026From Instruction to Output: The Role of Prompting in Modern NLG21 Jan 2026
- 2025Empirical Decision Theory5 Dec 2025
38 more
- 2025The End of Manual Decoding: Towards Truly End-to-End Language Models30 Oct 2025
- 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Models20 Sep 2025
- 2025Confidence-Modulated Speculative Decoding for Large Language Models21 Aug 2025
- 2025The Devil is in the EOS: Sequence Training for Detailed Image Captioning26 Jul 2025
- 2025Multiple Choice Learning of Low-Rank Adapters for Language Modeling14 Jul 2025
- 2025Generating Vision-Language Navigation Instructions Incorporated Fine-Grained Alignment Annotations10 Jun 2025
- 2025Context-Enhanced Contrastive Search for Improved LLM Text Generation22 Apr 2025
- 2025Odysseus Navigates the Sirens' Song: Dynamic Focus Decoding for Factual and Diverse Open-Ended Text Generation11 Mar 2025
- 2025A Statistical Case Against Empirical Human-AI Alignment20 Feb 2025
- 2025Mitigating Hallucinated Translations in Large Language Models with Hallucination-focused Preference Optimization28 Jan 2025
- 2024Improving Linguistic Diversity of Large Language Models with Possibility Exploration Fine-Tuning4 Dec 2024
- 2024Quasi-random Multi-Sample Inference for Large Language Models9 Nov 2024
- 2024Towards Better Open-Ended Text Generation: A Multicriteria Evaluation Framework24 Oct 2024
- 2024How much do contextualized representations encode long-range context?16 Oct 2024
- 2024Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generation8 Oct 2024
- 2024Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generation26 Jul 2024
- 2024Efficient Training of Language Models with Compact and Consistent Next Token Distributions3 Jul 2024
- 2024A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMs25 Jun 2024
- 2024Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similarity20 Jun 2024
- 2024FuseGen: PLM Fusion for Data-generation based Zero-shot Learning18 Jun 2024
- 2024REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropy11 Jun 2024
- 2024On the performativity of SDG classifications in large bibliometric databases5 May 2024
- 2024Duwak: Dual Watermarks in Large Language Models12 Mar 2024
- 2024Retrieval is Accurate Generation27 Feb 2024
- 2024German Text Simplification: Finetuning Large Language Models with Semi-Synthetic Data16 Feb 2024
- 2024Inconsistent dialogue responses and how to recover from them18 Jan 2024
- 2023Exploring Automatic Text Simplification of German Narrative Documents15 Dec 2023
- 2023Specialist or Generalist? Instruction Tuning for Specific NLP Tasks23 Oct 2023
- 2023Fidelity-Enriched Contrastive Search: Reconciling the Faithfulness-Diversity Trade-Off in Text Generation23 Oct 2023
- 2023Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generation23 Oct 2023
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective16 Oct 2023
- 2023VLIS: Unimodal Language Models Guide Multimodal Language Generation15 Oct 2023
- 2023Fine-grained Conversational Decoding via Isotropic and Proximal Search12 Oct 2023
- 2023Mitigating Hallucinations and Off-target Machine Translation with Source-Contrastive and Language-Contrastive Decoding13 Sep 2023
- 2023SuryaKiran at MEDIQA-Sum 2023: Leveraging LoRA for Clinical Dialogue Summarization11 Jul 2023
- 2023Abstractive Summarization as Augmentation for Document-Level Event Detection29 May 2023
- 2023Neural Machine Translation for Code Generation22 May 2023
- 2023An Evaluation on Large Language Model Outputs: Discourse and Memorization17 Apr 2023
50 newest of 58 All 58 (JSON)
- 2024Duwak: Dual Watermarks in Large Language Modelscited by 8
- 2024Duwak: Dual Watermarks in Large Language Models12 Mar 2024
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2022Training Trajectories of Language Models Across Scalescited by 80
- 2023Mitigating Hallucinations and Off-target Machine Translation with Source-Contrastive and Language-Contrastive Decodingcited by 42
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2024Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similaritycited by 36
- 2024Adaptive Contrastive Search: Uncertainty-Guided Decoding for Open-Ended Text Generationcited by 27
- 2024Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generationcited by 26
- 2023An Evaluation on Large Language Model Outputs: Discourse and Memorizationcited by 20
- 2023Stealing the Decoding Algorithms of Language Modelscited by 19
- 2023Specialist or Generalist? Instruction Tuning for Specific NLP Taskscited by 17
- 2022An Empirical Study On Contrastive Search And Contrastive Decoding For Open-ended Text Generationcited by 14
- 2023Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generationcited by 13
12 most cited of 49 All 49 (JSON)
- 2026StrAD: A Streaming Method and Benchmark for Audio Description Generation for Long-form Videos12 Aug 2026
- 2026Where You Inject Diversity Matters: A Unified Framework for Diverse Generation9 Jun 2026
- 2026Sampling More, Getting Less: Calibration is the Diversity Bottleneck in LLMs11 May 2026
- 2026APCD: Adaptive Path-Contrastive Decoding for Reliable Large Language Model Generation10 May 2026
- 2026A Universal Avoidance Method for Diverse Multi-branch Generation19 Apr 2026
- 2026The Truncation Blind Spot: How Decoding Strategies Systematically Exclude Human-Like Token Choices19 Mar 2026
- 2026Geometry-Aware Decoding with Wasserstein-Regularized Truncation and Mass Penalties for Large Language Models10 Feb 2026
- 2026Temporal Guidance for Large Language Models29 Jan 2026
- 2026From Instruction to Output: The Role of Prompting in Modern NLG21 Jan 2026
- 2025Empirical Decision Theory5 Dec 2025
- 2025The End of Manual Decoding: Towards Truly End-to-End Language Models30 Oct 2025
- 2025Decoding Uncertainty: The Impact of Decoding Strategies for Uncertainty Estimation in Large Language Models20 Sep 2025
12 newest of 49 All 49 (JSON)