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

基于模型的大型语言模型定制服务

Model-based Large Language Model Customization as Service

National University of Singapore(新加坡国立大学);WeBank;The Hong Kong University of Science and Technology(香港理工大学)

Zhaomin Wu, Jizhou Guo, Junyi Hou, Bingsheng He, Lixin Fan, Qiang Yang

AI总结:

Llamdex 提出了一种基于模型的 LLM 定制服务框架,通过客户端上传预训练的领域模型并结合差分隐私保护,提升领域特定任务的准确率并保持推理效率。

摘要:

prominent Large Language Model (LLM) 服务提供商如 OpenAI 和 Google 在通用任务上表现突出,但在领域特定应用上往往表现不佳。当前这些 LLM 的定制服务通常要求用户上传数据进行微调,这带来了显著的隐私风险。尽管差分隐私 (DP) 数据合成提供了一种潜在替代方案,但其应用通常导致效果低下,因为为 DP 引入了过多噪声。为了解决这个问题,我们引入了 Llamdex,一种新的框架,使 LLM 的定制成为服务。客户端上传预训练的领域特定模型,而不是数据。这个客户端上传的模型可以使用差分隐私保护,噪声较低。通过连接模块将该模型插入到基础 LLM 中。显著的是,这些连接模块的训练不需要敏感的领域数据,使客户端能够在保护数据隐私的情况下定制 LLM 服务。实验表明,Llamdex 在相同隐私约束下,比最先进的私有数据合成方法提高了领域特定准确率高达 26%。此外,通过避免用户在查询中提供领域上下文,保持了与原始 LLM 服务相当的推理效率。

英文摘要:

Prominent Large Language Model (LLM) services from providers like OpenAI and Google excel at general tasks but often underperform on domain-specific applications. Current customization services for these LLMs typically require users to upload data for fine-tuning, posing significant privacy risks. While differentially private (DP) data synthesis presents a potential alternative, its application commonly results in low effectiveness due to the introduction of excessive noise on data for DP. To overcome this, we introduce Llamdex, a novel framework that facilitates LLM customization as a service, where the client uploads pre-trained domain-specific models rather than data. This client-uploaded model, optionally protected by DP with much lower noise, is inserted into the base LLM via connection modules. Significantly, these connecting modules are trained without requiring sensitive domain data, enabling clients to customize LLM services while preserving data privacy. Experiments demonstrate that Llamdex improves domain-specific accuracy by up to 26% over state-of-the-art private data synthesis methods under identical privacy constraints and, by obviating the need for users to provide domain context within queries, maintains inference efficiency comparable to the original LLM service.

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

↑