Introduction
Federated Reinforcement Learning (FRL) enables multiple agents to collaboratively train a shared policy without exchanging raw trajectories, thus preserving privacy and reducing bandwidth requirements. While FRL is well-understood in homogeneous settings where agents share identical environments, real-world applications often involve heterogeneous environments with varying transition dynamics.
In these heterogeneous settings, standard RL assumptions break down. For instance, while single-agent MDPs always possess an optimal deterministic policy, the authors of this work demonstrate that optimal shared policies in heterogeneous FRL must often be stochastic to balance the conflicting requirements of different agents. Furthermore, the optimization landscape in these scenarios is highly non-convex, making global convergence difficult to establish for standard federated policy gradient methods.
The FedPG Framework
This paper introduces and analyzes a general Federated Policy Gradient (FedPG) framework. In this setup, agents perform local stochastic gradient ascent steps and periodically synchronize their models via a central server. The study focuses on three primary variants:
- S-FedPG: A vanilla federated softmax policy gradient method.
- RS-FedPG: An entropy-regularized version that encourages exploration by penalizing deterministic policies.
- b-RS-FedPG: A novel "bit-level" softmax parameterization that reduces complex action spaces into a sequence of binary decisions. This approach ensures the gradient field remains well-behaved, facilitating explicit convergence rates.
Theoretical Contributions
The core contribution of this work is the first global convergence guarantee for FedPG in heterogeneous environments. The analysis leverages a non-uniform Łojasiewicz (PL) condition. While this condition holds for individual agents, the authors develop a novel fine-grained analysis to show it can be extended to the global average objective during federated averaging.
As shown in the comparison above, FedPG distinguishes itself from prior methods like PAvg or FEDSVRPG-M by providing both global convergence and last-iterate guarantees while maintaining local steps and linear speedup.
Key Insights and Results
- Stochasticity as an Optimal Strategy: The paper mathematically proves that a stochastic policy acts as an optimal compromise in heterogeneous settings where a single deterministic action might be suboptimal for some agents.
- Linear Speedup: The authors establish a linear speedup with respect to the number of agents $M$, meaning that $M$ agents can learn up to $M$ times faster than a single agent, provided the number of agents is within a certain threshold.
- Communication Efficiency: For regularized variants, the communication complexity scales logarithmically with the desired accuracy, making it highly suitable for distributed networks.
Empirical Validation
The algorithms were tested in two environments: a synthetic MDP with mixed transition kernels and a GridWorld navigation task with varying "slip" probabilities. In both cases, the FedPG variants outperformed Federated Q-learning, particularly in highly heterogeneous scenarios. This validates the theoretical claim that learning a stochastic policy is superior when agents face diverse dynamics.
Conclusion
This work bridges a significant gap in FRL theory by providing global convergence guarantees for policy gradient methods in heterogeneous environments. While a "heterogeneity bias" remains—meaning the algorithms converge to a neighborhood of the optimal policy rather than the exact optimum—this research sets a new benchmark for distributed reinforcement learning. Future work may focus on active heterogeneity correction to further close this gap.
Summary updated