Prompt Inference Attack on Distributed Large Language Model Inference Frameworks
Not on the map. Why?
Abstract (arXiv)
The inference process of modern large language models (LLMs) demands prohibitive computational resources, rendering them infeasible for deployment on consumer-grade devices. To address this limitation, recent studies propose distributed LLM inference frameworks, which employ split learning principles to enable collaborative LLM inference on resource-constrained hardware. However, distributing LLM layers across participants requires the transmission of intermediate outputs, which may introduce privacy risks to the original input prompts - a critical issue that has yet to be thoroughly explored in the literature. In this paper, we rigorously examine the privacy vulnerabilities of distributed LLM inference frameworks by designing and evaluating three prompt inference attacks aimed at reconstructing input prompts from intermediate LLM outputs. These attacks are developed under various query and data constraints to reflect diverse real-world LLM service scenarios. Specifically, the first attack assumes an unlimited query budget and access to an auxiliary dataset sharing the same distribution as the target prompts. The second attack also leverages unlimited queries but uses an auxiliary dataset with a distribution differing from the target prompts. The third attack operates under the most restrictive scenario, with limited query budgets and no auxiliary dataset available. We evaluate these attacks on a range of LLMs, including state-of-the-art models such as Llama-3.2 and Phi-3.5, as well as widely-used models like GPT-2 and BERT for comparative analysis. Our experiments show that the first two attacks achieve reconstruction accuracies exceeding 90%, while the third achieves accuracies typically above 50%, even under stringent constraints. These findings highlight privacy risks in distributed LLM inference frameworks, issuing a strong alert on their deployment in real-world applications.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Mar 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 10.
13 papers.
Sort:
By area:
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversioncited by 14
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Modelscited by 1
- 2026What Does the Server See? Understanding Privacy Leakage from Large Language Models in Split Inferencecited by 1
- 2025A Survey of Personalized Federated Foundation Models for Privacy-Preserving Recommendationcited by 0
- 2025Rethinking Inference Placement for Deep Learning across Edge and Cloud Platforms: A Multi-Objective Optimization Perspective and Future Directionscited by 0
- 2026Vision Token Manipulation Attacks on Cloud-Edge Inference of Large Vision-Language Modelscited by 0
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edgecited by 0
- 2026Integrity of peer-to-peer distributed LLM inference under malicious nodescited by 0
- 2026Benchmarking Text-to-SQL under Role-Based Access Controlcited by 0
- 2026Denoising-Aware Inversion: Revealing Privacy Risks in Noise-Protected Text Embeddingscited by 0
- 2026Auditing and Mitigating Privacy Leakage in Cloud-Edge Collaborative Decodingcited by 0
- 2026Privacy Failure in Split-LLM Training, The Returned Gradient Nullifies the Decoyscited by 0
1 more
- 2026SparLeak: Privacy Leakage from Sparse Attention in LLM Inference on Shared GPUs30 Sep 2026
- 2026Privacy Failure in Split-LLM Training, The Returned Gradient Nullifies the Decoys3 Sep 2026
- 2026Auditing and Mitigating Privacy Leakage in Cloud-Edge Collaborative Decoding29 Aug 2026
- 2026Denoising-Aware Inversion: Revealing Privacy Risks in Noise-Protected Text Embeddings19 Aug 2026
- 2026Benchmarking Text-to-SQL under Role-Based Access Control24 Jul 2026
- 2026Integrity of peer-to-peer distributed LLM inference under malicious nodes21 Jul 2026
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge13 Jul 2026
- 2026Vision Token Manipulation Attacks on Cloud-Edge Inference of Large Vision-Language Models2 Jul 2026
- 2026What Does the Server See? Understanding Privacy Leakage from Large Language Models in Split Inference22 May 2026
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Models27 Feb 2026
- 2025Rethinking Inference Placement for Deep Learning across Edge and Cloud Platforms: A Multi-Objective Optimization Perspective and Future Directions27 Oct 2025
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversion22 Jul 2025
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversioncited by 14
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Modelscited by 1
- 2026What Does the Server See? Understanding Privacy Leakage from Large Language Models in Split Inferencecited by 1
- 2025A Survey of Personalized Federated Foundation Models for Privacy-Preserving Recommendationcited by 0
- 2026Integrity of peer-to-peer distributed LLM inference under malicious nodescited by 0
- 2026Benchmarking Text-to-SQL under Role-Based Access Controlcited by 0
- 2026Denoising-Aware Inversion: Revealing Privacy Risks in Noise-Protected Text Embeddingscited by 0
- 2026Auditing and Mitigating Privacy Leakage in Cloud-Edge Collaborative Decodingcited by 0
- 2026Privacy Failure in Split-LLM Training, The Returned Gradient Nullifies the Decoyscited by 0
- 2026Privacy Failure in Split-LLM Training, The Returned Gradient Nullifies the Decoys3 Sep 2026
- 2026Auditing and Mitigating Privacy Leakage in Cloud-Edge Collaborative Decoding29 Aug 2026
- 2026Denoising-Aware Inversion: Revealing Privacy Risks in Noise-Protected Text Embeddings19 Aug 2026
- 2026Benchmarking Text-to-SQL under Role-Based Access Control24 Jul 2026
- 2026Integrity of peer-to-peer distributed LLM inference under malicious nodes21 Jul 2026
- 2026What Does the Server See? Understanding Privacy Leakage from Large Language Models in Split Inference22 May 2026
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Models27 Feb 2026
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversion22 Jul 2025
- 2025A Survey of Personalized Federated Foundation Models for Privacy-Preserving Recommendation13 Jun 2025