Reinforcement Learning (RL) traditionally relies on agents actively interacting with an environment to learn optimal behaviors. However, in many high-stakes real-world scenarios—such as medical treatment planning or autonomous driving—online exploration is simply too risky or expensive. Offline RL addresses this by learning exclusively from pre-collected datasets.
When we extend this to a Federated setting, where data is distributed across multiple clients who cannot share their raw information due to privacy or bandwidth constraints, significant new challenges emerge. The standard approach of naively combining offline RL with federated learning (like the popular FedAvg algorithm) often leads to poorly performing policies. In response, researchers have developed FEDORA (Federated Ensemble-Directed Offline Reinforcement Learning), a novel framework designed to distill the collective wisdom of distributed clients without sharing raw data.
The Challenges of Federated Offline RL
Training high-quality control policies across distributed, heterogeneous, and static datasets introduces three primary hurdles:
- Ensemble Heterogeneity: Clients typically possess datasets of varying quality. For instance, one client might have data generated by an "expert" policy, while another has "random" or "medium" quality data. Simple averaging often results in a "least common denominator" policy that performs worse than the best individual client.
- Pessimism vs. Optimism: Standard offline RL algorithms are inherently "pessimistic"—they penalize actions not well-represented in their local data to prevent catastrophic errors. However, a federated server needs to be "ambitious" to extract and combine the best possible actions discovered across the entire ensemble of clients.
- Data Heterogeneity and Client Drift: Multiple local training steps on highly skewed local datasets can cause "client drift," where local models become too biased toward their specific, potentially low-quality data, making global aggregation ineffective.
The FEDORA Approach
To overcome these obstacles, the FEDORA algorithm introduces three core mechanisms:
- Ensemble-Directed Weighting: Instead of weighting clients merely by the size of their datasets, FEDORA uses a maximum entropy principle to weight them based on their estimated performance. This prevents mediocre data from dragging down the global policy and allows the server to intelligently distill the best behaviors.
- Federated Optimism: To combat local pessimism, FEDORA initializes local critics with a federated global critic. During local updates, it uses the maximum value between the local and federated critic to set targets. This encourages individual agents to be optimistic about high-value actions discovered by other members of the federation.
- Proximal Updates and Local Decay: To prevent client drift, FEDORA employs a proximal regularization term that keeps the local policy close to the global one. Crucially, it features a "decay" mechanism: if a client's local data is actively hurting performance compared to the global policy, the algorithm automatically reduces the influence of that local data during training.
Key Insights: The Centralization Paradox
One of the most surprising findings from the research is the "Centralization Paradox." In supervised learning, pooling all data into a single centralized repository generally yields the best model. However, in offline RL, averaging an expert policy with a mediocre one can lead to a policy that fails entirely.
As demonstrated in the evaluations, pooling data from different behavior policies can actually exacerbate distribution shift, making it harder for a single centralized model to learn effectively. FEDORA’s performance-based weighting acts as a natural regularizer, allowing it to frequently outperform even centralized training on pooled data.
Evaluation and Results
The researchers evaluated FEDORA across several challenging benchmarks, including the MuJoCo continuous control tasks (Hopper, HalfCheetah, Walker2D), the CityLearn urban energy management environment, and real-world robotics tasks using a TurtleBot3 Burger mobile robot.
In all tested MuJoCo environments, FEDORA reached higher cumulative rewards significantly faster than baselines like Fed-A (actor-only federation) or Fed-AC (actor-critic federation). Furthermore, in the real-world TurtleBot experiments, only the policy trained via FEDORA successfully navigated to the target while avoiding obstacles, whereas baseline policies either collided or failed to reach the goal.
Limitations and Future Directions
While FEDORA represents a significant step forward, the current model assumes all clients share the same transition dynamics and reward functions (a shared Markov Decision Process). In reality, robots might have different hardware or operate in varying physical conditions. Future work will explore Personalization—allowing the global model to be fine-tuned for specific clients—and extending the framework to Meta-RL scenarios where transition and reward models might differ across the federation.
Summary updated