arXiv:2610.19457cs.LGOct 2026

Manuscript Offprint

arXiv:2610.19457

MIPS: Mitigating Mode Collapse in Reinforcement Learning for Large Outcome Spaces

Armaan Sandhu, Abhijeet Sinha, Dianbo Liu

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

ABSTRACT

Expected-reward maximization in reinforcement learning concentrates probability mass on a few outcomes, even in tasks that require many distinct, high-quality solutions, a failure known as mode collapse. Inverse Probability Scaling (IPS) counters this in group-based policy gradients such as GRPO by dividing each reward by the outcome's probability, estimated from its frequency within the sampled group. When the outcome space is large relative to the group, outcomes rarely repeat and these estimates become uninformative. Since an outcome can be constructed along many trajectories, its probability is a sum over all of them, and computing it directly is intractable. We propose Marginal IPS (MIPS), which performs marginal evaluation by combining the sampled trajectory with a learned model of the trajectories that lead to each outcome. On Hypergrids, where the exact sampling distribution is computable, MIPS stays near the reward-distribution target as the outcome space grows relative to the rollout group, while frequency-based IPS degrades. In molecular synthesis and phylogenetic inference, MIPS sustains diverse, high-quality sampling where GRPO and frequency-based IPS collapse, showing that MIPS serves as a reliable solution to mode collapse in RL.

1 INTRODUCTION

Many reinforcement learning (RL) problems require a policy to preserve multiple distinct, high-quality solutions rather than identify a single optimum. This setting arises in large-language-model post-training (Ouyang et al., 2022), molecular discovery (Zhu et al., 2023; Koziarski et al., 2024), and combinatorial generation (Bengio et al., 2021), where several terminal outcomes may be simultaneously useful (Kirk et al., 2024; Pan et al., 2022). Standard expected-reward optimization in RL, however, often concentrates probability mass on a small subset of rewarding outcomes, yielding repetitive or homogeneous samples despite high expected reward (Sinha et al., 2026; Kirk et al., 2024; Olivecrona et al., 2017; Li et al., 2026). We refer to this concentration of the terminal sampling distribution as mode collapse.

To mitigate mode collapse in RL, we seek a policy that maintains broad coverage of useful outcomes while assigning greater probability to higher-quality ones. This requires the learned outcome probabilities to reflect the reward landscape, so that distinct rewarding regions remain represented according to their relative quality. Under this view, diversity depends not only on how broadly probability mass is spread, but also on where it is placed in the outcome space. This turns mode-collapse mitigation into learning reward-aligned outcome probabilities, i.e., pθ(oi)∝R(oi)p_{\theta}(o_i) \propto R(o_i), rather than optimizing generic diversity proxies such as policy entropy, novelty, or pairwise disagreement. Generic entropy regularization can increase stochasticity without specifying how probability should be allocated across outcomes (Haarnoja et al., 2018), although specialized formulations can induce reward-aligned behavior (Tiapkin et al., 2024; Deleu et al., 2024). GFlowNets provide an established framework for learning such outcome probabilities (Bengio et al., 2021; 2023); our focus is on achieving this behavior within a conventional RL optimization pipeline.

∗^{*}Equal contribution.

Inverse Probability Scaling (IPS) provides such a route by scaling each sampled reward by the inverse probability of its terminal outcome (Sinha et al., 2026). Intuitively, IPS increases the relative advantage of rare rewarding outcomes and decreases that of outcomes sampled more frequently.

The difficulty with IPS is estimating the marginal probability of a terminal outcome. IPS-GRPO uses outcome frequencies within a rollout group, which become uninformative for outcomes whose probability is too small to yield repeated observations within the group (Section 2).

A readily available trajectory likelihood is not a substitute for the needed terminal probability. In constructive environments, many distinct action sequences can lead to the same outcome, so one path’s probability does not include the probability of the alternative paths producing that outcome.

We introduce Marginal Inverse Probability Scaling (MIPS), which evaluates the marginal terminal probability using one sampled trajectory together with a learned trajectory-conditional model. The conditional model accounts for the many-to-one mapping from trajectories to outcomes, allowing MIPS to estimate the outcome marginal without sampling a large number of trajectories or explicit path enumeration. The resulting scaled rewards enter the standard GRPO surrogate unchanged (Shao et al., 2024; Schulman et al., 2017). Figure 1 illustrates the effect on a Hypergrid with four rewarding modes: entropy-regularized RL and frequency-based IPS each collapse onto a single mode, whereas MIPS places probability on all four in line with the reward.

We evaluate MIPS across three increasingly large and structured domains. On enumerable Hypergrids, exact policy probabilities allow direct measurement of agreement between the reward landscape and policy; sweeps over terminal-space size and rollout-group size additionally test how the effectiveness of IPS depends on group size G as the outcome space grows. In reaction-based molecular synthesis (Kozierski et al., 2024), we measure retention of diverse high-reward modes and molecular scaffolds. In phylogenetic tree construction (Zhou et al., 2024), we measure terminal coverage and alignment between sampling mass and reward. The latter two evaluations assess diverse coverage and the retention of high-quality solutions.

Figure

Figure 1: Terminal distributions on a Hypergrid. Left to right: the reward-distribution target, entropy-regularized RL, frequency-based IPS-GRPO, and MIPS-GRPO.

Our contributions are:

• We introduce MIPS, which estimates an outcome’s marginal probability using a learned trajectory-conditional model, while retaining the standard GRPO update.

• We evaluate MIPS on Hypergrids, where the learned outcome distribution can be compared exactly with the reward distribution. We then extend the evaluation to molecular synthesis and phylogenetic tree construction, where we measure coverage of high-quality outcomes and alignment with the reward.

References (24)