paper-with-me

Papers

Optimizing RLHF Training for Large Language Models with Stage Fusion

2024-09-20 · Yinmin Zhong, Zili Zhang, Bingyang Wu, Shengyu Liu, Yukun Chen, Changyi Wan, Hanpeng Hu, Lei Xia, Ranchen Ming, Yibo Zhu, Xin Jin

We present RLHFuse, an efficient training system with stage fusion for Reinforcement Learning from Human Feedback (RLHF). Due to the intrinsic nature of RLHF training, i.e., the data skewness in the generation stage and the pipeline bubbles in the training stage, existing RLHF systems suffer from low GPU utilization. RLHFuse breaks the traditional view of RLHF workflow as a composition of individual tasks, splitting each task into finer-grained subtasks, and performing stage fusion to improve GPU utilization. RLHFuse contains two key ideas. First, for generation and inference tasks, RLHFuse splits them into sample-level subtasks, enabling efficient inter-stage fusion to overlap the execution of generation and inference stages, thus mitigating the original generation bottleneck dominated by long-tailed samples. Second, for training tasks, RLHFuse breaks them into subtasks of micro-batches and performs intra-stage fusion to concurrently execute these subtasks in the training stage with a fused pipeline schedule, effectively mitigating the pipeline bubbles. The experiments show that RLHFuse increases the training throughput by up to $3.7\times$, compared to existing systems.

📄 PDF Abstract BibTeX arXiv:2409.13221

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

Measuring memorization in RLHF for code completion

2024-06-17 · Aneesh Pappu, Billy Porter, Ilia Shumailov, Jamie Hayes

Reinforcement learning with human feedback (RLHF) has become the dominant method to align large models to user preferences. Unlike fine-tuning, for which there are many studies regarding training data memorization, it is…

Code CompletionMemorizationreinforcement-learningReinforcement Learning

Reinforcement Learning from Human Feedback: A Statistical Perspective

2026-04-02 · Pangpang Liu, Chengchun Shi, Will Wei Sun arxiv

Reinforcement learning from human feedback (RLHF) has emerged as a central framework for aligning large language models (LLMs) with human preferences. Despite its practical success, RLHF raises fundamental statistical qu…

Reinforcement LearningActive Learning

RLHFSpec: Breaking the Efficiency Bottleneck in RLHF Training via Adaptive Drafting

2025-12-04 · Siqi Wang, Hailong Yang, Junjie Zhu, Xuezhu Wang 외 arxiv

Reinforcement Learning from Human Feedback (RLHF) is an important fine-tuning technique for large language models (LLMs) and comprises three stages: generation, inference, and training. The generation stage generates sam…

Reinforcement Learning

Linear Probe Penalties Reduce LLM Sycophancy

2024-12-01 · Henry Papadatos, Rachel Freedman

Large language models (LLMs) are often sycophantic, prioritizing agreement with their users over accurate or objective statements. This problematic behavior becomes more pronounced during reinforcement learning from huma…

Provably Efficient RLHF Pipeline: A Unified View from Contextual Bandits

2025-02-11 · Long-Fei Li, Yu-Yang Qian, Peng Zhao, Zhi-Hua Zhou

Reinforcement Learning from Human Feedback (RLHF) is a widely used approach for aligning Large Language Models (LLMs) with human preferences. While recent advancements have provided valuable insights into various stages …

Computational EfficiencyMulti-Armed Bandits