Evade the Trap of Mediocrity: Promoting Diversity and Novelty in Text Generation via Concentrating Attention
Not on the map. Why?
Abstract (arXiv)
Recently, powerful Transformer architectures have proven superior in generating high-quality sentences. Nevertheless, these models tend to produce dull high-frequency phrases, severely hurting the diversity and novelty of generated text. In this work, we dig into the intrinsic mechanism of this problem and found that sparser attention values in Transformer could improve diversity. To understand such a phenomenon, we first conduct both empirical and theoretical analysis and then attribute it to representation degeneration caused by the attentive mixture of the hidden states during training. We term this process the Trap of Mediocrity. To escape from such a trap, we introduce a novel attention regularization loss to control the sharpness of the attention distribution, which is transparent to model structures and can be easily implemented within 20 lines of python code. We prove that this method could be mathematically regarded as learning a Bayesian approximation of posterior attention. Experiments show that our method improved the diversity and novelty of the generated text while maintaining comparable quality on a variety of conditional and unconditional generation tasks.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 44 of its 67 references that are in the map. First posted on arXiv 14 Nov 2022.
Builds on
44 of 67 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
- 2020On Layer Normalization in the Transformer Architecturecited by 906
32 more
- 2020Efficient Transformers: A Surveycited by 784
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2019Neural Text Generation with Unlikelihood Trainingcited by 489
- 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
- 2020Sparse Sinkhorn Attentioncited by 250
- 2017Concrete Dropoutcited by 227
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 205
- 2019Adaptively Sparse Transformerscited by 154
- 2019Adaptive Attention Span in Transformerscited by 148
- 2018Learning to Write with Cooperative Discriminatorscited by 119
- 2020A Knowledge-Enhanced Pretraining Model for Commonsense Story Generationcited by 116
- 2020Residual Energy-Based Models for Text Generationcited by 95
- 2022Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generationcited by 90
- 2016A Simple, Fast Diverse Decoding Algorithm for Neural Generationcited by 58
- 2021SparseBERT: Rethinking the Importance Analysis in Self-attentioncited by 46
- 2018Toward Diverse Text Generation with Inverse Reinforcement Learningcited by 41
- 2021ParaSCI: A Large Scientific Paraphrase Dataset for Longer Paraphrase Generationcited by 28
- 2021Rare Tokens Degenerate All Tokens: Improving Neural Text Generation via Adaptive Gradient Gating for Rare Token Embeddingscited by 27
- 2022Fuse It More Deeply! A Variational Transformer with Layer-Wise Latent Variable Inference for Text Generationcited by 20
- 2019Generating Diverse Translation by Manipulating Multi-Head Attentioncited by 14
- 2021Learning from Perturbations: Diverse and Informative Dialogue Generation with Inverse Adversarial Trainingcited by 13
- 2021On-the-Fly Attention Modulation for Neural Generationcited by 12
- 2021Towards Document-Level Paraphrase Generation with Sentence Rewriting and Reorderingcited by 10
- 2020On Sparsifying Encoder Outputs in Sequence-to-Sequence Modelscited by 8
- 2020On the Relation between Quality-Diversity Evaluation and Distribution-Fitting Goal in Text Generationcited by 7
- 2021Sparsity and Sentence Structure in Encoder-Decoder Attention of Summarization Systemscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025A survey of diversity quantification in natural language processing: The why, what, where and howcited by 4
- 2025Putting on the Thinking Hats: A Survey on Chain of Thought Fine-tuning from the Perspective of Human Reasoning Mechanismcited by 4
- 2026Breaking the Likelihood Trap: Variance-Calibrated Modulation for Large Language Model Decodingcited by 1
- 2026Breaking the Likelihood Trap: Variance-Calibrated Modulation for Large Language Model Decoding21 Jun 2026
- 2025Putting on the Thinking Hats: A Survey on Chain of Thought Fine-tuning from the Perspective of Human Reasoning Mechanism15 Oct 2025
- 2025A survey of diversity quantification in natural language processing: The why, what, where and how28 Jul 2025