Online Bandit Learning with Offline Preference Data for Improved RLHF
Akhil Agnihotri, Rahul Jain, Deepak Ramachandran, Zheng Wen
TL;DR
This work addresses aligning generative models with human preferences by combining offline preference data with online reward-based fine-tuning in a RLHF-like setting. It formalizes the problem as a finite-armed linear bandit with an offline preference dataset and develops warmPref-PS, a Bayesian posterior sampling algorithm that warm-starts from the offline data and accounts for the rater’s competence. The authors establish information-theoretic conditions under which offline data is informative and prove a regret bound that degrades gracefully with offline data size and rater quality, showing sublinear regret as those resources grow. A practical Bootstrapped version is proposed to handle large or infinite arm spaces, and empirical results demonstrate substantial improvements over baselines and robustness to misspecification, indicating a viable path for RLHF enhancements using offline preferences.
Abstract
Reinforcement Learning with Human Feedback (RLHF) is at the core of fine-tuning methods for generative AI models for language and images. Such feedback is often sought as rank or preference feedback from human raters, as opposed to eliciting scores since the latter tends to be noisy. On the other hand, RL theory and algorithms predominantly assume that a reward feedback is available. In particular, approaches for online learning that can be helpful in adaptive data collection via active learning cannot incorporate offline preference data. In this paper, we adopt a finite-armed linear bandit model as a prototypical model of online learning. We consider an offline preference dataset to be available generated by an expert of unknown 'competence'. We propose warmPref-PS, a posterior sampling algorithm for online learning that can be warm-started with an offline dataset with noisy preference feedback. We show that by modeling the 'competence' of the expert that generated it, we are able to use such a dataset most effectively. We support our claims with novel theoretical analysis of its Bayesian regret, as well as, extensive empirical evaluation of an approximate loss function that optimizes for infinitely many arms, and performs substantially better than baselines.
