让多个设备协作提升问答质量,不传模型参数也能改进结果
Federated In-Context Learning: Iterative Refinement for Improved Answer Quality
- 多轮交互式协作,本地数据不出设备
- 在多个基准上表现优异,通信开销低
- 适合隐私敏感场景的智能问答系统
对于问答任务,上下文学习(ICL)能让语言模型在不修改参数的情况下生成回答,只需在输入中提供示例。然而,ICL的效果高度依赖高质量示例,而这些示例常因数据隐私限制、标注成本高和分布差异难以获取。一种自然解法是利用客户端设备上的本地示例,但现有方法要么需要传输模型参数(通信开销大),要么未能充分利用本地数据,效果受限。为此,我们提出联邦上下文学习(Fed-ICL),一种通过多轮客户端与服务器交互来逐步优化回答的通用框架,可在不传输模型参数的前提下提升答案质量。我们建立了Fed-ICL的收敛性理论保证,并在标准问答基准上进行了广泛实验,结果表明该方法在保持低通信成本的同时实现了强性能。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。