Manuscript Offprint

arXiv:2610.24236

Preserving Reasoning Diversity in Reinforcement Learning with Verifiable Rewards via Adaptive Replay

Wen-Zhi Li, Sainyam Galhotra, Claire Cardie

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reinforcement Learning with Verifiable Rewards (RLVR) improves the reasoning capabilities of large language models, but often reduces the diversity of their reasoning behaviors. We study this phenomenon from the perspective of finite-sample learning dynamics and show that limited on-policy rollouts can progressively suppress semantically distinct but equally rewarded reasoning modes. Once a mode becomes sufficiently under-sampled, standard on-policy RLVR rarely recovers it. Motivated by this observation, we propose TAR, a Targeted Adaptive Replay framework that preserves diverse correct reasoning behaviors already present in the base policy. TAR constructs a compact memory bank of diverse base-model solutions and selectively replays them through an adaptive mechanism that activates only when stored behaviors are being suppressed during RLVR. Across six mathematical reasoning benchmarks and two Qwen2.5 model scales, TAR consistently achieves a better balance between reasoning performance and diversity preservation than existing diversity-preserving post-training methods, while substantially reducing the forgetting of correct base-model solutions. Code is available at https://github.com/wenzhilics/tar.

1 Introduction

Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as the de facto paradigm for equipping Large Language Models (LLMs) with advanced reasoning capabilities, particularly in mathematical and coding domains (Jaech et al., 2024; Guo et al., 2025; Yang et al., 2025). The standard formulation optimizes a KL-regularized objective over model-generated responses with respect to a verifiable reward function, with Group Relative Policy Optimization (GRPO) (Shao et al., 2024) becoming the dominant training recipe. Despite these advances, recent studies suggest that RLVR post-training does not necessarily induce genuinely new capabilities; rather, it tends to amplify high-reward regions already present in the base model's prior distribution (Yue et al., 2025; Wu et al., 2025a). This behavior can lead to reduced output diversity and insufficient exploration, ultimately resulting in mode collapse.

From a theoretical perspective, recent studies show that for any two responses with equal reward, their probability ratio in the optimum is identical to that in the reference policy (Korbak et al., 2022; GX-Chen et al., 2026; Chen et al., 2026a). Therefore, the objective itself does not introduce preference against any mode. This raises a natural question: if equally rewarded modes are not explicitly distorted by the objective, why do some semantically valid reasoning modes nevertheless disappear during RLVR in practice?

We analyze RLVR from the perspective of finite-sample learning dynamics and show that stochastic fluctuations induced by limited on-policy rollouts can accumulate across updates, progressively shifting probability mass toward a subset of reasoning modes while others become increasingly underrepresented. This analysis identifies the coverage of distinct correct reasoning modes as a key factor behind this instability, suggesting a direct design principle: mitigating mode collapse requires increasing such coverage during training.

Existing approaches encourage exploration in RLVR mainly by modifying the learning signal over on-policy rollouts to introduce explicit diversity rewards (He et al., 2025; Cheng et al., 2026; Yao et al., 2025; Chen et al., 2026b). However, such methods can only act on behaviors already represented in the sampled rollouts, providing no direct mechanism to recover a sufficiently under-sampled mode.

A straightforward way to improve such coverage is to increase the number of on-policy rollouts. However, this is often computationally prohibitive,

Figure

Figure 1: Negative log-likelihood distribution of ground truth external expert demonstrations and internal LLM self-generated demonstrations with Qwen2.5-0.5B-Instruct.

as rollout generation constitutes a major bottleneck in GRPO training (Kwon et al., 2023). Another possibility is to introduce diverse demonstrations from human experts or stronger LLMs (Yan et al., 2025; Yuan et al., 2025). Yet such external trajectories can be substantially out-of-distribution under the current policy, which can weaken their effectiveness as positive training signals (Zhou et al., 2025), as illustrated in Figure 1. These observations motivate a different strategy: rather than repeatedly generating more on-policy rollouts or relying on external demonstrations, we can reuse diverse correct reasoning trajectories already intrinsically in the base model itself.

To this end, we propose Targeted Adaptive Replay (TAR), an RLVR framework designed to preserve diverse correct reasoning behaviors already present in the base policy and selectively restore them during training. Specifically, we first construct a compact memory bank by oversampling base-model trajectories, filtering for correctness, and selecting semantically diverse prototypes. We then introduce a gated adaptive replay mechanism that selectively activates supervision when a stored trajectory has become less likely under the current policy than under the base policy, while concentrating the corrective update on its most suppressed tokens. This allows the memory bank to act as a targeted off-policy corrective signal for disappearing reasoning modes, rather than a persistent imitation objective.

Empirically, across six mathematical reasoning benchmarks and two Qwen2.5 model scales, TAR consistently achieves a favorable balance between reasoning performance and diversity preservation compared with existing diversity-preserving methods. Further analysis shows that TAR substantially reduces the forgetting of correct reasoning behaviors inherited from the base model. Together, these results demonstrate that targeted adaptive replay can preserve a broader range of reasoning behaviors without preventing effective RL adaptation.

References (14)