Manuscript Offprint

arXiv:2610.01195

Federated Agent Optimization

Qiang Yang, Zhiqiang Kou, Xueyi Zhang, Dong-Dong Wu, Hanlin Gu, Jing Guo, Yang Liu, Di Jiang, Qian Xu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language model (LLM) agents increasingly operate in private environments and accumulate valuable experience from task execution, tool use, feedback, and local knowledge. Yet such experience is distributed across organizations and cannot be directly shared because of privacy and proprietary constraints. Conventional federated learning is insufficient for this setting, as agent capabilities extend beyond model parameters to memory, tools, rewards, skills, and structured knowledge. In this paper, we formulate Federated Agent Optimization (FAO), which studies how distributed agents can collaboratively improve through controlled information exchange while keeping raw data, complete trajectories, and private knowledge local. We define FAO as a multi-objective problem balancing agent utility, privacy leakage, and communication cost, and organize its optimization space across policy, memory, tool use, reward, and structured knowledge and skills. We further characterize how private experience can be abstracted, protected, aggregated, and adapted into transferable capabilities, providing a unified view of how agents can benefit from one another without direct experience sharing. Finally, we identify the key challenges of FAO and outline several promising directions for future research toward trustworthy federated agent systems.

1. Introduction

In recent years, large language model (LLM)-driven agents [60, 130, 182] have gradually evolved from general-purpose conversational systems [5] toward executing complex tasks in real-world environments, becoming an important paradigm for enterprise AI systems [207]. An increasing number of organizations are deploying agents in applications such as customer service [178, 58, 66], software development [146, 19], data analysis [72, 155], knowledge management [177, 197, 160], office automation [191], financial services [158], healthcare assistance [142, 125, 79, 97], and business process execution [101, 81, 65, 40]. Unlike traditional language models that primarily focus on content generation [102], enterprise agents [135] typically need to integrate internal knowledge [78], business data, proprietary tools, and operational workflows to autonomously perform task planning [143, 190], tool invocation [36], environment interaction [13, 28], and outcome evaluation [248]. As their applications continue to expand, agents are evolving from standalone language generation models [45] into complex intelligent systems [236] that can perceive their environments, take actions, and continuously adapt to changing business requirements.

During continuous task execution, enterprise agents generate large volumes of new workflows, execution trajectories [12, 63], tool-use records [188, 46], and success or failure feedback on a daily basis [141]. These real-world interaction experiences can help agents continuously refine task planning [143, 190], tool utilization, and decision-making strategies [159], thereby improving their practical task performance over time. Meanwhile, as agents are deployed across different organizations [42, 249], departments, and user environments, valuable experience becomes increasingly distributed across isolated local systems. Different agents often face similar or related tasks, and their accumulated successful experiences, failure patterns, and tool-use strategies are naturally complementary, creating substantial potential for mutual improvement [105]. However, such experience is often tightly coupled with user data, internal knowledge, business rules, proprietary tools, and operational workflows, making it difficult to directly share raw data or complete execution trajectories [37]. As a result, large amounts of potentially reusable agent experience remain confined to local environments, limiting effective collaboration among agents and preventing the full value of cross-environment experience from being realized.

Federated learning [196, 103, 226] provides a natural technical foundation for mitigating the experience isolation described above. It enables multiple clients [55] to collaboratively learn by exchanging and aggregating model updates while keeping raw data local [41], thereby avoiding the direct centralization of sensitive information. However, traditional federated learning primarily focuses on model parameters, whereas the capabilities of enterprise agents are determined not only by the underlying model but also by their decision policies, memories, tool use, environmental feedback, and local knowledge and business rules. Therefore, in agent settings [7], parameter aggregation alone is insufficient to enable effective cross-agent collaboration. A more fundamental question is how to transform the useful experience, skills, and feedback acquired by one agent during real-world execution into shareable capabilities that can benefit other agents without exposing local private information. Existing federated learning paradigms have not yet systematically addressed this problem and still lack a unified optimization framework for the broader capabilities of agents.

We refer to this class of problems as Federated Agent Optimization (FAO). FAO studies how multiple agents operating in different private environments can collaboratively improve through controlled information exchange while keeping raw data, complete interaction trajectories, and local private knowledge decentralized. Unlike conventional federated learning, which primarily optimizes model parameters, FAO considers the broader capabilities of an agent, including its policy, memory, tool use, reward mechanism, and structured knowledge. We formulate FAO around three interrelated objectives: improving local agent utility, reducing privacy leakage during collaboration, and controlling communication and system costs. In addition, effective federation should provide meaningful collaboration gains to individual participants rather than improving only aggregate performance.

