Federated Deep Reinforcement Learning for Multi-Robot Navigation - a Master's Thesis project investigating whether privacy-preserving, decentralized training can match centralized Multi-Agent Reinforcement Learning for mobile robot navigation.
Author: Sagnik Ghatak
License: MIT
Domain / Keywords: reinforcement learning · multi-agent systems · robotics · federated learning
- Overview
- Motivation
- Problem Statement
- Research Questions
- Key Contributions
- System Architecture
- Simulation Environment & Task Design
- Technology Stack
- Repository Structure
- Prerequisites
- Installation
- Usage Overview
- Evaluation Methodology
- Experimental Results
- Discussion & Root-Cause Analysis
- Limitations
- Future Work
- Thesis Reference
- License
- Contact
This repository contains the complete simulation, training, and evaluation framework developed for a Master's thesis on Federated Deep Reinforcement Learning (FDRL) for multi-robot navigation. The work investigates whether FDRL can serve as a viable, privacy-preserving alternative to centralized Multi-Agent Reinforcement Learning (MARL) for coordinating mobile robots, without requiring robots to share raw sensor data with a central server.
The framework integrates three independent technologies into a single, reproducible research pipeline:
- A high-fidelity, GPU-accelerated robot simulation environment (NVIDIA Isaac Sim / Isaac Lab)
- A reinforcement learning training core (SKRL) implementing Proximal Policy Optimization (PPO) and its multi-agent extension (MAPPO)
- A federated learning orchestration layer (Flower) that coordinates decentralized training across multiple simulated robot "clients," exchanging only model parameters rather than raw observations
The resulting system - FL-PPO and FL-MAPPO - is benchmarked directly against centralized PPO and MAPPO baselines on a TurtleBot3 point-to-point navigation task inside a simulated warehouse arena. The thesis document is the centerpiece of this repository: every component exists to support the methodology, experiments, and conclusions presented there.
Deploying groups of mobile robots in warehouses, hospitals, and other shared spaces requires reliable, scalable coordination. Multi-Agent Reinforcement Learning (MARL) has become a key approach for learning such cooperative behavior, but it faces two structural obstacles as team size grows:
- Non-stationarity - each agent's learning continuously changes the effective environment experienced by every other agent, destabilizing training.
- Curse of dimensionality - the joint action space of a multi-robot team grows exponentially with the number of agents, making naive value-based learning intractable.
The dominant solution, Centralized Training with Decentralized Execution (CTDE), resolves non-stationarity by training a shared, globally-informed critic while still allowing agents to act independently at deployment time. However, CTDE assumes that raw observations from every robot - LiDAR scans, positions, velocities - can be continuously aggregated on a central server during training. In bandwidth-constrained, privacy-sensitive, or organizationally siloed deployments (e.g., warehouse fleets with proprietary operational data, hospital robots handling sensitive information, or multi-company robotic systems), this assumption does not hold.
Federated Deep Reinforcement Learning (FDRL) addresses this gap by having distributed clients train locally on their own experience and periodically exchange only compact model updates - never raw sensor data - which are aggregated into a shared global model. This thesis develops and rigorously evaluates such a system for continuous-control, multi-robot navigation.
While CTDE solves the non-stationarity problem inherent to MARL, it remains bound to a high-bandwidth communication bottleneck and offers no data-privacy guarantees for real-world fleet deployments. FDRL has been proposed in the literature as a way to obtain both privacy preservation and decentralized scalability, but its practical viability for multi-robot navigation specifically - as opposed to general federated learning - remained underexplored prior to this work. This thesis develops and evaluates an FDRL framework for continuous-control navigation tasks to close that gap.
The thesis is structured around three guiding research questions:
- Performance viability - What level of navigation performance does the proposed FDRL architecture achieve relative to centralized training baselines, and under what operational conditions does it constitute a practical alternative for privacy-preserving multi-robot deployments?
- Privacy–efficiency trade-off - What are the trade-offs between the privacy and decentralization benefits of FDRL and its training efficiency, when deployed as an alternative to centralized approaches?
- Coordination dynamics - How does federated aggregation affect multi-agent coordination dynamics compared to CTDE, and under what conditions might FDRL offer comparable or complementary capabilities?
- Comparative performance benchmarks. Rigorous training and evaluation of two DRL baselines on a TurtleBot3 navigation task within Isaac Lab: Single-Agent PPO (single-robot control benchmark) and MAPPO (the CTDE upper bound - the best achievable performance under perfect, centralized data aggregation).
- A complete FDRL simulation framework. Original, end-to-end coupling of a high-fidelity simulation environment (Isaac Sim / Isaac Lab), a decentralized RL training core (SKRL), and a federated orchestration layer (Flower) into a single coherent system for continuous-control robot navigation.
- A FDRL architecture for continuous control. While federated MARL has previously been explored in lower-fidelity, ROS/Gazebo-based simulators, this thesis introduces a federated architecture specifically engineered for GPU-accelerated, continuous-control navigation inside Isaac Lab.
- Systematic validation against centralized baselines. A direct, like-for-like comparison of PPO vs. FL-PPO (single-agent) and MAPPO vs. FL-MAPPO (coordinated multi-agent), using a comprehensive, non-intrusive metrics-tracking system covering primary performance, efficiency, and multi-agent coordination indicators.
The framework is organized into three integrated layers, mirroring the three technologies it couples together.
Provides a GPU-accelerated, physics-accurate, vectorized simulation of TurtleBot3 robots navigating a warehouse arena, including differential-drive actuation, 2D LiDAR sensing, collision handling, and both single-agent and multi-agent (Dec-MDP) task formulations.
Serves as the local training engine on every federated client, as well as standalone for the centralized baselines. Implements Single-Agent PPO and Multi-Agent PPO (MAPPO) under the CTDE paradigm.
Coordinates the federated process across multiple simulated robot "clients." A central server manages client registration, distributes the current global model and round configuration at the start of each federation round, and aggregates client updates once local training completes.
- Training initialization - each client initializes a local agent with randomly sampled parameters and registers with the server; the server waits until a minimum number of clients have joined.
- Federated round execution - the server broadcasts the current global parameters and round configuration (timesteps per round, round number) to participating clients; each client injects the parameters into its local agent and trains locally for the configured number of timesteps, then returns its updated parameters together with training metrics and the number of timesteps contributed.
- Parameter aggregation - the server aggregates all client updates into a new global model using a weighted average (weighted by each client's contributed timesteps), using FedProx - a FedAvg variant that adds a proximal term to better handle heterogeneity across clients. The process repeats for the configured number of rounds.
The system uses a three-tier configuration hierarchy: environment configuration (physics, scene, sensors, reward structure), agent configuration (network architecture, optimization hyperparameters, training/logging behavior), and federation configuration (timesteps per round, client participation fractions, aggregation strategy, proximal coefficient, minimum client count). Each client is assigned a unique identifier used for logging, checkpointing, and reproducible seed offsetting.
Because Flower's communication protocol requires parameters as a flat list of plain numeric arrays, the framework includes a dedicated parameter-management layer that flattens each agent's hierarchical neural network weights (policy and value networks, including MAPPO's per-agent and shared/centralized components) into this flat format together with reconstruction metadata, and reverses the process when injecting newly aggregated parameters back into a local agent - including shape validation to catch architecture mismatches before they can silently corrupt training. Only the global model is checkpointed and persisted at each round (to avoid redundant storage across clients), and a complete history of each round's local training artifacts is preserved for retrospective analysis. To manage the computational load of running multiple clients on shared hardware, clients are executed headless on a single GPU with carefully partitioned simulation resources to prevent cross-client interference.
The TurtleBot3 Waffle, a differential-drive mobile robot, is modeled as a physically simulated articulated robot with independently actuated left/right wheels, a wheelbase of ≈0.287 m, and a maximum wheel velocity of 0.26 m/s (forward-only - turning is achieved purely through differential wheel speeds, not reverse motion).
Each robot carries a simulated 2D LiDAR with a 180° field of view, 900 rays at 0.2° angular resolution, a 60 Hz update rate, and a 200 m maximum range. To keep the learning problem tractable, the raw scan is condensed into 20 directional segments via min-pooling (preserving the closest obstacle per sector), with a linear interpolation step to handle occasional invalid sensor readings.
The task takes place inside a simulated warehouse arena, with the navigable space spanning roughly 30 m × 53 m. A rejection-sampling procedure ensures robots and goals are never placed inside obstacles. Physics runs at 120 Hz with a control decimation of 2 (60 Hz effective control rate), and each episode is capped at 100 seconds (6,000 control steps).
The core task is point-to-point navigation: each robot must reach a randomly assigned goal while avoiding collisions with obstacles and other robots, minimizing time-to-goal, and maintaining smooth trajectories. The single-agent case is modeled as a standard MDP; the multi-agent case is modeled as a Decentralized MDP (Dec-MDP), where all agents share a common objective but act on local observations only. For controlled comparison between centralized and federated training, all reported experiments take place in an open, obstacle-free arena bounded by four walls - isolating core navigation and inter-agent coordination behavior before layering on additional obstacle complexity (which the framework otherwise supports).
Each robot observes a 30-dimensional vector combining goal information (distance and relative angle, encoded with sine/cosine for continuity), its own forward/lateral/angular velocity, the 20-segment condensed LiDAR scan, the single nearest obstacle distance, and its own previous wheel commands (for action smoothness). In multi-agent scenarios, this is extended with relative distance and bearing to each other robot. The action space is a continuous 2-dimensional vector specifying target left/right wheel velocities in the range [0, 0.26] m/s.
Robot behavior is shaped by eight weighted reward components spanning three priority tiers - safety (large negative penalties for wall and inter-agent collisions), goal-directed incentives (a large sparse reward for reaching the goal plus dense potential-based progress shaping), and behavioral quality (orientation toward the goal, anti-stalling forward-motion incentive, and a small per-step time penalty). Episodes terminate on goal achievement (within 0.4 m), collision (obstacle within 0.3 m), or timeout (6,000 steps).
| Component | Role |
|---|---|
| NVIDIA Isaac Sim | GPU-accelerated physics and sensor simulation |
| NVIDIA Isaac Lab | Robot learning framework built on Isaac Sim; environment management, Gymnasium-compatible interfaces, native multi-agent support |
| SKRL | Reinforcement learning library (PPO / MAPPO implementations, training orchestration) |
| Flower | Federated learning orchestration (client–server protocol, FedAvg / FedProx aggregation strategies) |
| Gymnasium | Standard reinforcement learning environment API |
| PyTorch | Neural network backend for policy and value networks |
| TurtleBot3 (Waffle) | Simulated differential-drive mobile robot platform |
Software environment validated for the reported experiments: Isaac Sim 4.5 · Isaac Lab 0.45.1 · SKRL 1.4.3 · Flower 1.20.0 · Python 3.10.18. The packaged extension in this repository targets a broader range of recent Isaac Sim / Python versions; consult the package metadata for the currently supported range.
Hardware used for the reported experiments: NVIDIA RTX 4090 (16 GB VRAM).
The repository is organized as an installable Isaac Lab extension package, with the thesis document and supporting research material kept alongside the implementation:
- Thesis & documentation - the thesis document and related write-ups
- Simulation environment definitions - robot and sensor asset configuration, single-agent and multi-agent task environments, reward and observation logic
- Reinforcement learning integration - configuration for the SKRL training core (network architecture, optimization hyperparameters, logging behavior)
- Federated learning components - client-side training logic, server-side aggregation logic, and the parameter serialization layer that bridges PyTorch model weights and Flower's communication protocol
- Evaluation & metrics tooling - a non-intrusive metrics collection system plus companion analysis and visualization tooling for thesis-quality reporting
- Entry-point workflows - training, playback, and evaluation entry points for centralized baselines, federated training, and post-hoc evaluation
- Package metadata - extension and packaging configuration used to install the project into an Isaac Lab workspace
Exact folder and file names may evolve over time; refer to the repository itself for the current layout.
- A working NVIDIA Isaac Sim / Isaac Lab installation (a CUDA-capable GPU is required)
- Python 3.10 or later
- Sufficient GPU memory to run multiple parallel Isaac Sim instances when running federated experiments with several clients on a single machine (the reported experiments used an NVIDIA RTX 4090 with 16 GB VRAM)
The project is structured as a standard, installable Python package designed to sit inside an existing Isaac Lab workspace:
- Set up Isaac Sim and Isaac Lab following NVIDIA's official installation instructions.
- Clone this repository into (or alongside) your Isaac Lab workspace.
- Install the package and its dependencies into the Isaac Lab Python environment using the project's packaging configuration.
- Verify the installation by confirming that the project's environment tasks are registered and discoverable within Isaac Lab.
The framework supports three categories of experiments, all configurable through environment, agent, and federation configuration:
- Centralized baseline training - train a single-agent PPO or multi-agent MAPPO policy directly against the simulation environment. Experiment artifacts (model checkpoints, training logs, configuration snapshots) are written to a structured, timestamped logging directory for full reproducibility.
- Federated training - launch a federated learning server and one or more federated clients, each running its own simulation instance. Clients train locally for a configurable number of steps per round and exchange only model parameters with the server; round-by-round training history is preserved for later analysis.
- Evaluation - replay a trained checkpoint (centralized or federated/global) through a dedicated evaluation workflow that collects comprehensive performance and coordination statistics over a configurable number of episodes, without modifying the underlying environment.
All outputs are organized under a structured logging hierarchy so that configuration, checkpoints, training curves, and evaluation metrics for a given run can always be traced back to one another.
A dedicated, non-intrusive metrics tracker accompanies the framework and collects, for every evaluation episode and every agent, three families of statistics without requiring any modification to the underlying environment:
- Primary performance metrics - success rate (goal reached without collision), collision rate, timeout rate, mean cumulative reward, mean episode length
- Efficiency metrics - path efficiency (ratio of straight-line distance to actual distance traveled), mean closest approach to the goal, average forward velocity
- Multi-agent coordination metrics - inter-agent near-collision count, minimum inter-agent distance, a normalized coordination score, and system-level success rate (whether the team as a whole reaches its objective)
Results are exported as both human-readable summary statistics and raw per-episode data, with companion tooling for generating publication-quality plots, statistical comparisons (e.g., t-tests between conditions), and LaTeX tables suitable for direct use in academic reporting. Unless otherwise noted, all reported results below reflect 100-episode evaluations using a deterministic policy at the relevant training checkpoint or federation round.
At its 1.0M-step checkpoint, single-agent PPO achieves a 100% success rate with zero collisions and zero timeouts, a mean cumulative reward of 1030.7 ± 278.0, and a mean episode length of 286.0 ± 106.8 steps (≈4.8 s of navigation at the 60 Hz control rate). This establishes the theoretical performance ceiling for single-robot navigation in this environment.
At the 1.0M-step checkpoint, MAPPO achieves a 100% system success rate (the team reliably accomplishes its objective) with a 0% any-collision rate and a coordination score of 0.98, at a mean episode length of 260.9 ± 102.2 steps - matching or slightly exceeding single-agent efficiency. A notable architectural finding: because the simulation resets all agents whenever any agent reaches its goal, the two robots show markedly asymmetric individual success rates (78% vs. 22%) despite zero inter-agent collisions and excellent system-level coordination - a consequence of shared episode termination rather than any failure of the learned policy.
The federated counterpart, evaluated at its 10th federation round, also reaches a 100% success rate with zero collisions, demonstrating functional equivalence to centralized PPO on safety-critical metrics. The cost of decentralization is a 26% longer mean episode length (360.5 ± 145.7 vs. 286.0 steps) and a roughly 5–6× slower initial convergence in terms of training rounds, reflecting the federated global model's nature as a generalized "consensus policy" across heterogeneous clients rather than an optimum tuned to a single environment.
The federated multi-agent counterpart, evaluated at its 10th federation round, reaches a 93% system success rate with a 3% any-collision rate and a coordination score of 0.89 - meaningfully below the centralized MAPPO baseline, but still demonstrating that functional multi-agent coordination emerges under fully decentralized training. The main cost is efficiency: mean episode length reaches 1892.5 ± 856.3 steps, a 626% increase over centralized MAPPO, with a substantially higher (33%) timeout rate.
| Metric | Centralized PPO | FL-PPO | Centralized MAPPO (system) | FL-MAPPO (system) |
|---|---|---|---|---|
| Success Rate | 100% | 100% | 100% | 93% |
| Any-Collision Rate | 0% | 0% | 0% | 3% |
| Mean Episode Length | 286.0 steps | 360.5 steps (+26%) | 260.9 steps | 1892.5 steps (+626%) |
| Coordination Score | - | - | 0.98 | 0.89 |
Headline finding: federated learning achieves functional equivalence with centralized training for single-agent navigation, at a modest efficiency cost. For multi-agent coordination, FDRL preserves the core safety and coordination behaviors but with a substantially larger efficiency gap, driven by the dynamics discussed below.
Three interconnected factors explain the performance gap observed between FL-MAPPO and centralized MAPPO:
- Coordination equilibrium disruption via parameter averaging. Multi-agent coordination policies exist in delicate mutual equilibria - each agent's optimal behavior depends on predicting the other's behavior, and these mutual predictions are encoded jointly in the trained parameters. Naively averaging parameters from clients that have converged on different (even individually valid) coordination conventions can destroy that equilibrium rather than blend it, unlike single-agent policies where averaging tends to smooth between similar local optima.
- Centralized critic incompatibility in federated settings. MAPPO's centralized critic is designed assuming a globally consistent state distribution. Each federated client, however, trains in its own environment instance with its own emergent value associations; averaging critics trained on inconsistent distributions introduces noisy advantage estimates, which directly corrupts policy gradient updates and is reflected in the high reward and episode-length variance observed for FL-MAPPO.
- Insufficient local training duration relative to coordination timescales. Centralized MAPPO requires roughly 450K–1M steps to develop robust, stable coordination, but federated clients currently aggregate every 150K steps - meaning aggregation repeatedly interrupts coordination behavior before it has fully stabilized, restarting the discovery process from a disrupted global model each round.
- Restricted environmental diversity - all reported experiments were conducted in an open, obstacle-free arena rather than a fully cluttered warehouse, in order to isolate core coordination behavior from obstacle-avoidance complexity. It remains unclear whether the federated performance gap stems from too little environmental diversity across clients (limiting the benefit of federation) or too much (introducing disruptive heterogeneity).
- Small-scale federation - experiments used only three federated clients, which is sufficient to demonstrate the architecture but insufficient to distinguish fundamental algorithmic limitations from small-sample statistical artifacts; realistic deployments would involve substantially larger robot fleets.
- Simulation-to-reality gap - all results are simulation-based; no physical TurtleBot3 hardware deployment or sim-to-real transfer was performed, so real-world factors such as network failures, actuator dynamics, and hardware heterogeneity remain unvalidated.
- Alternative federated aggregation strategies - moving beyond naive FedAvg-style parameter averaging toward FedProx, FedAdam, or custom coordination-aware aggregation schemes designed to preserve, rather than destroy, learned coordination conventions.
- Scaling to larger federations - extending experiments to realistic numbers of federated clients (10–100), which may reveal whether current performance gaps are fundamental or artifacts of small-sample aggregation dynamics.
- Extended local training per round - increasing the number of local training steps between aggregation rounds to allow multi-agent coordination to stabilize locally before being subjected to parameter averaging.
- Domain randomization and physical validation - leveraging Isaac Lab's domain randomization tooling and deploying trained policies on physical TurtleBot3 hardware to measure the true sim-to-real gap.
- Cluttered, obstacle-dense environments - extending the controlled open-arena experiments to the fully cluttered warehouse scenarios the framework already supports.
This repository accompanies a Master's thesis investigating Federated Deep Reinforcement Learning for multi-robot navigation, authored by Sagnik Ghatak. The thesis develops the full FDRL framework described above, establishes centralized PPO/MAPPO baselines, and evaluates their federated counterparts (FL-PPO, FL-MAPPO) against them using the metrics and methodology summarized in this README.
The source code in this repository is released under the MIT License. The thesis document itself remains the intellectual property of its author and is included here for academic and research reference.