arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.21348

FedSkillGit: Federated Skill Evolution via Version Control

Boxun Lan, Jiamei Li, Weijian Li, Chengyu Yang, Zhuang Qi, Chengcheng Wan, Xiaohong Chen, Ming Hu

Boxun Lan 1^{1}, Jiamei Li 1^{1}, Weijian Li 1^{1}, Chengyu Yang 1^{1}, Zhuang Qi 2^{2}, Chengcheng Wang 1^{1}, Xiaohong Chen 1^{1}, Ming Hu 1∗^{1*}

1^{1}East China Normal University, Shanghai, China

2^{2}Shandong University, Jinan, China

∗^{*}Corresponding author: Ming Hu, mhu@sei.ecnu.edu.cn

Abstract—Large language model agents can improve their capabilities by evolving reusable natural-language skills from execution experience. In real-world deployments this experience is distributed across data owners who cannot pool their raw data, which motivates federated skill evolution. The natural first design lets each client evolve the whole skill document and upload the result for server-side aggregation. That design is poorly matched to skill evolution for three reasons. An evolved document can still carry client-specific content distilled from private traces, repeated transmission of a nearly unchanged document spends communication on knowledge that the population already holds, and the contribution of a single client is buried in a document that the server cannot meaningfully attribute. We propose FedSkillGit, a federated skill evolution framework that replaces full-document updates with commits. Each participating client submits a bounded set of patches over named rules together with its local experience, which summarizes what the round taught it, and the pair passes a two-stage privacy filter before it leaves the client. The server deduplicates the submitted patches and the local experience of all participants, updates a global experience document that only the optimizers read, and merges the surviving patches into a candidate skill. The candidate is distributed to the clients, which score it on their own validation sets and report the results, and it is published only when the reported scores improve on the current version. Experiments on three datasets and three language model families show that FedSkillGit outperforms state-of-the-art baselines by up to 22% and approaches centralized evolution without sharing raw client data.

Index Terms—federated learning, skill evolution, large language model agents

I. INTRODUCTION

Large language model (LLM) agents can improve their task performance by reusing knowledge acquired from previous executions rather than solving similar tasks repeatedly. To support such knowledge reuse, recent approaches distill successful trajectories, failure feedback, and task-specific experience into natural-language skills that guide subsequent reasoning and execution [1]–[3]. As agents encounter new tasks and environments, these skills need to be continuously refined to incorporate the new acquired knowledge. Therefore, effective skill evolution is important for agents that are expected to continuously improve through experience.

Existing skill evolution methods primarily rely on the execution experience accumulated by individual agents, limiting skill improvement to the scope of local experience. In real-world deployments, agents operating across diverse tasks and execution environments can collectively accumulate a broader range of experiences, providing richer knowledge to support skill evolution. However, directly sharing the execution trajectories that generated these experiences risks exposing sensitive input data, private environmental state, or proprietary workflows. Therefore, how to achieve collaborative skill evolution using distributed experiences without sharing raw execution trajectories has become an important research issue.

Federated learning [4]–[10] provides a natural paradigm for such collaboration by enabling multiple clients to jointly improve a shared model without exchanging their raw data. Following this paradigm, a straightforward approach to federated skill evolution is to allow each client to refine a shared skill using its local execution experience and upload the evolved skill document to the server for aggregation. However, unlike conventional FL, which aggregates numerical model updates, skill evolution involves structured natural-language knowledge. Directly adopting the traditional FL paradigm faces three key challenges as follows. ① First, keeping raw traces local does not necessarily preserve privacy because an evolved skill can still encode client-specific operations, entities, or environmental information distilled from those traces. ② Second, local evolution often modifies only a small fraction of the shared skill, while repeatedly transmitting the entire document causes communication to grow with the accumulated skill rather than with the newly acquired knowledge. ③ Third, the actual knowledge contributed by a client is buried in a largely unchanged document, making it difficult for the server to identify, evaluate, and combine useful revisions across clients. These limitations reveal a mismatch between the update abstraction of conventional federated learning and the structured natural-language artifacts optimized by skill evolution. Therefore, how to represent and aggregate client knowledge in a privacy-preserving, communication-efficient, and fine-grained manner is an important challenge for federated skill evolution.

To address these challenges, inspired by the incremental revision mechanism of Git in collaborative software development, we propose FedSkillGit, a novel federated skill evolution paradigm. Instead of aggregating full skill documents, clients exchange semantic commits containing fine-grained skill revi-sions and supporting experience, enabling efficient knowledge exchange and integration. To support this process, FedSkillGit incorporates two-stage privacy filtering to mitigate potential information leakage, a global experience document to guide local skill evolution and server-side aggregation, and version validation to control the publication of updated skills. The main contributions of this paper are summarized as follows.

• We propose FedSkillGit, a novel federated skill evolution framework that integrates fine-grained commit aggregation and version validation to enable reliable collaborative evolution of a shared skill.

• We design a cross-round experience reuse mechanism that leverages accumulated global experience to guide local skill optimization and server-side aggregation, reducing redundant knowledge exploration and integration.

• We develop a two-stage privacy filtering mechanism that combines sanitization and private-value auditing to mitigate the risk of sensitive information leakage.

• Extensive experiments on three datasets and three language model families demonstrate that FedSkillGit outperforms the strongest baseline by up to 22% while approaching centralized performance.

References (42)