vix.ing · top · new · best · stats

Model-based Large Language Model Customization as Service

2024/10/14 by Zhaomin Wu, Wu, Zhaomin, Jizhou Guo +9 · 2 citations
Computer Science · #Computer science #Cryptography and Data Security #Knowledge management #Knowledge transfer #Natural language processing #Privacy-Preserving Technologies in Data #Topic Modeling #Transfer (computing)

paper · pdf · doi:10.48550/arxiv.2410.10481

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2024/10/14 · openalex created_date 2024/10/20 · openalex updated_date 2026/07/28

Abstract

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.

Cited by

Related