Distributed In-Context Learning under Non-IID Among Clients
Liang, Siqi, Ahn, Sumyeong, Zhou, Jiayu
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jul-31-2024
- Country:
- North America > United States
- Washington > King County
- Seattle (0.04)
- Michigan > Ingham County
- Lansing (0.04)
- East Lansing (0.04)
- Washington > King County
- Europe > Spain
- Catalonia > Barcelona Province > Barcelona (0.04)
- North America > United States
- Genre:
- Research Report > Promising Solution (0.54)
- Industry:
- Information Technology (0.46)
- Technology: