English

Group-Aware Reinforcement Learning for Output Diversity in Large Language Models

Computation and Language 2025-11-18 v1 Artificial Intelligence Machine Learning

Abstract

Large Language Models (LLMs) often suffer from mode collapse, repeatedly generating the same few completions even when many valid answers exist, limiting their diversity across a wide range of tasks. We introduce Group-Aware Policy Optimization (GAPO), a simple extension of the recent and popular Group Relative Policy Optimization (GRPO) that computes rewards over the group as a whole. GAPO enables learning from the group-level properties such as diversity and coverage. We demonstrate GAPO using a frequency-aware reward function that encourages uniform sampling over valid LLM completions, and show that GAPO-trained models produce valid and more diverse model responses. Beyond this setup, GAPO generalizes to open-ended prompts and improves response diversity without compromising accuracy on standard LLM benchmarks (GSM8K, MATH, HumanEval, MMLU-Pro). Our code will be made publicly available.

Keywords

Cite

@article{arxiv.2511.12596,
  title  = {Group-Aware Reinforcement Learning for Output Diversity in Large Language Models},
  author = {Oron Anschel and Alon Shoshan and Adam Botach and Shunit Haviv Hakimi and Asaf Gendler and Emanuel Ben Baruch and Nadav Bhonker and Igor Kviatkovsky and Manoj Aggarwal and Gerard Medioni},
  journal= {arXiv preprint arXiv:2511.12596},
  year   = {2025}
}

Comments

EMNLP Main 2025

R2 v1 2026-07-01T07:39:45.742Z