Towards Hierarchical Multi-Step Reward Models for Enhanced Reasoning in Large Language Models

Teng Wang, Zhangyi Jiang, Zhenqi He, Wenhan Yang, Yanan Zheng, Zeyu Li, Zifan He, Shenyang Tong, Hailei Gong · OpenReview

TL;DR

This paper introduces the Hierarchical Reward Model (HRM) to improve how Large Language Models (LLMs) are evaluated on multi-step reasoning tasks. HRM addresses limitations of existing methods by considering both individual steps and the coherence of consecutive steps, leading to more robust and reliable evaluations. To make training data more efficient, they also propose Hierarchical Node Compression (HNC), a method to augment data generated by automated reasoning processes.

What Problem Does This Paper Address?

Large Language Models (LLMs) are getting incredibly good at many tasks, including complex reasoning. However, evaluating their reasoning process is tricky. Existing methods like Outcome Reward Models (ORMs) only look at the final answer, making it hard to tell which intermediate steps were good or bad. Process Reward Models (PRMs) look at each step individually, but they can be fooled by "reward hacking" (where the model exploits the reward system without actually improving reasoning) and require a lot of expensive human annotation for training data. This makes it hard to scale up reliable evaluation for complex reasoning tasks.

Methods

The paper proposes two main innovations:

  • Hierarchical Reward Model (HRM): This is a new type of reward model that goes beyond just evaluating single steps. During training, HRM looks at reasoning in a hierarchical way, considering both individual steps (fine-grained) and groups of consecutive steps (coarse-grained). This allows it to capture "coherence" across the entire reasoning process, meaning it can recognize when a later step corrects an earlier mistake, a capability lacking in standard PRMs. For inference (evaluation), it still assesses step-by-step, but its training makes it more robust.
  • Hierarchical Node Compression (HNC): To tackle the expensive data annotation problem, the authors introduce HNC. This is a data augmentation technique designed for automated reasoning annotation using Monte Carlo Tree Search (MCTS). HNC works by merging two consecutive reasoning steps in the MCTS tree into a single node. This effectively expands the training dataset, introduces controlled "noise" to improve robustness, and does so with minimal computational overhead.

Datasets

  • PRM800K: This dataset, containing manually annotated reasoning trajectories, was used for training and evaluating the proposed HRM and comparing it against PRM and ORM.
  • MATH500 and GSM8K: These datasets were used for cross-domain evaluation to test the generalization capabilities of HRM.

Key Insights and Ideas

  • Coherence Matters: The core insight is that simply evaluating each step in isolation (like PRM) is insufficient for robust reasoning evaluation. The ability to assess how steps relate to each other, especially for self-correction, is crucial for truly understanding an LLM's reasoning process.
  • Hierarchical Training for Robustness: By training the reward model on both single steps and merged consecutive steps, HRM learns to value the overall flow and coherence of reasoning, not just isolated correctness. This makes it less susceptible to minor errors that are later rectified.
  • HNC as an Efficient Data Augmentation: The paper demonstrates that even simple merging of consecutive steps (HNC) can significantly improve the quality and diversity of training data for automated annotation methods like MCTS, without a prohibitive computational cost. This is key to scaling up reliable reward modeling.
  • Self-Correction is Key: HRM's ability to handle self-correction (where an LLM identifies and fixes its own errors) is a major advantage over PRM, which tends to stop or heavily penalize the first mistake.

Key Results

  • Improved Stability and Reliability: When used with the Qwen2.5-72B-Math-Instruct policy model on the PRM800K dataset, HRM showed significantly more stable and reliable accuracy compared to PRM and ORM, especially as the number of candidate responses (N) in the "best-of-N" strategy increased. HRM's accuracy stabilized around 80%, while PRM and ORM showed fluctuations.
  • Strong Generalization: HRM, trained on PRM800K and then evaluated on MATH500 and GSM8K, demonstrated superior generalization and robustness across these different reasoning tasks compared to PRM.
  • HNC Enhances MCTS: Using HNC with MCTS for auto-annotation led to HRM models that were more robust and consistent, outperforming PRM on cross-domain evaluations.
  • Efficiency: While MCTS for generating reasoning trajectories is computationally intensive (thousands of GPU hours), the HNC augmentation step is very fast (around 30 minutes on CPU), making it a practical addition.

Limitations and Future Work

  • Merged Steps Granularity: The paper limits HNC to merging only two consecutive steps at a time. Merging more steps rapidly increases the complexity of defining labeling rules and potential conflicts, making it difficult to maintain clarity and consistency.
  • MCTS Constraints: The use of MCTS for automated annotation involves constraints on tree height and depth, which can limit the diversity of generated reasoning data.
  • Future Work: The authors suggest that their HRM framework can be applied to other structured reasoning domains beyond mathematics. They also highlight the potential for further improvements by exploring more sophisticated data augmentation strategies or different MCTS configurations.

Summary updated

Abstract

Recent studies show that Large Language Models (LLMs) achieve strong reasoning capabilities through supervised fine-tuning or reinforcement learning. However, a key approach, the Process Reward Model (PRM), suffers from reward hacking, making it unreliable in identifying the best intermediate step. In addition, the cost of annotating reasoning processes for reward modeling is high, making large-scale collection of high-quality data challenging. To address this, we propose a novel reward model approach called the Hierarchical Reward Model (HRM), which evaluates both individual and consecutive reasoning steps at both fine-grained and coarse-grained levels. HRM excels at assessing multi-step reasoning coherence, especially when flawed steps are later corrected through self-reflection. To further reduce the cost of generating training data, we introduce a lightweight and effective data augmentation strategy called Hierarchical Node Compression (HNC), which merges two consecutive reasoning steps into one within the tree structure. By applying HNC to MCTS-generated reasoning trajectories, we enhance the diversity and robustness of HRM training data while introducing controlled noise with minimal computational overhead. Empirical results on the PRM800K dataset show that HRM, together with HNC, provides more stable and reliable evaluations than PRM. Furthermore, cross-domain evaluations on the MATH500 and GSM8K datasets demonstrate HRM's strong generalization and robustness across a variety of reasoning tasks.
BibTeX
@misc{wang2025towards,
  author = {Teng Wang and Zhangyi Jiang and Zhenqi He and Wenhan Yang and Yanan Zheng and Zeyu Li and Zifan He and Shenyang Tong and Hailei Gong},
  title = {{Towards Hierarchical Multi-Step Reward Models for Enhanced Reasoning in Large Language Models}},
  year = {2025},
  eprint = {2503.13551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.13551},
}
Figure