Abstract
Federated learning (FL) has emerged as a powerful paradigm for training models across distributed devices while maintaining data privacy. However, the theoretical foundations of Federated Reinforcement Learning (FRL) remain less developed compared to supervised learning. This paper investigates the federated policy evaluation problem, where multiple agents collaborate to evaluate a common policy over communication-constrained channels. We introduce QFedTD, a quantized federated temporal difference learning algorithm with linear function approximation. Our analysis provides a finite-sample characterization of QFedTD, accounting for both quantization noise and Bernoulli packet erasures. We establish that QFedTD achieves a linear speedup with respect to the number of agents and maintains an information-theoretically optimal dependence on the environment's mixing time, even under Markovian sampling.
Introduction
In traditional Federated Learning, the objective is typically to optimize a model using independent and identically distributed (i.i.d.) data samples. Reinforcement Learning (RL) introduces a significant complication: data is Markovian. Observations are temporally correlated, meaning the current state is inherently dependent on previous states and actions. This correlation breaks the standard assumptions used to prove convergence in supervised FL.
Furthermore, real-world federated systems operate over imperfect communication infrastructure. Edge devices often face limited bandwidth, necessitating data quantization, and unreliable uplinks that result in packet drops (erasures). This research addresses a fundamental question: Can the collaborative benefits of federated learning—specifically the "linear speedup" in convergence—be preserved in RL environments characterized by Markovian data and lossy, finite-capacity communication channels?
The QFedTD Algorithm
To address these challenges, we propose QFedTD (Quantized Federated Temporal Difference learning). The algorithm is designed for policy evaluation using linear function approximation, following a four-stage iterative process:
- Local Update: Each of the $N$ agents interacts with a shared Markov Decision Process (MDP) to compute a local TD update based on its current trajectory.
- Quantization: To minimize bandwidth usage, agents compress their high-dimensional update vectors using an unbiased quantizer before transmission.
- Transmission over Erasure Channels: The quantized updates are sent to a central aggregator. The network is modeled as a Bernoulli erasure channel, where each packet has a probability $(1-p)$ of being lost.
- Global Aggregation: The server averages the successfully received updates and broadcasts the updated global model back to all agents.
Notably, QFedTD maintains stability without requiring a "projection step," a common mathematical constraint in RL proofs that can limit the practical search space of the algorithm.
Theoretical Contributions
Our main technical contribution is a non-asymptotic analysis that provides a tight bound on the convergence rate of QFedTD. Key findings include:
- Linear Speedup: We prove that the mean-square error of QFedTD decays at a rate of $O(1/NT)$, where $N$ is the number of agents and $T$ is the number of iterations. This demonstrates that $N$ agents can evaluate a policy $N$ times faster than a single agent, confirming that the collaborative gain is robust to communication impairments.
- Optimal Mixing Time Dependence: The mixing time ($\tau$) represents the time required for the Markov chain to reach a steady state. While previous FRL studies reported an error dependence of $O(\tau^2)$, our analysis achieves $O(\tau)$. This matches the known information-theoretic lower limits for centralized TD learning.
- Decoupling Noise Effects: The analysis distinguishes between the two types of communication noise. Quantization noise primarily affects the "error floor" (the precision of the final convergence), while packet erasures impact the "learning slackness," effectively slowing the rate at which the algorithm approaches that floor.
Experimental Validation
We validated the theoretical properties of QFedTD using a synthetic MDP environment consisting of 20 states and a 10-dimensional feature space. Communication constraints were simulated using uniform scalar quantization and Bernoulli random variables for packet loss.
In simulations with $N=40$ agents and a high packet loss rate of $40\%$ ($p=0.6$), QFedTD demonstrated a clear advantage over single-agent TD learning. The federated approach converged significantly faster and achieved higher terminal accuracy, empirically confirming the linear speedup predicted by our theory.
Discussion and Future Work
While this work provides the first non-asymptotic analysis of FRL under quantization and erasure, several avenues for future research remain. The current model assumes a single local step between communications; analyzing the "client drift" that occurs when agents perform multiple local updates (similar to FedAvg) is a vital next step. Additionally, while this paper focuses on policy evaluation, extending these robust communication proofs to the more complex problem of policy improvement (control) remains an open challenge in the field of multi-agent reinforcement learning.
Summary updated