In this paper, we establish a unified framework for studying FAO. First, we formally define local agents, private environments, federated protocols, information-sharing boundaries, and a multi-objective optimization formulation that jointly captures performance, privacy, and communication cost. Second, we organize existing and emerging approaches according to the agent capability being federated, including policies, memory, tool use, rewards, and structured knowledge and skills. Third, we characterize how private local experience can be transformed into transferable capabilities through abstraction, protection, aggregation, and local adaptation, and further examine when such transfer leads to mutual improvement across agents. Building on this framework, we identify key challenges in balancing performance, privacy, and communication, ensuring fair contribution and benefit allocation, and reliably evaluating federation gains. Finally, we highlight several open research directions toward trustworthy, efficient, and continuously improving federated agent systems.

Paper Roadmap. The remainder of this paper is organized as follows. Section 2 reviews the most relevant research areas. Section 3 formally defines Federated Agent Optimization (FAO). Section 4 presents a taxonomy of FAO according to the agent components being collaboratively optimized. Section 5 further investigates how local experience can be transformed into transferable capabilities. Section 6 summarizes the key challenges of FAO. Finally, Section 7 discusses future works.

References (100)

  • Deep learning with differential privacy
  • C-FedRAG: A confidential federated retrieval-augmented generation system (opens arXiv in a new tab)
  • GEPA: Reflective prompt evolution can outperform reinforcement learning
  • Fedrolex: Model-heterogeneous federated learning with rolling sub-model extraction
  • An architecture for more realistic conversational systems
  • Differential privacy and artificial intelligence: potentials, challenges, and future avenues
  • A benchmark for measuring harmfulness of llm agents
  • Rudder: Return decomposition for delayed rewards
  • LLMs4OM: Matching ontologies with large language models
  • Federated fine-tuning of large language models under heterogeneous tasks and client resources
  • Agentrx: Diagnosing ai agent failures from execution trajectories (opens arXiv in a new tab)
  • Lora-fair: Federated lora fine-tuning with aggregation and initialization refinement
  • Machine learning with adversaries: Byzantine tolerant gradient descent
  • One for one, or all for all: Equilibria and optimality of collaboration in federated learning
  • Reflective multi-agent collaboration based on large language models
  • Practical secure aggregation for privacy-preserving machine learning
  • Tropos: An agent-oriented software development methodology
  • Large language models as tool makers
  • FLTrust: Byzantine-robust federated learning via trust bootstrapping
  • Communication-efficient distributed learning: An overview
  • Web-Shepherd: Advancing PRMs for reinforcing web agents
  • Federated retrieval-augmented generation: A systematic mapping study
  • Typed Federated Artifacts for the Agentic Web:Sharing Tool-Routing Knowledge Across Frozen,Heterogeneous LLM Agents
  • A maintenance decision-making oriented collaborative cross-organization knowledge sharing blockchain network for complex multi-component systems
  • Federated learning of large language models with parameter-efficient prompt tuning and adaptive optimization
  • Test-time adaptation for llm agents via environment interaction
  • Is decentralized llm agent rl robust to heterogeneity? an asymmetric tale
  • Can textual gradient work in federated learning? In International Conference on Learning Representations, 2025
  • FedE: Embedding knowledge graphs in federated setting
  • Distributed learning in wireless networks: Recent progress and future challenges
  • Communication-efficient federated learning
  • Diversity collapse in multi-agent llm systems: Structural coupling and collective failure in open-ended idea generation
  • Fed-SE: Federated self-evolution for privacy-constrained multi-environment LLM agents (opens arXiv in a new tab)
  • Re-invoke: Tool invocation rewriting for zero-shot tool retrieval
  • Privact: Internalizing contextual privacy preservation via multi-agent preference training (opens arXiv in a new tab)
  • Heterogeneous LoRA for federated fine-tuning of on-device foundation models
  • Deep reinforcement learning from human preferences
  • Intelligent business processes composition based on multi-agent systems
  • Fair: Quality-aware federated learning with precise user incentive and model aggregation
  • Exploring deepseek: a survey on advances, applications, challenges and future directions
  • Heterofl: Computation and communication efficient federated learning for heterogeneous clients
  • Model-sharing games: Analyzing federated learning under voluntary participation
  • A survey of natural language generation
  • Towards verifiably safe tool use for llm agents
  • The algorithmic foundations of differential privacy
  • Ontology Matching
  • Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach
  • Fault-tolerant federated reinforcement learning with theoretical guarantee
  • FedRLHF: A convergence-guaranteed federated framework for privacy-preserving and personalized RLHF. In Proceedings of the 24th International Conference on Autonomous Agents and Multiagent Systems, pages 713–721, Detroit, Michigan, USA, 2025
  • FedMKT: Federated mutual knowledge transfer for large and small language models
  • INMS: Memory sharing for large language model based agents (opens arXiv in a new tab)
  • Inverting gradients-how easy is it to break privacy in federated learning? Advances in neural information processing systems, 33:16937–16947, 2020
  • Differentially private federated learning: A client level perspective (opens arXiv in a new tab)
  • Data Shapley: Equitable valuation of data for machine learning
  • An efficient framework for clustered federated learning
  • Towards designing cooperative and social conversational agents for customer service
  • Selective aggregation for low-rank adaptation in federated learning
  • Large language model based multi-agents: A survey of progress and challenges (opens arXiv in a new tab)
  • PromptFL: Let federated participants cooperatively learn prompts instead of models – federated learning in age of foundation model
  • Se-agent: Self-evolution trajectory optimization in multi-step reasoning with llm-based agents
  • Recovering private text in federated learning of language models
  • Development of process execution rules for workload balancing on agents
  • Bots with feelings: should ai agents express positive emotion in customer service? Information Systems Research, 34(3):1296–1311, 2023
  • Toolkengpt: Augmenting frozen language models with massive tools via tool embeddings
  • Advances in neural information processing systems, 32, 2019
  • Llm-based multi-agent systems for software engineering: Literature review, vision, and the road ahead
  • FedEval-LLM: Federated evaluation of large language models on downstream tasks with collective wisdom (opens arXiv in a new tab)
  • OLaLa: Ontology matching with large language models
  • An llm agent for data science
  • Metagpt: Meta programming for a multi-agent collaborative framework
  • Model context protocol (MCP): Landscape, security threats, and future research directions
  • Yuchao Hou. FedWorld: Scope-aware federation of agent world models. arXiv preprint arXiv:2608.01561, 2026. (opens arXiv in a new tab)
  • Federated learning for generalization, robustness, fairness: A survey and benchmark
  • Language models as zero-shot planners: Extracting actionable knowledge for embodied agents
  • Reinforced internal-external knowledge synergistic reasoning for efficient adaptive search agent (opens arXiv in a new tab)
  • Agents applied in health care: A review
  • Distributed learning without distress: Privacy-preserving empirical risk minimization
  • Autonomous agents for business process management
  • Factorized-fl: Personalized federated learning with parameter factorization & similarity matching
  • Taming various privilege escalation in llm-based agent systems: A mandatory access control framework (opens arXiv in a new tab)
  • Federated reinforcement learning with environment heterogeneity
  • Optimizing privacy, utility, and efficiency in a constrained multi-objective federated learning framework
  • SCAFFOLD: Stochastic controlled averaging for federated learning
  • Privacy-preserving artificial intelligence on edge devices: A homomorphic encryption approach
  • DSPy: Compiling declarative language model calls into state-of-the-art pipelines
  • Federated reinforcement learning: Linear speedup under Markovian sampling
  • Rethinking personalized reward modeling for LLMs under preference heterogeneity via group-debiased federated learning (opens arXiv in a new tab)
  • Ontology- and LLM-based data harmonization for federated learning in healthcare
  • WinFLoRA: Incentivizing client-adaptive aggregation in federated LoRA under privacy heterogeneity
  • Federatedscope-llm: A comprehensive package for fine-tuning large language models in federated learning
  • Reward design with language models
  • Fedscale: Benchmarking model and system performance of federated learning at scale
  • Oort: Efficient federated learning via guided participant selection
  • a systematic review
  • Agent-oriented planning in multi-agent systems
  • Fedmd: Heterogenous federated learning via model distillation (opens arXiv in a new tab)
  • Camel: Communicative agents for "mind" exploration of large language model society
  • A distributed service-oriented architecture for business process execution
  • Pre-trained language models for text generation: A survey
  • A review of applications in federated learning

Couldn't load all references. Reload the page to try again.