paper-with-me

Papers

MA-RLHF: Reinforcement Learning from Human Feedback with Macro Actions

2024-10-03 · Yekun Chai, Haoran Sun, Huang Fang, Shuohuan Wang, Yu Sun, Hua Wu

Reinforcement learning from human feedback (RLHF) has demonstrated effectiveness in aligning large language models (LLMs) with human preferences. However, token-level RLHF suffers from the credit assignment problem over long sequences, where delayed rewards make it challenging for the model to discern which actions contributed to successful outcomes. This hinders learning efficiency and slows convergence. In this paper, we propose MA-RLHF, a simple yet effective RLHF framework that incorporates macro actions -- sequences of tokens or higher-level language constructs -- into the learning process. By operating at this higher level of abstraction, our approach reduces the temporal distance between actions and rewards, facilitating faster and more accurate credit assignment. This results in more stable policy gradient estimates and enhances learning efficiency within each episode, all without increasing computational complexity during training or inference. We validate our approach through extensive experiments across various model sizes and tasks, including text summarization, dialogue generation, question answering, and program synthesis. Our method achieves substantial performance improvements over standard RLHF, with performance gains of up to 30% in text summarization and code generation, 18% in dialogue, and 8% in question answering tasks. Notably, our approach reaches parity with vanilla RLHF 1.7x to 2x faster in terms of training time and continues to outperform it with further training. We will make our code and data publicly available at https://github.com/ernie-research/MA-RLHF .

📄 PDF Abstract BibTeX arXiv:2410.02743

Code (1)

ernie-research/ma-rlhf 공식 구현 pytorch

Tasks

Code GenerationDialogue GenerationProgram SynthesisQuestion Answeringreinforcement-learningReinforcement LearningText Summarization

Similar Papers 제목 키워드 기반

Trustworthy Human-AI Collaboration: Reinforcement Learning with Human Feedback and Physics Knowledge for Safe Autonomous Driving

2024-09-01 · Zilin Huang, Zihao Sheng, Sikai Chen

In the field of autonomous driving, developing safe and trustworthy autonomous driving policies remains a significant challenge. Recently, Reinforcement Learning with Human Feedback (RLHF) has attracted substantial atten…

Autonomous DrivingPhilosophyreinforcement-learningReinforcement Learning

Optimizing Autonomous Driving for Safety: A Human-Centric Approach with LLM-Enhanced RLHF

2024-06-06 · Yuan Sun, Navid Salami Pargoo, Peter J. Jin, Jorge Ortiz

Reinforcement Learning from Human Feedback (RLHF) is popular in large language models (LLMs), whereas traditional Reinforcement Learning (RL) often falls short. Current autonomous driving methods typically utilize either…

Autonomous Drivingreinforcement-learningReinforcement LearningReinforcement Learning (RL)

FedRLHF: A Convergence-Guaranteed Federated Framework for Privacy-Preserving and Personalized RLHF

2024-12-20 · Flint Xiaofeng Fan, Cheston Tan, Yew-Soon Ong, Roger Wattenhofer 외

In the era of increasing privacy concerns and demand for personalized experiences, traditional Reinforcement Learning with Human Feedback (RLHF) frameworks face significant challenges due to their reliance on centralized…

Privacy Preservingreinforcement-learningReinforcement Learning

Policy Gradient Primal-Dual Method for Safe Reinforcement Learning from Human Feedback

2026-04-21 · Qiang Liu, Adrienne Kline, Ermin Wei arxiv

Safe Reinforcement Learning from Human Feedback (Safe RLHF) has recently achieved empirical success in developing helpful and harmless large language models by decoupling human preferences regarding helpfulness and harml…

Reinforcement Learning

Reward Generalization in RLHF: A Topological Perspective

2024-02-15 · Tianyi Qiu, Fanzhi Zeng, Jiaming Ji, Dong Yan 외

Existing alignment methods share a common topology of information flow, where reward information is collected from humans, modeled with preference learning, and used to tune language models. However, this shared topology…

Generalization BoundsLanguage ModellingLarge Language Model