Adaptive Policy Synchronization for Scalable Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Lafuente-Mercado, Rodney
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909853787619328
author Lafuente-Mercado, Rodney
author_facet Lafuente-Mercado, Rodney
contents Scaling reinforcement learning (RL) often requires running environments across many machines, but most frameworks tie simulation, training, and infrastructure into rigid systems. We introduce ClusterEnv, a lightweight interface for distributed environment execution that preserves the familiar Gymnasium API. ClusterEnv uses the DETACH pattern, which moves environment reset() and step() operations to remote workers while keeping learning centralized. To reduce policy staleness without heavy communication, we propose Adaptive Policy Synchronization (APS), where workers request updates only when divergence from the central learner grows too large. ClusterEnv supports both on- and off-policy methods, integrates into existing training code with minimal changes, and runs efficiently on clusters. Experiments on discrete control tasks show that APS maintains performance while cutting synchronization overhead. Source code is available at https://github.com/rodlaf/ClusterEnv.
format Preprint
id arxiv_https___arxiv_org_abs_2507_10990
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Policy Synchronization for Scalable Reinforcement Learning
Lafuente-Mercado, Rodney
Machine Learning
Artificial Intelligence
Scaling reinforcement learning (RL) often requires running environments across many machines, but most frameworks tie simulation, training, and infrastructure into rigid systems. We introduce ClusterEnv, a lightweight interface for distributed environment execution that preserves the familiar Gymnasium API. ClusterEnv uses the DETACH pattern, which moves environment reset() and step() operations to remote workers while keeping learning centralized. To reduce policy staleness without heavy communication, we propose Adaptive Policy Synchronization (APS), where workers request updates only when divergence from the central learner grows too large. ClusterEnv supports both on- and off-policy methods, integrates into existing training code with minimal changes, and runs efficiently on clusters. Experiments on discrete control tasks show that APS maintains performance while cutting synchronization overhead. Source code is available at https://github.com/rodlaf/ClusterEnv.
title Adaptive Policy Synchronization for Scalable Reinforcement Learning
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2507.10990