Confidential Prompting: Protecting User Prompts from Cloud LLM Providers
<|reference_start|>Confidential Prompting: Protecting User Prompts from Cloud LLM Providers: Our work tackles the challenge of securing user inputs in cloud-based large language model (LLM) services while ensuring output consistency, model confidentiality, and compute efficiency. We introduce Secure Multi-party Decoding (SMD), which leverages confidential computing to confine user prompts to a trusted execution environment, namely a confidential virtual machine (CVM), while allowing service providers to generate tokens efficiently. We also introduce a novel cryptographic method, Prompt Obfuscation (PO), to ensure robustness against reconstruction attacks on SMD. We demonstrate that our approach preserves both prompt confidentiality and LLM serving efficiency. Our solution can enable privacy-preserving cloud LLM services that handle sensitive prompts, such as clinical records, financial data, and personal information.<|reference_end|>
@article{gim2024confidential,
    title={Confidential Prompting: Protecting User Prompts from Cloud LLM Providers},
    author={In Gim, Caihua Li, Lin Zhong},
    journal={arXiv preprint arXiv:2409.19134},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.19134},
    primaryClass={cs.CR cs.CL}
}