mlsanityData to 14 Oct 2026

Distributed In-Context Learning under Non-IID Among Clients

arXiv 2408.00144 ↗First posted 31 Jul 2024cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Advancements in large language models (LLMs) have shown their effectiveness in multiple complicated natural language reasoning tasks. A key challenge remains in adapting these models efficiently to new or unfamiliar tasks. In-context learning (ICL) provides a promising solution for few-shot adaptation by retrieving a set of data points relevant to a query, called in-context examples (ICE), from a training dataset and providing them during the inference as context. Most existing studies utilize a centralized training dataset, yet many real-world datasets may be distributed among multiple clients, and remote data retrieval can be associated with costs. Especially when the client data are non-identical independent distributions (non-IID), retrieving from clients a proper set of ICEs needed for a test query presents critical challenges. In this paper, we first show that in this challenging setting, test queries will have different preferences among clients because of non-IIDness, and equal contribution often leads to suboptimal performance. We then introduce a novel approach to tackle the distributed non-IID ICL problem when a data usage budget is present. The principle is that each client's proper contribution (budget) should be designed according to the preference of each query for that client. Our approach uses a data-driven manner to allocate a budget for each client, tailored to each test query. Through extensive empirical studies on diverse datasets, our framework demonstrates superior performance relative to competing baselines.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 31 Jul 2024.

Builds on

24 of 39 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  10. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  11. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  12. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
12 more
  1. 2021Federated Learning on Non-IID Data Silos: An Experimental Studycited by 568
  2. 2019A Survey on Federated Learning Systems: Vision, Hype and Reality for Data Privacy and Protectioncited by 374
  3. 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoningcited by 350
  4. 2023Compositional Exemplars for In-context Learningcited by 144
  5. 2023Unified Demonstration Retriever for In-Context Learningcited by 142
  6. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
  7. 2021Federated Learning: Opportunities and Challengescited by 84
  8. 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
  9. 2023OpenICL: An Open-Source Framework for In-context Learningcited by 51
  10. 2024Batch-ICL: Effective, Efficient, and Order-Agnostic In-Context Learningcited by 20
  11. 2021Data Pricing in Machine Learning Pipelinescited by 18
  12. 2023Social Learning: Towards Collaborative Learning with Large Language Modelscited by 15

Built on by

Not cited yet.