Diverse, not Short: A Length-Controlled Data Selection Strategy for Improving Response Diversity of Language Models

Vijeta Deshpande, Debasmita Ghose, John D Patterson, Roger E. Beaty, Anna Rumshisky

TL;DR

This paper introduces "Diverse, not Short" (Diverse-NS), a novel data selection strategy that combats the tendency of large language models (LLMs) to produce shorter, less diverse responses after alignment. By carefully curating preference data that balances diversity, quality, and crucially, length, Diverse-NS significantly enhances response expressiveness without sacrificing quality, even with a small dataset.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly aligned with human preferences to be helpful, harmless, and honest. However, this alignment process often leads to a significant reduction in the diversity of generated text. This is problematic because it can result in less original content, hinder creative ideation, and even lead to model collapse through repeated training on similar outputs. Existing diversity metrics and reward models often inadvertently favor shorter responses, exacerbating this issue. The paper aims to address this "length bias" and find a way to improve LLM diversity without compromising quality.

Methods

The core of the paper is the Diverse, not Short (Diverse-NS) strategy. It's a two-stage process:

  1. Data Generation: The authors use a sequential prompting approach to elicit more diverse responses. First, a base model generates an initial response. Then, a second inference call is made, instructing the model to rewrite the first response in a more creative and diverse way, while maintaining a comparable length. This creates pairs of responses (chosen and rejected) for the same prompt.
  2. Data Filtration: This is where the "length-controlled" aspect comes in. The generated pairs are filtered based on several criteria:
  3. The "chosen" response must be of higher quality than the "rejected" one.
  4. The "chosen" response must have higher diversity than the "rejected" one.
  5. Crucially, the word count difference between the "chosen" and "rejected" responses must be within ±5 words. This directly counteracts the length bias in standard diversity metrics.

The filtered preference pairs are then used to fine-tune the LLM using Direct Preference Optimization (DPO). A lightweight variant, Diverse-NS-Lite, is also proposed, which uses computationally cheaper proxy metrics (Type-Token Ratio for diversity and MAAS for quality) instead of expensive entropy and ArmoRM scores for filtering.

Datasets

  • Training Data: The authors generated a dataset of 6,000 preference pairs from Llama-3.1-8B and Olmo-2-7B models. This dataset was specifically curated using their Diverse-NS strategy.
  • Evaluation Datasets: The models were evaluated on four creative generation tasks:
  • Divergent Associations Task (DAT)
    • Persona Generation Task (PGT)
    • Alternate Uses Task (AUT)
    • Creative Writing Task (CWT)

A new metric, Diversity Decile (ΔDD), was introduced to evaluate diversity in a length-adjusted manner.

Key Insights and Ideas

  • Length Bias is a Major Confounder: The paper strongly highlights how standard diversity metrics and even quality reward models are implicitly biased towards shorter outputs, leading to a loss of expressiveness.
  • Small Models as "Diversity Teachers": Surprisingly, smaller models (like Olmo-2-7B) can effectively teach larger models (like Olmo-13B) to be more diverse, offering a cost-effective path for diversity alignment.
  • Effective with Minimal Data: The Diverse-NS strategy achieves significant diversity improvements using only 3,000 preference pairs, making it highly efficient.
  • Balancing Diversity and Quality: While diversity and quality often trade-off, Diverse-NS demonstrates that it's possible to improve both, or at least maintain quality while significantly boosting diversity.

Key Results

  • Significant Diversity Gains: Diverse-NS and Diverse-NS-Lite consistently improved diversity across all four evaluation tasks (DAT, PGT, AUT, CWT) for Llama-3.1-8B and Olmo-7B models.
  • Outperforming Baselines: Both Diverse-NS and Diverse-NS-Lite outperformed the DivPO baseline in most diversity metrics. Diverse-NS-Lite, in particular, matched or exceeded the baseline and Diverse-NS on many attributes.
  • Human Evaluation Confirmation: Human evaluations and LLM-as-a-Judge experiments confirmed that Diverse-NS produces responses perceived as more diverse.
  • Length Control: The filtering process successfully controlled for length, with Diverse-NS and Diverse-NS-Lite showing a tendency to generate longer, more expressive responses compared to DivPO, which often shortened them.
  • Quality Maintained: While some minor drops in quality were observed in certain scenarios, overall quality was largely maintained, and in some cases, improved alongside diversity.

Limitations and Future Work

  • Single Diversity Metric for Filtering: The current filtering relies on a single diversity metric. Future work could incorporate multiple metrics to capture a broader spectrum of text diversity.
  • Single Data Generation Task: The study focused on short story generation. Expanding the framework to a broader set of tasks could lead to more generalizable diversity enhancements.
  • Single Round of Preference Tuning: The study used a single round of preference tuning. Investigating the effects of repeated rounds of self-training could further improve diversity.
  • Length Distribution Shift: While controlling for length in preference pairs, the model learned to generate longer responses. Further research is needed to understand and control this shift, potentially through multi-task setups.
  • Proprietary Models for Assistance: The authors acknowledge using proprietary LLMs (GPT-40 and Claude) for editing and refining text, though no part of the manuscript was generated entirely by an LLM.

Summary updated

BibTeX
@inproceedings{deshpande2025diverse,
  author = {Vijeta Deshpande and Debasmita Ghose and John D Patterson and Roger E. Beaty and Anna Rumshisky},
  title = {{Diverse, not Short: A Length-Controlled Data Selection Strategy for Improving Response Diversity of Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure