Outcome-based Exploration for LLM Reasoning
Yuda Song, Julia Kempe, Remi Munos
TL;DR
The paper addresses the paradox that reinforcement learning (RL) post-training improves LLM reasoning accuracy but reduces generation diversity, hindering real-world deployment. It reframes RL as a sampling process on the training data and introduces outcome-based exploration, including Historical UCB and Batch exploration, along with a theoretical outcome-based bandit model, to preserve diversity while boosting correctness. Empirical results on standard math benchmarks with $Llama$ and $Qwen$ show that these methods improve accuracy and mitigate diversity collapse, achieving a better balance between exploitation and diversity. This work provides a practical path for RL-based reasoning that maintains test-time diversity essential for scalable deployment.
Abstract
Reinforcement learning (RL) has emerged as a powerful method for improving the reasoning abilities of large language models (LLMs). Outcome-based RL, which rewards policies solely for the correctness of the final answer, yields substantial accuracy gains but also induces a systematic loss in generation diversity. This collapse undermines real-world performance, where diversity is critical for test-time scaling. We analyze this phenomenon by viewing RL post-training as a sampling process and show that, strikingly, RL can reduce effective diversity even on the training set relative to the base model. Our study highlights two central findings: (i) a transfer of diversity degradation, where reduced diversity on solved problems propagates to unsolved ones, and (ii) the tractability of the outcome space, since reasoning tasks admit only a limited set of distinct answers. Motivated by these insights, we propose outcome-based exploration, which assigns exploration bonuses according to final outcomes. We introduce two complementary algorithms: historical exploration, which encourages rarely observed answers via UCB-style bonuses, and batch exploration, which penalizes within-batch repetition to promote test-time diversity. Experiments on standard competition math with Llama and Qwen models demonstrate that both methods improve accuracy while mitigating diversity collapse. On the theoretical side, we formalize the benefit of outcome-based exploration through a new model of outcome-based bandits. Together, these contributions chart a practical path toward RL methods that enhance reasoning without sacrificing the diversity essential for scalable deployment.
