arXiv:2610.19408cs.CLOct 2026

Manuscript Offprint

arXiv:2610.19408

ForkGRPO: Efficient Exploration and Fine-Grained Credit Assignment for Diffusion Language Models

Zhaoyan Jia, Chengwei Zhou, Gourav Datta, Massoud Pedram

Abstract

Diffusion large language models (dLLMs) have advanced rapidly, yet strengthening their reasoning through reinforcement learning (RL) remains an open challenge. Any-order generation can suffer from entropy degradation, which narrows the reasoning paths available for exploration. Recent work mitigates this issue by applying standard GRPO with left-to-right generation. However, independently generating every rollout from the input prompt can leave alternative continuations from intermediate states underexplored, while trajectory-level advantages assign uniform credit to all tokens without distinguishing the contributions of individual reasoning segments. We propose FORKGRPO, an RL framework that couples efficient exploration with fine-grained segment-level credit assignment. It samples multiple continuations from high-entropy intermediate states along a reference trajectory, prioritizing textual boundaries and reusing shared prefixes. The continuations provide complementary learning signals: within-state group-relative advantages guide which continuations to reinforce, while Monte Carlo state-value differences indicate which reasoning segments improve expected outcomes. Among the evaluated architecture-preserving RL methods, FORKGRPO achieves the best performance on three of four benchmarks, while improving over the directly comparable JustGRPO by up to 1.2 percentage points and using up to 27.8% fewer generated tokens. FORKGRPO-FAST further achieves a 2.49×2.49\times training wall-clock speedup with negligible accuracy loss.

1 Introduction

Diffusion large language models (dLLMs) have advanced rapidly, emerging as a promising alternative to autoregressive (AR) language models with competitive language modeling and downstream capabilities (Nie et al., 2025). Their iterative denoising process supports parallel token generation and flexible decoding orders, but how to turn these capabilities into stronger reasoning through RL remains an open challenge. Recent work has shown that any-order decoding suffers from entropy degradation: uncertain decisions are deferred until other generated tokens have constrained their possible outcomes, narrowing the reasoning paths available for exploration (Ni et al., 2026). JustGRPO mitigates this issue by enforcing left-to-right generation during RL, requiring the model to sample at uncertain logical forks before subsequent context constrains the available reasoning paths (Ni et al., 2026). This provides a promising starting point for dLLM reasoning, but leaves an important question: how can training explore the solution space more efficiently and thoroughly, and how can finer-grained credit assignment lead to better reasoning trajectories?

However, standard GRPO still has two limitations. First, exploration relies on independent rollouts from the input prompt. Although left-to-right generation preserves alternative reasoning paths, it does not ensure that these possibilities are sufficiently explored. Under a finite sampling budget, rollouts may repeatedly follow common paths, leaving alternative continuations from intermediate states underexplored. Revisiting these states and sampling multiple continuations could allocate the budget more effectively and improve coverage of the available solution space.

Second, credit is assigned at the trajectory level. GRPO computes a relative advantage from the final reward and applies the same advantage to every token in a response (Shao et al., 2024). This signal compares complete responses but does not distinguish progress made by individual reasoning segments. A segment that increases the likelihood of eventual success may receive a negative advantage because a later mistake leads to an incorrect answer. Conversely, all segments in a response with a positive advantage are reinforced together, regardless of their individual contributions. Estimating how the expected final reward changes across a segment could provide more fine-grained credit assignment and help the model learn better reasoning trajectories. Together, these limitations motivate sampling alternative continuations from shared intermediate states and deriving segment-level credit from their terminal rewards.

We propose FORKGRPO, an RL framework for dLLMs that combines exploration from intermediate states with segment-level credit assignment. ForkGRPO samples a group of responses and uses one as the reference trajectory, along which it selects high-entropy fork states while prioritizing textual boundaries. It samples multiple continuations from each fork state, exploring alternative reasoning paths without generating every response from the beginning. Their average terminal rewards estimate state values, whose changes provide segment-level advantages along the reference trajectory. Combined with group-relative advantages among continuations from each fork state, these provide complementary learning signals that guide both progress along a reasoning trajectory and the choice of continuations from its intermediate states. We further introduce FORKGRPO-FAST to reduce sampling and optimization costs. Adaptive rollout adjusts continuation counts based on pilot reward diversity, while sparse branch replay and state subsampling reduce gradient computation over collected branches and generation states.

Our methods outperform all compared RL methods for dLLM on mathematical reasoning benchmarks. FORKGRPO outperforms JustGRPO on all four benchmarks by an average of 0.75 percentage points, while using at most 81.3% of its token-generation budget on GSM8K. FORKGRPO-FAST further achieves a 2.49×2.49 \times training speedup over full FORKGRPO while retaining 90.3% accuracy on GSM8K. These results highlight the benefits of jointly improving exploration and credit assignment for dLLM reasoning.

References (46)