NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diverse Preference Optimization

Jack Lanchantin, Angelica Chen, Shehzaad Dhuliawala, Ping Yu, Jason Weston, Sainbayar Sukhbaatar, Ilia Kulikov

TL;DR

Alignment techniques like Direct Preference Optimization (DPO) make LLMs produce high-quality but highly repetitive outputs—a phenomenon known as alignment collapse. This paper introduces Diverse Preference Optimization (DivPO), a training method that selects preference pairs based on both quality and diversity criteria. DivPO significantly boosts output variety across creative writing and instruction-following tasks without sacrificing response quality.

What Problem Does This Paper Address?

Post-training alignment (such as RLHF, DPO, or Supervised Fine-Tuning) optimizes models to favor human-preferred responses. However, this optimization typically forces the model to place almost all its probability mass on a single, highest-rewarded response.

The consequence is alignment collapse: if you prompt a state-of-the-art model multiple times to write a story with the same title, it will repeatedly generate remarkably similar characters, plot points, and styles. This lack of diversity is a major bottleneck for creative applications and poses a severe challenge when using LLMs to generate diverse synthetic data for self-improvement training loops.

Methods

DivPO rethinks how preference pairs are selected during training. Instead of simply contrasting the absolute highest-rewarded response ("chosen") with the lowest-rewarded one ("rejected"), DivPO introduces a diversity constraint:

  1. Sample a Pool: For a given prompt, sample a pool of $N$ candidate responses from the model.
  2. Score and Bucket: Score all responses using a reward model. Define a "chosen set" (high-quality responses within a threshold $\rho$ of the top score) and a "rejected set" (lower-quality responses).
  3. Select via Diversity: From the high-quality chosen set, select the most diverse response ($y_c$). From the low-quality rejected set, select the least diverse response ($y_r$).
Figure 1: Diverse Preference Optimization (DivPO). We consider a diversity criterion D for selecting chosen and rejected responses from a pool in preference optimization. Rather than taking the highest rewarded response as the chosen (yc), we select the most diverse response that meets a certain quality reward threshold. Similarly, the least diverse response that is below a threshold is selected as the rejected response (yr). These are contrasted against each other to optimize both quality and diversity simultaneously.

The authors experiment with three diversity criteria ($\mathcal{D}$):

  • Model Probability: Prioritizing responses with lower model log-probabilities (i.e., rarer generations).
  • Word Frequency: Prioritizing responses containing less frequent words across the pool.
  • LLM-as-a-Diversity-Judge: Prompting a powerful model to explicitly pick the most unique response.

Datasets

The authors evaluate DivPO across three distinct tasks:

  • Persona Generation: A structured task prompting the model to output a JSON object containing a random character's first name, city of birth, and occupation.
  • Keyword Story Generation: A dataset of 6,000 synthetic story titles generated by Llama 3.1-405B (5k train, 1k test), where the model must output exactly five keywords appropriate for the title.
  • Instruction Following: A random sample of 10,000 single-turn real-world user prompts from the open-source Wildchat dataset. Models are evaluated using the AlpacaEval 2.0 benchmark.

Key Insights and Ideas

  • Bypassing the Quality-Diversity Tradeoff: Standard inference-time tricks to increase diversity (like increasing sampling temperature) cause a sharp drop in text quality. DivPO fundamentally reshapes the model's underlying distribution during training, allowing it to find a wider, flatter peak of high-quality responses.
  • Reshaping the Entire Distribution: DivPO doesn't just lengthen the tail of rare outputs; it actively flattens the distribution of common outputs. For instance, standard models heavily over-index on specific names (like "Astrid") when generating personas, whereas DivPO distributes its choices much more uniformly.
Figure 2: Persona Generation Statistics. Llama 3.1-8B-Instruct and DPO tend to repeatedly generate a small subset of names, as shown by frequency (%) of the top most frequently generated. In contrast, DivPO provides a substantially more uniform distribution over the most frequent attributes, in addition to overall improved diversity metrics (see Table 1).
  • Controllable Diversity via $\rho$: The hyperparameter $\rho$ acts as a precise dial. Setting $\rho = 0$ reduces the algorithm to standard DPO, while increasing $\rho$ allows practitioners to smoothly trade a tiny fraction of maximum reward for massive gains in diversity.

Key Results

1. Persona Generation

In online training setups, DivPO (using word frequency) achieved a 54.14% average diversity score across attributes compared to just 8.54% for online DPO, while maintaining a near-perfect valid JSON rate (99.80%).

2. Keyword Story Generation

Compared directly to DPO, DivPO ($\rho = 0.3$) increased story keyword diversity (measured by unique 1-grams) by 74.6%, while suffering only a negligible 6.4% drop in quality according to the ArmoRM reward model.

Figure 3: Keyword Story Generation Results. We show quality (ArmoRM scores) vs Diversity (Unique 1-Grams) for N=16 responses per prompt. To tune diversity for baselines, we vary the baseline Lama 3.1-8B-Instruct temperature (t), and the DPO β value. For our method, DivPO, we vary the ρ hyperparamter for choosing preference pairs. Unless otherwise noted, all methods use t=1.

3. General Instruction Following

On the AlpacaEval 2.0 benchmark, DivPO ($\rho = 0.4$) achieved a length-controlled win rate of 42.29% (outperforming standard DPO's 41.30%) while simultaneously boosting unique 1-gram diversity from 994.7 to 1454.6 (a 46.2% increase).

Limitations and Future Work

  • Loss Function Constraints: DivPO is explicitly designed around pairwise preference optimization frameworks (like the Bradley-Terry model used in DPO). It cannot be directly plugged into non-pairwise RLHF variants, such as Group Relative Policy Optimization (GRPO).
  • Future Directions: The authors note that future work should explore extending DivPO to more complex, multi-turn generation tasks and integrating more sophisticated, multi-dimensional metrics for measuring semantic diversity.

Summary updated

BibTeX
@misc{lanchantin2025diverse,
  author = {Jack Lanchantin and Angelica Chen and Shehzaad Dhuliawala and Ping Yu and Jason Weston and Sainbayar Sukhbaatar and Ilia Kulikov},
  title = {{Diverse Preference Optimization}},
  year = {2025},
  eprint = {2501.18101},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18101},
}
Figure