Generalizing Reward Modeling for Out-of-Distribution Preference Learning

Chen Jia
2/22/2024
cs.LGcs.CL

No official code found. Best implementation: jiachenwestlake/OODPL (3 stars, last commit 2024-11-07).

Abstract

Preference learning (PL) with large language models (LLMs) aims to align the LLMs' generations with human preferences. Previous work on reinforcement learning from human feedback (RLHF) has demonstrated promising results in in-distribution PL. However, due to the difficulty of obtaining human feedback, discretely training reward models for every encountered distribution is challenging. Thus, out-of-distribution (OOD) PL is practically useful for enhancing the generalization ability of LLMs with limited preference feedback. This work addresses OOD PL by optimizing a general reward model through a meta-learning approach. During meta-training, a bilevel optimization algorithm is utilized to learn a reward model capable of guiding policy learning to align with human preferences across various distributions. When encountering a test distribution, the meta-test procedure conducts regularized policy optimization using the learned reward model for PL. We theoretically demonstrate the convergence rate of the bilevel optimization algorithm under reasonable assumptions. Additionally, we conduct experiments on two text generation tasks across 20 held-out domains and outperform a variety of strong baselines across various evaluation metrics.

View on arXivView PDF

Code Implementations(1)

Code for "Generalizing reward modeling for out-of-distribution preference learning" in ECML PKDD'2024.

30May 30, 20241 years ago

Similar Papers

Cite this paper

@article{jia2024generalizing,
  title  = {Generalizing Reward Modeling for Out-of-Distribution Preference Learning},
  author = {Chen Jia},
  year   = {2024},
  eprint = {2402.14760},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.14760v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.14760.svg)](https://codeofpaper.com/paper/2402.14760)

Discussion