Abstract
Federated Reinforcement Learning (FRL) faces significant challenges due to data heterogeneity across clients, which often leads to divergent policies and poor convergence. This paper identifies a critical flaw in applying standard Proximal Policy Optimization (PPO) to FRL: the traditional actor-critic update order. We propose FedRAC (Federated Reinforcement Learning with Reversed Actor-Critic), a simple yet effective modification that reverses the update sequence. By updating the actor before the local critic, FedRAC ensures that local policy improvements are guided by a global value perspective, effectively mitigating the bias introduced by heterogeneous environments. We provide a rigorous theoretical foundation for FedRAC and demonstrate its superior performance across various benchmarks, including complex autonomous driving scenarios.
Introduction
Federated Reinforcement Learning (FRL) allows multiple agents to collaboratively learn a shared policy without sharing raw data. However, the inherent data heterogeneity—where different clients operate in varying environments—poses a major hurdle. In standard Actor-Critic methods like PPO, the critic (value estimator) is typically updated before the actor (policy). In a federated setting, this means a client updates its local actor based on a local critic that has already begun to drift toward that client's specific environment. When these biased updates are aggregated, the global policy struggles to converge.
The FedRAC Approach
The core innovation of this work is the reversal of the local update sequence. While the standard baseline updates the critic then the actor, FedRAC performs the updates in the following order:
- Update Actor: The client uses the global critic received from the server at the start of the round to guide the policy update.
- Update Critic: The local critic is updated after the actor has been adjusted.
- Aggregate: The updated models are sent back to the central server.
By prioritizing the global critic's guidance, FedRAC ensures that every client’s policy update is rooted in a shared consensus before local biases can interfere. This approach treats the global consensus as a perishable resource that is most accurate at the beginning of a communication round.
Theoretical Foundation
The authors provide a rigorous theoretical analysis of FedRAC using two-layer ReLU neural network parameterization. They prove that FedRAC achieves a convergence rate of $O(\log |A| / T)$ and, crucially, show that this bound is robust against high levels of data heterogeneity. The analysis involves several complex error terms and expectations to track the divergence between local and global models.
Experimental Evaluation
FedRAC was evaluated across five distinct environments to test its robustness against heterogeneity:
- Modified OpenAI Gym Benchmarks: Mountain Car (with action shifts), Hopper, and Half Cheetah (with varied physical parameters like leg lengths).
- HongKongOSMs: A custom autonomous driving benchmark using Flow and SUMO simulators with real-world OpenStreetMap data from ten Hong Kong districts. This environment features RL-controlled vehicles interacting with human-like traffic, representing a highly non-IID (Independent and Identically Distributed) scenario.
Key Results and Insights
- Superior Performance: FedRAC consistently outperformed the standard update order, achieving higher cumulative rewards and faster convergence across all benchmarks.
- Robustness to Scaling: In large-scale tests with up to 600 clients, FedRAC maintained its performance advantage, demonstrating its scalability for massive distributed networks.
- Algorithmic Flexibility: FedRAC is not a standalone optimizer but a strategy that can be integrated into existing FL frameworks like FedAvg, FedProx, and SCAFFOLD with minimal changes.
- The Critic Bottleneck: While FedRAC handles heterogeneity well, its effectiveness is tied to the quality of the global critic. If the initial policy evaluation is poor, the reversed update's benefits are diminished.
Conclusion
FedRAC demonstrates that the order of operations in Actor-Critic methods is a critical hyperparameter in Federated Reinforcement Learning. By simply flipping the update sequence, researchers can leverage the global critic to stabilize learning in the face of diverse client data. This finding provides a practical and theoretically sound path forward for deploying robust RL agents in real-world, heterogeneous edge computing environments.
Summary updated