Collaborative Value Function Estimation Under Model Mismatch: A Federated Temporal Difference Analysis

Ali Beikmohammadi, Sarit Khirirat, Peter Richtárik, Sindri Magnússon

TL;DR

Standard federated reinforcement learning assumes all agents operate in identical environments, a luxury rarely found in the real world. This paper proves that when agents face slightly different environment dynamics (model mismatch), single-agent learning suffers from an inescapable systematic bias—but by periodically sharing value estimates via Federated Temporal Difference learning (FedTD(0)), agents can collaboratively average out these errors and achieve a $\sqrt{N}$ convergence speedup.

What Problem Does This Paper Address?

Federated Reinforcement Learning (FedRL) allows multiple decentralized agents (like a fleet of autonomous delivery robots or a network of smart sensors) to learn a shared policy without directly exchanging raw data, preserving privacy and saving bandwidth.

However, almost all existing theoretical guarantees for FedRL rely on a massive assumption: homogeneity. They assume every agent interacts with the exact same environment. In reality, a robot in a rainy city faces different friction dynamics than one in a dry climate, and manufacturing variances mean no two robotic joints behave identically. This is called model mismatch.

When an agent tries to learn the "true" value function of a canonical task while operating under a slightly perturbed local environment, standard Temporal Difference (TD) learning breaks down. This paper investigates exactly how bad this single-agent breakdown is and whether federated collaboration can fix it.

Methods

The authors tackle this problem by analyzing tabular policy evaluation using Temporal Difference learning (TD(0)) under two distinct sampling regimes:

  1. I.I.D. Sampling: States are drawn independently from a stationary distribution (mathematically simpler).
  2. Markovian Sampling: States follow a realistic trajectory over a Markov chain (more practical but analytically complex due to temporal correlations).

They introduce a formal framework for model mismatch where each agent $i$ interacts with a perturbed transition matrix $\hat{P}_i$ that deviates from the true environment $P_\mu$ by a bounded error $\Delta$.

To solve the single-agent bias, they analyze FedTD(0) (Algorithm 2). In this setup, $N$ agents run local TD updates for $K$ steps before sending their value function estimates to a central server. The server averages these updates and broadcasts the global estimate back to the agents, repeating this for $T$ communication rounds.

Datasets

The paper relies entirely on synthetic, simulated environments to validate its theoretical bounds:

  • Randomly Generated MDP: A synthetic Markov Decision Process with 10 states.
  • Transition & Reward Dynamics: The true transition matrix $P_\mu$ and reward function $r$ are generated using uniform distributions, with $P_\mu$ projected to ensure it remains row-stochastic.
  • Perturbation Generation: Agent heterogeneity is simulated by adding small perturbations controlled by a parameter $\Delta$ to the transition matrix, bounded by the Frobenius norm.

Key Insights and Ideas

  • The Inescapable Bias of Solitude: The authors prove that a single agent learning in a mismatched environment hits an error floor. Decreasing the learning rate ($\alpha$) or running infinite iterations cannot eliminate the systematic bias caused by the environment perturbation.
  • The "Blessing" of Heterogeneity: If the agents' local environments are perturbed versions of the true environment but are unbiased on average, federated averaging acts as a powerful filter.
  • The $\sqrt{N}$ Speedup: By aggregating updates from $N$ distinct agents, FedTD(0) reduces the variance and the collective model mismatch error by a factor of $\sqrt{N}$.
  • Communication Efficiency via Local Steps: Agents do not need to communicate after every single step. Running multiple local steps ($K$) before aggregating still achieves linear convergence to a significantly lower residual error than single-agent learning.

Key Results

  • Single-Agent Error Floor: Theorems 1 and 2 show that single-agent TD(0) converges to an error bound containing a permanent residual term proportional to $\frac{\gamma \Delta \sqrt{|S|}}{(1-\gamma)^2}$, where $|S|$ is the state space size and $\gamma$ is the discount factor.
  • Federated Error Reduction: Theorems 3 and 4 demonstrate that FedTD(0) shrinks the primary model mismatch error component by $\sqrt{N}$.
  • Empirical Validation:
  • As the number of agents $N$ increased from 1 to 100, the Root Mean Square Error (RMSE) of the value function estimate dropped dramatically across both i.i.d. and Markovian settings (see Figures 5 and 6).
  • Increasing local steps to $K = 10$ yielded a 10-fold reduction in communication overhead while achieving virtually identical final accuracy compared to communicating at every step ($K = 1$).

Limitations and Future Work

  • Tabular Limitation: The analysis is strictly tabular, meaning it assumes a finite, manageable number of states and actions. Real-world deep RL requires function approximation (like neural networks) to handle continuous or massive state spaces.
  • Policy Evaluation Only: The paper focuses entirely on evaluating a fixed policy rather than finding an optimal one (control).
  • Future Directions: The authors explicitly note that extending this framework to control settings—such as analyzing federated Q-learning under model mismatch—is the next critical step for this research.

Summary updated

BibTeX
@inproceedings{beikmohammadi2025collaborative,
  author = {Ali Beikmohammadi and Sarit Khirirat and Peter Richtárik and Sindri Magnússon},
  title = {{Collaborative Value Function Estimation Under Model Mismatch: A Federated Temporal Difference Analysis}},
  booktitle = {ECML/PKDD},
  year = {2025},
  doi = {10.1007/978-3-032-06106-5\_3},
}
Figure