OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learning

计算机科学 培训(气象学) 联合学习 训练集 数据建模 人工智能 数据库 物理 气象学
作者
Rui Ye,Wenhao Wang,Jingyi Chai,Dihan Li,Zexi Li,Yinda Xu,Yaxin Du,Yanfeng Wang,Siheng Chen
标识
DOI:10.1145/3637528.3671582
摘要

Trained on massive publicly available data, large language models (LLMs) have demonstrated tremendous success across various fields. While more data contributes to better performance, a disconcerting reality is that high-quality public data will be exhausted in a few years. In this paper, we offer a potential next step for contemporary LLMs: collaborative and privacy-preserving LLM training on the underutilized distributed private data via federated learning (FL), where multiple data owners collaboratively train a shared model without transmitting raw data. To achieve this, we build a concise, integrated, and research-friendly framework/codebase, named OpenFedLLM. It covers federated instruction tuning for enhancing instruction-following capability, federated value alignment for aligning with human values, and 7 representative FL algorithms. Besides, OpenFedLLM supports training on diverse domains, where we cover 8 training datasets; and provides comprehensive evaluations, where we cover 30+ evaluation metrics. Through extensive experiments, we observe that all FL algorithms outperform local training on training LLMs, demonstrating a clear performance improvement across a variety of settings. Notably, in a financial benchmark, Llama2-7B fine-tuned by applying any FL algorithm can outperform GPT-4 by a significant margin, while the model obtained through individual training cannot, demonstrating strong motivation for clients to participate in FL. The code is available at https://github.com/rui-ye/OpenFedLLM. The full version of our paper is available at https://arxiv.org/pdf/2402.06954.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
3333发布了新的文献求助10
1秒前
义气飞机完成签到,获得积分10
1秒前
12A发布了新的文献求助10
2秒前
chen发布了新的文献求助10
4秒前
4秒前
lilyvan完成签到 ,获得积分10
4秒前
赘婿应助随梦而飞采纳,获得10
5秒前
6秒前
7秒前
Cyaccc完成签到,获得积分10
8秒前
8秒前
李健应助邹邹采纳,获得10
9秒前
9秒前
iiiorange发布了新的文献求助10
11秒前
11秒前
CipherSage应助zzz采纳,获得10
11秒前
bfsd凡完成签到,获得积分10
12秒前
斯文鱼发布了新的文献求助10
12秒前
13秒前
zl50268发布了新的文献求助10
13秒前
。。发布了新的文献求助10
14秒前
14秒前
钟吾敷发布了新的文献求助10
15秒前
达夫斯基发布了新的文献求助10
15秒前
科研通AI2S应助毕业比耶采纳,获得10
15秒前
15秒前
16秒前
hua完成签到,获得积分10
17秒前
雪王完成签到,获得积分10
17秒前
hehe发布了新的文献求助10
18秒前
一把过发布了新的文献求助10
18秒前
18秒前
18秒前
lcyss发布了新的文献求助10
19秒前
小胡同学发布了新的文献求助10
21秒前
guo发布了新的文献求助10
21秒前
。。完成签到,获得积分10
22秒前
22秒前
地球发布了新的文献求助10
23秒前
光影发布了新的文献求助10
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
全相对论原子结构与含时波包动力学的理论研究--清华大学 500
Elevating Next Generation Genomic Science and Technology using Machine Learning in the Healthcare Industry Applied Machine Learning for IoT and Data Analytics 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6443580
求助须知:如何正确求助?哪些是违规求助? 8257418
关于积分的说明 17586894
捐赠科研通 5502274
什么是DOI,文献DOI怎么找? 2900939
邀请新用户注册赠送积分活动 1877987
关于科研通互助平台的介绍 1717534