Skip to main content
QUICK REVIEW

[Paper Review] FedKL: Tackling Data Heterogeneity in Federated Reinforcement Learning by Penalizing KL Divergence

Zhijie Xie, Shenghui Song|arXiv (Cornell University)|Apr 18, 2022
Privacy-Preserving Technologies in DataComputer Science46 references4 citations
TL;DR

FedKL proposes a novel federated reinforcement learning framework that mitigates data heterogeneity by penalizing the Kullback-Leibler (KL) divergence between local and global policies, improving convergence speed and stability. By jointly applying global and local KL penalties, the method achieves better trade-offs between training efficiency and policy performance on non-IID data.

ABSTRACT

As a distributed learning paradigm, Federated Learning (FL) faces the communication bottleneck issue due to many rounds of model synchronization and aggregation. Heterogeneous data further deteriorates the situation by causing slow convergence. Although the impact of data heterogeneity on supervised FL has been widely studied, the related investigation for Federated Reinforcement Learning (FRL) is still in its infancy. In this paper, we first define the type and level of data heterogeneity for policy gradient based FRL systems. By inspecting the connection between the global and local objective functions, we prove that local training can benefit the global objective, if the local update is properly penalized by the total variation (TV) distance between the local and global policies. A necessary condition for the global policy to be learn-able from the local policy is also derived, which is directly related to the heterogeneity level. Based on the theoretical result, a Kullback-Leibler (KL) divergence based penalty is proposed, which, different from the conventional method that penalizes the model divergence in the parameter space, directly constrains the model outputs in the distribution space. Convergence proof of the proposed algorithm is also provided. By jointly penalizing the divergence of the local policy from the global policy with a global penalty and constraining each iteration of the local training with a local penalty, the proposed method achieves a better trade-off between training speed (step size) and convergence. Experiment results on two popular Reinforcement Learning (RL) experiment platforms demonstrate the advantage of the proposed algorithm over existing methods in accelerating and stabilizing the training process with heterogeneous data.

Motivation & Objective

  • Address the challenge of data heterogeneity in federated reinforcement learning (FRL), which degrades convergence and performance.
  • Formalize the impact of data heterogeneity on policy gradient-based FRL systems by defining its type and level.
  • Establish theoretical conditions under which local policy updates benefit the global objective, linking learnability to heterogeneity levels.
  • Develop a KL divergence-based penalty mechanism that constrains policy distributions directly in the output space, rather than in parameter space.
  • Achieve faster and more stable training through a dual penalty strategy combining global and local KL regularization.

Proposed method

  • Define a global objective function that incorporates the total variation (TV) distance between local and global policies to ensure alignment.
  • Propose a KL divergence-based penalty term that directly constrains the distributional difference between local and global policies.
  • Introduce a dual-regularization scheme: a global penalty on policy divergence and a local penalty per training iteration to balance step size and convergence.
  • Formulate the local objective function as a maximization problem that includes advantage terms, TV distance, and KL-based regularization.
  • Prove convergence of the proposed algorithm by showing that limit points of the policy sequence are FedKL-stationary, meaning they satisfy the optimality condition under the penalized objective.
  • Leverage continuity of value functions and policy distributions to ensure theoretical stability and convergence under non-IID data.

Experimental results

Research questions

  • RQ1How does data heterogeneity specifically affect the convergence and performance of policy gradient-based federated reinforcement learning?
  • RQ2What theoretical conditions ensure that local policy updates contribute positively to the global objective in the presence of data heterogeneity?
  • RQ3Can KL divergence in the policy output space serve as an effective regularizer to stabilize training under non-IID data?
  • RQ4How does the proposed dual penalty mechanism (global and local KL penalties) improve the trade-off between training speed and convergence stability?
  • RQ5What is the convergence behavior of the proposed FedKL algorithm under non-IID data distributions?

Key findings

  • The proposed FedKL algorithm achieves faster convergence and improved training stability compared to existing FRL methods on non-IID data in both MuJoCo and Procgen environments.
  • Theoretical analysis proves that the global policy is learnable from local policies if the heterogeneity level satisfies a derived necessary condition based on the TV distance.
  • Convergence of the algorithm is guaranteed, with limit points of the policy sequence being FedKL-stationary, meaning they satisfy the optimality condition under the penalized objective.
  • The dual KL penalty mechanism—applying both global and local regularization—enables a better trade-off between step size and convergence, outperforming methods that use only parameter-space regularization.
  • Empirical results show that FedKL significantly reduces training variance and accelerates learning, particularly in high-heterogeneity settings.
  • The method outperforms FedProx and FedAvg in both final return and training stability, demonstrating robustness under extreme data skew.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.