English

MetaRM: Shifted Distributions Alignment via Meta-Learning

Machine Learning 2024-05-02 v1 Computation and Language

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.

Keywords

Cite

@article{arxiv.2405.00438,
  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},
  journal= {arXiv preprint arXiv:2405.00438},
  year   = {2024}
}

Comments

11 pages, 6 figures. arXiv admin note: text overlap with arXiv:2401.06080

R2 v1 2026-06-28T16:12:38.767Z