Utility-inspired Reward Transformations Improve Reinforcement Learning Training of Language Models
Roberto-Rafael Maura-Rivero, Chirag Nagpal, Roma Patel, Francesco Visin
TL;DR
The paper presents Inada-inspired Reward Transformation (IRT) to replace linear reward aggregation in RLHF for large language models. By transforming individual reward signals before aggregation, IRT emphasizes very low rewards and de-emphasizes already-satisfactory high rewards, guided by Inada conditions and CRRA utility concepts. Empirical results on Gemma 2B show that applying IRT—particularly as a Partial IRT for harmlessness with optimized parameters—yields higher harmlessness and comparable helpfulness, with reduced reward hacking and negligible training overhead. This approach demonstrates the value of economics-inspired utility shaping for more robust and safer alignment of language models to human preferences. The work suggests a promising direction for integrating economic theory into RLHF and highlights opportunities for learning thresholds and broader utility-function forms in future research.
Abstract
Current methods that train large language models (LLMs) with reinforcement learning feedback, often resort to averaging outputs of multiple rewards functions during training. This overlooks crucial aspects of individual reward dimensions and inter-reward dependencies that can lead to sub-optimal outcomes in generations. In this work, we show how linear aggregation of rewards exhibits some vulnerabilities that can lead to undesired properties of generated text. We then propose a transformation of reward functions inspired by economic theory of utility functions (specifically Inada conditions), that enhances sensitivity to low reward values while diminishing sensitivity to already high values. We compare our approach to the existing baseline methods that linearly aggregate rewards and show how the Inada-inspired reward feedback is superior to traditional weighted averaging. We quantitatively and qualitatively analyse the difference in the methods, and see that models trained with Inada-transformations score as more helpful while being less harmful.
