Abstract
Transformer-based models often suffer from a "degeneration problem," where generated text becomes repetitive, dull, and dominated by high-frequency phrases. This paper identifies the "Trap of Mediocrity"—a phenomenon where dispersed attention distributions pull hidden states toward a cluster of generic word embeddings. To mitigate this, we propose CARE (Concentrating Attention by Rényi Entropy), a lightweight regularization method that sharpens attention distributions. Experimental results across four diverse datasets demonstrate that CARE significantly enhances text diversity and novelty while maintaining or improving generation quality, outperforming existing sparse attention mechanisms.
1. Introduction
Despite the transformative success of Large Language Models (LLMs), the tendency of these models to produce "mediocre" text—characterized by high-frequency, generic phrases like "it was a lot of fun"—remains a persistent challenge. This degeneration often occurs even when models are trained on rich, diverse datasets. While previous research has focused on decoding strategies to improve diversity, this work investigates the architectural roots of the problem within the Transformer's attention mechanism.
2. The Trap of Mediocrity
The authors identify a geometric cause for text degeneration termed the Trap of Mediocrity. In a standard Transformer, the hidden state at any given step is an "attentive mixture" of previous states. The authors observe that high-frequency word embeddings tend to cluster in a specific region of the vector space, often characterized by smaller norms and a uniformly positive direction.
When the attention distribution is "flat" or dispersed, the resulting mixture of hidden states is mathematically pulled toward this central cluster of high-frequency tokens. Consequently, the model becomes biased toward selecting generic words, regardless of the specific context. This suggests that dispersed attention is not merely inefficient but actively detrimental to the novelty of generated content.
3. Methodology: CARE
To escape the Trap of Mediocrity, the researchers introduce CARE (Concentrating Attention by Rényi Entropy). The core idea is to force the model to focus on the most informative parts of the context by penalizing dispersed attention distributions.
3.1 The CARE Loss
CARE adds a regularization term to the standard Maximum Likelihood Estimation (MLE) loss. This term minimizes an upper bound of the Rényi entropy of the attention distribution. By minimizing entropy, the model is incentivized to produce "sharper" attention weights, effectively filtering out the noise that leads to the mediocrity cluster.
3.2 Implementation and Variants
CARE is highly efficient, requiring fewer than 20 lines of code to implement. It operates on the unnormalized attention logits before the softmax layer. The authors also proposed CARE-A (Adaptive), which utilizes "Concrete Dropout" to allow the model to learn optimal, layer-wise attention sparsity automatically.
3.3 Theoretical Grounding
The method is supported by a Bayesian framework, where CARE is shown to be an approximation of the posterior attention. This implies that sharpening attention helps the model more accurately identify the true relevance of context tokens, rather than just acting as a heuristic filter.
4. Experimental Setup
The effectiveness of CARE was evaluated on four distinct text generation tasks:
- ROCStories: Conditional story generation.
- ParaSCI (ArXiv): Scientific paraphrasing.
- MP (MIND & PENS): News headline generation.
- Yelp: Unconditional food review generation.
CARE was compared against standard GPT-2 and several sparse attention baselines, including Entmax and l0-Drop.
5. Results and Discussion
5.1 Diversity and Quality
CARE demonstrated a significant boost in text diversity. On the ROCStories dataset, the Dist metric (measuring unique n-grams) rose from 25.72 (GPT-2) to 27.77 (CARE). Crucially, unlike many diversity-promoting methods that sacrifice coherence, CARE maintained or slightly improved BERTScore and BLEU metrics, indicating that the generated text remained fluent and contextually relevant.
5.2 Human Evaluation
In blind human assessments, evaluators consistently rated CARE-generated text as more fluent and less repetitive than the baseline. In qualitative case studies, such as a story about volleyball, the baseline model repeated generic phrases, while CARE successfully introduced novel, specific terms like "home run" and "convincing fashion."
5.3 Sparsity as a Quality Driver
A key insight from this work is that attention sparsity is a feature, not just a computational optimization. By preventing the "attentive mixture" from becoming a generic blur, sparsity preserves the unique signal of low-frequency, high-information words.
6. Conclusion and Future Work
CARE provides a simple, mathematically grounded solution to the Trap of Mediocrity. By concentrating attention, models can avoid the gravitational pull of high-frequency word clusters and produce more engaging, diverse text. While the current study focused on training from scratch, future research will explore applying CARE during the fine-tuning of massive pre-trained models and further refining the mathematical theory underlying the geometry of embedding spaces.
Summary updated