arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.14030cs.AIcs.CR
收藏

PrivateLoRA:面向高效隐私保护的LLM

PrivateLoRA For Efficient Privacy Preserving LLM

Univ(大学)

Yiming Wang, Yu Lin, Xiaodong Zeng, Guannan Zhang

AI总结:

提出一种将隐私敏感计算置于边缘、共享计算置于云端的LLM服务范式,核心创新PrivateLoRA利用残差激活低秩性减少超95%通信,在保障数据本地性的同时实现高吞吐量与个性化微调能力。

摘要:

在当前的大型语言模型(LLM)服务范式中,终端用户面临着隐私与效率之间的抉择。在基于云的范式中,用户被迫为了生成质量和处理速度而妥协数据本地性。相反,边缘设备范式维持了数据本地性,却无法提供令人满意的性能。在本研究中,我们提出了一种新颖的LLM服务范式,将隐私敏感的计算分布在边缘设备上,将共享计算放在云端。仅在中心云和边缘设备之间传输激活值以确保数据本地性。我们的核心创新PrivateLoRA利用残差激活的低秩性,解决了极具挑战性的通信开销问题,实现了超过95%的通信减少。因此,PrivateLoRA有效维持了数据本地性并且极具资源效率。在标准5G网络下,对于7B模型,PrivateLoRA的吞吐量达到仅设备解决方案的300%以上;对于33B模型,达到A100 GPU的80%以上。PrivateLoRA还为高级个性化提供了与LoRA相当的微调性能。我们的方法使边缘设备能够使用最先进的生成式AI,为大众铺平了获得更定制化LLM体验的道路。据我们所知,我们提出的框架是文献中首个高效且保护隐私的LLM解决方案。

英文摘要:

End users face a choice between privacy and efficiency in current Large Language Model (LLM) service paradigms. In cloud-based paradigms, users are forced to compromise data locality for generation quality and processing speed. Conversely, edge device paradigms maintain data locality but fail to deliver satisfactory performance. In this work, we propose a novel LLM service paradigm that distributes privacy-sensitive computation on edge devices and shared computation in the cloud. Only activations are transmitted between the central cloud and edge devices to ensure data locality. Our core innovation, PrivateLoRA, addresses the challenging communication overhead by exploiting the low rank of residual activations, achieving over 95% communication reduction. Consequently, PrivateLoRA effectively maintains data locality and is extremely resource efficient. Under standard 5G networks, PrivateLoRA achieves throughput over 300% of device-only solutions for 7B models and over 80% of an A100 GPU for 33B models. PrivateLoRA also provides tuning performance comparable to LoRA for advanced personalization. Our approach democratizes access to state-of-the-art generative AI for edge devices, paving the way for more tailored LLM experiences for the general public. To our knowledge, our proposed framework is the first efficient and privacy-preserving LLM solution in the literature.

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

↑