The Blessing of Heterogeneity in Federated Q-Learning: Linear Speedup and Beyond
Jiin Woo, Gauri Joshi, Yuejie Chi
Abstract
When the data used for reinforcement learning (RL) are collected by multiple agents in a distributed manner, federated versions of RL algorithms allow collaborative learning without the need for agents to share their local data. In this paper, we consider federated Q-learning, which aims to learn an optimal Q-function by periodically aggregating local Q-estimates trained on local data alone. Focusing on infinite-horizon tabular Markov decision processes, we provide sample complexity guarantees for both the synchronous and asynchronous variants of federated Q-learning. In both cases, our bounds exhibit a linear speedup with respect to the number of agents and near-optimal dependencies on other salient problem parameters. In the asynchronous setting, existing analyses of federated Q-learning, which adopt an equally weighted averaging of local Q-estimates, require that every agent covers the entire state-action space. In contrast, our improved sample complexity scales inverse proportionally to the minimum entry of the average stationary state-action occupancy distribution of all agents, thus only requiring the agents to collectively cover the entire state-action space, unveiling the blessing of heterogeneity in enabling collaborative learning by relaxing the coverage requirement of the single-agent case. However, its sample complexity still suffers when the local trajectories are highly heterogeneous. In response, we propose a novel federated Q-learning algorithm with importance averaging, giving larger weights to more frequently visited state-action pairs, which achieves a robust linear speedup as if all trajectories are centrally processed, regardless of the heterogeneity of local behavior policies.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f88531b6-d920-4f4f-92f7-41844a556511Cited by top-tier papers14
- The Curious Price of Distributional Robustness in Reinforcement Learning with a Generative ModelLaixi Shi, Gen Li, Yuting Wei, Yuxin Chen et al.NeurIPS 2023 · 66 citations
- Federated Reinforcement Learning: Linear Speedup Under Markovian SamplingSajad Khodadadian, Pranay Sharma, Gauri Joshi, Siva Theja MaguluriICML 2022 · 46 citations
- Finite-Time Analysis of On-Policy Heterogeneous Federated Reinforcement LearningChenyu Zhang, Han Wang, Aritra Mitra, James AndersonICLR 2024 · 32 citations
- Sample-Efficient Robust Multi-Agent Reinforcement Learning in the Face of Environmental UncertaintyLaixi Shi, Eric Mazumdar, Yuejie Chi, Adam WiermanICML 2024 · 23 citations
- Federated Q-Learning: Linear Regret Speedup with Low Communication CostZhong Zheng, Fengyu Gao, Lingzhou Xue, Jing YangICLR 2024 · 21 citations
Builds on7
- Sample Complexity of Asynchronous Q-Learning: Sharper Analysis and Variance ReductionGen Li, Yuting Wei, Yuejie Chi, Yuantao Gu et al.NeurIPS 2020 · 149 citations
- Pessimistic Q-Learning for Offline Reinforcement Learning: Towards Optimal Sample ComplexityLaixi Shi, Gen Li, Yuting Wei, Yuxin Chen et al.ICML 2022 · 110 citations
- Fault-Tolerant Federated Reinforcement Learning with Theoretical GuaranteeFlint Xiaofeng Fan, Yining Ma, Zhongxiang Dai, Wei Jing et al.NeurIPS 2021 · 102 citations
- Breaking the Sample Complexity Barrier to Regret-Optimal Model-Free Reinforcement LearningGen Li, Laixi Shi, Yuxin Chen, Yuantao Gu et al.NeurIPS 2021 · 71 citations
- Finite-Sample Analysis of Contractive Stochastic Approximation Using Smooth Convex EnvelopesZaiwei Chen, Siva Theja Maguluri, Sanjay Shakkottai, Karthikeyan ShanmugamNeurIPS 2020 · 66 citations
Related papers
- Federated Offline Reinforcement Learning: Collaborative Single-Policy Coverage SufficesJiin Woo, Laixi Shi, Gauri Joshi, Yuejie ChiICML 2024 · 9 citations
- The Sample-Communication Complexity Trade-off in Federated Q-LearningSudeep Salgia, Yuejie ChiNeurIPS 2024 · 10 citations
- Momentum for the Win: Collaborative Federated Reinforcement Learning across Heterogeneous EnvironmentsHan Wang, Sihong He, Zhili Zhang, Fei Miao et al.ICML 2024 · 9 citations
- On the Linear Speedup of Personalized Federated Reinforcement Learning with Shared RepresentationsGuojun Xiong, Shufan Wang, Daniel Jiang, Jian LiICLR 2025
- Asynchronous Federated Reinforcement Learning with Policy Gradient Updates: Algorithm Design and Convergence AnalysisGuangchen Lan, Dong-Jun Han, Abolfazl Hashemi, Vaneet Aggarwal et al.ICLR 2025
