TWIST: Private Tenant-Dedicated LLM Serving via Joint Model-Token Transformation
Qizhi Zhang, Yufei Chen, Yu Lin, Wenqiang Ruan, Quanwei Cai, Daode Zhang, Longxiang Wang, Jue Hong, Ye Wu, Cong Wang
Abstract
Organizations increasingly host open-weight large language models (LLMs) on dedicated cloud instances to avoid the opaque data control imposed by closed-source APIs and the burden of costly local infrastructure. However, this deployment paradigm inadvertently exposes sensitive tenant prompts and outputs to service providers. Existing protection routes do not fit this setting well in practice: cryptographic inference incurs prohibitive overheads; Trusted Execution Environments (TEEs) rely on specialized hardware that is difficult to deploy consistently across heterogeneous legacy accelerators; and traditional data-only obfuscation methods, such as token replacement, require substantial perturbation to achieve meaningful privacy, often causing severe utility degradation. To address this gap, we present TWIST, a practical system for private open-weight LLM serving on dedicated cloud instances. Rather than perturbing input tokens alone, TWIST applies a shared, structure-preserving transformation to both the model weights and input tokens. This coupled design extends protection beyond data-only obfuscation and addresses the traditional utility bottleneck. We analyze leakage to an honest-but-curious provider using Rényi-metric differential privacy (RmDP), and show a smaller privacy budget than a data-only baseline with the same online mechanism. Practically, we implement TWIST for modern dense and Mixture-of-Experts (MoE) architectures, including attention, FFN, and MoE routing modules, without disrupting standard serving pipelines. Evaluations on the 671B-parameter DeepSeek-V3.1-Terminus model show that TWIST reduces token recovery rate to under 5% against advanced inversion attacks, while incurring only 0.0% - 3.5% accuracy loss and <10% inference speed loss, offering a practical solution for private tenant-dedicated LLM serving.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language ModelsChung-ju Huang, Huiqiang Zhao, Yuanpeng He, Lijian Li et al.ACL 2026
- Leave My Images Alone: Preventing Multi-Modal Large Language Models from Analyzing Images via Visual Prompt InjectionZedian Shao, Hongbin Liu, Yuepeng Hu, Neil Zhenqiang GongACL 2026
- Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed AlternativesVincent Hanke, Tom Blanchard, Franziska Boenisch, Iyiola E. Olatunji et al.NeurIPS 2024 · 27 citations
- PrivTune: Efficient and Privacy-Preserving Fine-Tuning of Large Language Models via Device-Cloud CollaborationYi Liu, Weixiang Han, Chengjun Cai, Xingliang Yuan et al.INFOCOM 2026 · 2 citations
- NOIR: Privacy-Preserving Generation of Code with Open-Source LLMsKhoa Nguyen, Khiem Ton, NhatHai Phan, Issa Khalil et al.USENIX Security 2026 · 2 citations
