# How can we increase output diversity in language models while preserving quality and avoiding repetition?

Category: [LLM Memory, Reasoning and Alignment](../qcat/8.md) › [Reinforcement Learning Feedback for LLMs](../qgroup/59.md) · 8 papers · Verified

[Open on the map](../questions.html#q173)

*8 papers; abstracts only, so this reports what papers claim.*

## Bottom line
Across the papers, training-free interventions—sampler design, semantic-level diversity objectives, and selective layer restoration—can raise output diversity while preserving quality, and diverse sampling in turn improves exploration and performance on reasoning tasks such as math and code. The central tension is that post-training sharpens output distributions and reduces diversity, and the papers disagree on whether simply raising temperature helps: one reports negligible gains compared to structured interventions, while another uses a higher temperature at an intermediate intent step to promote conceptual diversity. Evidence remains thin at the extremes and in comparison: only one paper examines repetition and diversity in very long (8K–64K token) generations, no paper directly compares training-free sampling against RL-based diversity training under common metrics, and most results rely on automated metrics with little human evaluation.

## Convergence
### 1. Training-free interventions can raise output diversity while preserving quality, without retraining the model.
**4 papers**
- [p139582](../p/139582.md) Long-Context Generation Is a Sampling Problem [behavioural; open-weight models 1B-120B]: full-distribution-aware samplers improve long-context outputs with no further training costs
- [p148432](../p/148432.md) Free Lunch for Pass@$k$? Low Cost Diverse Sampling for Diffu [method; diffusion language models, not stated]: training-free batch repulsion improves diversity and Pass@k with negligible overhead
- [p151475](../p/151475.md) A Model of Diverse Sampling from Language Models [theory/method; not stated]: DPP-based pool sampling improves the quality-diversity Pareto frontier over temperature and beam baselines
- [p152850](../p/152850.md) Not All Layers Need Tuning: Selective Layer Restoration Reco [causal/synthetic; not stated]: restoring selected layers to pre-trained weights improves diversity with no additional inference cost
- (qualifies) [p150506](../p/150506.md) Intent Factored Generation: Unleashing the Diversity in Your [method; not stated] **[partial]**: off-the-shelf two-stage sampling improves diversity and quality, but the abstract does not address retraining

### 2. Targeting semantic rather than surface-level diversity improves the quality-diversity trade-off.
**3 papers**
- [p151475](../p/151475.md) A Model of Diverse Sampling from Language Models [theory/method; not stated]: embedding-geometry repulsion in a DPP beats lexical-level baselines on open-ended generation
- [p153781](../p/153781.md) Jointly Reinforcing Diversity and Quality in Language Model  [method; multiple model families and sizes]: a learned partition function measures diversity beyond surface-level lexical variations and improves quality and novelty
- [p150506](../p/150506.md) Intent Factored Generation: Unleashing the Diversity in Your [method; not stated]: sampling a semantically dense intent first promotes conceptual diversity over token-level paraphrasing

## Contested
### Does raising sampling temperature increase diversity? (scope difference)
- A: Raising temperature produces negligible diversity gains compared to structured interventions. (p139464)
- B: A higher temperature at an intermediate intent step promotes conceptual diversity. (p150506)
- Why: p139464 varies temperature at the output level for opinion tasks, while p150506 applies it only to a semantically dense intent stage before low-temperature generation.

## Isolated claims (1 to 2 papers)
- Sampler choice is a primary determinant of long-context output quality, and standard truncation samplers collapse into late-context repetition.
  - [p139582](../p/139582.md) Long-Context Generation Is a Sampling Problem [behavioural; open-weight models 1B-120B] **[partial]**: sampling algorithm is a primary determinant of long-context output quality; top-p and top-k collapse into late-context repetition
- Post-training diversity loss is unevenly distributed across layers, so restoring a chosen subset of layers recovers it.
  - [p152850](../p/152850.md) Not All Layers Need Tuning: Selective Layer Restoration Reco [causal/synthetic; not stated]: a proxy task reveals a diversity-validity trade-off across restoration ranges, yielding configurations that raise diversity at minimal quality cost
- Different interaction architectures explore largely non-overlapping opinion regions, so combining them broadens coverage.
  - [p139464](../p/139464.md) More Is Not More: What Matters for Diversity in LLM Opinions [behavioural; 7 models, not stated]: architectures cover non-overlapping opinion regions across 100 questions and 7 models; combinations beat any single one
- Post-training tends to sharpen output distributions and reduce diversity, producing repetitive or homogenised generations.
  - [p152850](../p/152850.md) Not All Layers Need Tuning: Selective Layer Restoration Reco [causal/synthetic; not stated] **[partial]**: post-training often reduces generation diversity, causing repetitive outputs known as mode collapse
  - [p153781](../p/153781.md) Jointly Reinforcing Diversity and Quality in Language Model  [method; multiple model families and sizes] **[partial]**: post-training improves quality but sharpens output distributions and reduces the range of ideas
- Diverse sampling improves exploration and final performance on reasoning tasks such as math and code. **[demoted: only 2 paper(s) verified]**
  - [p148432](../p/148432.md) Free Lunch for Pass@$k$? Low Cost Diverse Sampling for Diffu [method; diffusion language models, not stated]: significantly improved diversity and Pass@k on HumanEval and GSM8K across sampling settings
  - [p150506](../p/150506.md) Intent Factored Generation: Unleashing the Diversity in Your [method; not stated]: improves both exploration and final performance on math and code tasks, combining well with verifier feedback
  - [p153781](../p/153781.md) Jointly Reinforcing Diversity and Quality in Language Model  [method; multiple model families and sizes] **[partial]**: optimizing for diversity catalyzes exploration in online RL, yielding higher pass@1 and pass@k on competition math

## Gaps
- Only one paper studies repetition and diversity in very long (8K-64K token) generations; the rest use short open-ended or reasoning outputs.
- No paper directly compares training-free sampling methods against RL-based diversity training under common metrics and tasks.
- Evidence relies mostly on automated diversity metrics; only one paper reports a sizable human evaluation of the diversity-quality trade-off.

## Off topic or tangential
- [p140024](../p/140024.md) From Infrastructure to Interface, the AI Value Chain Drives  [theory; not stated]: position paper attributing homogenization to ecosystem-level value-chain forces; its alignment-reduces-diversity point is background, not a method

## Verification report
- revision: 7 findings sent back to the generator; the revised answer was checked again
- bottom line: 3 sentences written, 0 dropped and 0 narrowed where both judges agreed, 0 kept although the judges split, 0 not checked
- 19 paper-to-statement attributions checked by two judges; agreement: 16 both agree, 2 supports vs partial, 1 one judge only
- changes: 1 demoted, 4 partial
- judge A (command-a-plus-05-2026): planted wrong statements caught 12 of 12; positive controls passed 12 of 12; claim-level overstatements caught 1 of 1; bottom-line overstatements caught 0 of 1
- judge B (deepseek/deepseek-v4-pro-0813): planted wrong statements caught 13 of 13; positive controls passed 13 of 13; claim-level overstatements caught 1 of 1; bottom-line overstatements caught 1 of 1

### Removed, changed or disputed by verification
- demoted: Diverse sampling improves exploration and final performance on reasoning tasks such as math and code.

## The 8 papers that ask this question

- [Long-Context Generation Is a Sampling Problem](../p/139582.md)
- [A Model of Diverse Sampling from Language Models](../p/151475.md)
- [Not All Layers Need Tuning: Selective Layer Restoration Recovers Diversity](../p/152850.md)
- [More Is Not More: What Matters for Diversity in LLM Opinions？](../p/139464.md)
- [Jointly Reinforcing Diversity and Quality in Language Model Generations](../p/153781.md)
- [Free Lunch for Pass@k? Low Cost Diverse Sampling for Diffusion Language Models](../p/148432.md)
- [Intent Factored Generation: Unleashing the Diversity in Your Language Model](../p/150506.md)
- [From Infrastructure to Interface, the AI Value Chain Drives LLM Homogenization](../p/140024.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=q/173)
