Is Decentralized LLM Agent RL Robust to Heterogeneity? An Asymmetric Tale
Abstract
Training AI agents powered by Large Language Models (LLMs) requires large volumes of user data. Privacy concerns limit centralized collection, and an individual user may have insufficient data. We explore FedAgent (Federated Agent Reinforcement Learning), a decentralized reinforcement learning paradigm that trains LLM agents collaboratively across distributed clients without sharing local data. We ask whether FedAgent is effective under a uniform client distribution and, more importantly, whether it is robust to client heterogeneity. For the first question, we provide the first empirical evidence that FedAgent matches Centralized Agent Training and outperforms Local Agent Training. For the second, we formalize Agent Heterogeneity at two structurally distinct levels: task-level differences in what clients ask the agent to do, and environment-level differences in the dynamics in which the agent acts. This distinction is grounded in the Input-Dynamics Asymmetry of task-augmented Markov Decision Processes (MDPs): tasks enter the policy as input, while environments do not. We then theoretically establish an Asymmetric Robustness Mechanism: FedAgent is robust to task-level heterogeneity but non-robust to environment-level heterogeneity. We identify three sufficient conditions under which FedAgent recovers robustness despite environment-level heterogeneity and describe four possible training-curve patterns. Experiments on WebShop and ALFWorld verify that FedAgent remains robust under extreme task-level heterogeneity, while under environment-level heterogeneity its outcomes range from stability to degradation and collapse.