mlsanityData to 7 Oct 2026

Federated In-Context LLM Agent Learning

arXiv 2412.08054 ↗First posted 11 Dec 2024cs.LG cs.AI cs.CLcited by 8

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Large Language Models (LLMs) have revolutionized intelligent services by enabling logical reasoning, tool use, and interaction with external systems as agents. The advancement of LLMs is frequently hindered by the scarcity of high-quality data, much of which is inherently sensitive. Federated learning (FL) offers a potential solution by facilitating the collaborative training of distributed LLMs while safeguarding private data. However, FL frameworks face significant bandwidth and computational demands, along with challenges from heterogeneous data distributions. The emerging in-context learning capability of LLMs offers a promising approach by aggregating natural language rather than bulky model parameters. Yet, this method risks privacy leakage, as it necessitates the collection and presentation of data samples from various clients during aggregation. In this paper, we propose a novel privacy-preserving Federated In-Context LLM Agent Learning (FICAL) algorithm, which to our best knowledge for the first work unleashes the power of in-context learning to train diverse LLM agents through FL. In our design, knowledge compendiums generated by a novel LLM-enhanced Knowledge Compendiums Generation (KCG) module are transmitted between clients and the server instead of model parameters in previous FL methods. Apart from that, an incredible Retrieval Augmented Generation (RAG) based Tool Learning and Utilizing (TLU) module is designed and we incorporate the aggregated global knowledge compendium as a teacher to teach LLM agents the usage of tools. We conducted extensive experiments and the results show that FICAL has competitive performance compared to other SOTA baselines with a significant communication cost decrease of 3.33×105 times.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 10 of its 28 references that are in the map. First posted on arXiv 11 Dec 2024.

Builds on

10 of 28 references.

References · 10

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2018Federated Learning with Non-IID Datacited by 1,099
  3. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  4. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
  5. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 383
  6. 2024Improving LoRA in Privacy-preserving Federated Learningcited by 158
  7. 2023Tree of Clarifications: Answering Ambiguous Questions with Retrieval-Augmented Large Language Modelscited by 42
  8. 2024Counting-Stars: A Multi-evidence, Position-aware, and Scalable Benchmark for Evaluating Long-Context Large Language Modelscited by 17
  9. 2024FedPFT: Federated Proxy Fine-Tuning of Foundation Modelscited by 16
  10. 2024RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agentscited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 4.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Can Federated Learning Safeguard Private Data in LLM Training? Vulnerabilities, Attacks, and Defense Evaluation
  2. 2024FedCoT: Federated Chain-of-Thought Distillation for Large Language Models
  3. 2026Federated Prompt Learning: A Unified Framework, Empirical Analysis, and Future Directions
  4. 20251-2-3 Check: Enhancing Contextual Privacy in LLM via Multi-Agent Reasoning
  5. 2026Learning to Collaborate: An Orchestrated-Decentralized Framework for Peer-to-Peer LLM Federation
  6. 2026Concordia: Self-Improving Synthetic Tables for Federated LLMs
  7. 2025Privacy-Enhancing Paradigms within Federated Multi-Agent Systems
  8. 2024Federated Domain-Specific Knowledge Transfer on Large Language Models Using Synthetic Data