PipelineRL: Faster On-policy Reinforcement Learning for Long Sequence Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Piché, Alexandre, Kamalloo, Ehsan, Pardinas, Rafael, Chen, Xiaoyin, Bahdanau, Dzmitry
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911179028299776
author Piché, Alexandre
Kamalloo, Ehsan
Pardinas, Rafael
Chen, Xiaoyin
Bahdanau, Dzmitry
author_facet Piché, Alexandre
Kamalloo, Ehsan
Pardinas, Rafael
Chen, Xiaoyin
Bahdanau, Dzmitry
contents Reinforcement Learning (RL) is increasingly utilized to enhance the reasoning capabilities of Large Language Models (LLMs). However, effectively scaling these RL methods presents significant challenges, primarily due to the difficulty in maintaining high AI accelerator utilization without generating stale, off-policy data that harms common RL algorithms. This paper introduces PipelineRL, an approach designed to achieve a superior trade-off between hardware efficiency and data on-policyness for LLM training. PipelineRL employs concurrent asynchronous data generation and model training, distinguished by the novel in-flight weight updates. This mechanism allows the LLM generation engine to receive updated model weights with minimal interruption during the generation of token sequences, thereby maximizing both the accelerator utilization and the freshness of training data. Experiments conducted on long-form reasoning tasks using 128 H100 GPUs demonstrate that PipelineRL achieves approximately $\sim 2x$ faster learning compared to conventional RL baselines while maintaining highly on-policy training data. A scalable and modular open-source implementation of PipelineRL is also released as a key contribution.
format Preprint
id arxiv_https___arxiv_org_abs_2509_19128
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PipelineRL: Faster On-policy Reinforcement Learning for Long Sequence Generation
Piché, Alexandre
Kamalloo, Ehsan
Pardinas, Rafael
Chen, Xiaoyin
Bahdanau, Dzmitry
Machine Learning
Reinforcement Learning (RL) is increasingly utilized to enhance the reasoning capabilities of Large Language Models (LLMs). However, effectively scaling these RL methods presents significant challenges, primarily due to the difficulty in maintaining high AI accelerator utilization without generating stale, off-policy data that harms common RL algorithms. This paper introduces PipelineRL, an approach designed to achieve a superior trade-off between hardware efficiency and data on-policyness for LLM training. PipelineRL employs concurrent asynchronous data generation and model training, distinguished by the novel in-flight weight updates. This mechanism allows the LLM generation engine to receive updated model weights with minimal interruption during the generation of token sequences, thereby maximizing both the accelerator utilization and the freshness of training data. Experiments conducted on long-form reasoning tasks using 128 H100 GPUs demonstrate that PipelineRL achieves approximately $\sim 2x$ faster learning compared to conventional RL baselines while maintaining highly on-policy training data. A scalable and modular open-source implementation of PipelineRL is also released as a key contribution.
title PipelineRL: Faster On-policy Reinforcement Learning for Long Sequence Generation
topic Machine Learning
url https://arxiv.org/abs/2509.19128