Post-training Large Language Models for Diverse High-Quality Responses
About
Reinforcement learning (RL) has emerged as a popular method for post-training large language models (LLMs). While improving the model's performance on downstream tasks, it often reduces the model's output diversity, leading to narrow, canonical responses. Existing methods to enhance diversity are limited, either by operating at inference time or by focusing on surface-level differences. We propose a novel training method named DQO (Diversity Quality Optimization) based on determinantal point processes (DPPs) to jointly optimize LLMs for quality and semantic diversity. Our approach samples and embeds a group of responses for each prompt, then uses the determinant of a kernel-based similarity matrix to measure diversity as the volume spanned by the embeddings of these responses. DQO is flexible and can be applied on top of existing RL algorithms. Experiments across instruction-following, summarization, story generation, and reasoning tasks demonstrate that our method substantially improves semantic diversity without sacrificing model quality.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Mathematical Reasoning | AIME 2024 | Accuracy46.8 | 479 | |
| Mathematical Reasoning | AIME 2025 | Accuracy46.5 | 311 | |
| Science Question Answering | ARC-C | Accuracy86.5 | 261 | |
| Question Answering | MMLU-Pro | Accuracy59.2 | 91 | |
| Mathematical Reasoning | Olympiad | Pass@1 Accuracy39.2 | 35 | |
| Mathematical Problem Solving | Minerva | Pass@k37 | 24 | |
| Mathematical Problem Solving | MATH 500 | Pass@k78.2 | 24 | |
| Mathematical Problem Solving | Olympiad | Pass@k45.4 | 24 | |
| Mathematical Reasoning | AIME 2025 | Pass@k67.3 | 24 | |
| Mathematical Reasoning | Minerva | Pass@k37.7 | 24 |