Jointly Reinforcing Diversity and Quality in Language Model Generations
Tianjian Li, Yiming Zhang, Ping Yu, Swarnadeep Saha, Daniel Khashabi, Jason Weston, Jack Lanchantin, Tianlu Wang
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Efficient Reasoning in Language Models · Type: new method · Keywords: language model post-training, semantic diversity, reinforcement learning, quality-diversity trade-off, creative text generation
Areas: RL for LLMs & Agents › LLM Policy Optimization › Reinforcement Learning for Language Models
Summary
DARLING is a diversity-aware reinforcement learning framework that jointly optimizes response quality and semantic diversity, improving both novelty and performance on creative and verifiable language model tasks.
Explained to a 5-year-old
Big computers can talk to us using language models. They learn to answer questions in a helpful way. When they answer, they sometimes repeat the same ideas, which can be boring. We want them to be both smart and interesting, like a creative story with new twists. So researchers made a new training method that looks at two things: how good the answer is and how different it is.
Explained to a 5-year-old, longer
Big computers can talk to us using language models. They learn to answer questions in a helpful way. When they answer, they sometimes repeat the same ideas, which can be boring. We want them to be both smart and interesting, like a creative story with new twists. So researchers made a new training method that looks at two things: how good the answer is and how different it is. They use a special tool to measure if an answer is truly new, not just using different words. This tool helps the model learn to be creative while staying accurate. The model gets rewards when it gives answers that are both correct and original. This helps it explore more ideas, like trying many colors when painting. Over time, the model starts to give answers that are both high-quality and fresh. It works well for fun tasks like storytelling and for tricky problems like math. In the end, this makes language models more useful for many kinds of work.
For a technical reader
DARLING is a reinforcement-learning framework that simultaneously optimizes for response quality and semantic diversity in language models. It uses a learned partition function to capture deeper diversity beyond simple word variations, which is combined with a quality reward during online training. The framework is evaluated across multiple model families and sizes, showing consistent improvements on creative tasks and competition-math benchmarks. It also demonstrates that explicit diversity optimization enhances exploration, leading to higher-quality outputs. This approach can be integrated into existing post-training pipelines to produce more varied and useful language model responses.
Problem
Post-training of large language models often focuses on accuracy and helpfulness, which can reduce output diversity and limit creative applications. This creates a trade-off between quality and diversity that hampers tasks like brainstorming, storytelling, and problem solving.
Method
The approach employs a learned partition function to quantify semantic diversity, which is combined with a quality reward in an online reinforcement learning loop. This joint optimization encourages models to produce outputs that are both high-quality and semantically distinct. The method is applied across multiple model families and sizes.
Results
The approach consistently outperforms quality-only reinforcement learning baselines on five benchmarks for non-verifiable tasks, delivering higher quality and novelty. For verifiable competition-math tasks, it achieves higher pass@1 and pass@k scores, and diversity optimization also boosts exploration leading to better responses.
Contributions
The work introduces a way to measure semantic diversity beyond surface lexical variation and integrates this signal with quality rewards in online reinforcement learning. This joint optimization improves both output quality and diversity across a range of creative and problem-solving tasks.
Research questions this paper is counted under
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