MetaRM: Shifted Distributions Alignment via Meta-Learning

Shihan Dou, Yan Liu, Enyu Zhou, Tianlong Li, Haoxiang Jia +7 more
5/1/2024
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

The success of Reinforcement Learning from Human Feedback (RLHF) in language model alignment is critically dependent on the capability of the reward model (RM). However, as the training process progresses, the output distribution of the policy model shifts, leading to the RM's reduced ability to distinguish between responses. This issue is further compounded when the RM, trained on a specific data distribution, struggles to generalize to examples outside of that distribution. These two issues can be united as a challenge posed by the shifted distribution of the environment. To surmount this challenge, we introduce MetaRM, a method leveraging meta-learning to align the RM with the shifted environment distribution. MetaRM is designed to train the RM by minimizing data loss, particularly for data that can improve the differentiation ability to examples of the shifted target distribution. Extensive experiments demonstrate that MetaRM significantly improves the RM's distinguishing ability in iterative RLHF optimization, and also provides the capacity to identify subtle differences in out-of-distribution samples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dou2024metarm,
  title  = {MetaRM: Shifted Distributions Alignment via Meta-Learning},
  author = {Shihan Dou and Yan Liu and Enyu Zhou and Tianlong Li and Haoxiang Jia and Limao Xiong and Xin Zhao and Junjie Ye and Rui Zheng and Tao Gui and Qi Zhang and Xuanjing Huang},
  year   = {2024},
  eprint = {2405.00438},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.00438v1}
}

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/2405.00438.svg)](https://codeofpaper.com/paper/2405.00438)

Discussion