From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time Alignment

Bin Xie, Bingbing Xu, Yige Yuan, Shengmao Zhu, Huawei Shen

TL;DR

This paper introduces SP-PRM, a novel framework that improves how large language models (LLMs) align with human preferences during inference. By addressing a key mismatch in how reward models evaluate partial vs. complete responses, SP-PRM significantly boosts the performance of existing alignment methods.

What Problem Does This Paper Address?

Large language models (LLMs) are incredibly powerful but often don't behave exactly as humans want them to. Aligning LLMs with human preferences is crucial, and "inference-time alignment" methods are gaining traction because they're efficient. A popular technique is Reward-Guided Search (RGS), which uses reward models (RMs) to steer the LLM's generation process. However, RGS methods typically rely on Outcome Reward Models (ORMs). ORMs are trained to score complete responses, but RGS needs to evaluate partial responses (like individual tokens or sentences) as it generates text. This "granularity mismatch" leads to inconsistent scoring and suboptimal alignment, meaning the LLM might produce outputs that aren't quite right.

Methods

The core of this paper is the SP-PRM (Score and Preference PRM) framework. It aims to create a Process Reward Model (PRM) that can effectively evaluate partial sequences. SP-PRM has two key components:

  1. Score Consistency Module: This module ensures that the PRM assigns consistent scores to both partial and complete sequences. If a complete response is good, its prefixes should also score well, and vice-versa. This is achieved by deconstructing complete responses into partial sequences and using a Bradley-Terry model for reward modeling, allowing the model to predict cumulative future rewards from intermediate states.
  2. Preference Consistency Module: This module ensures that the PRM's evaluations of partial sequences align with human preferences. It leverages a reference RM (like GPT-4) to compute the entropy of partial sequence rewards, reweighting their contribution to training. This prioritizes sequences that better reflect human preferences, preventing the model from optimizing solely for score consistency at the expense of semantic understanding.

SP-PRM induces a PRM from an existing ORM without requiring new human annotations.

Datasets

The paper uses several standard datasets for training and evaluation:

  • HH-RLHF: For dialogue generation, focusing on helpfulness and harmlessness.
  • AdvBench: An adversarial benchmark to test model robustness against harmful instructions.
  • TL;DR Summarization: For summarization tasks.
  • GSM8K: For mathematical reasoning.
  • Harmless-and-RedTeam: Used for AdvBench evaluation.
  • Pairwise-Maths: Used for GSM8K evaluation.

Key Insights and Ideas

  • The Granularity Mismatch is Real: Existing ORMs, trained on full responses, struggle to provide reliable scores for partial sequences, leading to suboptimal LLM outputs.
  • Score Consistency is Key for Optimal Generation: A reward model that consistently scores prefixes and full sequences is essential for RGS to guide the LLM towards truly optimal outputs, regardless of generation granularity (token, chunk, sentence).
  • Score Consistency Alone Isn't Enough: Simply enforcing score consistency can sometimes lead to models that lose semantic understanding or exhibit biases.
  • Human Preference Alignment is Crucial: The PRM must also align with human preferences, even at the partial sequence level, to ensure high-quality, semantically sound outputs.
  • Leveraging Reference Models: Using a strong, pre-trained RM (like GPT-4) as a reference helps guide the PRM towards better human preference alignment.

Key Results

SP-PRM significantly enhances existing RGS methods across various tasks and model sizes (1B to 8B parameters).

  • Dialogue Generation (HH-RLHF): Achieved a 3.6%-10.3% improvement in GPT-4 evaluation scores.
  • Summarization (TL;DR): Showed significant improvements in reward scores (3-7%) and ROUGE-L scores, with better scalability on larger models.
  • Reasoning (GSM8K): Demonstrated consistent improvements in accuracy and reward scores, with CBS integration yielding the highest gains.
  • AdvBench: Reduced Attack Success Rate (ASR) by up to 20% while maintaining reward quality.
  • Score Consistency Analysis: SP-PRM training substantially improved the score consistency (ARRM-SC) of reward models, reaching over 55% at 5 tokens and 65% at 50 tokens.

Limitations and Future Work

  • Model Size: The experiments were conducted on models up to 8B parameters. The applicability to much larger models was not explored due to computational constraints.
  • Inference Speed: While SP-PRM improves alignment quality, further optimization techniques are needed to enhance the inference speed of the RGS method.
  • Future Work: The authors suggest exploring inference time optimization techniques for RGS.

Summary updated

BibTeX
@inproceedings{xie2025from,
  author = {Bin Xie and Bingbing Xu and Yige Yuan and Shengmao Zhu and Huawei Shen},
  title = {{From Outcomes to Processes: Guiding PRM Learning from ORM for Inference-Time Alignment}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure