ALaRM: Align Language Models via Hierarchical Rewards Modeling

Yuhang Lai, Siyuan Wang, Shujun Liu, Xuanjing Huang, Zhongyu Wei
3/11/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: halfrot/ALaRM (25 stars, Apache-2.0, last commit 2024-03-28).

Abstract

We introduce ALaRM, the first framework modeling hierarchical rewards in reinforcement learning from human feedback (RLHF), which is designed to enhance the alignment of large language models (LLMs) with human preferences. The framework addresses the limitations of current alignment approaches, which often struggle with the inconsistency and sparsity of human supervision signals, by integrating holistic rewards with aspect-specific rewards. This integration enables more precise and consistent guidance of language models towards desired outcomes, particularly in complex and open text generation tasks. By employing a methodology that filters and combines multiple rewards based on their consistency, the framework provides a reliable mechanism for improving model alignment. We validate our approach through applications in long-form question answering and machine translation tasks, employing gpt-3.5-turbo for pairwise comparisons, and demonstrate improvements over existing baselines. Our work underscores the effectiveness of hierarchical rewards modeling in refining LLM training processes for better human preference alignment. We release our code at https://ALaRM-fdu.github.io.

View on arXivView PDF

Code Implementations(1)

halfrot/ALaRMCommunity100%
Apache-2.0

[ACL 2024] Code for the paper "ALaRM: Align Language Models via Hierarchical Rewards Modeling"

253PythonMar 12, 20242 years agoApache-2.0
alignmentrlhfscalable-oversight

Similar Papers

Cite this paper

@article{lai2024alarm,
  title  = {ALaRM: Align Language Models via Hierarchical Rewards Modeling},
  author = {Yuhang Lai and Siyuan Wang and Shujun Liu and Xuanjing Huang and Zhongyu Wei},
  year   = {2024},
  eprint = {2403.06754},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.06754v2}
}

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

Discussion