Federated In-Context Learning: Iterative Refinement for Improved Answer Quality
Not on the map. Why?
Abstract (arXiv)
For question-answering (QA) tasks, in-context learning (ICL) enables language models to generate responses without modifying their parameters by leveraging examples provided in the input. However, the effectiveness of ICL heavily depends on the availability of high-quality examples, which are often scarce due to data privacy constraints, annotation costs, and distribution disparities. A natural solution is to utilize examples stored on client devices, but existing approaches either require transmitting model parameters - incurring significant communication overhead - or fail to fully exploit local datasets, limiting their effectiveness. To address these challenges, we propose Federated In-Context Learning (Fed-ICL), a general framework that enhances ICL through an iterative, collaborative process. Fed-ICL progressively refines responses by leveraging multi-round interactions between clients and a central server, improving answer quality without the need to transmit model parameters. We establish theoretical guarantees for the convergence of Fed-ICL and conduct extensive experiments on standard QA benchmarks, demonstrating that our proposed approach achieves strong performance while maintaining low communication costs.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 50 of its 57 references that are in the map. First posted on arXiv 9 Jun 2025.
Builds on
50 of 57 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
38 more
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
- 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,203
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2019Measuring the Effects of Non-Identical Data Distribution for Federated Visual Classificationcited by 851
- 2022Transformers learn in-context by gradient descentcited by 732
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 298
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
- 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 149
- 2023Investigating Data Contamination in Modern Benchmarks for Large Language Modelscited by 138
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 128
- 2023In-Context Convergence of Transformerscited by 115
- 2017Natural Language Processing: State of The Art, Current Trends and Challengescited by 114
- 2023Effective Prompt Extraction from Language Modelscited by 85
- 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 74
- 2024FedBiOT: LLM Local Fine-tuning in Federated Learning without Full Modelcited by 74
- 2023FATE-LLM: A Industrial Grade Federated Learning Framework for Large Language Modelscited by 63
- 2024Transformers Learn Nonlinear Features In Context: Nonconvex Mean-field Dynamics on the Attention Landscapecited by 46
- 2024LLM-TOPLA: Efficient LLM Ensemble by Maximising Diversitycited by 42
- 2024Extracting Prompts by Inverting LLM Outputscited by 41
- 2024An Information-Theoretic Analysis of In-Context Learningcited by 40
- 2024On the Privacy Risk of In-context Learningcited by 32
- 2024The Future of Large Language Model Pre-training is Federatedcited by 30
- 2023Text-driven Prompt Generation for Vision-Language Models in Federated Learningcited by 17
- 2022An Analysis of Attention via the Lens of Exchangeability and Latent Variable Modelscited by 16
- 2025Can Textual Gradient Work in Federated Learning?cited by 15
- 2024Federated In-Context LLM Agent Learningcited by 10
- 2025EnsemW2S: Enhancing Weak-to-Strong Generalization with Large Language Model Ensemblescited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editablecited by 13
- 2026Typed Federated Artifacts for the Agentic Web:Sharing Tool-Routing Knowledge Across Frozen,Heterogeneous LLM Agentscited by 2
- 2026FERA: Uncertainty-Aware Federated Reasoning for Large Language Modelscited by 1
- 2025Implicit Federated In-context Learning For Task-Specific LLM Fine-Tuningcited by 0
- 2026Synapse: Federated Tool Routing via Typed Compendium Artifactscited by 0
- 2026Learning to Retrieve Navigable Candidates for Efficient Vision-and-Language Navigationcited by 0
- 2026AsynDBT: Asynchronous Distributed Bilevel Tuning for efficient In-Context Learning with Large Language Modelscited by 0
- 2026PFedMA: Who Should Join Next as Federated Multi-Agent Orchestration Evolves?cited by 0
- 2026PFedMA: Who Should Join Next as Federated Multi-Agent Orchestration Evolves?14 Oct 2026
- 2026Typed Federated Artifacts for the Agentic Web:Sharing Tool-Routing Knowledge Across Frozen,Heterogeneous LLM Agents6 Sep 2026
- 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable14 Jul 2026
- 2026FERA: Uncertainty-Aware Federated Reasoning for Large Language Models11 May 2026
- 2026Learning to Retrieve Navigable Candidates for Efficient Vision-and-Language Navigation17 Feb 2026
- 2026AsynDBT: Asynchronous Distributed Bilevel Tuning for efficient In-Context Learning with Large Language Models6 Feb 2026
- 2026Synapse: Federated Tool Routing via Typed Compendium Artifacts31 Jan 2026
- 2025Implicit Federated In-context Learning For Task-Specific LLM Fine-Tuning10 Nov 2025