Federated Reinforcement Learning with Constraint Heterogeneity
Hao Jin, Liangyu Zhang, Zhihua Zhang
TL;DR
This work tackles federated reinforcement learning when agents observe different constraint signals, introducing a federated primal-dual framework with local Lagrange functions and periodic policy aggregation. It provides two algorithmic instances: FedNPG for tabular settings with a provable $\tilde{O}(1/\sqrt{T})$ convergence rate and FedPPO for deep-network-based tasks. Theoretical results quantify the trade-offs between sample complexity, constraint satisfaction, and approximation bias, while experiments on tabular and continuous-control tasks show that the proposed methods closely approach omniscient baselines while satisfying all constraints. The approach enables privacy-preserving, multi-constraint RL in domains like LLM fine-tuning and healthcare, where constraint signals are costly or distributed across devices.
Abstract
We study a Federated Reinforcement Learning (FedRL) problem with constraint heterogeneity. In our setting, we aim to solve a reinforcement learning problem with multiple constraints while $N$ training agents are located in $N$ different environments with limited access to the constraint signals and they are expected to collaboratively learn a policy satisfying all constraint signals. Such learning problems are prevalent in scenarios of Large Language Model (LLM) fine-tuning and healthcare applications. To solve the problem, we propose federated primal-dual policy optimization methods based on traditional policy gradient methods. Specifically, we introduce $N$ local Lagrange functions for agents to perform local policy updates, and these agents are then scheduled to periodically communicate on their local policies. Taking natural policy gradient (NPG) and proximal policy optimization (PPO) as policy optimization methods, we mainly focus on two instances of our algorithms, ie, {FedNPG} and {FedPPO}. We show that FedNPG achieves global convergence with an $\tilde{O}(1/\sqrt{T})$ rate, and FedPPO efficiently solves complicated learning tasks with the use of deep neural networks.
