mlsanityData to 14 Oct 2026

Confidential Prompting: Privacy-preserving LLM Inference on Cloud

arXiv 2409.19134 ↗First posted 27 Sep 2024cs.CR cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

This paper introduces a vision of confidential prompting: securing user prompts from an untrusted, cloud-hosted large language model (LLM) while preserving model confidentiality, output invariance, and compute efficiency. As a first step toward this vision, we present Petridish, a system built on top of confidential computing and its core contribution, a novel technology called Secure Partitioned Decoding (SPD). Petridish runs the LLM service inside a confidential virtual machine (CVM), which protects the secrets, i.e., the LLM parameters and user prompts, from adversaries outside the CVM. Importantly, it splits the LLM service for a user into two processes, using SPD: a per-user process performs prefill with the user prompts and computes attention scores during decoding; a service process, shared by all users, batches the attention scores from per-user processes and generates output tokens for all users. Both the LLM provider and the users trust Petridish's CVM and its operating system, which guarantees isolation between processes and limits their outbound network capabilities to control information flow. The CVM's attestation capability and its open-source software stack enable Petridish to provide auditable protection of both user prompt and LLM confidentiality. Together, Petridish maintains full utility of LLM service and enables practical, privacy-preserving cloud-hosted LLM inference for sensitive applications, such as processing personal data, clinical records, and financial documents.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 36 of its 100 references that are in the map. First posted on arXiv 27 Sep 2024.

Builds on

36 of 100 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  8. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  9. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  10. 2023StarCoder: may the source be with you!cited by 799
  11. 2022Efficiently Scaling Transformer Inferencecited by 539
  12. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
24 more
  1. 2022Efficient Training of Language Models to Fill in the Middlecited by 255
  2. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
  3. 2018Online normalizer calculation for softmaxcited by 162
  4. 2020Enabling Language Models to Fill in the Blankscited by 122
  5. 2023Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generationcited by 96
  6. 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
  7. 2022THE-X: Privacy-Preserving Transformer Inference with Homomorphic Encryptioncited by 57
  8. 2023DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineercited by 57
  9. 2023Privacy-Preserving In-Context Learning for Large Language Modelscited by 50
  10. 2024Prompt Stealing Attacks Against Large Language Modelscited by 40
  11. 2023Hide and Seek (HaS): A Lightweight Framework for Prompt Privacy Protectioncited by 38
  12. 2024PrivacyRestore: Privacy-Preserving Inference in Large Language Models via Privacy Removal and Restorationcited by 28
  13. 2024Privacy Preserving Prompt Engineering: A Surveycited by 25
  14. 2023Protecting User Privacy in Remote Conversational Systems: A Privacy-Preserving framework based on text sanitizationcited by 23
  15. 2023LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformerscited by 22
  16. 2024The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Promptscited by 13
  17. 2024Privacy-Preserving Language Model Inference with Instance Obfuscationcited by 7
  18. 2024DORY: Deliberative Prompt Recovery for LLMcited by 7
  19. 2023ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecturecited by 4
  20. 2024Heckler: Breaking Confidential VMs with Malicious Interruptscited by 4
  21. 2024WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNPcited by 4
  22. 2023ConfusionPrompt: Practical Private Inference for Online Large Language Modelscited by 3
  23. 2023LatticeGen: A Cooperative Framework which Hides Generated Text in a Lattice for Privacy-Aware Generation on Cloudcited by 2
  24. 2024The Road to Trust: Building Enclaves within Confidential VMscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.