Model-based Large Language Model Customization as Service

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wu, Zhaomin, Guo, Jizhou, Hou, Junyi, He, Bingsheng, Fan, Lixin, Yang, Qiang
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912904625782784
author Wu, Zhaomin
Guo, Jizhou
Hou, Junyi
He, Bingsheng
Fan, Lixin
Yang, Qiang
author_facet Wu, Zhaomin
Guo, Jizhou
Hou, Junyi
He, Bingsheng
Fan, Lixin
Yang, Qiang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10481
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Model-based Large Language Model Customization as Service
Wu, Zhaomin
Guo, Jizhou
Hou, Junyi
He, Bingsheng
Fan, Lixin
Yang, Qiang
Machine Learning
Artificial Intelligence
Cryptography and Security
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.
title Model-based Large Language Model Customization as Service
topic Machine Learning
Artificial Intelligence
Cryptography and Security
url https://arxiv.org/abs/2410.10481