arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.03150cs.LGcs.DCcs.PF
收藏

在极边缘设备上对大型语言模型进行联邦微调:好、坏与丑

Federated Fine-Tuning of LLMs on the Very Edge: The Good, the Bad, the Ugly

Technical University of Munich(慕尼黑工业大学);IBM T.J. Watson Research Center(IBM T.J.沃森研究中心);University of Bayreuth(拜罗伊特大学);University of Toronto(多伦多大学)

Herbert Woisetschläger, Alexander Isenko, Shiqiang Wang, Ruben Mayer, Hans-Arno Jacobsen

AI总结:

本文从硬件视角研究在边缘计算系统上对FLAN-T5系列LLM进行联邦微调用于文本摘要的可行性,通过微观硬件基准、FLOP利用率与数据中心GPU对比及网络利用率分析,评估边缘系统的现有能力与改进空间。

摘要:

大型语言模型(LLM)和基础模型因其为个人和企业提供了改善自然语言处理、与数据交互以及更快检索信息的新机会而广受欢迎。然而,训练或微调LLM需要海量数据,由于法律或技术限制,获取这些数据可能具有挑战性,并且可能需要私有计算资源。联邦学习(FL)是一种旨在克服这些挑战并扩展深度学习应用数据访问范围的解决方案。本文采用以硬件为中心的方法,探索如何将LLM引入现代边缘计算系统。我们的研究使用联邦学习对FLAN-T5模型家族(参数量从8000万到30亿不等)进行微调,以完成文本摘要任务。我们提供了微观层面的硬件基准测试,将模型的FLOP利用率与最先进的数据中心GPU进行比较,并在真实条件下研究网络利用率。我们的贡献有两方面:第一,我们评估了边缘计算系统当前的能力及其处理LLM联邦学习工作负载的潜力。第二,通过将这些系统与数据中心GPU进行比较,我们展示了改进的潜力以及在边缘实现更高计算效率的后续步骤。

英文摘要:

Large Language Models (LLM) and foundation models are popular as they offer new opportunities for individuals and businesses to improve natural language processing, interact with data, and retrieve information faster. However, training or fine-tuning LLMs requires a vast amount of data, which can be challenging to access due to legal or technical restrictions and may require private computing resources. Federated Learning (FL) is a solution designed to overcome these challenges and expand data access for deep learning applications. This paper takes a hardware-centric approach to explore how LLMs can be brought to modern edge computing systems. Our study fine-tunes the FLAN-T5 model family, ranging from 80M to 3B parameters, using FL for a text summarization task. We provide a micro-level hardware benchmark, compare the model FLOP utilization to a state-of-the-art data center GPU, and study the network utilization in realistic conditions. Our contribution is twofold: First, we evaluate the current capabilities of edge computing systems and their potential for LLM FL workloads. Second, by comparing these systems with a data-center GPU, we demonstrate the potential for improvement and the next steps toward achieving greater computational efficiency at the edge.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