在隐私保护下联合训练大模型,实现跨机构数据协同优化
Towards the Next Frontier of LLMs, Training on Private Data: A Cross-Domain Benchmark for Federated Fine-Tuning

- 通过联邦学习框架,在不共享数据前提下跨机构联合微调大模型
- 在医疗与金融领域测试中,性能接近集中式训练且优于单机构独立训练
- QLoRA和IA3策略兼顾效率与效果,适合资源受限的隐私敏感场景
大语言模型的成功主要依赖于公开数据集,但未来发展的关键在于利用私有数据。医疗、金融等领域的宝贵数据因隐私与监管限制无法共享,且不同机构间数据分布差异大(非IID)。本文基于Sherpa.ai联邦学习平台,构建跨域基准,使用MedQA、MedMCQA、FPB和FiQA-SA四个闭合问答与分类数据集,评估三种参数高效微调方法(LoRA、QLoRA、IA3)在非IID条件下的表现。结果表明,联邦微调性能接近集中训练,显著优于单一机构独立学习;从绿色AI角度,QLoRA与IA3在精度小幅下降下大幅提升效率,验证了其在不可共享数据场景下的可行性。
原文摘要 · Abstract (English)
The recent success of large language models (LLMs) has been largely driven by vast public datasets. However, the next frontier for LLM development lies beyond public data. Much of the world's most valuable information is private, especially in highly regulated sectors such as healthcare and finance, where data include patient histories or customer communications. Unlocking this data could represent a major leap forward, enabling LLMs with deeper domain expertise and stronger real-world utility. Yet, these data cannot be shared because they are distributed across institutions and constrained by privacy, regulatory, and organizational barriers. Moreover, institutional datasets are typically non-independent and identically distributed (non-IID), differing across sites in population characteristics, data modalities, documentation patterns, and task-specific label distributions. In this paper, we demonstrate a practical approach to unlocking private and distributed institutional data for LLM adaptation through federated collaboration across data silos. Built on the Sherpa.ai Federated Learning platform, our framework enables nodes to jointly fine-tune a shared LLM without exchanging private data. We evaluate this approach through a cross-domain benchmark in healthcare and finance, using four closed-ended question answering and classification datasets: MedQA, MedMCQA, FPB, and FiQA-SA. We compare three parameter-efficient fine-tuning (PEFT) strategies-LoRA, QLoRA, and IA3-across pretrained backbones under non-IID settings reflecting institutional data heterogeneity. Our results show that federated fine-tuning performs close to centralized training and outperforms isolated single-institution learning. From a Green AI perspective, QLoRA and IA3 improve efficiency with limited accuracy degradation, supporting federated PEFT as a viable approach for adapting LLMs where data cannot be shared.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。