FedICL-KVc: Federated In-Context Learning via KV Cache

Large language models (LLMs) are increasingly constrained by the scarcity of high-quality public data, making private data essential for further improvement. However, private data is typically distributed across resource-constrained devices and cannot be shared due to strict privacy requirements, rendering conventional federated fine-tuning of LLMs impractical under limited computation and communication budgets. To address these challenges, we propose Federated In-Context Learning via KV Cache (FedICL-KVc), a novel framework that enables effective utilization of private data without parameter updates. Instead of transmitting raw demonstrations, clients upload only the corresponding key--value (KV) caches generated during auto-regressive inference, which are compact, smaller than full-model parameter payloads, and subject to an empirical reconstruction-risk evaluation under a restricted attack model. To further enhance efficiency and effectiveness, we introduce a confidence-based demonstration selection strategy to identify informative client samples, and a server-side KV cache compression method guided by a proxy dataset to reduce inference cost and suppress irrelevant information. Experiments on multiple tasks demonstrate that FedICL-KVc achieves competitive performance without client-side parameter updates or full-model parameter transmission while avoiding direct raw-data transmission.

Link
https://www.semanticscholar.org/paper/9d07b3f303036e4ad7ab2f32a083da5037c6d087
Found by
Semantic Scholar
Authors
Yi-Ming Chen, Nan He, Zheng Jiang, Li-Feng Sun
Categories
evaluation, dataset
Published
2026-11-06
Last seen by the radar
2026-11-08
Citations
0
Influential citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: dataset, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3799682.3840850
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar