Reducing the Probability of Undesirable Outputs in Language Models Using Probabilistic Inference
Stephen Zhao, Aidan Li, Rob Brekelmans, Roger Grosse
TL;DR
This work addresses the challenge of minimizing the probability of undesirable outputs in language models without sacrificing average performance. It introduces RePULSe, which augments standard RL training with a low-reward-focused sampling mechanism guided by probabilistic inference, including a learned proposal $q_{\xi}$ and a target distribution $oldsymbol{ackslash}\sigma_{ heta}$. The approach yields improved tradeoffs between expected reward and the likelihood of bad outputs and demonstrates enhanced robustness to adversarial prompts in both toy and realistic LM settings. By combining RL with mass-covering sampling and end-to-end proposal learning, RePULSe offers a scalable path toward safer, more robust LM alignment in practice.
Abstract
Reinforcement learning (RL) has become a predominant technique to align language models (LMs) with human preferences or promote outputs which are deemed to be desirable by a given reward function. Standard RL approaches optimize average reward, while methods explicitly focused on reducing the probability of undesired outputs typically come at a cost to average-case performance. To improve this tradeoff, we introduce RePULSe, a new training method that augments the standard RL loss with an additional loss that uses learned proposals to guide sampling low-reward outputs, and then reduces those outputs' probability. We run experiments demonstrating that RePULSe produces a better tradeoff of expected reward versus the probability of undesired outputs and is more adversarially robust, compared to standard RL alignment approaches and alternatives.
