Hierarchical Credit Assignment for RLVR on Fused Gromov-Wasserstein Geometry
Anonymous authors
ICLR 2027
Abstract. Reinforcement learning with verifiable rewards (RLVR) has been shown to improve the reasoning capability of large language models (LLMs) across diverse reasoning tasks. However, group-based RLVR methods, such as GRPO, assign a uniform advantage to all tokens within rollouts of the same outcome. While existing works refine credit assignment of GRPO based on local signals such as token locations or entropy, they often fail to capture the global semantic novelty of a reasoning behavior relative to the current policy. In this work, we propose a hierarchical credit assignment approach for group-based RLVR methods, called HarA, which identifies and encourages semantically novel reasoning behaviors during RLVR. HarA represents each sampled rollout as a distribution over the hidden states and locations of tokens, and computes the Fused Gromov-Wasserstein (FGW) barycenters of all rollouts with the same outcome, capturing the internal reasoning patterns in the latent space under the current policy. The semantic novelty of a reasoning element can then be measured by its contribution to the FGW distance between the current rollout and the barycenter. While solving the FGW formulation is expensive, we introduce an anchor-guided linearization that turns it into a Wasserstein formulation solvable via the Sinkhorn algorithm efficiently. By reweighing token-level advantage of group-based RLVR methods based on the novelty signals, HarA highlights novel reasoning behaviors at flexible granularities to encourage fine-grained LLM exploration. Extensive experiments across three group-based RLVR methods show that our plug-and-play method effectively enhances the exploration of LLMs, outperforming existing methods across diverse reasoning benchmarks.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:39 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes a novel credit assignment method HARA, which computes the Fused Gromov-Wasserstein (FGW) barycenters of all rollouts with the same reward of a group, and defines new weight based on rollout's contribution the the FGW distance. For computational efficiency, it proposes an anchor-guided linearization for the non-convex GW term, makes it a convex Wasserstein term. Experimental results show superior performance among baselines.
Strengths
- This paper proposes a novel credit assignment method HARA.
- It proposes an anchor-guided linearization to improve optimization efficiency.
- Experimental results demonstrate the effectiveness of HARA.
Weaknesses
- This paper does not establish that FGW novelty corresponds to useful exploration. HARA assumes that reasoning behaviors farther from the outcome-conditioned barycenter deserve stronger encouragement when correct and weaker penalties when incorrect. However, a large FGW distance may also reflect incoherence, formatting variation, or unproductive reasoning rather than useful exploration. Figure 2 mainly shows that barycenter supports correlate with LLM-annotated reasoning stages, not that high-novelty behaviors are more likely to produce future learning gains.
- The "hierarchical" characterization appears stronger than what is actually evaluated. Although the framework is formulated using an arbitrary partition into reasoning spans, the experiments only instantiate two extreme cases: the entire rollout as one span (HARA-seq) or every token as an individual span (HARA-tok). The method does not jointly perform sequence- and token-level credit assignment, nor does it evaluate the intermediate reasoning-span granularity suggested by the hierarchical framing.
- The inverse novelty weighting for incorrect trajectories has an unspecified numerical edge case. For incorrect rollouts this paper sets $p=-1$, so the credit is proportional to , where . If , Eq. (7) is undefined. Even when is very small, the normalized weight can become highly concentrated on a single span, yet no , clipping rule, or other stabilization is specified.
- The method does not specify how outcome-degenerate groups are handled. HARA constructs separate barycenters for correct and incorrect rollouts, but with only samples per prompt, it is possible that all sampled rollouts receive the same binary reward, leaving one outcome-conditioned group empty. This paper does not explain how the corresponding barycenter or novelty credit is defined in this case.
- Important implementation details of the latent representation are missing. Each rollout is represented using a token hidden-state matrix , but this paper does not specify from which Transformer layer these hidden states are extracted.
- The model referred to as "GPT-5-Sol" in line 206 and lines 821–822 does not exist.
- This paper does not provide the concrete reward rule used in the experiments, and the code is unavailable, which raises a reproducibility concern.
Questions for the authors
Please refer to the Weaknesses.
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper addresses the issue that GRPO assigns the same advantage to every token in a rollout. The authors note that existing methods reweight tokens by position or entropy, but these are local signals within a single response and cannot tell whether a reasoning segment takes a different approach from the other responses in the group. The paper proposes HARA, which represents each rollout as a distribution over its tokens’ hidden states and positions. For each prompt, HARA computes an FGW barycenter for the correct and the incorrect responses separately, measures each token’s novelty by its distance to the barycenter after alignment, and reweights the GRPO advantages accordingly. To reduce cost, the authors linearize FGW into a Wasserstein problem solvable with Sinkhorn, using the first and last tokens as anchors, and provide a bound on the approximation error. Trained on MATH with Qwen3-1.7B/4B/8B Base, HARA improves over GRPO by 3.7 to 4.8 points on average across five math benchmarks, with 5% to 14% extra training overhead.
Strengths
- The problem is meaningful. Coarse-grained credit assignment caused by assigning a uniform advantage within each group is indeed a pain point of GRPO. Using “distribution-level novelty relative to the current policy” for credit assignment is an intuitive idea, and the method is plug-and-play.
- The paper also reports the training overhead and a time–accuracy comparison against GRPO.
- The theoretical derivations appear to be correct.
Weaknesses
- Limited novelty. The most closely related work, SHEAR, which also uses hidden states and the Wasserstein distance for credit assignment, is mentioned only in a single sentence in the related work section. The paper lacks both a theoretical comparison and an experimental comparison with it.
- “Hierarchical” is an overclaim. The claimed “arbitrary granularity” is reflected only in two levels, sequence and token. There is no hierarchical combination across levels, and no segment-level variant is explored.
- The baseline comparison is flawed. According to Figure 4 (Qwen3-8B-Base), HARA’s responses are about twice as long as GRPO’s. With a maximum length of 8196 tokens, GRPO averages only about 1k tokens, which suggests the baseline may be under-tuned. Since longer responses generally lead to higher accuracy on math tasks, HARA’s gains may mainly come from longer responses rather than from credit assignment. Moreover, nearly doubling the response length while adding only 5%–14% training overhead is inconsistent with the fact that rollout generation usually dominates training time. I suggest the authors report response lengths for all methods and provide comparisons under comparable lengths.
Questions for the authors
See above
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
HARA addresses coarse credit assignment in GRPO-style RLVR, where all tokens in a rollout share one outcome-level advantage. It represents each rollout as a distribution over a chain graph of token hidden states, computes a FGW barycenter over rollouts sharing a prompt and outcome as a reference for the policy's internal reasoning patterns, and measures each token's novelty by its contribution to the linearized FGW distance to the barycenter. Token-level advantages are then reweighted accordingly, upweighting novel reasoning in correct rollouts and downweighting it in incorrect ones, while anchor-guided linearization reduces the quartic GW term to a Sinkhorn-solvable Wasserstein distance.
Strengths
- novelty as a global, distribution-level quantity via FGW barycenters is genuinely fresh; semantics and structure ride together, the soft token-to-support alignment falls out for free, and span-level attribution comes painlessly. It made me stop and think, which doesn't happen often with RLVR credit assignment papers.
- The block-diagonal mapping between barycenter supports and GPT-5-Sol-labeled reasoning stages is rare positive evidence that the barycenter means something.
Weaknesses
- Nobody analyzes what ω inside the clip does, and it worries me most: Eq. (8) turns a token weight into a factor on the importance ratio, which reads to me like it loosens the trust region and can bias gradients. p=−1 gets one paragraph and no comparison to plain unweighting, and multiplicative shaping like this has a long history of hacks.
- the linearization derivation lost me. I can't tell what controls misalignment of the interior tokens. The shortcomming may well be mine.
- Nobody stress-tests "novel = group outlier" either. Is the K=16 barycenter even stable downstream, when early-training group-novel is basically noise? And Fig. 4's higher entropy and longer replies raise deployment costs that are never quantifed.
Questions for the authors
- Is there any analysis of the gradient bias from putting ω inside the clip, and does moving ω outside the min change results, even on one benchmark?
- How sensitive is downstream performance to K and Lb? Do the conclusions hold at K=8 or 4?
- Under a fixed inference budget, what does the accuracy-length trade-off of HARA versus GRPO look like?
Ethics concerns
No
1 comment
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Reminder
Dear reviewer,
Thank you again for your thoughtful reviews and comments. As the deadline for the rebuttal period approaches, we would like to respectfully inquire whether our responses address your concerns properly, and we are more than happy to address any remaining points. Many thanks for your time and effort!
Best, Authors