RuleAdapter: Dynamic Rules for training Safety Reward Models in RLHF
Xiaomin Li, Mingye Gao, Zhiwei Zhang, Jingxuan Fan, Weiyu Li
Abstract
Reinforcement Learning from Human Feedback (RLHF) is commonly employed to tailor models to human preferences, especially to improve the safety of outputs from large language models (LLMs). Traditionally, this method depends on selecting preferred responses from pairs. However, due to the variability in human opinions and the challenges in directly comparing two responses, there is an increasing trend towards fine-grained annotation approaches that evaluate responses using multiple targeted metrics or rules. The challenge lies in efficiently choosing and applying these rules to handle the diverse range of preference data. In this paper, we propose a dynamic method that adaptively selects the most important rules for each response pair. We introduce a mathematical framework that utilizes the maximum discrepancy across paired responses and demonstrate theoretically that this approach maximizes the mutual information between the rule-based annotations and the underlying true preferences. We then train an 8B reward model using this adaptively labeled preference dataset and assess its efficacy using RewardBench. As of January 25, 2025, our model achieved the highest safety performance on the leaderboard, surpassing various larger models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback cites Language Models are Few-Shot Learners
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback cites Training language models to follow instructions with human feedback
- Unlocking the Power of Multi-Agent LLM for Reasoning: From Lazy Agents to Deliberation cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- Unlocking the Power of Multi-Agent LLM for Reasoning: From Lazy Agents to Deliberation cites Language Models are Few-Shot Learners
- Fine-Grained Human Feedback Gives Better Rewards for Language Model Training cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- ENCORE: Entropy-guided Reward Composition for Multi-head Safety Reward Models cites RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedback
- ENCORE: Entropy-guided Reward Composition for Multi-head Safety Reward Models cites Fine-Grained Human Feedback Gives Better Rewards for Language Model Training
- ENCORE: Entropy-guided Reward Composition for Multi-head Safety Reward Models cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- ENCORE: Entropy-guided Reward Composition for Multi-head Safety Reward Models cites Language Models are Few-Shot Learners
- ENCORE: Entropy-guided Reward Composition for Multi-head Safety Reward Models cites Training language models to follow instructions with human feedback
Cited by top-tier papers2
- Unlocking the Power of Multi-Agent LLM for Reasoning: From Lazy Agents to DeliberationZhiwei Zhang, Xiaomin Li, Yudi Lin, Hui Liu et al.ICLR 2026 · 13 citations
- ENCORE: Entropy-guided Reward Composition for Multi-head Safety Reward ModelsXiaomin Li, Xupeng Chen, Jingxuan Fan, Eric Hanchen Jiang et al.AAAI 2026 · 3 citations
Builds on10
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong et al.ICML 2022 · 1,173 citations
- RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI FeedbackHarrison Lee, Samrat Phatale, Hassan Mansoor, Thomas Mesnard et al.ICML 2024 · 598 citations
- Fine-Grained Human Feedback Gives Better Rewards for Language Model TrainingZeqiu Wu, Yushi Hu, Weijia Shi, Nouha Dziri et al.NeurIPS 2023 · 516 citations
Related papers
- Rule Based Rewards for Language Model SafetyTong Mu, Alec Helyar, Johannes Heidecke, Joshua Achiam et al.NeurIPS 2024 · 159 citations
- RLTHF: Targeted Human Feedback for LLM AlignmentYifei Xu, Tusher Chakraborty, Emre Kiciman, Bibek Aryal et al.ICML 2025
- RED: Unleashing Token-Level Rewards from Holistic Feedback via Reward RedistributionJiahui Li, Lin Li, Tai-Wei Chang, Kun Kuang et al.EMNLP 2025
- Interpreting Learned Feedback Patterns in Large Language ModelsLuke Marks, Amir Abdullah, Clement Neo, Rauno Arike et al.NeurIPS 2024 · 5 citations
- A Common Pitfall of Margin-based Language Model Alignment: Gradient EntanglementHui Yuan, Yifan Zeng, Yue Wu, Huazheng Wang et al.ICLR 2025
