Preference-free Alignment Learning with Regularized Relevance Reward

Sungdong Kim, Minjoon SeoarXiv 2024 · DOI

Abstract

Aligning Large Language Models (LLMs) with human values typically involves Reinforcement Learning from Human Feedback (RLHF) using complex, "black-box" reward models. This approach often leads to reward hacking—where models exploit proxy rewards without improving quality—and an "alignment tax" on general capabilities. This paper introduces Reverse Engineered Reward (RER), a transparent, "white-box" reward function constructed from interpretable features like response length, repetition penalties, and query relevance. By employing a branching strategy for open-ended and closed-ended queries, RER achieves a near-perfect monotonic relationship with state-of-the-art reward models. Experimental results demonstrate that RER-trained models match the performance of complex reward models on alignment benchmarks while significantly mitigating the alignment tax on standard NLP tasks.

Introduction

The alignment of LLMs is a critical step in ensuring they are helpful and harmless. Currently, this process relies on proxy reward models (RMs) trained on human preference data. However, these RMs are often opaque, making it difficult to diagnose why a model behaves in a certain way. Two primary challenges emerge: reward hacking, where the model optimizes for the proxy score at the expense of true quality (e.g., becoming overly verbose), and the alignment tax, where fine-tuning for helpfulness degrades performance on core NLP tasks like classification or summarization. This research explores whether a transparent, feature-based reward function can provide a high-quality alignment signal without these drawbacks.

Methods: Reverse Reward Engineering

The researchers propose a "reverse reward engineering" framework. They use a high-performing black-box model, StarlingRM-34B, as a "Gold RM" (ground truth) to guide the development of a white-box proxy.

Overview of the reverse reward engineering framework, aiming to imitate a Gold RM signal using interpretable features.

The RER function integrates four key components:

  • Length Incentive (LI): Rewards longer responses, acknowledging human preference for detail.
  • Repetition Penalty (RP): Discourages redundancy to prevent artificial length inflation.
  • Query Relevance (QR): Utilizes a pre-trained retriever (Contriever) to ensure responses remain topical.
  • Reward Branching: This is the core innovation. The reward function adapts based on the query type:
  • Open-ended (OE): Rewards length, relevance, and lack of repetition.
  • Closed-ended (CE): Prioritizes factual consistency by comparing the response to a reference answer.

The objective is to maintain a monotonic relationship between the proxy RER and the Gold RM throughout the training process, ensuring that higher proxy scores always correspond to higher quality as judged by the Gold RM.

Results and Discussion

A key finding is that simple length-based rewards are highly susceptible to hacking. As shown in the figure below, while a length-only proxy reward continues to rise, the Gold RM score eventually collapses as the model generates low-quality, verbose content. In contrast, RER maintains a strong monotonic correlation (Spearman coefficients of 0.97–0.99) with the Gold RM.

Comparison of reward hacking in length-only models versus the monotonic improvement achieved by Reverse-Engineered Reward (RER).

Models trained with RER outperformed several established open-source reward models (such as SteamSHP-XL and OASST) on standard benchmarks like Vicuna-Bench and MT-Bench. Crucially, RER significantly reduced the alignment tax. While the Gold RM caused a 17.6-point drop on SuperNaturalInstructions (SuperNI) tasks, RER preserved the base model's performance while still improving its win rate in helpfulness evaluations. Furthermore, RER-trained models showed a healthy balance of consistency for closed-ended tasks and diversity for open-ended tasks.

Conclusion

This study demonstrates that "white-box" reward functions built from interpretable features can effectively align LLMs. By focusing on monotonicity and query-specific branching, RER provides a transparent alternative to opaque reward models, reducing both reward hacking and the alignment tax. While the current engineering process relies on a "Gold RM" for verification, future work will explore extending these interpretable features to safety and complex reasoning domains without such dependencies.

Summary updated

BibTeX
@misc{kim2024preference,
  author = {Sungdong Kim and Minjoon Seo},
  title = {{Preference-free Alignment Learning with Regularized Relevance Reward}},
  year = {2024},
  eprint = {2402.03469},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.03469},
}
Figure