A Baseline Analysis of Reward Models' Ability To Accurately Analyze Foundation Models Under Distribution Shift
Will LeVine, Benjamin Pikus, Anthony Chen, Sean Hendryx
TL;DR
The paper investigates how RLHF-derived reward functions for foundation models behave under distribution shift, focusing on both prompts and responses. It adopts both natural (linguistic) and artificial perturbations to quantify changes in accuracy and calibration, finding that response shifts hurt more than prompt shifts and that calibration patterns differ between ID and far/near OOD regimes. A novel energy-score baseline adapted from classification is proposed to detect distribution shifts in prompts and responses, and its effectiveness is evaluated across multiple shift types, including cross-lingual transfers. The work provides a practical baseline for robustness and OOD detection in reward-driven alignment pipelines, with implications for deploying RLHF systems in non-stationary real-world settings.
Abstract
Foundation models, specifically Large Language Models (LLMs), have lately gained wide-spread attention and adoption. Reinforcement Learning with Human Feedback (RLHF) involves training a reward model to capture desired behaviors, which is then used to align LLM's. These reward models are additionally used at inference-time to estimate LLM responses' adherence to those desired behaviors. However, there is little work measuring how robust these reward models are to distribution shifts. In this work, we evaluate how reward model performance - measured via accuracy and calibration (i.e. alignment between accuracy and confidence) - is affected by distribution shift. We show novel calibration patterns and accuracy drops due to OOD prompts and responses, and that the reward model is more sensitive to shifts in responses than prompts. Additionally, we adapt an OOD detection technique commonly used in classification to the reward model setting to detect these distribution shifts in prompts and responses.
